cloud-web-corejs 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/package.json +2 -2
  2. package/src/components/baseAttachment/install.js +0 -1
  3. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +0 -1
  4. package/src/components/jsonImport/mixins.js +0 -1
  5. package/src/components/scriptTest/dialog.vue +0 -1
  6. package/src/components/wf/content2.vue +2 -2
  7. package/src/components/xform/form-designer/form-widget/container-widget/table2-widget.vue +1 -7
  8. package/src/components/xform/form-designer/form-widget/container-widget/vf-box-widget.vue +0 -1
  9. package/src/components/xform/form-designer/form-widget/container-widget/vf-dialog-widget.vue +0 -2
  10. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
  11. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -2
  12. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -2
  13. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  14. package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +1 -1
  15. package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
  16. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +1 -1
  17. package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +1 -1
  18. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -1
  19. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
  20. package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +2 -2
  21. package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +1 -1
  22. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  23. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  24. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -3
  25. package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +1 -1
  26. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +1 -1
  27. package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +1 -1
  28. package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +1 -1
  29. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +2 -2
  30. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +2 -2
  31. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +2 -2
  32. package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +1 -1
  33. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
  34. package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +1 -1
  35. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
  36. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +1 -2
  37. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +1 -1
  38. package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +1 -1
  39. package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +1 -1
  40. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
  41. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
  42. package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +1 -1
  43. package/src/components/xform/form-designer/form-widget/field-widget/slot-widget.vue +1 -1
  44. package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +1 -1
  45. package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +1 -1
  46. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +1 -1
  47. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
  48. package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +1 -1
  49. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +1 -1
  50. package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
  51. package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +1 -1
  52. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
  53. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -2
  54. package/src/components/xform/form-designer/indexMixin.js +1 -2
  55. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  56. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +0 -1
  57. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-h5/detail-h5-editor.vue +0 -1
  58. package/src/components/xform/form-designer/setting-panel/property-editor/entityTableCode-editor.vue +0 -1
  59. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchField-editor.vue +0 -2
  60. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  61. package/src/components/xform/form-render/container-item/list-h5-item.vue +0 -1
  62. package/src/components/xform/form-render/container-item/list-h5-item2.vue +5 -6
  63. package/src/components/xform/form-render/dynamicDialogRender.js +1 -3
  64. package/src/components/xform/utils/smart-vue-i18n/index.js +0 -1
  65. package/src/components/xform/utils/validators.js +1 -1
  66. package/src/index.js +1 -1
  67. package/src/layout/components/Sidebar/index.vue +0 -1
  68. package/src/layout/components/langTool.vue +0 -1
  69. package/src/permission.js +18 -18
  70. package/src/store/modules/permission.js +39 -39
  71. package/src/views/bd/setting/bd_attach_setting/dialog.vue +1 -1
  72. package/src/views/bd/setting/form_script/dialog.vue +1 -1
  73. package/src/views/bd/setting/form_template/dialog.vue +1 -1
  74. package/src/views/bd/setting/form_template/ftHistoryDialog.vue +1 -1
  75. package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
  76. package/src/views/bd/setting/table_model/dialog.vue +1 -1
  77. package/src/views/bd/setting/table_model/edit.vue +5 -5
  78. package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
  79. package/src/views/user/bill_setting/userDialog.vue +1 -1
  80. package/src/views/user/commMenu/index.vue +9 -7
  81. package/src/views/user/company_info/dialog.vue +1 -1
  82. package/src/views/user/country/dialog.vue +1 -1
  83. package/src/views/user/data_type_setting/dialog.vue +1 -1
  84. package/src/views/user/extend_datasource/dialog.vue +1 -1
  85. package/src/views/user/fieldTranslation/editDialog.vue +2 -2
  86. package/src/views/user/file_view_area/itemEdit.vue +1 -1
  87. package/src/views/user/file_view_ins/list.vue +2 -2
  88. package/src/views/user/file_view_ins/propertiesDialog.vue +1 -1
  89. package/src/views/user/form/form_ins_list/edit.vue +0 -1
  90. package/src/views/user/form/form_template/dialog.vue +1 -1
  91. package/src/views/user/form/form_template/edit.vue +1 -1
  92. package/src/views/user/form/form_template/list.vue +0 -2
  93. package/src/views/user/form/form_template_field/dialog.vue +1 -1
  94. package/src/views/user/form/form_type/dialog.vue +1 -1
  95. package/src/views/user/form/report_requestaccess/dialog.vue +1 -1
  96. package/src/views/user/home/default.vue +37 -27
  97. package/src/views/user/home/index.vue +1 -1
  98. package/src/views/user/notify_message/list.vue +0 -1
  99. package/src/views/user/oplog/list.vue +42 -30
  100. package/src/views/user/position/dialog.vue +1 -1
  101. package/src/views/user/project_tag/edit.vue +19 -18
  102. package/src/views/user/role/dialog.vue +1 -1
  103. package/src/views/user/role/edit.vue +4 -3
  104. package/src/views/user/sale_org/dialog.vue +1 -1
  105. package/src/views/user/sale_org/moveDialog.vue +1 -1
  106. package/src/views/user/system_notice/infoDialog.vue +147 -144
  107. package/src/views/user/user/dialog.vue +1 -1
  108. package/src/views/user/user/edit.vue +1 -1
  109. package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
  110. package/src/views/user/wf/wf_obj_config/edit.vue +1 -1
@@ -44,7 +44,7 @@
44
44
  <td>
45
45
  <el-form-item prop="serviceId" :rules="[{ required: true, trigger: 'blur' }]">
46
46
  <el-select v-model="fileViewItem.serviceId">
47
- <el-option v-for="serviceId in serviceIds" :value="serviceId">{{ serviceId }}</el-option>
47
+ <el-option v-for="(serviceId,index) in serviceIds" :key="index" :value="serviceId">{{ serviceId }}</el-option>
48
48
  </el-select>
49
49
  </el-form-item>
50
50
  </td>
@@ -45,7 +45,7 @@
45
45
  <div class="annex-crumbs">
46
46
  <span class="tit"><i class="iconfont icon-wenjianjia"></i>文件区</span>
47
47
  <el-breadcrumb separator-class="el-icon-arrow-right">
48
- <el-breadcrumb-item v-for="treeNode in treeNodeArr" @click.native="doNav(treeNode)">{{
48
+ <el-breadcrumb-item v-for="(treeNode,index) in treeNodeArr" :key="index" @click.native="doNav(treeNode)">{{
49
49
  treeNode.label
50
50
  }}
51
51
  </el-breadcrumb-item>
@@ -81,7 +81,7 @@
81
81
  <div class="clearfix">
82
82
  <el-checkbox-group v-model="checkList" @change="checkChange" class="f-group">
83
83
  <template v-for="(attachment) in page.records">
84
- <li class="item" :class="checkList.includes(attachment.id) ? 'on':''">
84
+ <li :key="attachment.id" class="item" :class="checkList.includes(attachment.id) ? 'on':''">
85
85
  <el-checkbox :label="attachment.id"><span></span></el-checkbox>
86
86
  <div class="oper">
87
87
  <el-tooltip effect="dark" content="详情" placement="top"><i
@@ -32,7 +32,7 @@
32
32
  <th>文件路径</th>
33
33
  <td colspan="3">
34
34
  <el-breadcrumb separator-class="el-icon-arrow-right">
35
- <el-breadcrumb-item v-for="treeNode in treeNodeArr">{{
35
+ <el-breadcrumb-item v-for="(treeNode,index) in treeNodeArr" :key="index">{{
36
36
  treeNode.label
37
37
  }}
38
38
  </el-breadcrumb-item>
@@ -89,7 +89,6 @@
89
89
  </template>
90
90
 
91
91
  <script>
92
- import formTypeDialog from "../../../../views/user/form/form_type/dialog";
93
92
  import formTemplateFieldDialog from "../../../../views/user/form/form_template_field/dialog";
94
93
 
95
94
 
@@ -69,7 +69,7 @@
69
69
  <div class="multipleChoice">
70
70
  <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
71
71
  <div class="list">
72
- <div class="item" v-for="(checkRow, index) in checkRows">
72
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
73
73
  <p>{{ checkRow.formName }}</p>
74
74
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
75
75
  </div>
@@ -52,7 +52,7 @@
52
52
  <td>
53
53
  <el-form-item prop="serviceId" :rules="[{ required: true, trigger: 'blur' }]">
54
54
  <el-select v-model="formTemplate.serviceId">
55
- <el-option v-for="serviceId in serviceIds" :value="serviceId">{{ serviceId }}</el-option>
55
+ <el-option v-for="(serviceId,index) in serviceIds" :key="index" :value="serviceId">{{ serviceId }}</el-option>
56
56
  </el-select>
57
57
  </el-form-item>
58
58
  </td>
@@ -159,8 +159,6 @@ import editView from './edit.vue';
159
159
  import userDialog from '../../../../views/user/user/dialog.vue';
160
160
  import positionDialog from '../../../../views/user/position/dialog.vue';
161
161
  import scriptDescriptionDialog from '@base/components/scriptDescription/dialog'
162
- import wfParamEdit from "../../../../views/user/wf/wf_param/edit";
163
- import wfDiyAttributeEdit from "../../../../views/user/wf/wf_diy_attribute/edit";
164
162
 
165
163
  // import designer from '../../../../views/user/form/vform/designer.vue';
166
164
  import itemList from "./itemList";
@@ -59,7 +59,7 @@
59
59
  @click="clearChecked()"></a>
60
60
  </el-tooltip>
61
61
  <div class="list">
62
- <div class="item" v-for="(checkRow, index) in checkRows">
62
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
63
63
  <p>{{ checkRow.fieldDesc }}</p>
64
64
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
65
65
  </div>
@@ -54,7 +54,7 @@
54
54
  <div class="multipleChoice">
55
55
  <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
56
56
  <div class="list">
57
- <div class="item" v-for="(checkRow, index) in checkRows">
57
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
58
58
  <p>{{ checkRow.formTypeName }}</p>
59
59
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
60
60
  </div>
@@ -54,7 +54,7 @@
54
54
  <div class="multipleChoice">
55
55
  <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
56
56
  <div class="list">
57
- <div class="item" v-for="(checkRow, index) in checkRows">
57
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
58
58
  <p>{{ checkRow.accessName }}</p>
59
59
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
60
60
  </div>
@@ -11,7 +11,9 @@
11
11
  <div class="txt" @click="openMoreNotifyMessage()">
12
12
  <i class="iconfont icon-xiaoxitongzhi"></i>
13
13
  <span v-if="unreadMessageNum>0">
14
- <span>您 有</span><b>{{ unreadMessageNum > 99 ? '99+' : unreadMessageNum }}</b><span>条 未读消息,请及时查看。</span>
14
+ <span>您 有</span><b>{{
15
+ unreadMessageNum > 99 ? '99+' : unreadMessageNum
16
+ }}</b><span>条 未读消息,请及时查看。</span>
15
17
  </span>
16
18
  <span v-else-if="unreadMessageNum==0">
17
19
  您 暂无 未读消息。
@@ -35,7 +37,8 @@
35
37
  <el-button type="text" @click="openSystemNoticeDialog()"><span class="more">MORE+</span></el-button>
36
38
  </div>
37
39
  <div class="home-notice-list">
38
- <div v-for="systemNotice in systemNotices" class="item" @click="openSystemNoticeDialog(systemNotice)"
40
+ <div v-for="(systemNotice,index) in systemNotices" :key="index" class="item"
41
+ @click="openSystemNoticeDialog(systemNotice)"
39
42
  :title="systemNotice.title">
40
43
  {{ systemNotice.title }}
41
44
  <span class="time">{{ systemNotice.modifyDate.substring(0, 10) }}</span>
@@ -79,7 +82,9 @@
79
82
  <div class="fast-box">
80
83
  <div class="item" v-for="commMenu in commMenus" :key="commMenu.id">
81
84
  <a href="javascript:void(0);" @click="rourteTo(commMenu)">
82
- <p><i :class="!!commMenu.menuImg?('iconfont '+commMenu.menuImg):null"></i><span>{{ commMenu.menuName }}</span></p>
85
+ <p><i :class="!!commMenu.menuImg?('iconfont '+commMenu.menuImg):null"></i><span>{{
86
+ commMenu.menuName
87
+ }}</span></p>
83
88
  </a>
84
89
  </div>
85
90
  </div>
@@ -142,19 +147,19 @@
142
147
 
143
148
 
144
149
  <el-dialog
145
- title="选择分组"
146
- :append-to-body="true"
147
- :modal-append-to-body="true"
148
- :close-on-click-modal="false"
149
- v-if="showGroupDialog"
150
- :visible.sync="showGroupDialog"
151
- :modal="false"
152
- custom-class="el-dialog dialog-style list-dialog"
153
- width="355px"
154
- :destroy-on-close="true"
150
+ title="选择分组"
151
+ :append-to-body="true"
152
+ :modal-append-to-body="true"
153
+ :close-on-click-modal="false"
154
+ v-if="showGroupDialog"
155
+ :visible.sync="showGroupDialog"
156
+ :modal="false"
157
+ custom-class="el-dialog dialog-style list-dialog"
158
+ width="355px"
159
+ :destroy-on-close="true"
155
160
  >
156
161
  <div class="cont group-list">
157
- <div class="item" v-for="notifyTemplate in notifyTemplates"
162
+ <div class="item" v-for="(notifyTemplate,index) in notifyTemplates" :key="index"
158
163
  @click="openMoreNotifyMessage(notifyTemplate.notifyType)">
159
164
  <i class="iconfont icon-fenzu"></i>
160
165
  <span class="name">{{ notifyTemplate.ntName }}</span>
@@ -358,11 +363,11 @@ export default {
358
363
  default: ({row}) => {
359
364
  return [
360
365
  <a
361
- href="javascript:void(0);"
362
- class="a-link"
363
- onclick={() => {
364
- this.openWfDialog(row);
365
- }}
366
+ href="javascript:void(0);"
367
+ class="a-link"
368
+ onclick={() => {
369
+ this.openWfDialog(row);
370
+ }}
366
371
  >
367
372
  <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
368
373
  popper-class="tooltip-skin">
@@ -746,12 +751,17 @@ body #app .index-home {
746
751
  text-align: left;
747
752
  padding-left: 14px;
748
753
  font-size: 12px;
749
- i{
750
- font-size:14px;
754
+
755
+ i {
756
+ font-size: 14px;
751
757
  vertical-align: middle;
752
758
  margin-right: 2px;
753
759
  }
754
- span{vertical-align: middle;}
760
+
761
+ span {
762
+ vertical-align: middle;
763
+ }
764
+
755
765
  &:before {
756
766
  content: '';
757
767
  width: 4px;
@@ -924,12 +934,12 @@ body #app .index-home {
924
934
  margin: 0 4px;
925
935
  font-size: 16px;
926
936
  vertical-align: middle;
927
- background:#FF5615;
928
- border-radius:50%;
929
- display:inline-block;
930
- padding:4px;
937
+ background: #FF5615;
938
+ border-radius: 50%;
939
+ display: inline-block;
940
+ padding: 4px;
931
941
  font-weight: 200;
932
- line-height:1;
942
+ line-height: 1;
933
943
  }
934
944
  }
935
945
 
@@ -63,7 +63,7 @@ export default {
63
63
  let homeMenu = menus.find(menu => menu.type == 2 && menu.enabled);
64
64
  let menuUrl = homeMenu?.url;
65
65
  let defaultUrl = '/user/home/default';
66
- if (homeMenu && menuUrl !== defaultUrl) {
66
+ if (homeMenu) {
67
67
  let url = homeMenu + '.vue';
68
68
  let str1 = "@base/views";
69
69
  let str2 = "@/views";
@@ -91,7 +91,6 @@
91
91
  </template>
92
92
 
93
93
  <script>
94
- import notifyMessageDialog from './dialog.vue';
95
94
  import notifyMessageInfoDialog from './infoDialog';
96
95
  import {treeScollx} from '@base/utils/global.js';
97
96
  import wfContentDialog from "../../../views/user/wf/wf_manage/wfContentDialog";
@@ -2,35 +2,44 @@
2
2
  <div id="containt">
3
3
  <el-tabs v-model="activeName" class="tab-box">
4
4
  <el-tab-pane label="常规" name="first">
5
- <editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self" @reload="$reloadHandle"></editView>
5
+ <editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
6
+ @reload="$reloadHandle"></editView>
6
7
  </el-tab-pane>
7
8
  <el-tab-pane label="列表" name="second">
8
9
  <div class="grid-height">
9
- <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle">
10
+ <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
11
+ @custom="$vxeTableUtil.customHandle">
10
12
  <template #form>
11
13
  <div class="clearfix screen-btns">
12
14
  <div class="fl">
13
- <base-table-export :option="{ title: '操作日志导出', targetRef: 'table-m1'}" :parent-target="_self" />
15
+ <base-table-export :option="{ title: '操作日志导出', targetRef: 'table-m1'}" :parent-target="_self"/>
14
16
  </div>
15
17
  <div class="fr">
16
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary" plain>重置</vxe-button>
17
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索</vxe-button>
18
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
19
+ plain>重置
20
+ </vxe-button>
21
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
22
+ </vxe-button>
18
23
  </div>
19
24
  </div>
20
- <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent" @reset="searchEvent">
25
+ <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
26
+ @submit="searchEvent" @reset="searchEvent">
21
27
  <vxe-form-item title="操作对象:" field="code">
22
28
  <template v-slot>
23
- <el-input v-model="formData.code" size="small" clearable />
29
+ <el-input v-model="formData.code" size="small" clearable/>
24
30
  </template>
25
31
  </vxe-form-item>
26
32
  <vxe-form-item title="操作内容:" field="content">
27
33
  <template v-slot>
28
- <el-input v-model="formData.content" size="small" clearable />
34
+ <el-input v-model="formData.content" size="small" clearable/>
29
35
  </template>
30
36
  </vxe-form-item>
31
37
  <vxe-form-item title="操作类型:" field="type">
32
38
  <template v-slot>
33
- <el-select v-model="formData.type" clearable><el-option v-for="dict in typeDicts" :value="dict.sn" :label="dict.value"></el-option></el-select>
39
+ <el-select v-model="formData.type" clearable>
40
+ <el-option v-for="(dict,index) in typeDicts" :key="index" :value="dict.sn"
41
+ :label="dict.value"></el-option>
42
+ </el-select>
34
43
  </template>
35
44
  </vxe-form-item>
36
45
  </vxe-form>
@@ -44,16 +53,18 @@
44
53
 
45
54
  <script>
46
55
  import editView from './edit.vue';
56
+
47
57
  export default {
48
58
  name: 'oplog:list',
49
59
  components: {
50
60
  editView
51
61
  },
52
- created() {},
62
+ created() {
63
+ },
53
64
  mounted() {
54
65
  this.$getBaseDicts({
55
66
  code: 'oplogType',
56
- success: ({ dicts, dictMap }) => {
67
+ success: ({dicts, dictMap}) => {
57
68
  this.typeDicts = dicts;
58
69
  }
59
70
  });
@@ -70,7 +81,7 @@ export default {
70
81
  };
71
82
  },
72
83
  methods: {
73
- searchEvent({ $form }) {
84
+ searchEvent({$form}) {
74
85
  this.$refs['table-m1'].commitProxy('reload');
75
86
  },
76
87
  resetEvent() {
@@ -98,34 +109,34 @@ export default {
98
109
  }
99
110
  },
100
111
  columns: [
101
- { type: 'checkbox', width: 48, resizable: false, fixed: 'left' },
112
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
102
113
  {
103
114
  title: '操作类型',
104
115
  field: 'typeName',
105
116
  width: 150,
106
117
  fixed: 'left'
107
118
  },
108
- { field: 'ip', title: '访问IP', width: 150 },
109
- { field: 'content', title: '操作内容', width: 250 },
110
- { field: 'code', title: '操作对象', width: 150 },
111
- { field: 'operDate', title: '产生日志时间', width: 150 },
112
- { field: 'serverName', title: '服务名', width: 250 },
113
- { field: 'field1', title: '冗余字段1', width: 150 },
114
- { field: 'field2', title: '冗余字段2', width: 150 },
115
- { field: 'field3', title: '冗余字段3', width: 150 },
116
- { field: 'field4', title: '冗余字段4', width: 150 },
117
- { field: 'field5', title: '冗余字段5', width: 150 },
118
- { field: 'createBy', title: '创建人', width: 150 },
119
- { field: 'modifyBy', title: '更新人', width: 150 },
120
- { field: 'modifyDate', title: '更新时间', width: 150 },
121
- { field: 'createDate', title: '创建时间', width: 150 },
119
+ {field: 'ip', title: '访问IP', width: 150},
120
+ {field: 'content', title: '操作内容', width: 250},
121
+ {field: 'code', title: '操作对象', width: 150},
122
+ {field: 'operDate', title: '产生日志时间', width: 150},
123
+ {field: 'serverName', title: '服务名', width: 250},
124
+ {field: 'field1', title: '冗余字段1', width: 150},
125
+ {field: 'field2', title: '冗余字段2', width: 150},
126
+ {field: 'field3', title: '冗余字段3', width: 150},
127
+ {field: 'field4', title: '冗余字段4', width: 150},
128
+ {field: 'field5', title: '冗余字段5', width: 150},
129
+ {field: 'createBy', title: '创建人', width: 150},
130
+ {field: 'modifyBy', title: '更新人', width: 150},
131
+ {field: 'modifyDate', title: '更新时间', width: 150},
132
+ {field: 'createDate', title: '创建时间', width: 150},
122
133
  {
123
134
  width: 47,
124
135
  fixed: 'right',
125
136
  title: '',
126
137
  sortable: false,
127
138
  slots: {
128
- default: ({ row }) => {
139
+ default: ({row}) => {
129
140
  return [
130
141
  <a
131
142
  href="javascript:void(0);"
@@ -134,8 +145,9 @@ export default {
134
145
  this.openEditDialog(row.id);
135
146
  }}
136
147
  >
137
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top" popper-class="tooltip-skin">
138
- <i class="el-icon-edit" />
148
+ <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
149
+ popper-class="tooltip-skin">
150
+ <i class="el-icon-edit"/>
139
151
  </el-tooltip>
140
152
  </a>
141
153
  ];
@@ -55,7 +55,7 @@
55
55
  <div class="multipleChoice">
56
56
  <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
57
57
  <div class="list">
58
- <div class="item" v-for="(checkRow, index) in checkRows">
58
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
59
59
  <p>{{ checkRow.name }}</p>
60
60
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
61
61
  </div>
@@ -33,24 +33,25 @@
33
33
  <td>
34
34
  {{ projectTag.tagCode }}
35
35
  </td>
36
- <tr>
37
- <th>标签说明</th>
38
- <td colspan="5">
39
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small"
40
- v-model="projectTag.tagRemark"
41
- clearable></el-input>
42
- </td>
43
- </tr>
44
- <tr>
45
- <th>创建人</th>
46
- <td>{{ projectTag._createBy }}</td>
47
- <th>创建时间</th>
48
- <td>{{ projectTag.createDate }}</td>
49
- <th>更新人</th>
50
- <td>{{ projectTag._modifyBy }}</td>
51
- <th>更新时间</th>
52
- <td>{{ projectTag.modifyDate }}</td>
53
- </tr>
36
+ </tr>
37
+ <tr>
38
+ <th>标签说明</th>
39
+ <td colspan="5">
40
+ <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small"
41
+ v-model="projectTag.tagRemark"
42
+ clearable></el-input>
43
+ </td>
44
+ </tr>
45
+ <tr>
46
+ <th>创建人</th>
47
+ <td>{{ projectTag._createBy }}</td>
48
+ <th>创建时间</th>
49
+ <td>{{ projectTag.createDate }}</td>
50
+ <th>更新人</th>
51
+ <td>{{ projectTag._modifyBy }}</td>
52
+ <th>更新时间</th>
53
+ <td>{{ projectTag.modifyDate }}</td>
54
+ </tr>
54
55
  </tbody>
55
56
  </table>
56
57
  </div>
@@ -60,7 +60,7 @@
60
60
  @click="clearChecked()"></a>
61
61
  </el-tooltip>
62
62
  <div class="list">
63
- <div class="item" v-for="(checkRow, index) in checkRows">
63
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
64
64
  <p>{{ checkRow.name }}</p>
65
65
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
66
66
  </div>
@@ -72,20 +72,20 @@
72
72
  <baseTabPane label="菜单信息">
73
73
  <template #default>
74
74
  <div class="role-box">
75
- <div class="item" v-for="item in basicMenus">
75
+ <div class="item" v-for="item in basicMenus" :key="item.id">
76
76
  <div class="t">
77
77
  {{ item.menuName }}
78
78
  <i class="fr" @click="$set(item, 'visibleRole', !item.visibleRole)"
79
79
  :class="!item.visibleRole?'el-icon-arrow-up':'el-icon-arrow-down'"></i>
80
80
  </div>
81
81
  <div class="c" :class="{ hide: item.visibleRole }">
82
- <div v-for="subItem in item.children">
82
+ <div v-for="subItem in item.children" :key="subItem.id">
83
83
  <div class="c-2nd">
84
84
  <el-checkbox :label="subItem.menuName" v-model="subItem.hasAuth"
85
85
  @change="selectAll(subItem)"></el-checkbox>
86
86
  </div>
87
87
  <div class="c-3rd">
88
- <div class="c-item" v-for="(thrItem, index3) in subItem.children">
88
+ <div class="c-item" v-for="(thrItem, index3) in subItem.children" :key="thrItem.id">
89
89
  <div class="name">
90
90
  <el-checkbox :label="thrItem.menuName" v-model="thrItem.hasAuth"
91
91
  @change="cancelSelect(subItem, index3)"></el-checkbox>
@@ -93,6 +93,7 @@
93
93
  <div class="c-4th">
94
94
  <el-checkbox
95
95
  v-for="(fourthItem, index4) in thrItem.children"
96
+ :key="fourthItem.id"
96
97
  :label="fourthItem.menuName"
97
98
  v-model="fourthItem.hasAuth"
98
99
  @change="changeBtnSelect(subItem, index3, index4)"
@@ -56,7 +56,7 @@
56
56
  <el-tooltip :enterable="false" effect="dark" :content="$t2('全部删除', 'saleOrg.deleteAll')" placement="top"><a
57
57
  class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
58
58
  <div class="list">
59
- <div class="item" v-for="(checkRow, index) in checkRows">
59
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
60
60
  <p>{{ checkRow.name }}</p>
61
61
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
62
62
  </div>
@@ -41,7 +41,7 @@
41
41
  <div class="multipleChoice" style="margin-top:8px;">
42
42
  <el-breadcrumb separator-class="el-icon-arrow-right">
43
43
  <i class="position el-icon-map-location"></i>
44
- <el-breadcrumb-item v-for="treeNode in treeNodeArr" @click.native="doNav(treeNode)">{{
44
+ <el-breadcrumb-item v-for="(treeNode,index) in treeNodeArr" :key="index" @click.native="doNav(treeNode)">{{
45
45
  treeNode.label
46
46
  }}
47
47
  </el-breadcrumb-item>