cloud-web-corejs 1.0.17 → 1.0.19

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 (187) hide show
  1. package/package.json +2 -1
  2. package/src/components/jsonImport/index.js +3 -1
  3. package/src/components/jsonImport/mixins.js +16 -16
  4. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
  5. package/src/layout/components/Sidebar/default.vue +10 -4
  6. package/src/router/modules/customer.js +8 -8
  7. package/src/router/modules/system.js +1 -1
  8. package/src/utils/aes.js +1 -0
  9. package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -4
  10. package/src/views/bd/setting/bd_attach_setting/edit.vue +3 -3
  11. package/src/views/bd/setting/bd_attach_setting/list.vue +3 -3
  12. package/src/views/bd/setting/form_script/dialog.vue +14 -12
  13. package/src/views/bd/setting/form_script/edit.vue +6 -5
  14. package/src/views/bd/setting/form_script/edit1.vue +4 -4
  15. package/src/views/bd/setting/form_script/form_list.vue +3 -3
  16. package/src/views/bd/setting/form_script/list.vue +4 -4
  17. package/src/views/bd/setting/form_script/list1.vue +4 -4
  18. package/src/views/bd/setting/form_script/list2.vue +1 -1
  19. package/src/views/bd/setting/form_template/dialog.vue +24 -17
  20. package/src/views/bd/setting/form_template/edit.vue +3 -3
  21. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +1 -1
  22. package/src/views/bd/setting/form_template/ftHistoryDialog.vue +5 -5
  23. package/src/views/bd/setting/form_template/itemEdit.vue +3 -3
  24. package/src/views/bd/setting/form_template/itemList.vue +3 -3
  25. package/src/views/bd/setting/form_template/list.vue +4 -4
  26. package/src/views/bd/setting/form_template/preformDialog.vue +2 -2
  27. package/src/views/bd/setting/menu_kind/authDialog.vue +2 -2
  28. package/src/views/bd/setting/menu_kind/dialog.vue +23 -16
  29. package/src/views/bd/setting/menu_kind/list.vue +4 -4
  30. package/src/views/bd/setting/table_model/dialog.vue +4 -4
  31. package/src/views/bd/setting/table_model/edit.vue +1123 -1123
  32. package/src/views/bd/setting/table_model/list.vue +4 -4
  33. package/src/views/bd/setting/table_model/zdDialog.vue +4 -4
  34. package/src/views/mobile/user/area/dialog.vue +3 -2
  35. package/src/views/mobile/user/user/dialog.vue +3 -2
  36. package/src/views/support/export_template/edit.vue +4 -4
  37. package/src/views/support/export_template/list.vue +12 -12
  38. package/src/views/user/access_log/edit.vue +2 -2
  39. package/src/views/user/access_log/list.vue +8 -8
  40. package/src/views/user/access_log/statistics_list.vue +16 -11
  41. package/src/views/user/api_request/edit.vue +7 -4
  42. package/src/views/user/api_request/list.vue +7 -5
  43. package/src/views/user/area/dialog.vue +4 -4
  44. package/src/views/user/area_attribute/configDialog.vue +319 -319
  45. package/src/views/user/area_attribute/edit.vue +2 -2
  46. package/src/views/user/area_attribute/list.vue +1 -1
  47. package/src/views/user/attachment/uploadDialog.vue +11 -11
  48. package/src/views/user/bill_setting/edit.vue +6 -5
  49. package/src/views/user/bill_setting/h5_ModifyDialog.vue +5 -3
  50. package/src/views/user/bill_setting/h5_view.vue +4 -4
  51. package/src/views/user/bill_setting/itemViewDialog.vue +1 -1
  52. package/src/views/user/bill_setting/list.vue +5 -4
  53. package/src/views/user/bill_setting/queryDialog.vue +3 -3
  54. package/src/views/user/bill_setting/render.vue +6 -6
  55. package/src/views/user/bill_setting/template2.json +44 -11
  56. package/src/views/user/bill_setting/userDialog.vue +4 -4
  57. package/src/views/user/code_rules/edit.vue +3 -3
  58. package/src/views/user/code_rules/list.vue +3 -3
  59. package/src/views/user/commMenu/index.vue +2 -2
  60. package/src/views/user/common_attribute/edit.vue +3 -3
  61. package/src/views/user/common_attribute/itemEdit.vue +3 -3
  62. package/src/views/user/common_attribute/list.vue +3 -3
  63. package/src/views/user/common_script/edit.vue +5 -4
  64. package/src/views/user/common_script/list.vue +14 -13
  65. package/src/views/user/company_info/dialog.vue +138 -131
  66. package/src/views/user/company_info/edit.vue +2 -2
  67. package/src/views/user/company_info/view.vue +1 -1
  68. package/src/views/user/country/dialog.vue +6 -6
  69. package/src/views/user/country/edit.vue +8 -7
  70. package/src/views/user/country/list.vue +170 -160
  71. package/src/views/user/data_type_setting/dialog.vue +10 -7
  72. package/src/views/user/data_type_setting/editDialog.vue +12 -11
  73. package/src/views/user/ea/eagroup/eaobj_list.vue +331 -310
  74. package/src/views/user/ea/eagroup/edit.vue +492 -475
  75. package/src/views/user/ea/eaobj/edit.vue +153 -148
  76. package/src/views/user/ea/eaobj/list.vue +147 -135
  77. package/src/views/user/error-page/401.vue +42 -34
  78. package/src/views/user/error-page/404.vue +19 -3
  79. package/src/views/user/extend_datasource/dialog.vue +124 -116
  80. package/src/views/user/extend_datasource/edit.vue +5 -4
  81. package/src/views/user/extend_datasource/list.vue +3 -3
  82. package/src/views/user/fieldTranslation/editDialog.vue +2 -2
  83. package/src/views/user/fieldTranslation/list.vue +4 -3
  84. package/src/views/user/field_values_invisible/edit.vue +85 -83
  85. package/src/views/user/field_values_invisible/list.vue +32 -21
  86. package/src/views/user/file_type/edit.vue +3 -3
  87. package/src/views/user/file_type/list.vue +7 -4
  88. package/src/views/user/file_type/userEdit.vue +188 -188
  89. package/src/views/user/file_view_area/edit.vue +3 -3
  90. package/src/views/user/file_view_area/itemEdit.vue +168 -165
  91. package/src/views/user/file_view_area/list.vue +3 -3
  92. package/src/views/user/file_view_ins/list.vue +55 -36
  93. package/src/views/user/file_view_ins/propertiesDialog.vue +218 -218
  94. package/src/views/user/form/form_ins_list/edit.vue +421 -421
  95. package/src/views/user/form/form_template/dialog.vue +24 -17
  96. package/src/views/user/form/form_template/edit.vue +7 -4
  97. package/src/views/user/form/form_template/itemEdit.vue +3 -3
  98. package/src/views/user/form/form_template/itemList.vue +3 -3
  99. package/src/views/user/form/form_template/list.vue +5 -4
  100. package/src/views/user/form/form_template_field/dialog.vue +11 -8
  101. package/src/views/user/form/form_type/dialog.vue +134 -127
  102. package/src/views/user/form/form_type/edit.vue +4 -4
  103. package/src/views/user/form/form_type/editDialog.vue +10 -9
  104. package/src/views/user/form/form_type/list.vue +128 -118
  105. package/src/views/user/form/report_requestaccess/dialog.vue +106 -99
  106. package/src/views/user/form/report_requestaccess/edit.vue +272 -234
  107. package/src/views/user/form/report_requestaccess/list.vue +29 -18
  108. package/src/views/user/form/vform/designer.vue +164 -164
  109. package/src/views/user/form/vform/formFieldMapping.js +151 -169
  110. package/src/views/user/form/vform/out_render.vue +3 -2
  111. package/src/views/user/form/vform/render.vue +2 -2
  112. package/src/views/user/form/view/edit.vue +7 -7
  113. package/src/views/user/form/view/list.vue +2 -2
  114. package/src/views/user/home/distributor.vue +374 -118
  115. package/src/views/user/home/index.vue +1 -1
  116. package/src/views/user/language_setting/edit.vue +167 -166
  117. package/src/views/user/language_setting/list.vue +3 -3
  118. package/src/views/user/ledger_library/list.vue +2 -2
  119. package/src/views/user/ledger_library/private_list.vue +3 -3
  120. package/src/views/user/login/auth-redirect.vue +1 -1
  121. package/src/views/user/login/index.vue +1 -1
  122. package/src/views/user/login/indexMixin.js +4 -1
  123. package/src/views/user/menu/list.vue +3 -3
  124. package/src/views/user/mobile_menu/list.vue +2 -2
  125. package/src/views/user/notify_message/dialog.vue +8 -6
  126. package/src/views/user/notify_message/list.vue +4 -3
  127. package/src/views/user/notify_template/edit.vue +185 -185
  128. package/src/views/user/notify_template/list.vue +4 -4
  129. package/src/views/user/oplog/edit.vue +108 -103
  130. package/src/views/user/oplog/list.vue +3 -3
  131. package/src/views/user/outLink/form_view.vue +144 -143
  132. package/src/views/user/outLink/index.vue +7 -5
  133. package/src/views/user/outLink/view.vue +119 -117
  134. package/src/views/user/position/dialog.vue +145 -138
  135. package/src/views/user/position/edit.vue +4 -4
  136. package/src/views/user/position/list.vue +170 -160
  137. package/src/views/user/project_tag/dialog.vue +5 -5
  138. package/src/views/user/project_tag/edit.vue +3 -3
  139. package/src/views/user/project_tag/list.vue +3 -3
  140. package/src/views/user/push_setting/edit.vue +7 -4
  141. package/src/views/user/push_setting/list.vue +44 -34
  142. package/src/views/user/redirect/index.vue +4 -4
  143. package/src/views/user/role/dialog.vue +10 -7
  144. package/src/views/user/role/edit.vue +427 -427
  145. package/src/views/user/role/list.vue +125 -114
  146. package/src/views/user/sale_org/dialog.vue +3 -3
  147. package/src/views/user/sale_org/list.vue +11 -11
  148. package/src/views/user/sale_org/moveDialog.vue +2 -2
  149. package/src/views/user/sale_org_net/list.vue +9 -9
  150. package/src/views/user/system_notice/edit.vue +184 -184
  151. package/src/views/user/system_notice/list.vue +156 -145
  152. package/src/views/user/system_parameter/edit.vue +140 -137
  153. package/src/views/user/system_parameter/list.vue +131 -120
  154. package/src/views/user/user/dialog.vue +31 -24
  155. package/src/views/user/user/edit.vue +1021 -1019
  156. package/src/views/user/user/form_edit.vue +481 -483
  157. package/src/views/user/user/form_list.vue +5 -5
  158. package/src/views/user/user/info.vue +271 -256
  159. package/src/views/user/user/infoContent.vue +12 -11
  160. package/src/views/user/user/infoEdit.vue +111 -92
  161. package/src/views/user/user/inner_list.vue +1 -1
  162. package/src/views/user/user/list.vue +55 -50
  163. package/src/views/user/user/list2.vue +1 -1
  164. package/src/views/user/user/modifyPasswordDialog.vue +3 -3
  165. package/src/views/user/user/out_list.vue +1 -1
  166. package/src/views/user/wf/formCustDialog/list.vue +13 -15
  167. package/src/views/user/wf/iframe/index.vue +12 -12
  168. package/src/views/user/wf/iframe/index2.vue +2 -2
  169. package/src/views/user/wf/wf_auto_submit_data/edit.vue +1 -1
  170. package/src/views/user/wf/wf_auto_submit_data/edith.vue +1 -1
  171. package/src/views/user/wf/wf_auto_submit_data/list.vue +8 -6
  172. package/src/views/user/wf/wf_diy_attribute/edit.vue +5 -5
  173. package/src/views/user/wf/wf_manage/list.vue +5 -4
  174. package/src/views/user/wf/wf_obj_config/activiti_wf.vue +11 -10
  175. package/src/views/user/wf/wf_obj_config/dialog.vue +10 -7
  176. package/src/views/user/wf/wf_obj_config/edit.vue +7 -4
  177. package/src/views/user/wf/wf_obj_config/edit_form.vue +70 -63
  178. package/src/views/user/wf/wf_obj_config/itemEdit.vue +3 -3
  179. package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +3 -3
  180. package/src/views/user/wf/wf_obj_config/list.vue +4 -4
  181. package/src/views/user/wf/wf_obj_config/list_form.vue +22 -22
  182. package/src/views/user/wf/wf_param/edit.vue +4 -4
  183. package/src/views/user/wf/wf_work_calendar/components/calendar.vue +27 -13
  184. package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +25 -10
  185. package/src/views/user/wf/wf_work_calendar/configDialog.vue +8 -5
  186. package/src/views/user/wf/wf_work_calendar/date.js +10 -10
  187. package/src/views/user/wf/wf_work_calendar/list.vue +9 -4
@@ -1,128 +1,139 @@
1
1
  <template>
2
- <div id="containt">
3
- <el-tabs v-model="activeName" class="tab-box">
4
- <el-tab-pane label="常规" name="first">
5
- <editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self" @reload="$reloadHandle"></editView>
6
- </el-tab-pane>
7
- <el-tab-pane label="列表" name="second">
8
- <div class="grid-height">
9
- <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle">
10
- <template #form>
11
- <div class="clearfix screen-btns">
12
- <div class="fl">
13
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">新增</vxe-button>
14
- <base-table-export :option="{ title: '系统参数导出', targetRef: 'table-m1'}" :parent-target="_self" />
15
- </div>
16
- <div class="fr">
17
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary" plain>重置</vxe-button>
18
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索</vxe-button>
19
- </div>
20
- </div>
21
- <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent" @reset="searchEvent">
22
- <vxe-form-item title="参数编码:" field="code">
23
- <template v-slot>
24
- <el-input v-model="formData.code" size="small" clearable />
25
- </template>
26
- </vxe-form-item>
27
- <vxe-form-item title="参数名称:" field="name">
28
- <template v-slot>
29
- <el-input v-model="formData.name" size="small" clearable />
30
- </template>
31
- </vxe-form-item>
32
- </vxe-form>
33
- </template>
34
- </vxe-grid>
35
- </div>
36
- </el-tab-pane>
37
- </el-tabs>
38
- </div>
2
+ <div id="containt">
3
+ <el-tabs v-model="activeName" class="tab-box">
4
+ <el-tab-pane :label="$t1('常规')" name="first">
5
+ <editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
6
+ @reload="$reloadHandle"></editView>
7
+ </el-tab-pane>
8
+ <el-tab-pane :label="$t1('列表')" name="second">
9
+ <div class="grid-height">
10
+ <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
11
+ @custom="$vxeTableUtil.customHandle">
12
+ <template #form>
13
+ <div class="clearfix screen-btns">
14
+ <div class="fl">
15
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">新增
16
+ </vxe-button>
17
+ <base-table-export :option="{ title: '系统参数导出', targetRef: 'table-m1'}" :parent-target="_self"/>
18
+ </div>
19
+ <div class="fr">
20
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
21
+ plain>{{$t1('重置')}}
22
+ </vxe-button>
23
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
24
+ {{$t1('搜索')}}
25
+ </vxe-button>
26
+ </div>
27
+ </div>
28
+ <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
29
+ @submit="searchEvent" @reset="searchEvent">
30
+ <vxe-form-item title="参数编码:" field="code">
31
+ <template v-slot>
32
+ <el-input v-model="formData.code" size="small" clearable/>
33
+ </template>
34
+ </vxe-form-item>
35
+ <vxe-form-item title="参数名称:" field="name">
36
+ <template v-slot>
37
+ <el-input v-model="formData.name" size="small" clearable/>
38
+ </template>
39
+ </vxe-form-item>
40
+ </vxe-form>
41
+ </template>
42
+ </vxe-grid>
43
+ </div>
44
+ </el-tab-pane>
45
+ </el-tabs>
46
+ </div>
39
47
  </template>
40
48
 
41
49
  <script>
42
50
  import editView from './edit.vue';
51
+
43
52
  export default {
44
- name: 'system_parameter:list',
45
- components: {
46
- editView
47
- },
48
- created() {},
49
- mounted() {
50
- this.initTableList();
51
- },
52
- data() {
53
- return {
54
- activeName: 'second',
55
- dataId: 0,
56
- showEdit: false,
57
- vxeOption: {},
58
- formData: {}
59
- };
60
- },
61
- methods: {
62
- searchEvent() {
63
- this.$refs['table-m1'].commitProxy('reload');
64
- },
65
- resetEvent() {
66
- this.formData = {};
67
- this.$refs['table-m1'].commitProxy('reload');
68
- },
69
- openEditDialog(id) {
70
- this.dataId = !id || typeof id == 'object' ? 0 : id;
71
- this.activeName = 'first';
72
- this.$openEditView('showEdit');
73
- },
74
- initTableList() {
75
- let tableOption = {
76
- vue: this,
77
- tableRef: 'table-m1',
78
- tableName: 'basic_system_parameter_list-m1',
79
- path: USER_PREFIX + '/system_parameter/listPage',
80
- param: () => {
81
- return this.formData;
82
- },
83
- columns: [
84
- { type: 'checkbox', width: 48, resizable: false, fixed: 'left' },
85
- {
86
- title: '参数编码',
87
- field: 'code',
88
- width: 200,
89
- sortable: true,
90
- fixed: 'left'
91
- },
92
- { field: 'name', title: '参数名称', width: 200 },
93
- { field: 'value', title: '参数值', width: 200 },
94
- { field: 'remark', title: '备注', width: 200 },
95
- { title: '创建时间', field: 'createDate', width: 150 },
96
- { title: '更新时间', field: 'modifyDate', width: 150 },
97
- {
98
- width: 47,
99
- fixed: 'right',
100
- title: '',
101
- sortable: false,
102
- slots: {
103
- default: ({ row }) => {
104
- return [
105
- <a
106
- href="javascript:void(0);"
107
- class="a-link"
108
- onclick={() => {
109
- this.openEditDialog(row.id);
110
- }}
111
- >
112
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top" popper-class="tooltip-skin">
113
- <i class="el-icon-edit" />
114
- </el-tooltip>
115
- </a>
116
- ];
117
- }
118
- }
119
- }
120
- ]
121
- };
122
- this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
123
- this.vxeOption = opts;
124
- });
125
- }
126
- }
53
+ name: 'system_parameter:list',
54
+ components: {
55
+ editView
56
+ },
57
+ created() {
58
+ },
59
+ mounted() {
60
+ this.initTableList();
61
+ },
62
+ data() {
63
+ return {
64
+ activeName: 'second',
65
+ dataId: 0,
66
+ showEdit: false,
67
+ vxeOption: {},
68
+ formData: {}
69
+ };
70
+ },
71
+ methods: {
72
+ searchEvent() {
73
+ this.$refs['table-m1'].commitProxy('reload');
74
+ },
75
+ resetEvent() {
76
+ this.formData = {};
77
+ this.$refs['table-m1'].commitProxy('reload');
78
+ },
79
+ openEditDialog(id) {
80
+ this.dataId = !id || typeof id == 'object' ? 0 : id;
81
+ this.activeName = 'first';
82
+ this.$openEditView('showEdit');
83
+ },
84
+ initTableList() {
85
+ let tableOption = {
86
+ vue: this,
87
+ tableRef: 'table-m1',
88
+ tableName: 'basic_system_parameter_list-m1',
89
+ path: USER_PREFIX + '/system_parameter/listPage',
90
+ param: () => {
91
+ return this.formData;
92
+ },
93
+ columns: [
94
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
95
+ {
96
+ title: '参数编码',
97
+ field: 'code',
98
+ width: 200,
99
+ sortable: true,
100
+ fixed: 'left'
101
+ },
102
+ {field: 'name', title: '参数名称', width: 200},
103
+ {field: 'value', title: '参数值', width: 200},
104
+ {field: 'remark', title: '备注', width: 200},
105
+ {title: '创建时间', field: 'createDate', width: 150},
106
+ {title: '更新时间', field: 'modifyDate', width: 150},
107
+ {
108
+ width: 47,
109
+ fixed: 'right',
110
+ title: '',
111
+ sortable: false,
112
+ slots: {
113
+ default: ({row}) => {
114
+ return [
115
+ <a
116
+ href="javascript:void(0);"
117
+ class="a-link"
118
+ onclick={() => {
119
+ this.openEditDialog(row.id);
120
+ }}
121
+ >
122
+ <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
123
+ popper-class="tooltip-skin">
124
+ <i class="el-icon-edit"/>
125
+ </el-tooltip>
126
+ </a>
127
+ ];
128
+ }
129
+ }
130
+ }
131
+ ]
132
+ };
133
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
134
+ this.vxeOption = opts;
135
+ });
136
+ }
137
+ }
127
138
  };
128
139
  </script>
@@ -26,19 +26,24 @@
26
26
  <template #form>
27
27
  <div class="clearfix screen-btns">
28
28
  <div class="fr">
29
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary" plain>重置</vxe-button>
30
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索</vxe-button>
29
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
30
+ plain>{{ $t1('重置') }}
31
+ </vxe-button>
32
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
33
+ {{ $t1('搜索') }}
34
+ </vxe-button>
31
35
  </div>
32
36
  </div>
33
- <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent" @reset="resetEvent">
37
+ <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
38
+ @reset="resetEvent">
34
39
  <vxe-form-item title="登录名:" field="loginAccount">
35
40
  <template v-slot>
36
- <el-input v-model="formData.loginAccount" size="small" clearable />
41
+ <el-input v-model="formData.loginAccount" size="small" clearable/>
37
42
  </template>
38
43
  </vxe-form-item>
39
44
  <vxe-form-item title="姓名:" field="nickName">
40
45
  <template v-slot>
41
- <el-input v-model="formData.nickName" size="small" clearable />
46
+ <el-input v-model="formData.nickName" size="small" clearable/>
42
47
  </template>
43
48
  </vxe-form-item>
44
49
  <vxe-button type="submit" @click="searchEvent" v-show="false"></vxe-button>
@@ -53,7 +58,8 @@
53
58
  </div>
54
59
  </label>
55
60
  <div class="multipleChoice">
56
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
61
+ <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
62
+ class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
57
63
  <div class="list">
58
64
  <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
59
65
  <p>{{ checkRow.nickName }}</p>
@@ -62,21 +68,22 @@
62
68
  </div>
63
69
  </div>
64
70
  <span slot="footer" class="dialog-footer">
65
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
71
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
66
72
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
67
73
  <i class="el-icon-close el-icon"></i>
68
- 取 消
74
+ {{ $t1('取 消') }}
69
75
  </el-button>
70
76
  <el-button type="primary" @click="dialogPrimary" class="button-sty">
71
77
  <i class="el-icon-check el-icon"></i>
72
- 确 定
78
+ {{ $t1('确 定') }}
73
79
  </el-button>
74
80
  </span>
75
81
  </el-dialog>
76
82
  </template>
77
83
 
78
84
  <script>
79
- import { selectDialogMixins } from '@base/mixins/selectDialog/index.js';
85
+ import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
86
+
80
87
  export default {
81
88
  name: 'userDialog',
82
89
  props: ['visiable', 'multi', 'rows', 'param'],
@@ -130,16 +137,16 @@ export default {
130
137
  }
131
138
  },
132
139
  columns: [
133
- { type: 'checkbox', width: 50, resizable: false, fixed: 'left'},
134
- { title: '登录名', field: 'loginAccount', width: 250, fixed: 'left' },
135
- { field: 'nickName', title: '姓名', width: 150 },
140
+ {type: 'checkbox', width: 50, resizable: false, fixed: 'left'},
141
+ {title: '登录名', field: 'loginAccount', width: 250, fixed: 'left'},
142
+ {field: 'nickName', title: '姓名', width: 150},
136
143
  // { field: 'mobile', title: '手机号', width: 150 },
137
144
  {
138
145
  field: 'enabled',
139
146
  title: '是否启用',
140
147
  width: 150,
141
148
  slots: {
142
- default: ({ row }) => {
149
+ default: ({row}) => {
143
150
  if (row.enabled) {
144
151
  return [<div class="txt-status">启用</div>];
145
152
  } else {
@@ -148,8 +155,8 @@ export default {
148
155
  }
149
156
  }
150
157
  },
151
- { field: 'roleNames', title: '角色', width: 150 },
152
- { field: 'saleOrgNames', title: '机构', width: 150 },
158
+ {field: 'roleNames', title: '角色', width: 150},
159
+ {field: 'saleOrgNames', title: '机构', width: 150},
153
160
  // {
154
161
  // field: 'birth',
155
162
  // title: '出生日期',
@@ -163,14 +170,14 @@ export default {
163
170
  // }
164
171
  // }
165
172
  // },
166
- { field: 'zipCode', title: '邮编', width: 150 },
167
- { field: 'address', title: '地址', width: 150 },
173
+ {field: 'zipCode', title: '邮编', width: 150},
174
+ {field: 'address', title: '地址', width: 150},
168
175
  {
169
176
  field: 'gender',
170
177
  title: '性别',
171
178
  width: 150,
172
179
  slots: {
173
- default: ({ row }) => {
180
+ default: ({row}) => {
174
181
  var val = row.gender;
175
182
  if (val == 1) {
176
183
  return '男';
@@ -180,11 +187,11 @@ export default {
180
187
  }
181
188
  }
182
189
  },
183
- { field: 'companyNames', title: '所属组织', width: 250 },
184
- { field: 'createBy', title: '创建人', width: 150 },
185
- { field: 'modifyBy', title: '更新人', width: 150 },
186
- { field: 'modifyDate', title: '更新时间', width: 150 },
187
- { field: 'createDate', title: '创建时间', width: 150 },
190
+ {field: 'companyNames', title: '所属组织', width: 250},
191
+ {field: 'createBy', title: '创建人', width: 150},
192
+ {field: 'modifyBy', title: '更新人', width: 150},
193
+ {field: 'modifyDate', title: '更新时间', width: 150},
194
+ {field: 'createDate', title: '创建时间', width: 150},
188
195
  {
189
196
  width: 47,
190
197
  fixed: 'right',