cloud-web-corejs 1.0.19 → 1.0.20

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 (138) hide show
  1. package/package.json +1 -1
  2. package/src/api/user.js +8 -0
  3. package/src/components/jsonImport/index.js +1 -1
  4. package/src/components/xform/form-designer/indexMixin.js +2 -2
  5. package/src/layout/components/Sidebar/default.vue +12 -12
  6. package/src/layout/components/TagsView/index.vue +6 -6
  7. package/src/layout/components/notify_message/unreadDialog.vue +1 -1
  8. package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -4
  9. package/src/views/bd/setting/bd_attach_setting/edit.vue +8 -8
  10. package/src/views/bd/setting/bd_attach_setting/list.vue +4 -4
  11. package/src/views/bd/setting/form_script/dialog.vue +3 -3
  12. package/src/views/bd/setting/form_script/edit.vue +12 -11
  13. package/src/views/bd/setting/form_script/edit1.vue +9 -9
  14. package/src/views/bd/setting/form_script/form_list.vue +5 -5
  15. package/src/views/bd/setting/form_script/list.vue +5 -5
  16. package/src/views/bd/setting/form_script/list1.vue +5 -5
  17. package/src/views/bd/setting/form_template/dialog.vue +4 -4
  18. package/src/views/bd/setting/form_template/edit.vue +10 -10
  19. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +1 -1
  20. package/src/views/bd/setting/form_template/ftHistoryDialog.vue +3 -3
  21. package/src/views/bd/setting/form_template/itemEdit.vue +6 -6
  22. package/src/views/bd/setting/form_template/itemList.vue +5 -5
  23. package/src/views/bd/setting/form_template/list.vue +11 -11
  24. package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
  25. package/src/views/bd/setting/menu_kind/list.vue +25 -25
  26. package/src/views/bd/setting/table_model/dialog.vue +1 -1
  27. package/src/views/bd/setting/table_model/edit.vue +8 -8
  28. package/src/views/bd/setting/table_model/list.vue +8 -8
  29. package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
  30. package/src/views/mobile/user/area/dialog.vue +1 -1
  31. package/src/views/mobile/user/user/dialog.vue +1 -1
  32. package/src/views/support/export_template/edit.vue +8 -8
  33. package/src/views/support/export_template/list.vue +7 -7
  34. package/src/views/user/access_log/edit.vue +3 -3
  35. package/src/views/user/access_log/list.vue +3 -3
  36. package/src/views/user/api_request/edit.vue +8 -8
  37. package/src/views/user/api_request/list.vue +5 -5
  38. package/src/views/user/area/dialog.vue +1 -1
  39. package/src/views/user/area_attribute/configDialog.vue +1 -1
  40. package/src/views/user/area_attribute/edit.vue +1 -1
  41. package/src/views/user/bill_setting/edit.vue +8 -8
  42. package/src/views/user/bill_setting/list.vue +4 -4
  43. package/src/views/user/bill_setting/render.vue +1 -1
  44. package/src/views/user/bill_setting/userDialog.vue +1 -1
  45. package/src/views/user/code_rules/edit.vue +8 -8
  46. package/src/views/user/code_rules/list.vue +3 -3
  47. package/src/views/user/common_attribute/edit.vue +6 -6
  48. package/src/views/user/common_attribute/itemEdit.vue +8 -8
  49. package/src/views/user/common_attribute/list.vue +9 -9
  50. package/src/views/user/common_script/edit.vue +7 -7
  51. package/src/views/user/common_script/list.vue +4 -4
  52. package/src/views/user/company_info/dialog.vue +1 -1
  53. package/src/views/user/company_info/edit.vue +8 -8
  54. package/src/views/user/country/dialog.vue +2 -2
  55. package/src/views/user/country/edit.vue +8 -8
  56. package/src/views/user/country/list.vue +5 -5
  57. package/src/views/user/data_type_setting/dialog.vue +2 -2
  58. package/src/views/user/data_type_setting/editDialog.vue +1 -1
  59. package/src/views/user/ea/eagroup/eaobj_list.vue +9 -9
  60. package/src/views/user/ea/eagroup/edit.vue +10 -10
  61. package/src/views/user/ea/eaobj/edit.vue +8 -8
  62. package/src/views/user/ea/eaobj/list.vue +3 -3
  63. package/src/views/user/extend_datasource/dialog.vue +5 -5
  64. package/src/views/user/extend_datasource/edit.vue +8 -8
  65. package/src/views/user/extend_datasource/list.vue +4 -4
  66. package/src/views/user/fieldTranslation/editDialog.vue +4 -4
  67. package/src/views/user/fieldTranslation/list.vue +5 -5
  68. package/src/views/user/field_values_invisible/edit.vue +6 -6
  69. package/src/views/user/field_values_invisible/list.vue +5 -5
  70. package/src/views/user/file_type/edit.vue +8 -8
  71. package/src/views/user/file_type/list.vue +3 -3
  72. package/src/views/user/file_type/userEdit.vue +1 -1
  73. package/src/views/user/file_view_area/edit.vue +8 -8
  74. package/src/views/user/file_view_area/itemEdit.vue +8 -8
  75. package/src/views/user/file_view_area/list.vue +6 -6
  76. package/src/views/user/file_view_ins/list.vue +2 -2
  77. package/src/views/user/file_view_ins/propertiesDialog.vue +2 -2
  78. package/src/views/user/form/form_ins_list/edit.vue +5 -5
  79. package/src/views/user/form/form_template/dialog.vue +4 -4
  80. package/src/views/user/form/form_template/edit.vue +8 -8
  81. package/src/views/user/form/form_template/itemEdit.vue +6 -6
  82. package/src/views/user/form/form_template/itemList.vue +2 -2
  83. package/src/views/user/form/form_template/list.vue +4 -4
  84. package/src/views/user/form/form_template_field/dialog.vue +1 -1
  85. package/src/views/user/form/form_type/dialog.vue +2 -2
  86. package/src/views/user/form/form_type/edit.vue +6 -6
  87. package/src/views/user/form/form_type/editDialog.vue +1 -1
  88. package/src/views/user/form/form_type/list.vue +2 -2
  89. package/src/views/user/form/report_requestaccess/dialog.vue +3 -3
  90. package/src/views/user/form/report_requestaccess/edit.vue +6 -6
  91. package/src/views/user/form/report_requestaccess/list.vue +3 -3
  92. package/src/views/user/home/default.vue +21 -21
  93. package/src/views/user/home/distributor.vue +1 -1
  94. package/src/views/user/language_setting/edit.vue +7 -7
  95. package/src/views/user/language_setting/list.vue +4 -4
  96. package/src/views/user/menu/list.vue +17 -17
  97. package/src/views/user/mobile_menu/list.vue +15 -15
  98. package/src/views/user/notify_message/list.vue +1 -1
  99. package/src/views/user/notify_template/edit.vue +6 -6
  100. package/src/views/user/notify_template/list.vue +4 -4
  101. package/src/views/user/oplog/edit.vue +3 -3
  102. package/src/views/user/oplog/list.vue +5 -5
  103. package/src/views/user/position/dialog.vue +2 -2
  104. package/src/views/user/position/edit.vue +8 -8
  105. package/src/views/user/position/list.vue +5 -5
  106. package/src/views/user/project_tag/dialog.vue +4 -4
  107. package/src/views/user/project_tag/edit.vue +7 -7
  108. package/src/views/user/project_tag/list.vue +4 -4
  109. package/src/views/user/push_setting/edit.vue +7 -7
  110. package/src/views/user/push_setting/list.vue +4 -5
  111. package/src/views/user/role/dialog.vue +2 -2
  112. package/src/views/user/role/edit.vue +5 -5
  113. package/src/views/user/role/list.vue +2 -2
  114. package/src/views/user/sale_org/list.vue +15 -15
  115. package/src/views/user/system_notice/edit.vue +5 -5
  116. package/src/views/user/system_notice/list.vue +2 -2
  117. package/src/views/user/system_parameter/edit.vue +8 -8
  118. package/src/views/user/system_parameter/list.vue +4 -4
  119. package/src/views/user/user/dialog.vue +21 -35
  120. package/src/views/user/user/form_edit.vue +27 -11
  121. package/src/views/user/user/form_list.vue +11 -11
  122. package/src/views/user/user/info.vue +6 -6
  123. package/src/views/user/user/infoEdit.vue +6 -6
  124. package/src/views/user/wf/wf_auto_submit_data/edit.vue +5 -5
  125. package/src/views/user/wf/wf_auto_submit_data/edith.vue +5 -5
  126. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -2
  127. package/src/views/user/wf/wf_diy_attribute/edit.vue +1 -1
  128. package/src/views/user/wf/wf_manage/list.vue +4 -4
  129. package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
  130. package/src/views/user/wf/wf_obj_config/edit.vue +8 -8
  131. package/src/views/user/wf/wf_obj_config/edit_form.vue +8 -8
  132. package/src/views/user/wf/wf_obj_config/itemEdit.vue +6 -6
  133. package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +6 -6
  134. package/src/views/user/wf/wf_obj_config/list.vue +8 -8
  135. package/src/views/user/wf/wf_obj_config/list_form.vue +2 -2
  136. package/src/views/user/wf/wf_param/edit.vue +1 -1
  137. package/src/views/user/wf/wf_work_calendar/configDialog.vue +1 -1
  138. package/src/views/user/sale_org_net/list.vue +0 -574
@@ -129,7 +129,7 @@ export default {
129
129
  },
130
130
  {
131
131
  field: 'enabled',
132
- title: '是否启用',
132
+ title: this.$t1('是否启用'),
133
133
  width: 150,
134
134
  slots: {
135
135
  default: ({row}) => {
@@ -150,17 +150,17 @@ export default {
150
150
  }
151
151
  },
152
152
  {
153
- title: '备注',
153
+ title: this.$t1('备注'),
154
154
  field: 'remark',
155
155
  width: 150
156
156
  },
157
157
  {
158
158
  field: 'createDate',
159
- title: '创建时间',
159
+ title: this.$t1('创建时间'),
160
160
  width: 150
161
161
  },
162
162
  {
163
- title: '更新时间',
163
+ title: this.$t1('更新时间'),
164
164
  field: 'modifyDate',
165
165
  width: 150
166
166
  },
@@ -180,7 +180,7 @@ export default {
180
180
  this.openEditDialog(row.id);
181
181
  }}
182
182
  >
183
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
183
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
184
184
  popper-class="tooltip-skin">
185
185
  <i class="el-icon-edit"/>
186
186
  </el-tooltip>
@@ -160,7 +160,7 @@
160
160
  </div>
161
161
  </label>
162
162
  <div class="multipleChoice">
163
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
163
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
164
164
  class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
165
165
  <div class="list">
166
166
  <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
@@ -162,7 +162,7 @@ export default {
162
162
  }
163
163
  this.$refs.editForm.$baseValidate(valid => {
164
164
  if (valid) {
165
- this.$baseConfirm('您确定要保存吗?').then(() => {
165
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
166
166
  var url = USER_PREFIX + '/area_attribute/save';
167
167
 
168
168
  let requests = [];
@@ -96,7 +96,7 @@ export default {
96
96
  });
97
97
  return
98
98
  }
99
- this.$baseConfirm('您确定要保存吗?').then(() => {
99
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
100
100
  var url = USER_PREFIX + '/area_attribute/saveValue';
101
101
  let areaIds = checkedDatas.map(item => item.id);
102
102
  this.$http({
@@ -16,7 +16,7 @@
16
16
  </div>
17
17
  <div class="d-cont">
18
18
  <div class="d-item">
19
- <div class="title first"><b>基本信息</b></div>
19
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
20
20
  <table class="table-detail">
21
21
  <tbody>
22
22
  <tr>
@@ -93,9 +93,9 @@
93
93
  </td>
94
94
  </tr>
95
95
  <tr>
96
- <th>备注</th>
96
+ <th>{{ $t1('备注') }}</th>
97
97
  <td colspan="5">
98
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small" v-model="billSetting.remark"
98
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small" v-model="billSetting.remark"
99
99
  clearable></el-input>
100
100
  </td>
101
101
  </tr>
@@ -117,13 +117,13 @@
117
117
  </td>
118
118
  </tr>
119
119
  <tr>
120
- <th>创建人</th>
120
+ <th>{{ $t1('创建人') }}</th>
121
121
  <td>{{ billSetting.createBy }}</td>
122
- <th>创建时间</th>
122
+ <th>{{ $t1('创建时间') }}</th>
123
123
  <td>{{ billSetting.createDate }}</td>
124
- <th>更新人</th>
124
+ <th>{{ $t1('更新人') }}</th>
125
125
  <td>{{ billSetting.modifyBy }}</td>
126
- <th>更新时间</th>
126
+ <th>{{ $t1('更新时间') }}</th>
127
127
  <td>{{ billSetting.modifyDate }}</td>
128
128
  </tr>
129
129
  </tbody>
@@ -193,7 +193,7 @@ export default {
193
193
  saveData() {
194
194
  this.$refs.editForm.$baseValidate(valid => {
195
195
  if (valid) {
196
- this.$baseConfirm('您确定要保存吗?').then(() => {
196
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
197
197
  var url = USER_PREFIX + (this.isEdit ? `/bill_setting/update` : `/bill_setting/save`);
198
198
  this.$http({
199
199
  url: url,
@@ -174,7 +174,7 @@ export default {
174
174
  },
175
175
  {
176
176
  field: 'enabled',
177
- title: '是否启用',
177
+ title: this.$t1('是否启用'),
178
178
  width: 150,
179
179
  slots: {
180
180
  default: ({row}) => {
@@ -222,13 +222,13 @@ export default {
222
222
  width: 150
223
223
  },
224
224
  {
225
- title: '备注',
225
+ title: this.$t1('备注'),
226
226
  field: 'remark',
227
227
  width: 150
228
228
  },
229
229
  {
230
230
  field: 'createDate',
231
- title: '创建时间',
231
+ title: this.$t1('创建时间'),
232
232
  width: 150
233
233
  },
234
234
  {
@@ -247,7 +247,7 @@ export default {
247
247
  this.openEditDialog(row.id);
248
248
  }}
249
249
  >
250
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
250
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
251
251
  popper-class="tooltip-skin">
252
252
  <i class="el-icon-edit"/>
253
253
  </el-tooltip>
@@ -964,7 +964,7 @@ export default {
964
964
  }
965
965
  this.$refs.editForm.$baseValidate(valid => {
966
966
  if (valid) {
967
- this.$baseConfirm('您确定要保存吗?').then(() => {
967
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
968
968
  var url = this.billJson.saveUrl;
969
969
  this.$http({
970
970
  url: url,
@@ -51,7 +51,7 @@
51
51
  </div>
52
52
  </label>
53
53
  <div class="multipleChoice">
54
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
54
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
55
55
  class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
56
56
  <div class="list">
57
57
  <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  <div class="d-cont">
17
17
  <div class="d-item">
18
- <div class="title first"><b>基本信息</b></div>
18
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
19
19
  <table class="table-detail">
20
20
  <tbody>
21
21
  <tr>
@@ -104,20 +104,20 @@
104
104
  </td>
105
105
  </tr>
106
106
  <tr>
107
- <th>备注</th>
107
+ <th>{{ $t1('备注') }}</th>
108
108
  <td colspan="5">
109
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small" v-model="codeRules.remark"
109
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small" v-model="codeRules.remark"
110
110
  clearable></el-input>
111
111
  </td>
112
112
  </tr>
113
113
  <tr>
114
- <th>创建人</th>
114
+ <th>{{ $t1('创建人') }}</th>
115
115
  <td>{{ codeRules.createBy }}</td>
116
- <th>创建时间</th>
116
+ <th>{{ $t1('创建时间') }}</th>
117
117
  <td>{{ codeRules.createDate }}</td>
118
- <th>更新人</th>
118
+ <th>{{ $t1('更新人') }}</th>
119
119
  <td>{{ codeRules.modifyBy }}</td>
120
- <th>更新时间</th>
120
+ <th>{{ $t1('更新时间') }}</th>
121
121
  <td>{{ codeRules.modifyDate }}</td>
122
122
  </tr>
123
123
  </tbody>
@@ -179,7 +179,7 @@ export default {
179
179
  saveData() {
180
180
  this.$refs.editForm.$baseValidate(valid => {
181
181
  if (valid) {
182
- this.$baseConfirm('您确定要保存吗?').then(() => {
182
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
183
183
  var url = USER_PREFIX + (this.isEdit ? `/code_rules/update` : `/code_rules/save`);
184
184
  this.$http({
185
185
  url: url,
@@ -150,12 +150,12 @@ export default {
150
150
  width: 150
151
151
  },
152
152
  {
153
- title: '备注',
153
+ title: this.$t1('备注'),
154
154
  field: 'remark',
155
155
  width: 150
156
156
  },
157
157
  {
158
- title: '创建时间',
158
+ title: this.$t1('创建时间'),
159
159
  field: 'createDate',
160
160
  width: 150
161
161
  },
@@ -175,7 +175,7 @@ export default {
175
175
  this.openEditDialog(row.id);
176
176
  }}
177
177
  >
178
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
178
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
179
179
  popper-class="tooltip-skin">
180
180
  <i class="el-icon-edit"/>
181
181
  </el-tooltip>
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  <div class="d-cont">
16
16
  <div class="d-item">
17
- <div class="title first"><b>基本信息</b></div>
17
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
18
18
  <table class="table-detail">
19
19
  <tbody>
20
20
  <tr>
@@ -41,13 +41,13 @@
41
41
  </td>
42
42
  </tr>
43
43
  <tr>
44
- <th>创建人</th>
44
+ <th>{{ $t1('创建人') }}</th>
45
45
  <td>{{ commonAttribute.createBy }}</td>
46
- <th>创建时间</th>
46
+ <th>{{ $t1('创建时间') }}</th>
47
47
  <td>{{ commonAttribute.createDate }}</td>
48
- <th>更新人</th>
48
+ <th>{{ $t1('更新人') }}</th>
49
49
  <td>{{ commonAttribute.modifyBy }}</td>
50
- <th>更新时间</th>
50
+ <th>{{ $t1('更新时间') }}</th>
51
51
  <td>{{ commonAttribute.modifyDate }}</td>
52
52
  </tr>
53
53
  </tbody>
@@ -101,7 +101,7 @@ export default {
101
101
  saveData() {
102
102
  this.$refs.editForm.$baseValidate(valid => {
103
103
  if (valid) {
104
- this.$baseConfirm('您确定要保存吗?').then(() => {
104
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
105
105
  var url = this.isEdit ? USER_PREFIX + '/common_attribute/update' : USER_PREFIX + '/common_attribute/save';
106
106
  this.$http({
107
107
  url: url,
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  <div class="d-cont">
16
16
  <div class="d-item">
17
- <div class="title first"><b>基本信息</b></div>
17
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
18
18
  <table class="table-detail">
19
19
  <tbody>
20
20
  <tr>
@@ -125,21 +125,21 @@
125
125
  </td>
126
126
  </tr>
127
127
  <tr>
128
- <th>备注</th>
128
+ <th>{{ $t1('备注') }}</th>
129
129
  <td colspan="5">
130
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small"
130
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
131
131
  v-model="commonAttribute.remark"
132
132
  clearable></el-input>
133
133
  </td>
134
134
  </tr>
135
135
  <tr>
136
- <th>创建人</th>
136
+ <th>{{ $t1('创建人') }}</th>
137
137
  <td>{{ commonAttribute.createBy }}</td>
138
- <th>创建时间</th>
138
+ <th>{{ $t1('创建时间') }}</th>
139
139
  <td>{{ commonAttribute.createDate }}</td>
140
- <th>更新人</th>
140
+ <th>{{ $t1('更新人') }}</th>
141
141
  <td>{{ commonAttribute.modifyBy }}</td>
142
- <th>更新时间</th>
142
+ <th>{{ $t1('更新时间') }}</th>
143
143
  <td>{{ commonAttribute.modifyDate }}</td>
144
144
  </tr>
145
145
  </tbody>
@@ -202,7 +202,7 @@ export default {
202
202
  saveData() {
203
203
  this.$refs.editForm.$baseValidate(valid => {
204
204
  if (valid) {
205
- this.$baseConfirm('您确定要保存吗?').then(() => {
205
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
206
206
  var url = this.isEdit ? USER_PREFIX + '/common_attribute/updateItem' : USER_PREFIX + '/common_attribute/saveItem';
207
207
  this.$http({
208
208
  url: url,
@@ -163,7 +163,7 @@ export default {
163
163
  width: 150
164
164
  },
165
165
  {
166
- title: '创建时间',
166
+ title: this.$t1('创建时间'),
167
167
  field: 'createDate',
168
168
  width: 150
169
169
  },
@@ -198,7 +198,7 @@ export default {
198
198
  this.openEditDialog(row.id);
199
199
  }}
200
200
  >
201
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
201
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
202
202
  popper-class="tooltip-skin">
203
203
  <i class="el-icon-edit"/>
204
204
  </el-tooltip>
@@ -248,14 +248,14 @@ export default {
248
248
  },
249
249
  {
250
250
  field: 'enabled',
251
- title: '是否启用',
251
+ title: this.$t1('是否启用'),
252
252
  width: 150,
253
253
  slots: {
254
254
  default: ({row}) => {
255
255
  if (row.enabled) {
256
- return [<div class="txt-status">启用</div>];
256
+ return [<div class="txt-status">{ this.$t1('启用') }</div>];
257
257
  } else {
258
- return [<div class="txt-status s-3">禁用</div>];
258
+ return [<div class="txt-status s-3">{ this.$t1('禁用') }</div>];
259
259
  }
260
260
  }
261
261
  }
@@ -276,7 +276,7 @@ export default {
276
276
  width: 250
277
277
  },
278
278
  {
279
- title: '序号',
279
+ title: this.$t1('序号'),
280
280
  field: 'orders',
281
281
  width: 150
282
282
  },
@@ -306,12 +306,12 @@ export default {
306
306
  width: 150
307
307
  },
308
308
  {
309
- title: '备注',
309
+ title: this.$t1('备注'),
310
310
  field: 'remark',
311
311
  width: 150
312
312
  },
313
313
  {
314
- title: '创建时间',
314
+ title: this.$t1('创建时间'),
315
315
  field: 'createDate',
316
316
  width: 150
317
317
  },
@@ -330,7 +330,7 @@ export default {
330
330
  this.openEditItemDialog(row.id);
331
331
  }}
332
332
  >
333
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
333
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
334
334
  popper-class="tooltip-skin">
335
335
  <i class="el-icon-edit"/>
336
336
  </el-tooltip>
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  <div class="d-cont">
16
16
  <div class="d-item">
17
- <div class="title first"><b>基本信息</b></div>
17
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
18
18
  <table class="table-detail">
19
19
  <tbody>
20
20
  <tr>
@@ -88,7 +88,7 @@
88
88
  </th>
89
89
  <td colspan="7">
90
90
  <el-form-item prop="scriptDesc" :rules="[{ required: true, trigger: 'blur' }]">
91
- <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="commonScript.scriptDesc"
91
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" v-model="commonScript.scriptDesc"
92
92
  clearable/>
93
93
  </el-form-item>
94
94
  </td>
@@ -107,13 +107,13 @@
107
107
  </td>
108
108
  </tr>
109
109
  <tr>
110
- <th>创建人</th>
110
+ <th>{{ $t1('创建人') }}</th>
111
111
  <td>{{ commonScript.createBy }}</td>
112
- <th>创建时间</th>
112
+ <th>{{ $t1('创建时间') }}</th>
113
113
  <td>{{ commonScript.createDate }}</td>
114
- <th>更新人</th>
114
+ <th>{{ $t1('更新人') }}</th>
115
115
  <td>{{ commonScript.modifyBy }}</td>
116
- <th>更新时间</th>
116
+ <th>{{ $t1('更新时间') }}</th>
117
117
  <td>{{ commonScript.modifyDate }}</td>
118
118
  </tr>
119
119
  </tbody>
@@ -182,7 +182,7 @@ export default {
182
182
  saveData() {
183
183
  this.$refs.editForm.$baseValidate(valid => {
184
184
  if (valid) {
185
- this.$baseConfirm('您确定要保存吗?').then(() => {
185
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
186
186
  var url = USER_PREFIX + (this.isEdit ? `/common_script/update` : `/common_script/save`);
187
187
  this.$http({
188
188
  url: url,
@@ -183,7 +183,7 @@ export default {
183
183
  },
184
184
  {
185
185
  field: 'enabled',
186
- title: '是否启用',
186
+ title: this.$t1('是否启用'),
187
187
  width: 150,
188
188
  slots: {
189
189
  default: ({row}) => {
@@ -227,10 +227,10 @@ export default {
227
227
  },
228
228
  {
229
229
  field: 'createDate',
230
- title: '创建时间',
230
+ title: this.$t1('创建时间'),
231
231
  width: 150
232
232
  },
233
- {title: '更新时间', field: 'modifyDate', width: 150},
233
+ {title: this.$t1('更新时间'), field: 'modifyDate', width: 150},
234
234
  {
235
235
  width: 47,
236
236
  fixed: 'right',
@@ -247,7 +247,7 @@ export default {
247
247
  this.openEditDialog(row.id);
248
248
  }}
249
249
  >
250
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
250
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
251
251
  popper-class="tooltip-skin">
252
252
  <i class="el-icon-edit"/>
253
253
  </el-tooltip>
@@ -53,7 +53,7 @@
53
53
  </div>
54
54
  </label>
55
55
  <div class="multipleChoice">
56
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
56
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
57
57
  class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
58
58
  <div class="list">
59
59
  <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  <div class="d-cont">
16
16
  <div class="d-item">
17
- <div class="title first"><b>基本信息</b></div>
17
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
18
18
  <table class="table-detail">
19
19
  <tbody>
20
20
  <tr>
@@ -50,9 +50,9 @@
50
50
  <td colspan="5">{{ companyInfo.uniqueIdentify }}</td>
51
51
  </tr>
52
52
  <tr>
53
- <th>备注</th>
53
+ <th>{{ $t1('备注') }}</th>
54
54
  <td colspan="5">
55
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small" v-model="companyInfo.note"
55
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small" v-model="companyInfo.note"
56
56
  clearable></el-input>
57
57
  </td>
58
58
  </tr>
@@ -64,13 +64,13 @@
64
64
  </td>
65
65
  </tr>
66
66
  <tr>
67
- <th>创建人</th>
67
+ <th>{{ $t1('创建人') }}</th>
68
68
  <td>{{ companyInfo.createBy }}</td>
69
- <th>创建时间</th>
69
+ <th>{{ $t1('创建时间') }}</th>
70
70
  <td>{{ companyInfo.createDate }}</td>
71
- <th>更新人</th>
71
+ <th>{{ $t1('更新人') }}</th>
72
72
  <td>{{ companyInfo.modifyBy }}</td>
73
- <th>更新时间</th>
73
+ <th>{{ $t1('更新时间') }}</th>
74
74
  <td>{{ companyInfo.modifyDate }}</td>
75
75
  </tr>
76
76
  </tbody>
@@ -115,7 +115,7 @@ export default {
115
115
  saveData() {
116
116
  this.$refs.editForm.$baseValidate(valid => {
117
117
  if (valid) {
118
- this.$baseConfirm('您确定要保存吗?').then(() => {
118
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
119
119
  var url = USER_PREFIX + '/company_info/update';
120
120
  this.$http({
121
121
  url: url,
@@ -62,7 +62,7 @@
62
62
  </div>
63
63
  </label>
64
64
  <div class="multipleChoice">
65
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
65
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
66
66
  class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
67
67
  <div class="list">
68
68
  <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
@@ -143,7 +143,7 @@ export default {
143
143
  },
144
144
  {
145
145
  field: 'createDate',
146
- title: '创建时间',
146
+ title: this.$t1('创建时间'),
147
147
  width: 150
148
148
  },
149
149
  {
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  <div class="d-cont">
16
16
  <div class="d-item">
17
- <div class="title first"><b>基本信息</b></div>
17
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
18
18
  <table class="table-detail">
19
19
  <tbody>
20
20
  <tr>
@@ -53,20 +53,20 @@
53
53
  </td>
54
54
  </tr>
55
55
  <tr>
56
- <th>备注</th>
56
+ <th>{{ $t1('备注') }}</th>
57
57
  <td colspan="5">
58
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small" v-model="country.remark"
58
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small" v-model="country.remark"
59
59
  clearable></el-input>
60
60
  </td>
61
61
  </tr>
62
62
  <tr>
63
- <th>创建人</th>
63
+ <th>{{ $t1('创建人') }}</th>
64
64
  <td>{{ country._createBy }}</td>
65
- <th>创建时间</th>
65
+ <th>{{ $t1('创建时间') }}</th>
66
66
  <td>{{ country.createDate }}</td>
67
- <th>更新人</th>
67
+ <th>{{ $t1('更新人') }}</th>
68
68
  <td>{{ country._modifyBy }}</td>
69
- <th>更新时间</th>
69
+ <th>{{ $t1('更新时间') }}</th>
70
70
  <td>{{ country.modifyDate }}</td>
71
71
  </tr>
72
72
  </tbody>
@@ -125,7 +125,7 @@ export default {
125
125
  saveData() {
126
126
  this.$refs.editForm.$baseValidate(valid => {
127
127
  if (valid) {
128
- this.$baseConfirm('您确定要保存吗?').then(() => {
128
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
129
129
  var url = USER_PREFIX + (this.isEdit ? `/country/update` : `/country/save`);
130
130
  this.$http({
131
131
  url: url,
@@ -113,7 +113,7 @@ export default {
113
113
  },
114
114
  {
115
115
  field: 'enabled',
116
- title: '是否启用',
116
+ title: this.$t1('是否启用'),
117
117
  width: 150,
118
118
  slots: {
119
119
  default: ({row}) => {
@@ -135,17 +135,17 @@ export default {
135
135
  },
136
136
  {
137
137
  field: 'createDate',
138
- title: '创建时间',
138
+ title: this.$t1('创建时间'),
139
139
  width: 150
140
140
  },
141
141
  {
142
142
  field: '_createBy',
143
- title: '创建人',
143
+ title: this.$t1('创建人'),
144
144
  width: 150
145
145
  },
146
146
  {
147
147
  field: '_modifyBy',
148
- title: '更新人',
148
+ title: this.$t1('更新人'),
149
149
  width: 150
150
150
  },
151
151
  {
@@ -164,7 +164,7 @@ export default {
164
164
  this.openEditDialog(row.id);
165
165
  }}
166
166
  >
167
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
167
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
168
168
  popper-class="tooltip-skin">
169
169
  <i class="el-icon-edit"/>
170
170
  </el-tooltip>