cloud-web-corejs 1.0.18 → 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 (186) 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/utils/aes.js +1 -0
  8. package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -4
  9. package/src/views/bd/setting/bd_attach_setting/edit.vue +3 -3
  10. package/src/views/bd/setting/bd_attach_setting/list.vue +3 -3
  11. package/src/views/bd/setting/form_script/dialog.vue +14 -12
  12. package/src/views/bd/setting/form_script/edit.vue +5 -4
  13. package/src/views/bd/setting/form_script/edit1.vue +3 -3
  14. package/src/views/bd/setting/form_script/form_list.vue +3 -3
  15. package/src/views/bd/setting/form_script/list.vue +4 -4
  16. package/src/views/bd/setting/form_script/list1.vue +4 -4
  17. package/src/views/bd/setting/form_script/list2.vue +1 -1
  18. package/src/views/bd/setting/form_template/dialog.vue +24 -17
  19. package/src/views/bd/setting/form_template/edit.vue +3 -3
  20. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +1 -1
  21. package/src/views/bd/setting/form_template/ftHistoryDialog.vue +5 -5
  22. package/src/views/bd/setting/form_template/itemEdit.vue +3 -3
  23. package/src/views/bd/setting/form_template/itemList.vue +3 -3
  24. package/src/views/bd/setting/form_template/list.vue +4 -4
  25. package/src/views/bd/setting/form_template/preformDialog.vue +2 -2
  26. package/src/views/bd/setting/menu_kind/authDialog.vue +2 -2
  27. package/src/views/bd/setting/menu_kind/dialog.vue +23 -16
  28. package/src/views/bd/setting/menu_kind/list.vue +3 -3
  29. package/src/views/bd/setting/table_model/dialog.vue +4 -4
  30. package/src/views/bd/setting/table_model/edit.vue +1123 -1123
  31. package/src/views/bd/setting/table_model/list.vue +4 -4
  32. package/src/views/bd/setting/table_model/zdDialog.vue +4 -4
  33. package/src/views/mobile/user/area/dialog.vue +3 -2
  34. package/src/views/mobile/user/user/dialog.vue +3 -2
  35. package/src/views/support/export_template/edit.vue +4 -4
  36. package/src/views/support/export_template/list.vue +12 -12
  37. package/src/views/user/access_log/edit.vue +2 -2
  38. package/src/views/user/access_log/list.vue +8 -8
  39. package/src/views/user/access_log/statistics_list.vue +16 -11
  40. package/src/views/user/api_request/edit.vue +7 -4
  41. package/src/views/user/api_request/list.vue +7 -5
  42. package/src/views/user/area/dialog.vue +4 -4
  43. package/src/views/user/area_attribute/configDialog.vue +319 -319
  44. package/src/views/user/area_attribute/edit.vue +2 -2
  45. package/src/views/user/area_attribute/list.vue +1 -1
  46. package/src/views/user/attachment/uploadDialog.vue +11 -11
  47. package/src/views/user/bill_setting/edit.vue +6 -5
  48. package/src/views/user/bill_setting/h5_ModifyDialog.vue +5 -3
  49. package/src/views/user/bill_setting/h5_view.vue +4 -4
  50. package/src/views/user/bill_setting/itemViewDialog.vue +1 -1
  51. package/src/views/user/bill_setting/list.vue +5 -4
  52. package/src/views/user/bill_setting/queryDialog.vue +3 -3
  53. package/src/views/user/bill_setting/render.vue +6 -6
  54. package/src/views/user/bill_setting/template2.json +44 -11
  55. package/src/views/user/bill_setting/userDialog.vue +4 -4
  56. package/src/views/user/code_rules/edit.vue +3 -3
  57. package/src/views/user/code_rules/list.vue +3 -3
  58. package/src/views/user/commMenu/index.vue +2 -2
  59. package/src/views/user/common_attribute/edit.vue +3 -3
  60. package/src/views/user/common_attribute/itemEdit.vue +3 -3
  61. package/src/views/user/common_attribute/list.vue +3 -3
  62. package/src/views/user/common_script/edit.vue +5 -4
  63. package/src/views/user/common_script/list.vue +14 -13
  64. package/src/views/user/company_info/dialog.vue +138 -131
  65. package/src/views/user/company_info/edit.vue +2 -2
  66. package/src/views/user/company_info/view.vue +1 -1
  67. package/src/views/user/country/dialog.vue +6 -6
  68. package/src/views/user/country/edit.vue +8 -7
  69. package/src/views/user/country/list.vue +170 -160
  70. package/src/views/user/data_type_setting/dialog.vue +10 -7
  71. package/src/views/user/data_type_setting/editDialog.vue +12 -11
  72. package/src/views/user/ea/eagroup/eaobj_list.vue +331 -310
  73. package/src/views/user/ea/eagroup/edit.vue +492 -475
  74. package/src/views/user/ea/eaobj/edit.vue +153 -148
  75. package/src/views/user/ea/eaobj/list.vue +147 -135
  76. package/src/views/user/error-page/401.vue +42 -34
  77. package/src/views/user/error-page/404.vue +19 -3
  78. package/src/views/user/extend_datasource/dialog.vue +124 -116
  79. package/src/views/user/extend_datasource/edit.vue +5 -4
  80. package/src/views/user/extend_datasource/list.vue +3 -3
  81. package/src/views/user/fieldTranslation/editDialog.vue +2 -2
  82. package/src/views/user/fieldTranslation/list.vue +4 -3
  83. package/src/views/user/field_values_invisible/edit.vue +85 -83
  84. package/src/views/user/field_values_invisible/list.vue +32 -21
  85. package/src/views/user/file_type/edit.vue +3 -3
  86. package/src/views/user/file_type/list.vue +7 -4
  87. package/src/views/user/file_type/userEdit.vue +188 -188
  88. package/src/views/user/file_view_area/edit.vue +3 -3
  89. package/src/views/user/file_view_area/itemEdit.vue +168 -165
  90. package/src/views/user/file_view_area/list.vue +3 -3
  91. package/src/views/user/file_view_ins/list.vue +55 -36
  92. package/src/views/user/file_view_ins/propertiesDialog.vue +218 -218
  93. package/src/views/user/form/form_ins_list/edit.vue +421 -421
  94. package/src/views/user/form/form_template/dialog.vue +24 -17
  95. package/src/views/user/form/form_template/edit.vue +7 -4
  96. package/src/views/user/form/form_template/itemEdit.vue +3 -3
  97. package/src/views/user/form/form_template/itemList.vue +3 -3
  98. package/src/views/user/form/form_template/list.vue +5 -4
  99. package/src/views/user/form/form_template_field/dialog.vue +11 -8
  100. package/src/views/user/form/form_type/dialog.vue +134 -127
  101. package/src/views/user/form/form_type/edit.vue +4 -4
  102. package/src/views/user/form/form_type/editDialog.vue +10 -9
  103. package/src/views/user/form/form_type/list.vue +128 -118
  104. package/src/views/user/form/report_requestaccess/dialog.vue +106 -99
  105. package/src/views/user/form/report_requestaccess/edit.vue +272 -234
  106. package/src/views/user/form/report_requestaccess/list.vue +29 -18
  107. package/src/views/user/form/vform/designer.vue +164 -164
  108. package/src/views/user/form/vform/formFieldMapping.js +151 -169
  109. package/src/views/user/form/vform/out_render.vue +3 -2
  110. package/src/views/user/form/vform/render.vue +2 -2
  111. package/src/views/user/form/view/edit.vue +7 -7
  112. package/src/views/user/form/view/list.vue +2 -2
  113. package/src/views/user/home/distributor.vue +374 -118
  114. package/src/views/user/home/index.vue +1 -1
  115. package/src/views/user/language_setting/edit.vue +167 -166
  116. package/src/views/user/language_setting/list.vue +3 -3
  117. package/src/views/user/ledger_library/list.vue +2 -2
  118. package/src/views/user/ledger_library/private_list.vue +3 -3
  119. package/src/views/user/login/auth-redirect.vue +1 -1
  120. package/src/views/user/login/index.vue +1 -1
  121. package/src/views/user/login/indexMixin.js +4 -1
  122. package/src/views/user/menu/list.vue +3 -3
  123. package/src/views/user/mobile_menu/list.vue +2 -2
  124. package/src/views/user/notify_message/dialog.vue +8 -6
  125. package/src/views/user/notify_message/list.vue +4 -3
  126. package/src/views/user/notify_template/edit.vue +185 -185
  127. package/src/views/user/notify_template/list.vue +4 -4
  128. package/src/views/user/oplog/edit.vue +108 -103
  129. package/src/views/user/oplog/list.vue +3 -3
  130. package/src/views/user/outLink/form_view.vue +144 -143
  131. package/src/views/user/outLink/index.vue +7 -5
  132. package/src/views/user/outLink/view.vue +119 -117
  133. package/src/views/user/position/dialog.vue +145 -138
  134. package/src/views/user/position/edit.vue +4 -4
  135. package/src/views/user/position/list.vue +170 -160
  136. package/src/views/user/project_tag/dialog.vue +5 -5
  137. package/src/views/user/project_tag/edit.vue +3 -3
  138. package/src/views/user/project_tag/list.vue +3 -3
  139. package/src/views/user/push_setting/edit.vue +7 -4
  140. package/src/views/user/push_setting/list.vue +44 -34
  141. package/src/views/user/redirect/index.vue +4 -4
  142. package/src/views/user/role/dialog.vue +10 -7
  143. package/src/views/user/role/edit.vue +427 -427
  144. package/src/views/user/role/list.vue +125 -114
  145. package/src/views/user/sale_org/dialog.vue +3 -3
  146. package/src/views/user/sale_org/list.vue +11 -11
  147. package/src/views/user/sale_org/moveDialog.vue +2 -2
  148. package/src/views/user/sale_org_net/list.vue +9 -9
  149. package/src/views/user/system_notice/edit.vue +184 -184
  150. package/src/views/user/system_notice/list.vue +156 -145
  151. package/src/views/user/system_parameter/edit.vue +140 -137
  152. package/src/views/user/system_parameter/list.vue +131 -120
  153. package/src/views/user/user/dialog.vue +31 -24
  154. package/src/views/user/user/edit.vue +1021 -1019
  155. package/src/views/user/user/form_edit.vue +481 -483
  156. package/src/views/user/user/form_list.vue +5 -5
  157. package/src/views/user/user/info.vue +271 -256
  158. package/src/views/user/user/infoContent.vue +12 -11
  159. package/src/views/user/user/infoEdit.vue +111 -92
  160. package/src/views/user/user/inner_list.vue +1 -1
  161. package/src/views/user/user/list.vue +55 -50
  162. package/src/views/user/user/list2.vue +1 -1
  163. package/src/views/user/user/modifyPasswordDialog.vue +3 -3
  164. package/src/views/user/user/out_list.vue +1 -1
  165. package/src/views/user/wf/formCustDialog/list.vue +13 -15
  166. package/src/views/user/wf/iframe/index.vue +12 -12
  167. package/src/views/user/wf/iframe/index2.vue +2 -2
  168. package/src/views/user/wf/wf_auto_submit_data/edit.vue +1 -1
  169. package/src/views/user/wf/wf_auto_submit_data/edith.vue +1 -1
  170. package/src/views/user/wf/wf_auto_submit_data/list.vue +8 -6
  171. package/src/views/user/wf/wf_diy_attribute/edit.vue +5 -5
  172. package/src/views/user/wf/wf_manage/list.vue +5 -4
  173. package/src/views/user/wf/wf_obj_config/activiti_wf.vue +11 -10
  174. package/src/views/user/wf/wf_obj_config/dialog.vue +10 -7
  175. package/src/views/user/wf/wf_obj_config/edit.vue +7 -4
  176. package/src/views/user/wf/wf_obj_config/edit_form.vue +70 -63
  177. package/src/views/user/wf/wf_obj_config/itemEdit.vue +3 -3
  178. package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +3 -3
  179. package/src/views/user/wf/wf_obj_config/list.vue +4 -4
  180. package/src/views/user/wf/wf_obj_config/list_form.vue +22 -22
  181. package/src/views/user/wf/wf_param/edit.vue +4 -4
  182. package/src/views/user/wf/wf_work_calendar/components/calendar.vue +27 -13
  183. package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +25 -10
  184. package/src/views/user/wf/wf_work_calendar/configDialog.vue +8 -5
  185. package/src/views/user/wf/wf_work_calendar/date.js +10 -10
  186. package/src/views/user/wf/wf_work_calendar/list.vue +9 -4
@@ -1,134 +1,143 @@
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
- <!-- <vxe-button status="primary" class="button-sty" icon="el-icon-download" @click="importExcel">导入</vxe-button> -->
16
- </div>
17
- <div class="fr">
18
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary" plain>重置</vxe-button>
19
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索</vxe-button>
20
- </div>
21
- </div>
22
- <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent" @reset="searchEvent">
23
- <vxe-form-item title="国家名称:" field="countryName">
24
- <template v-slot>
25
- <el-input v-model="formData.countryName" size="small" clearable />
26
- </template>
27
- </vxe-form-item>
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
+ <!-- <vxe-button status="primary" class="button-sty" icon="el-icon-download" @click="importExcel">导入</vxe-button> -->
19
+ </div>
20
+ <div class="fr">
21
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
22
+ plain>{{ $t1('重置') }}
23
+ </vxe-button>
24
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
25
+ {{ $t1('搜索') }}
26
+ </vxe-button>
27
+ </div>
28
+ </div>
29
+ <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
30
+ @submit="searchEvent" @reset="searchEvent">
31
+ <vxe-form-item title="国家名称:" field="countryName">
32
+ <template v-slot>
33
+ <el-input v-model="formData.countryName" size="small" clearable/>
34
+ </template>
35
+ </vxe-form-item>
28
36
  <vxe-form-item title="国家简称:" field="simpleName">
29
37
  <template v-slot>
30
- <el-input v-model="formData.simpleName" size="small" clearable />
38
+ <el-input v-model="formData.simpleName" size="small" clearable/>
31
39
  </template>
32
40
  </vxe-form-item>
33
- <vxe-form-item title="国家编码:" field="countryCode">
34
- <template v-slot>
35
- <el-input v-model="formData.countryCode" size="small" clearable />
36
- </template>
37
- </vxe-form-item>
38
- </vxe-form>
39
- </template>
40
- </vxe-grid>
41
- </div>
42
- </el-tab-pane>
43
- </el-tabs>
44
- </div>
41
+ <vxe-form-item title="国家编码:" field="countryCode">
42
+ <template v-slot>
43
+ <el-input v-model="formData.countryCode" size="small" clearable/>
44
+ </template>
45
+ </vxe-form-item>
46
+ </vxe-form>
47
+ </template>
48
+ </vxe-grid>
49
+ </div>
50
+ </el-tab-pane>
51
+ </el-tabs>
52
+ </div>
45
53
  </template>
46
54
 
47
55
  <script>
48
56
  import editView from './edit.vue';
57
+
49
58
  export default {
50
- name: 'country:list',
51
- components: { editView },
52
- data() {
53
- return {
54
- activeName: 'second',
55
- dataId: 0,
56
- showEdit: false,
57
- vxeOption: {},
58
- formData: {}
59
- };
60
- },
61
- mounted() {
62
- this.initTableList();
63
- },
64
- methods: {
65
- searchEvent() {
66
- this.$refs['table-m1'].commitProxy('reload');
67
- },
68
- resetEvent() {
69
- this.formData = {};
70
- this.$refs['table-m1'].commitProxy('reload');
71
- },
72
- openEditDialog(id) {
73
- this.dataId = !id || typeof id == 'object' ? 0 : id;
74
- this.activeName = 'first';
75
- this.$openEditView('showEdit');
76
- },
77
- initTableList() {
78
- let that = this;
79
- let tableOption = {
80
- vue: this,
81
- tableRef: 'table-m1',
82
- tableName: 'user_country_list-m1',
83
- path: USER_PREFIX + '/country/listPage',
84
- param: () => {
85
- return this.formData;
86
- },
87
- columns: [
88
- { type: 'checkbox', width: 48, resizable: false, fixed: 'left' },
89
- {
90
- title: '国家名称',
91
- field: 'countryName',
92
- width: 250,
93
- fixed: 'left'
94
- },
59
+ name: 'country:list',
60
+ components: {editView},
61
+ data() {
62
+ return {
63
+ activeName: 'second',
64
+ dataId: 0,
65
+ showEdit: false,
66
+ vxeOption: {},
67
+ formData: {}
68
+ };
69
+ },
70
+ mounted() {
71
+ this.initTableList();
72
+ },
73
+ methods: {
74
+ searchEvent() {
75
+ this.$refs['table-m1'].commitProxy('reload');
76
+ },
77
+ resetEvent() {
78
+ this.formData = {};
79
+ this.$refs['table-m1'].commitProxy('reload');
80
+ },
81
+ openEditDialog(id) {
82
+ this.dataId = !id || typeof id == 'object' ? 0 : id;
83
+ this.activeName = 'first';
84
+ this.$openEditView('showEdit');
85
+ },
86
+ initTableList() {
87
+ let that = this;
88
+ let tableOption = {
89
+ vue: this,
90
+ tableRef: 'table-m1',
91
+ tableName: 'user_country_list-m1',
92
+ path: USER_PREFIX + '/country/listPage',
93
+ param: () => {
94
+ return this.formData;
95
+ },
96
+ columns: [
97
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
98
+ {
99
+ title: '国家名称',
100
+ field: 'countryName',
101
+ width: 250,
102
+ fixed: 'left'
103
+ },
95
104
  {
96
105
  field: 'simpleName',
97
106
  title: '国家简称',
98
107
  width: 150
99
108
  },
100
- {
101
- field: 'countryCode',
102
- title: '国家编码',
103
- width: 150
104
- },
105
- {
106
- field: 'enabled',
107
- title: '是否启用',
108
- width: 150,
109
- slots: {
110
- default: ({ row }) => {
111
- if (row.enabled) {
112
- return [
113
- <div class="txt-status">
114
- <span>启用</span>
115
- </div>
116
- ];
117
- } else {
118
- return [
119
- <div class="txt-status disable">
120
- <span>禁用</span>
121
- </div>
122
- ];
123
- }
124
- }
125
- }
126
- },
127
- {
128
- field: 'createDate',
129
- title: '创建时间',
130
- width: 150
131
- },
109
+ {
110
+ field: 'countryCode',
111
+ title: '国家编码',
112
+ width: 150
113
+ },
114
+ {
115
+ field: 'enabled',
116
+ title: '是否启用',
117
+ width: 150,
118
+ slots: {
119
+ default: ({row}) => {
120
+ if (row.enabled) {
121
+ return [
122
+ <div class="txt-status">
123
+ <span>启用</span>
124
+ </div>
125
+ ];
126
+ } else {
127
+ return [
128
+ <div class="txt-status disable">
129
+ <span>禁用</span>
130
+ </div>
131
+ ];
132
+ }
133
+ }
134
+ }
135
+ },
136
+ {
137
+ field: 'createDate',
138
+ title: '创建时间',
139
+ width: 150
140
+ },
132
141
  {
133
142
  field: '_createBy',
134
143
  title: '创建人',
@@ -139,49 +148,50 @@ export default {
139
148
  title: '更新人',
140
149
  width: 150
141
150
  },
142
- {
143
- width: 47,
144
- fixed: 'right',
145
- title: '',
146
- sortable: false,
147
- slots: {
148
- default: ({ row }) => {
149
- return [
150
- <div>
151
- <a
152
- href="javascript:void(0);"
153
- class="a-link"
154
- onclick={() => {
155
- this.openEditDialog(row.id);
156
- }}
157
- >
158
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top" popper-class="tooltip-skin">
159
- <i class="el-icon-edit" />
160
- </el-tooltip>
161
- </a>
162
- </div>
163
- ];
164
- }
165
- }
166
- }
167
- ]
168
- };
169
- this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
170
- this.vxeOption = opts;
171
- });
172
- },
173
- importExcel() {
174
- let that = this;
175
- that.$excelImport({
176
- prefix: USER_PREFIX,
177
- excel: USER_PREFIX + '/excelTemplate/country/country.xlsx',
178
- multi: false,
179
- saveUrl: USER_PREFIX + '/country/save',
180
- callback: () => {
181
- that.searchEvent();
182
- }
183
- });
184
- }
185
- }
151
+ {
152
+ width: 47,
153
+ fixed: 'right',
154
+ title: '',
155
+ sortable: false,
156
+ slots: {
157
+ default: ({row}) => {
158
+ return [
159
+ <div>
160
+ <a
161
+ href="javascript:void(0);"
162
+ class="a-link"
163
+ onclick={() => {
164
+ this.openEditDialog(row.id);
165
+ }}
166
+ >
167
+ <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
168
+ popper-class="tooltip-skin">
169
+ <i class="el-icon-edit"/>
170
+ </el-tooltip>
171
+ </a>
172
+ </div>
173
+ ];
174
+ }
175
+ }
176
+ }
177
+ ]
178
+ };
179
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
180
+ this.vxeOption = opts;
181
+ });
182
+ },
183
+ importExcel() {
184
+ let that = this;
185
+ that.$excelImport({
186
+ prefix: USER_PREFIX,
187
+ excel: USER_PREFIX + '/excelTemplate/country/country.xlsx',
188
+ multi: false,
189
+ saveUrl: USER_PREFIX + '/country/save',
190
+ callback: () => {
191
+ that.searchEvent();
192
+ }
193
+ });
194
+ }
195
+ }
186
196
  };
187
197
  </script>
@@ -27,9 +27,11 @@
27
27
  <div class="clearfix screen-btns">
28
28
  <div class="fr">
29
29
  <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
30
- plain>重置
30
+ plain>{{$t1('重置')}}
31
+ </vxe-button>
32
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
33
+ {{$t1('搜索')}}
31
34
  </vxe-button>
32
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索</vxe-button>
33
35
  </div>
34
36
  </div>
35
37
  <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
@@ -56,8 +58,9 @@
56
58
  </div>
57
59
  </label>
58
60
  <div class="multipleChoice">
59
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu"
60
- @click="clearChecked()"></a>
61
+ <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
62
+ class="allDel icon-quanbushanchu"
63
+ @click="clearChecked()"></a>
61
64
  </el-tooltip>
62
65
  <div class="list">
63
66
  <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
@@ -67,14 +70,14 @@
67
70
  </div>
68
71
  </div>
69
72
  <span slot="footer" class="dialog-footer">
70
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
73
+ <span class="fl tips" v-if="!selectMulti">{{$t1('注:双击确认选择(单选)')}}</span>
71
74
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
72
75
  <i class="el-icon-close el-icon"></i>
73
- 取 消
76
+ {{$t1('取 消')}}
74
77
  </el-button>
75
78
  <el-button type="primary" @click="dialogPrimary" class="button-sty">
76
79
  <i class="el-icon-check el-icon"></i>
77
- 确 定
80
+ {{$t1('确 定')}}
78
81
  </el-button>
79
82
  </span>
80
83
  </el-dialog>
@@ -13,7 +13,8 @@
13
13
  @close="close"
14
14
  >
15
15
  <div class="cont">
16
- <el-form ref="editForm" :model="dataType" label-width="110px" class="adSearchForm" style="width: 362px;height: auto;">
16
+ <el-form ref="editForm" :model="dataType" label-width="110px" class="adSearchForm"
17
+ style="width: 362px;height: auto;">
17
18
  <el-form-item label="数据类型编码">
18
19
  <span>{{dataType.dataTypeCode}}</span>
19
20
  </el-form-item>
@@ -25,11 +26,11 @@
25
26
  <span slot="footer" class="dialog-footer">
26
27
  <el-button type="primary" plain class="button-sty" @click="showDialog=false">
27
28
  <i class="el-icon-close el-icon"></i>
28
- 取 消
29
+ {{$t1('取 消')}}
29
30
  </el-button>
30
31
  <el-button type="primary" @click="saveData" class="button-sty">
31
32
  <i class="el-icon-check el-icon"></i>
32
- 确 定
33
+ {{$t1('确 定')}}
33
34
  </el-button>
34
35
  </span>
35
36
  </el-dialog>
@@ -39,15 +40,15 @@
39
40
  export default {
40
41
  props: {
41
42
  _dataId: [String, Number],
42
- dataTypeGroup:String
43
+ dataTypeGroup: String
43
44
  },
44
45
  data() {
45
46
  return {
46
47
  isEdit: false,
47
48
  tabIndex: 'first',
48
49
  dataId: '',
49
- dataType: {enabled:true},
50
- showDialog:true
50
+ dataType: {enabled: true},
51
+ showDialog: true
51
52
  };
52
53
  },
53
54
  created() {
@@ -74,7 +75,7 @@ export default {
74
75
  callback && callback(row);
75
76
  }
76
77
  });
77
- }else{
78
+ } else {
78
79
  this.dataType.dataTypeGroup = this.dataTypeGroup
79
80
  }
80
81
  },
@@ -95,9 +96,9 @@ export default {
95
96
  duration: 500,
96
97
  onClose: t => {
97
98
  this.dataId = res.objx;
98
- this.getData((row)=>{
99
+ this.getData((row) => {
99
100
  this.close();
100
- this.$emit('confirm',row)
101
+ this.$emit('confirm', row)
101
102
  })
102
103
  }
103
104
  });
@@ -107,9 +108,9 @@ export default {
107
108
  }
108
109
  });
109
110
  },
110
- close(){
111
+ close() {
111
112
  this.showDialog = false;
112
- this.$emit('update:visiable',false)
113
+ this.$emit('update:visiable', false)
113
114
  }
114
115
  }
115
116
  }