cloud-web-corejs 1.0.27 → 1.0.29

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 (202) hide show
  1. package/package.json +1 -1
  2. package/src/components/formOplog/mixins.js +1 -1
  3. package/src/components/jsonImport/exportDialog.vue +1 -1
  4. package/src/components/jsonImport/index.vue +151 -202
  5. package/src/components/jsonImport/mixins.js +1 -309
  6. package/src/components/projectTag/addButton.vue +3 -50
  7. package/src/components/projectTag/deleteButton.vue +3 -50
  8. package/src/components/projectTag/mixins/addButton.js +5 -0
  9. package/src/components/projectTag/mixins/deleteButton.js +5 -0
  10. package/src/components/projectTag/mixins/view.js +5 -0
  11. package/src/components/projectTag/view.vue +33 -72
  12. package/src/components/xform/mixins/scriptHttp.js +1 -1
  13. package/src/index.js +0 -2
  14. package/src/layout/components/Sidebar/default.vue +4 -6
  15. package/src/router/modules/system.js +1 -1
  16. package/src/store/config/index.js +3 -0
  17. package/src/store/getters.js +2 -0
  18. package/src/store/modules/permission.js +2 -2
  19. package/src/store/modules/user.js +2 -1
  20. package/src/utils/request.js +28 -29
  21. package/src/utils/vab.js +27 -27
  22. package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -87
  23. package/src/views/bd/setting/bd_attach_setting/edit.vue +3 -92
  24. package/src/views/bd/setting/bd_attach_setting/list.vue +4 -214
  25. package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +89 -0
  26. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +96 -0
  27. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +219 -0
  28. package/src/views/bd/setting/form_script/dialog.vue +3 -137
  29. package/src/views/bd/setting/form_script/edit.vue +3 -127
  30. package/src/views/bd/setting/form_script/edit1.vue +3 -142
  31. package/src/views/bd/setting/form_script/form_list.vue +4 -259
  32. package/src/views/bd/setting/form_script/list.vue +55 -223
  33. package/src/views/bd/setting/form_script/list1.vue +117 -444
  34. package/src/views/bd/setting/form_script/list2.vue +3 -4
  35. package/src/views/bd/setting/form_script/mixins/dialog.js +142 -0
  36. package/src/views/bd/setting/form_script/mixins/edit.js +134 -0
  37. package/src/views/bd/setting/form_script/mixins/edit1.js +149 -0
  38. package/src/views/bd/setting/form_script/mixins/form_list.js +264 -0
  39. package/src/views/bd/setting/form_script/mixins/list.js +176 -0
  40. package/src/views/bd/setting/form_script/mixins/list1.js +336 -0
  41. package/src/views/bd/setting/form_script/mixins/list2.js +14 -0
  42. package/src/views/bd/setting/form_template/dialog.vue +104 -212
  43. package/src/views/bd/setting/form_template/edit.vue +183 -329
  44. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +46 -131
  45. package/src/views/bd/setting/form_template/ftHistoryDialog.vue +88 -175
  46. package/src/views/bd/setting/form_template/itemEdit.vue +174 -270
  47. package/src/views/bd/setting/form_template/itemList.vue +56 -300
  48. package/src/views/bd/setting/form_template/list.vue +211 -766
  49. package/src/views/bd/setting/form_template/mixins/dialog.js +114 -0
  50. package/src/views/bd/setting/form_template/mixins/edit.js +155 -0
  51. package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +94 -0
  52. package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +95 -0
  53. package/src/views/bd/setting/form_template/mixins/itemEdit.js +106 -0
  54. package/src/views/bd/setting/form_template/mixins/itemList.js +254 -0
  55. package/src/views/bd/setting/form_template/mixins/list.js +562 -0
  56. package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -0
  57. package/src/views/bd/setting/form_template/preformDialog.vue +57 -77
  58. package/src/views/bd/setting/menu_kind/authDialog.vue +84 -308
  59. package/src/views/bd/setting/menu_kind/dialog.vue +89 -226
  60. package/src/views/bd/setting/menu_kind/list.vue +86 -262
  61. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +232 -0
  62. package/src/views/bd/setting/menu_kind/mixins/dialog.js +144 -0
  63. package/src/views/bd/setting/menu_kind/mixins/list.js +187 -0
  64. package/src/views/bd/setting/table_model/dialog.vue +95 -161
  65. package/src/views/bd/setting/table_model/edit.vue +5 -767
  66. package/src/views/bd/setting/table_model/list.vue +130 -491
  67. package/src/views/bd/setting/table_model/mixins/dialog.js +74 -0
  68. package/src/views/bd/setting/table_model/mixins/edit.js +778 -0
  69. package/src/views/bd/setting/table_model/mixins/list.js +367 -0
  70. package/src/views/bd/setting/table_model/mixins/zdDialog.js +114 -0
  71. package/src/views/bd/setting/table_model/zdDialog.vue +95 -201
  72. package/src/views/support/export_template/edit.vue +40 -36
  73. package/src/views/support/export_template/list.vue +40 -52
  74. package/src/views/user/access_log/edit.vue +18 -17
  75. package/src/views/user/access_log/list.vue +27 -26
  76. package/src/views/user/access_log/statistics_list.vue +19 -17
  77. package/src/views/user/api_request/edit.vue +14 -11
  78. package/src/views/user/api_request/list.vue +13 -11
  79. package/src/views/user/area/dialog.vue +14 -27
  80. package/src/views/user/area_attribute/configDialog.vue +11 -13
  81. package/src/views/user/area_attribute/edit.vue +8 -6
  82. package/src/views/user/area_attribute/list.vue +1 -1
  83. package/src/views/user/attachment/uploadDialog.vue +1 -1
  84. package/src/views/user/bill_setting/button/previewButton.vue +2 -2
  85. package/src/views/user/bill_setting/compareView.vue +1 -1
  86. package/src/views/user/bill_setting/edit.vue +24 -17
  87. package/src/views/user/bill_setting/h5_ModifyDialog.vue +1 -1
  88. package/src/views/user/bill_setting/itemViewDialog.vue +3 -66
  89. package/src/views/user/bill_setting/list.vue +28 -26
  90. package/src/views/user/bill_setting/mixins/wf.js +8 -8
  91. package/src/views/user/bill_setting/previewDialog.vue +1 -1
  92. package/src/views/user/bill_setting/render.vue +29 -29
  93. package/src/views/user/bill_setting/userDialog.vue +7 -5
  94. package/src/views/user/code_rules/edit.vue +21 -18
  95. package/src/views/user/code_rules/list.vue +27 -19
  96. package/src/views/user/commMenu/index.vue +3 -3
  97. package/src/views/user/common_attribute/edit.vue +7 -5
  98. package/src/views/user/common_attribute/itemEdit.vue +22 -22
  99. package/src/views/user/common_attribute/list.vue +25 -24
  100. package/src/views/user/common_script/edit.vue +12 -12
  101. package/src/views/user/common_script/list.vue +30 -32
  102. package/src/views/user/company_info/dialog.vue +9 -9
  103. package/src/views/user/company_info/edit.vue +11 -8
  104. package/src/views/user/country/dialog.vue +11 -9
  105. package/src/views/user/country/edit.vue +12 -9
  106. package/src/views/user/country/list.vue +12 -12
  107. package/src/views/user/data_type_setting/dialog.vue +10 -10
  108. package/src/views/user/data_type_setting/editDialog.vue +6 -6
  109. package/src/views/user/ea/eagroup/eaobj_list.vue +25 -25
  110. package/src/views/user/ea/eagroup/edit.vue +48 -42
  111. package/src/views/user/ea/eaobj/edit.vue +6 -5
  112. package/src/views/user/ea/eaobj/list.vue +9 -8
  113. package/src/views/user/extend_datasource/dialog.vue +19 -24
  114. package/src/views/user/extend_datasource/edit.vue +20 -16
  115. package/src/views/user/extend_datasource/list.vue +23 -24
  116. package/src/views/user/fieldTranslation/editDialog.vue +28 -28
  117. package/src/views/user/fieldTranslation/list.vue +59 -57
  118. package/src/views/user/field_values_invisible/edit.vue +15 -14
  119. package/src/views/user/field_values_invisible/list.vue +23 -22
  120. package/src/views/user/file_type/edit.vue +12 -21
  121. package/src/views/user/file_type/list.vue +21 -36
  122. package/src/views/user/file_type/userEdit.vue +14 -9
  123. package/src/views/user/file_view_area/edit.vue +3 -3
  124. package/src/views/user/file_view_area/itemEdit.vue +11 -9
  125. package/src/views/user/file_view_area/list.vue +17 -16
  126. package/src/views/user/file_view_ins/list.vue +29 -28
  127. package/src/views/user/file_view_ins/propertiesDialog.vue +15 -15
  128. package/src/views/user/form/form_template/edit.vue +1 -1
  129. package/src/views/user/form/form_template/itemEdit.vue +1 -1
  130. package/src/views/user/form/form_template/itemList.vue +2 -2
  131. package/src/views/user/form/form_template/list.vue +3 -3
  132. package/src/views/user/form/form_type/edit.vue +1 -1
  133. package/src/views/user/form/form_type/list.vue +1 -1
  134. package/src/views/user/form/report_requestaccess/edit.vue +1 -1
  135. package/src/views/user/form/report_requestaccess/list.vue +1 -1
  136. package/src/views/user/form/vform/designer.vue +2 -0
  137. package/src/views/user/form/vform/out_render.vue +1 -0
  138. package/src/views/user/form/vform/render.vue +1 -0
  139. package/src/views/user/form/view/list.vue +2 -1
  140. package/src/views/user/groups/dialog.vue +159 -0
  141. package/src/views/user/groups/edit.vue +131 -0
  142. package/src/views/user/groups/list.vue +167 -0
  143. package/src/views/user/home/index.vue +3 -3
  144. package/src/views/user/lang_tag/dialog.vue +185 -0
  145. package/src/views/user/lang_tag/edit.vue +138 -0
  146. package/src/views/user/lang_tag/list.vue +170 -0
  147. package/src/views/user/language_setting/edit.vue +11 -9
  148. package/src/views/user/language_setting/list.vue +20 -18
  149. package/src/views/user/login/default.vue +129 -0
  150. package/src/views/user/login/index.vue +3 -117
  151. package/src/views/user/menu/list.vue +39 -55
  152. package/src/views/user/mobile_menu/list.vue +18 -54
  153. package/src/views/user/notify_message/dialog.vue +1 -1
  154. package/src/views/user/notify_message/infoDialog.vue +1 -1
  155. package/src/views/user/notify_message/list.vue +24 -23
  156. package/src/views/user/notify_template/edit.vue +13 -11
  157. package/src/views/user/notify_template/list.vue +19 -16
  158. package/src/views/user/oplog/edit.vue +12 -12
  159. package/src/views/user/oplog/list.vue +20 -18
  160. package/src/views/user/position/dialog.vue +6 -6
  161. package/src/views/user/position/edit.vue +11 -8
  162. package/src/views/user/position/list.vue +11 -11
  163. package/src/views/user/project_tag/dialog.vue +11 -9
  164. package/src/views/user/project_tag/edit.vue +8 -6
  165. package/src/views/user/project_tag/list.vue +15 -12
  166. package/src/views/user/push_setting/edit.vue +20 -17
  167. package/src/views/user/push_setting/list.vue +1 -1
  168. package/src/views/user/role/dialog.vue +11 -11
  169. package/src/views/user/role/edit.vue +14 -12
  170. package/src/views/user/role/list.vue +14 -12
  171. package/src/views/user/sale_org/dialog.vue +12 -12
  172. package/src/views/user/sale_org/list.vue +43 -48
  173. package/src/views/user/system_notice/edit.vue +13 -11
  174. package/src/views/user/system_notice/infoDialog.vue +2 -2
  175. package/src/views/user/system_notice/list.vue +19 -17
  176. package/src/views/user/system_parameter/edit.vue +7 -6
  177. package/src/views/user/system_parameter/list.vue +12 -10
  178. package/src/views/user/user/edit.vue +1 -1
  179. package/src/views/user/user/form_edit.vue +50 -7
  180. package/src/views/user/user/form_list.vue +34 -132
  181. package/src/views/user/user/info.vue +20 -19
  182. package/src/views/user/user/infoEdit.vue +18 -18
  183. package/src/views/user/user/infoIframeDialog.vue +1 -1
  184. package/src/views/user/user/modifyPasswordDialog.vue +9 -9
  185. package/src/views/user/wf/iframe/dialog.vue +1 -1
  186. package/src/views/user/wf/wf_auto_submit_data/edit.vue +11 -10
  187. package/src/views/user/wf/wf_auto_submit_data/edith.vue +14 -13
  188. package/src/views/user/wf/wf_auto_submit_data/list.vue +43 -41
  189. package/src/views/user/wf/wf_diy_attribute/edit.vue +11 -8
  190. package/src/views/user/wf/wf_manage/list.vue +66 -61
  191. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  192. package/src/views/user/wf/wf_obj_config/dialog.vue +11 -11
  193. package/src/views/user/wf/wf_obj_config/edit.vue +12 -9
  194. package/src/views/user/wf/wf_obj_config/edit_form.vue +11 -9
  195. package/src/views/user/wf/wf_obj_config/itemEdit.vue +31 -27
  196. package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +8 -6
  197. package/src/views/user/wf/wf_obj_config/list.vue +42 -41
  198. package/src/views/user/wf/wf_obj_config/list_form.vue +14 -12
  199. package/src/views/user/wf/wf_param/edit.vue +7 -5
  200. package/src/views/user/wf/wf_work_calendar/configDialog.vue +9 -24
  201. package/src/views/user/wf/wf_work_calendar/list.vue +6 -3
  202. package/src/views/user/home/distributor.vue +0 -849
@@ -4,21 +4,22 @@
4
4
  <div class="d-header clearfix">
5
5
  <div class="fl">
6
6
  <i class="el-icon-info"/>
7
- {{ dataId ? $t1('查看') : $t1('新增') }} 分组配置
7
+ {{ dataId ? $t1('查看分组配置') : $t1('新增分组配置') }}
8
8
  </div>
9
9
  <div class="fl tips_1" style="margin: 6px 34px">
10
- <span>注:新增或更新字段信息后,请务必点击</span>
10
+ <span>{{ $t1('注:新增或更新字段信息后,请务必点击') }}</span>
11
11
  <el-button type="primary" plain class="button-sty" v-if="dataId != null" @click="createTable"
12
12
  style="margin-left: 10px;margin-right: 10px;">
13
- 创建/更新数据表
13
+ {{ $t1('创建/更新数据表') }}
14
14
  </el-button>
15
- <span>按钮!</span>
15
+ <span>{{ $t1('按钮!') }}</span>
16
16
  </div>
17
17
  <div class="fr">
18
18
  <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
19
19
  {{ $t1('重置') }}
20
20
  </el-button>
21
- <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
21
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
22
+ </el-button>
22
23
  </div>
23
24
  </div>
24
25
  <div class="d-cont">
@@ -29,57 +30,57 @@
29
30
  <tr>
30
31
  <th>
31
32
  <em class="f-red">*</em>
32
- 分组描述
33
+ {{ $t1('分组描述') }}
33
34
  </th>
34
35
  <td>
35
36
  <el-form-item prop="eaGroupDesc" :rules="[{ required: true, trigger: 'blur' }]">
36
37
  <el-input autocomplete="off" v-model="eagroup.eaGroupDesc" clearable/>
37
38
  </el-form-item>
38
39
  </td>
39
- <th>设置</th>
40
+ <th>{{ $t1('设置') }}</th>
40
41
  <td>
41
- <el-checkbox label="是否启用" v-model="eagroup.enabled"></el-checkbox>
42
+ <el-checkbox :label="$t1('是否启用')" v-model="eagroup.enabled"></el-checkbox>
42
43
  </td>
43
- <th>分组类型</th>
44
+ <th>{{ $t1('分组类型') }}</th>
44
45
  <td colspan="3">
45
46
  <el-radio-group v-if="!dataId" v-model="eagroup.eaGroupType" @change="changeEaGroupType">
46
- <el-radio :label="1">单属性</el-radio>
47
- <el-radio :label="2">列表属性</el-radio>
48
- <el-radio :label="3">附件</el-radio>
47
+ <el-radio :label="1">{{ $t1('单属性') }}</el-radio>
48
+ <el-radio :label="2">{{ $t1('列表属性') }}</el-radio>
49
+ <el-radio :label="3">{{ $t1('附件') }}</el-radio>
49
50
  </el-radio-group>
50
51
  <template v-else>
51
52
  <template v-if="eagroup.eaGroupType == 1">
52
- 单属性
53
+ {{ $t1('单属性') }}
53
54
  </template>
54
55
  <template v-else-if="eagroup.eaGroupType == 2">
55
- 列表属性
56
+ {{ $t1('列表属性') }}
56
57
  </template>
57
58
  <template v-else-if="eagroup.eaGroupType == 3">
58
- 附件
59
+ {{ $t1('附件') }}
59
60
  </template>
60
61
  </template>
61
62
  </td>
62
63
  </tr>
63
64
  <tr>
64
- <th>序号</th>
65
+ <th>{{ $t1('序号') }}</th>
65
66
  <td>
66
67
  <base-input-number v-model="eagroup.orders" :scale="0"/>
67
68
  </td>
68
- <th>数据表名</th>
69
+ <th>{{ $t1('数据表名') }}</th>
69
70
  <td>
70
71
  <pre>{{ eagroup.eaTableName }}</pre>
71
72
  </td>
72
- <th>附件类型</th>
73
+ <th>{{ $t1('附件类型') }}</th>
73
74
  <td colspan="3">{{ eagroup.eaAttachType }}</td>
74
75
  </tr>
75
76
  <tr>
76
- <th>单据对象编码</th>
77
+ <th>{{ $t1('单据对象编码') }}</th>
77
78
  <td>{{ eagroup.eaObjCode }}</td>
78
- <th>分组编码</th>
79
+ <th>{{ $t1('分组编码') }}</th>
79
80
  <td colspan="3">{{ eagroup.eaGroupCode }}</td>
80
81
  </tr>
81
82
  <tr v-if="eagroup.eaGroupType != 3">
82
- <th>数据表信息</th>
83
+ <th>{{ $t1('数据表信息') }}</th>
83
84
  <td colspan="7">
84
85
  <pre>{{ tableInfo }}</pre>
85
86
  </td>
@@ -106,10 +107,10 @@
106
107
  </div>
107
108
  <div class="d-item" v-show="eagroup.eaGroupType != 3">
108
109
  <div class="title">
109
- <b>明细信息</b>
110
- <el-button class="button-sty" @click="addItems" icon="el-icon-search">新增明细</el-button>
110
+ <b>{{ $t1('明细信息') }}</b>
111
+ <el-button class="button-sty" @click="addItems" icon="el-icon-search">{{ $t1('新增明细') }}</el-button>
111
112
  <div class="tips_1 fr">
112
- <span>注:字段名定义必须是全部小写全字母或下划线'_',且长度是20位以内。</span>
113
+ <span>{{ $t1('注:字段名定义必须是全部小写全字母或下划线"_",且长度是20位以内。') }}</span>
113
114
  </div>
114
115
  </div>
115
116
  <div>
@@ -234,7 +235,12 @@ export default {
234
235
  },
235
236
  initM1() {
236
237
  var that = this;
237
- let fieldStyleMap = {1: '文本', 2: '日期', 3: '单选', 4: '多选'};
238
+ let fieldStyleMap = {
239
+ 1: this.$t1('文本'),
240
+ 2: this.$t1('日期'),
241
+ 3: this.$t1('单选'),
242
+ 4: this.$t1('多选')
243
+ };
238
244
  const tableRef = 'table-m1';
239
245
  const tableOption = {
240
246
  vue: this,
@@ -262,8 +268,8 @@ export default {
262
268
  <el-form-item prop={'eaGroupFieldDTOs.' + rowIndex + '.enabled'}
263
269
  rules={[{required: true, trigger: 'blur'}]}>
264
270
  <el-select v-model={row.enabled}>
265
- <el-option value={true} label={'是'}/>
266
- <el-option value={false} label={'否'}/>
271
+ <el-option value={true} label={this.$t1('是')}/>
272
+ <el-option value={false} label={this.$t1('否')}/>
267
273
  </el-select>
268
274
  </el-form-item>
269
275
  ];
@@ -272,7 +278,7 @@ export default {
272
278
  },
273
279
  {
274
280
  field: 'fieldName',
275
- title: '数据表字段名',
281
+ title: this.$t1('数据表字段名'),
276
282
  width: 150,
277
283
  slots: {
278
284
  default: ({row, rowIndex, $table}) => {
@@ -291,7 +297,7 @@ export default {
291
297
  },
292
298
  {
293
299
  field: 'fieldDesc',
294
- title: '字段描述',
300
+ title: this.$t1('字段描述'),
295
301
  width: 150,
296
302
  slots: {
297
303
  default: ({row, rowIndex, $table}) => {
@@ -306,7 +312,7 @@ export default {
306
312
  },
307
313
  {
308
314
  field: 'fieldStyle',
309
- title: '字段样式',
315
+ title: this.$t1('字段样式'),
310
316
  width: 150,
311
317
  slots: {
312
318
  default: ({row, rowIndex, $table}) => {
@@ -315,10 +321,10 @@ export default {
315
321
  <el-form-item prop={'eaGroupFieldDTOs.' + rowIndex + '.fieldStyle'}
316
322
  rules={[{required: true, trigger: 'blur'}]}>
317
323
  <el-select v-model={row.fieldStyle}>
318
- <el-option value={1} label={'文本'}/>
319
- <el-option value={2} label={'日期'}/>
320
- <el-option value={3} label={'单选'}/>
321
- <el-option value={4} label={'多选'}/>
324
+ <el-option value={1} label={this.$t1('文本')}/>
325
+ <el-option value={2} label={this.$t1('日期')}/>
326
+ <el-option value={3} label={this.$t1('单选')}/>
327
+ <el-option value={4} label={this.$t1('多选')}/>
322
328
  </el-select>
323
329
  </el-form-item>
324
330
  ];
@@ -330,7 +336,7 @@ export default {
330
336
  },
331
337
  {
332
338
  field: 'fieldStyleValue',
333
- title: '字段样式值(单选多选 多个值用逗号隔开)',
339
+ title: this.$t1('字段样式值(单选多选 多个值用逗号隔开)'),
334
340
  width: 300,
335
341
  slots: {
336
342
  default: ({row, rowIndex, $table}) => {
@@ -345,12 +351,12 @@ export default {
345
351
  },
346
352
  {
347
353
  field: 'fieldSize',
348
- title: '字段数据长度',
354
+ title: this.$t1('字段数据长度'),
349
355
  width: 150
350
356
  },
351
357
  {
352
358
  field: 'required',
353
- title: '是否必填项',
359
+ title: this.$t1('是否必填项'),
354
360
  width: 150,
355
361
  slots: {
356
362
  default: ({row, rowIndex, $table}) => {
@@ -359,13 +365,13 @@ export default {
359
365
  <el-form-item prop={'eaGroupFieldDTOs.' + rowIndex + '.required'}
360
366
  rules={[{required: true, trigger: 'blur'}]}>
361
367
  <el-select v-model={row.required}>
362
- <el-option value={true} label={'是'}/>
363
- <el-option value={false} label={'否'}/>
368
+ <el-option value={true} label={this.$t1('是')}/>
369
+ <el-option value={false} label={this.$t1('否')}/>
364
370
  </el-select>
365
371
  </el-form-item>
366
372
  ];
367
373
  } else {
368
- return row.required ? '是' : '否';
374
+ return row.required ? this.$t1('是') : this.$t1('否');
369
375
  }
370
376
  }
371
377
  }
@@ -386,7 +392,7 @@ export default {
386
392
  this.eagroup.eaGroupFieldDTOs.splice(rowIndex, 1);
387
393
  }}
388
394
  >
389
- <el-tooltip enterable={false} effect="dark" content="删除" placement="top"
395
+ <el-tooltip enterable={false} effect="dark" content={this.$t1('删除')} placement="top"
390
396
  popper-class="tooltip-skin">
391
397
  <i class="el-icon-delete"/>
392
398
  </el-tooltip>
@@ -475,7 +481,7 @@ export default {
475
481
  },
476
482
  createTable() {
477
483
  if (this.dataId) {
478
- this.$baseConfirm('您确定要创建/更新数据表吗?').then(() => {
484
+ this.$baseConfirm(this.$t1('您确定要创建/更新数据表吗?')).then(() => {
479
485
  this.$http({
480
486
  url: USER_PREFIX + `/eagroup/createModifyTable`,
481
487
  method: `post`,
@@ -4,13 +4,14 @@
4
4
  <div class="d-header clearfix">
5
5
  <div class="fl">
6
6
  <i class="el-icon-info"/>
7
- {{ dataId ? $t1('查看') : $t1('新增') }} 单据对象
7
+ {{ dataId ? $t1('查看单据对象') : $t1('新增单据对象') }}
8
8
  </div>
9
9
  <div class="fr">
10
10
  <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
11
11
  {{ $t1('重置') }}
12
12
  </el-button>
13
- <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
13
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
14
+ </el-button>
14
15
  </div>
15
16
  </div>
16
17
  <div class="d-cont">
@@ -21,7 +22,7 @@
21
22
  <tr>
22
23
  <th>
23
24
  <em class="f-red">*</em>
24
- 单据对象名称
25
+ {{ $t1('单据对象名称') }}
25
26
  </th>
26
27
  <td>
27
28
  <el-form-item prop="eaObjName" :rules="[{ required: true, trigger: 'blur' }]">
@@ -30,7 +31,7 @@
30
31
  </td>
31
32
  <th>
32
33
  <em class="f-red">*</em>
33
- 单据对象编码
34
+ {{ $t1('单据对象编码') }}
34
35
  </th>
35
36
  <td>
36
37
  <el-form-item v-if="!dataId" prop="eaObjCode" :rules="[{ required: true, trigger: 'blur' }]">
@@ -42,7 +43,7 @@
42
43
  </td>
43
44
  <th>
44
45
  <em class="f-red">*</em>
45
- 所属应用服务名
46
+ {{ $t1('所属应用服务名') }}
46
47
  </th>
47
48
  <td>
48
49
  <el-form-item v-if="!dataId" prop="applicationName" :rules="[{ required: true, trigger: 'blur' }]">
@@ -12,9 +12,10 @@
12
12
  <template #form>
13
13
  <div class="clearfix screen-btns">
14
14
  <div class="fl">
15
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">新增
15
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
16
+ {{ $t1('新增') }}
16
17
  </vxe-button>
17
- <base-table-export :option="{ title: '扩展属性-单据配置导出', targetRef: 'table-m1'}"
18
+ <base-table-export :option="{ title: $t1('扩展属性-单据配置导出'), targetRef: 'table-m1'}"
18
19
  :parent-target="_self"/>
19
20
  </div>
20
21
  <div class="fr">
@@ -28,12 +29,12 @@
28
29
  </div>
29
30
  <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
30
31
  @submit="searchEvent" @reset="searchEvent">
31
- <vxe-form-item title="单据对象名称:" field="eaObjName">
32
+ <vxe-form-item :title="$t1('单据对象名称')+':'" field="eaObjName">
32
33
  <template v-slot>
33
34
  <el-input v-model="formData.eaObjName" size="small" clearable/>
34
35
  </template>
35
36
  </vxe-form-item>
36
- <vxe-form-item title="单据对象编码:" field="eaObjCode">
37
+ <vxe-form-item :title="$t1('单据对象编码')+':'" field="eaObjCode">
37
38
  <template v-slot>
38
39
  <el-input v-model="formData.eaObjCode" size="small" clearable/>
39
40
  </template>
@@ -95,19 +96,19 @@ export default {
95
96
  columns: [
96
97
  {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
97
98
  {
98
- title: '单据对象名称',
99
+ title: this.$t1('单据对象名称'),
99
100
  field: 'eaObjName',
100
101
  width: 150,
101
102
  fixed: 'left'
102
103
  },
103
104
  {
104
105
  field: 'eaObjCode',
105
- title: '单据对象编码',
106
+ title: this.$t1('单据对象编码'),
106
107
  width: 150
107
108
  },
108
109
  {
109
110
  field: 'applicationName',
110
- title: '所属应用服务名',
111
+ title: this.$t1('所属应用服务名'),
111
112
  width: 150
112
113
  },
113
114
  {
@@ -135,7 +136,7 @@ export default {
135
136
  this.openEditDialog(row.id);
136
137
  }}
137
138
  >
138
- <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
139
+ <el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
139
140
  popper-class="tooltip-skin">
140
141
  <i class="el-icon-edit"/>
141
142
  </el-tooltip>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-dialog
3
- title="数据源列表"
3
+ :title="$t1('数据源列表')"
4
4
  :append-to-body="true"
5
5
  :modal-append-to-body="true"
6
6
  :close-on-click-modal="falseValue"
@@ -27,31 +27,26 @@
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>{{$t1('重置')}}
30
+ plain>{{ $t1('重置') }}
31
31
  </vxe-button>
32
32
  <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
33
- {{$t1('搜索')}}
33
+ {{ $t1('搜索') }}
34
34
  </vxe-button>
35
35
  </div>
36
36
  </div>
37
37
  <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
38
38
  @reset="resetEvent">
39
- <!-- <vxe-form-item title="模板名称:" field="reportName">
40
- <template v-slot>
41
- <el-input v-model="formData.reportName" size="small" clearable />
42
- </template>
43
- </vxe-form-item> -->
44
- <vxe-form-item title="数据源名称:" field="dsName">
39
+ <vxe-form-item :title="$t1('数据源名称')+':'" field="dsName">
45
40
  <template v-slot>
46
41
  <el-input v-model="formData.dsName" size="small" clearable/>
47
42
  </template>
48
43
  </vxe-form-item>
49
- <vxe-form-item title="数据源Url:" field="dsUrl">
44
+ <vxe-form-item :title="$t1('数据源Url')+':'" field="dsUrl">
50
45
  <template v-slot>
51
46
  <el-input v-model="formData.dsUrl" size="small" clearable/>
52
47
  </template>
53
48
  </vxe-form-item>
54
- <vxe-form-item title="数据源类型:" field="dsType">
49
+ <vxe-form-item :title="$t1('数据源类型')+':'" field="dsType">
55
50
  <template v-slot>
56
51
  <el-select v-model="formData.dsType" clearable>
57
52
  <el-option :value="0" label="mysql"></el-option>
@@ -80,14 +75,14 @@
80
75
  </div>
81
76
  </div>
82
77
  <span slot="footer" class="dialog-footer">
83
- <span class="fl tips" v-if="!selectMulti">{{$t1('注:双击确认选择(单选)')}}</span>
78
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
84
79
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
85
80
  <i class="el-icon-close el-icon"></i>
86
- {{$t1('取 消')}}
81
+ {{ $t1('取 消') }}
87
82
  </el-button>
88
83
  <el-button type="primary" @click="dialogPrimary" class="button-sty">
89
84
  <i class="el-icon-check el-icon"></i>
90
- {{$t1('确 定')}}
85
+ {{ $t1('确 定') }}
91
86
  </el-button>
92
87
  </span>
93
88
  </el-dialog>
@@ -140,18 +135,18 @@ export default {
140
135
  columns: [
141
136
  {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
142
137
  {
143
- title: '数据源名称',
138
+ title: this.$t1('数据源名称'),
144
139
  field: 'dsName',
145
140
  width: 150,
146
141
  fixed: 'left'
147
142
  },
148
143
  {
149
- title: '数据源编码',
144
+ title: this.$t1('数据源编码'),
150
145
  field: 'dsCode',
151
146
  width: 150
152
147
  },
153
148
  {
154
- title: '数据源类型',
149
+ title: this.$t1('数据源类型'),
155
150
  field: 'dsType',
156
151
  width: 150,
157
152
  slots: {
@@ -165,22 +160,22 @@ export default {
165
160
  }
166
161
  },
167
162
  {
168
- title: '数据源对应驱动ClassName',
163
+ title: this.$t1('数据源对应驱动ClassName'),
169
164
  field: 'driverClassName',
170
165
  width: 150
171
166
  },
172
167
  {
173
- title: '链接数据源Url',
168
+ title: this.$t1('链接数据源Url'),
174
169
  field: 'dsUrl',
175
170
  width: 150
176
171
  },
177
172
  {
178
- title: '数据源用户名',
173
+ title: this.$t1('数据源用户名'),
179
174
  field: 'dsUserName',
180
175
  width: 150
181
176
  },
182
177
  {
183
- title: '数据源密码',
178
+ title: this.$t1('数据源密码'),
184
179
  field: 'dsPassWord',
185
180
  width: 150
186
181
  },
@@ -193,13 +188,13 @@ export default {
193
188
  if (row.enabled) {
194
189
  return [
195
190
  <div class="txt-status">
196
- <span>启用</span>
191
+ <span>{this.$t1('启用')}</span>
197
192
  </div>
198
193
  ];
199
194
  } else {
200
195
  return [
201
196
  <div class="txt-status disable">
202
- <span>禁用</span>
197
+ <span>{this.$t1('禁用')}</span>
203
198
  </div>
204
199
  ];
205
200
  }
@@ -232,7 +227,7 @@ export default {
232
227
  this.openEditDialog(row.id);
233
228
  }}
234
229
  >
235
- <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
230
+ <el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
236
231
  popper-class="tooltip-skin">
237
232
  <i class="el-icon-edit"/>
238
233
  </el-tooltip>
@@ -4,13 +4,16 @@
4
4
  <div class="d-header clearfix">
5
5
  <div class="fl">
6
6
  <i class="el-icon-info"/>
7
- {{ dataId ? $t1('查看') : $t1('新增') }} 数据源
7
+ {{ dataId ? $t1('查看数据源') : $t1('新增数据源') }}
8
8
  </div>
9
9
  <div class="fr">
10
- <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
10
+ <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
11
+ {{ $t1('重置') }}
11
12
  </el-button>
12
- <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
13
- <el-button type="primary" class="button-sty" icon="el-icon-video-play" @click="dblinktest">测试数据库链接
13
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
14
+ </el-button>
15
+ <el-button type="primary" class="button-sty" icon="el-icon-video-play" @click="dblinktest">
16
+ {{ $t1('测试数据库链接') }}
14
17
  </el-button>
15
18
  </div>
16
19
  </div>
@@ -22,7 +25,7 @@
22
25
  <tr>
23
26
  <th>
24
27
  <em class="f-red">*</em>
25
- 数据源名称
28
+ {{ $t1('数据源名称') }}
26
29
  </th>
27
30
  <td>
28
31
  <el-form-item prop="dsName" :rules="[{ required: true, trigger: 'blur' }]">
@@ -31,7 +34,7 @@
31
34
  </td>
32
35
  <th>
33
36
  <em class="f-red">*</em>
34
- 数据源编码
37
+ {{ $t1('数据源编码') }}
35
38
  </th>
36
39
  <td>
37
40
  <el-form-item prop="dsCode" :rules="[{ required: true, trigger: 'blur' }]" v-if="!dataId">
@@ -42,13 +45,13 @@
42
45
  </template>
43
46
  </td>
44
47
  <th>
45
- 是否启用
48
+ {{ $t1('是否启用') }}
46
49
  </th>
47
50
  <td>
48
51
  <el-form-item prop="enabled" :rules="[{ required: false, trigger: 'blur' }]">
49
52
  <el-radio-group v-model="dataSource.enabled">
50
- <el-radio :label="true">启用</el-radio>
51
- <el-radio :label="false">禁用</el-radio>
53
+ <el-radio :label="true">{{ $t1('启用') }}</el-radio>
54
+ <el-radio :label="false">{{ $t1('禁用') }}</el-radio>
52
55
  </el-radio-group>
53
56
  </el-form-item>
54
57
  </td>
@@ -56,7 +59,7 @@
56
59
  <tr>
57
60
  <th>
58
61
  <em class="f-red">*</em>
59
- 数据源类型
62
+ {{ $t1('数据源类型') }}
60
63
  </th>
61
64
  <td>
62
65
  <el-form-item prop="dsType" :rules="[{ required: true, trigger: 'blur' }]">
@@ -70,7 +73,7 @@
70
73
  <tr>
71
74
  <th>
72
75
  <em class="f-red">*</em>
73
- 数据源驱动类
76
+ {{ $t1('数据源驱动类') }}
74
77
  </th>
75
78
  <td colspan="5">
76
79
  <el-form-item prop="driverClassName" :rules="[{ required: true, trigger: 'blur' }]">
@@ -81,7 +84,7 @@
81
84
  <tr>
82
85
  <th>
83
86
  <em class="f-red">*</em>
84
- 链接数据源Url
87
+ {{ $t1('链接数据源Url') }}
85
88
  </th>
86
89
  <td colspan="5">
87
90
  <el-form-item prop="dsUrl" :rules="[{ required: true, trigger: 'blur' }]">
@@ -92,7 +95,7 @@
92
95
  <tr>
93
96
  <th>
94
97
  <em class="f-red">*</em>
95
- 数据源用户名
98
+ {{ $t1('数据源用户名') }}
96
99
  </th>
97
100
  <td>
98
101
  <el-form-item prop="dsUserName" :rules="[{ required: true, trigger: 'blur' }]">
@@ -102,7 +105,7 @@
102
105
  </td>
103
106
  <th>
104
107
  <em class="f-red">*</em>
105
- 数据源密码
108
+ {{ $t1('数据源密码') }}
106
109
  </th>
107
110
  <td>
108
111
  <el-form-item prop="dsPassWord" :rules="[{ required: true, trigger: 'blur' }]">
@@ -113,7 +116,8 @@
113
116
  <tr>
114
117
  <th>{{ $t1('备注') }}</th>
115
118
  <td colspan="5">
116
- <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small" v-model="dataSource.remark"
119
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
120
+ v-model="dataSource.remark"
117
121
  clearable></el-input>
118
122
  </td>
119
123
  </tr>
@@ -183,7 +187,7 @@ export default {
183
187
  dblinktest() {
184
188
  this.$refs.editForm.validate(valid => {
185
189
  if (valid) {
186
- this.$baseConfirm('您确定要测试数据库链接吗?').then(() => {
190
+ this.$baseConfirm(this.$t1('您确定要测试数据库链接吗?')).then(() => {
187
191
  this.$http({
188
192
  url: USER_PREFIX + '/extend_datasource/dblinktest',
189
193
  method: `post`,