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
@@ -359,7 +359,7 @@ export default {
359
359
  this.openWfDialog(row);
360
360
  }}
361
361
  >
362
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
362
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
363
363
  popper-class="tooltip-skin">
364
364
  <i class="el-icon-edit"/>
365
365
  </el-tooltip>
@@ -58,21 +58,21 @@
58
58
  </td>
59
59
  </tr>
60
60
  <tr>
61
- <th>备注</th>
61
+ <th>{{ $t1('备注') }}</th>
62
62
  <td colspan="5">
63
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small"
63
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
64
64
  v-model="languageSetting.remark"
65
65
  clearable></el-input>
66
66
  </td>
67
67
  </tr>
68
68
  <tr>
69
- <th>创建人</th>
69
+ <th>{{ $t1('创建人') }}</th>
70
70
  <td>{{ languageSetting.createBy }}</td>
71
- <th>创建时间</th>
71
+ <th>{{ $t1('创建时间') }}</th>
72
72
  <td>{{ languageSetting.createDate }}</td>
73
- <th>更新人</th>
73
+ <th>{{ $t1('更新人') }}</th>
74
74
  <td>{{ languageSetting.modifyBy }}</td>
75
- <th>更新时间</th>
75
+ <th>{{ $t1('更新时间') }}</th>
76
76
  <td>{{ languageSetting.modifyDate }}</td>
77
77
  </tr>
78
78
  </tbody>
@@ -132,7 +132,7 @@ export default {
132
132
  saveData() {
133
133
  this.$refs.editForm.validate(valid => {
134
134
  if (valid) {
135
- this.$baseConfirm('您确定要保存吗?').then(() => {
135
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
136
136
  var url = USER_PREFIX + (this.isEdit ? `/language_setting/update` : `/language_setting/save`);
137
137
  this.$http({
138
138
  url: url,
@@ -127,7 +127,7 @@ export default {
127
127
  },
128
128
  {
129
129
  field: 'enabled',
130
- title: '是否启用',
130
+ title: this.$t1('是否启用'),
131
131
  width: 150,
132
132
  slots: {
133
133
  default: ({row}) => {
@@ -148,13 +148,13 @@ export default {
148
148
  }
149
149
  },
150
150
  {
151
- title: '备注',
151
+ title: this.$t1('备注'),
152
152
  field: 'remark',
153
153
  width: 150,
154
154
  },
155
155
  {
156
156
  field: 'createDate',
157
- title: '创建时间',
157
+ title: this.$t1('创建时间'),
158
158
  width: 150
159
159
  },
160
160
  {
@@ -173,7 +173,7 @@ export default {
173
173
  this.openEditDialog(row.id);
174
174
  }}
175
175
  >
176
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
176
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
177
177
  popper-class="tooltip-skin">
178
178
  <i class="el-icon-edit"/>
179
179
  </el-tooltip>
@@ -79,26 +79,26 @@
79
79
  <template #operate="obj">
80
80
  <div class="cell-operate">
81
81
  <template v-if="$refs['table-m1'].isActiveByRow(obj.row)">
82
- <a @click="saveRowEvent(obj)" class="a-link" data-tit="保存">
83
- <el-tooltip :enterable="false" effect="dark" content="保存" placement="top"
82
+ <a @click="saveRowEvent(obj)" class="a-link">
83
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('保存')" placement="top"
84
84
  popper-class="tooltip-skin"><i class="el-icon-circle-check"></i></el-tooltip>
85
85
  </a>
86
- <a @click="cancleRowEvent(obj)" class="a-link" data-tit="取消行编辑" v-if="hasSaveRow(obj.row)">
87
- <el-tooltip :enterable="false" effect="dark" content="取消行编辑" placement="top"
86
+ <a @click="cancleRowEvent(obj)" class="a-link" v-if="hasSaveRow(obj.row)">
87
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('取消行编辑')" placement="top"
88
88
  popper-class="tooltip-skin"><i class="el-icon-circle-close"></i></el-tooltip>
89
89
  </a>
90
- <a @click="removeRowEvent(obj)" class="a-link" data-tit="删除" v-if="!hasSaveRow(obj.row)">
91
- <el-tooltip :enterable="false" effect="dark" content="删除" placement="top"
90
+ <a @click="removeRowEvent(obj)" class="a-link" v-if="!hasSaveRow(obj.row)">
91
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('删除')" placement="top"
92
92
  popper-class="tooltip-skin"><i class="el-icon-delete"></i></el-tooltip>
93
93
  </a>
94
94
  </template>
95
95
  <template v-else>
96
96
  <a class="a-link" data-tit="新增" @click="addMenu(0, obj)" v-if="obj.row && obj.row.type != 2">
97
- <el-tooltip :enterable="false" effect="dark" content="新增" placement="top"
97
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('新增')" placement="top"
98
98
  popper-class="tooltip-skin"><i class="el-icon-circle-plus-outline"></i></el-tooltip>
99
99
  </a>
100
100
  <a @click="editRowEvent(obj)" class="a-link" data-tit="行编辑" v-if="obj.row && !obj.row.is_top">
101
- <el-tooltip :enterable="false" effect="dark" content="行编辑" placement="top"
101
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('行编辑')" placement="top"
102
102
  popper-class="tooltip-skin"><i class="el-icon-edit-outline"></i></el-tooltip>
103
103
  </a>
104
104
  </template>
@@ -411,7 +411,7 @@ export default {
411
411
  },
412
412
  {
413
413
  field: 'enabled',
414
- title: '是否启用',
414
+ title: this.$t1('是否启用'),
415
415
  width: 150,
416
416
  editRender: {
417
417
  name: '$select',
@@ -422,11 +422,11 @@ export default {
422
422
  },
423
423
  options: [
424
424
  {
425
- label: '启用',
425
+ label: this.$t1('启用'),
426
426
  value: true
427
427
  },
428
428
  {
429
- label: '禁用',
429
+ label: this.$t1('禁用'),
430
430
  value: false
431
431
  }
432
432
  ]
@@ -434,15 +434,15 @@ export default {
434
434
  slots: {
435
435
  default: ({row}) => {
436
436
  if (row.enabled) {
437
- return [<div class="txt-status">启用</div>];
437
+ return [<div class="txt-status">{ this.$t1('启用') }</div>];
438
438
  } else {
439
- return [<div class="txt-status s-3">禁用</div>];
439
+ return [<div class="txt-status s-3">{ this.$t1('禁用') }</div>];
440
440
  }
441
441
  }
442
442
  }
443
443
  },
444
444
  // { field: 'treePathName', title: '上级菜单', width: 200 },
445
- {field: 'orders', title: '序号', width: 100, editRender: {name: 'input'}},
445
+ {field: 'orders', title: this.$t1('序号'), width: 100, editRender: {name: 'input'}},
446
446
  {
447
447
  field: 'type',
448
448
  title: '类型',
@@ -506,9 +506,9 @@ export default {
506
506
  width: 100,
507
507
  editRender: {name: 'input'}
508
508
  },
509
- {title: '创建时间', field: 'createDate', width: 150},
510
- // { title: '更新人', field: 'modifyBy', width: 100 },
511
- {title: '更新时间', field: 'modifyDate', width: 150},
509
+ {title: this.$t1('创建时间'), field: 'createDate', width: 150},
510
+ // { title: this.$t1('更新人'), field: 'modifyBy', width: 100 },
511
+ {title: this.$t1('更新时间'), field: 'modifyDate', width: 150},
512
512
  {
513
513
  width: 100,
514
514
  title: '',
@@ -63,26 +63,26 @@
63
63
  <template #operate="obj">
64
64
  <div class="cell-operate">
65
65
  <template v-if="$refs['table-m1'].isActiveByRow(obj.row)">
66
- <a @click="saveRowEvent(obj)" class="a-link" data-tit="保存">
67
- <el-tooltip :enterable="false" effect="dark" content="保存" placement="top"
66
+ <a @click="saveRowEvent(obj)" class="a-link">
67
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('保存')" placement="top"
68
68
  popper-class="tooltip-skin"><i class="el-icon-circle-check"></i></el-tooltip>
69
69
  </a>
70
- <a @click="cancleRowEvent(obj)" class="a-link" data-tit="取消行编辑" v-if="hasSaveRow(obj.row)">
71
- <el-tooltip :enterable="false" effect="dark" content="取消行编辑" placement="top"
70
+ <a @click="cancleRowEvent(obj)" class="a-link" v-if="hasSaveRow(obj.row)">
71
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('取消行编辑')" placement="top"
72
72
  popper-class="tooltip-skin"><i class="el-icon-circle-close"></i></el-tooltip>
73
73
  </a>
74
- <a @click="removeRowEvent(obj)" class="a-link" data-tit="删除" v-if="!hasSaveRow(obj.row)">
75
- <el-tooltip :enterable="false" effect="dark" content="删除" placement="top"
74
+ <a @click="removeRowEvent(obj)" class="a-link" v-if="!hasSaveRow(obj.row)">
75
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('删除')" placement="top"
76
76
  popper-class="tooltip-skin"><i class="el-icon-delete"></i></el-tooltip>
77
77
  </a>
78
78
  </template>
79
79
  <template v-else>
80
80
  <a class="a-link" data-tit="新增" @click="addMenu(0, obj)" v-if="obj.row && obj.row.type != 2">
81
- <el-tooltip :enterable="false" effect="dark" content="新增" placement="top"
81
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('新增')" placement="top"
82
82
  popper-class="tooltip-skin"><i class="el-icon-circle-plus-outline"></i></el-tooltip>
83
83
  </a>
84
84
  <a @click="editRowEvent(obj)" class="a-link" data-tit="行编辑" v-if="obj.row && !obj.row.is_top">
85
- <el-tooltip :enterable="false" effect="dark" content="行编辑" placement="top"
85
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('行编辑')" placement="top"
86
86
  popper-class="tooltip-skin"><i class="el-icon-edit-outline"></i></el-tooltip>
87
87
  </a>
88
88
  </template>
@@ -207,7 +207,7 @@ export default {
207
207
  },
208
208
  {
209
209
  field: 'enabled',
210
- title: '是否启用',
210
+ title: this.$t1('是否启用'),
211
211
  width: 150,
212
212
  editRender: {
213
213
  name: '$select',
@@ -218,11 +218,11 @@ export default {
218
218
  },
219
219
  options: [
220
220
  {
221
- label: '启用',
221
+ label: this.$t1('启用'),
222
222
  value: true
223
223
  },
224
224
  {
225
- label: '禁用',
225
+ label: this.$t1('禁用'),
226
226
  value: false
227
227
  }
228
228
  ]
@@ -230,14 +230,14 @@ export default {
230
230
  slots: {
231
231
  default: ({row}) => {
232
232
  if (row.enabled) {
233
- return [<div class="txt-status">启用</div>];
233
+ return [<div class="txt-status">{ this.$t1('启用') }</div>];
234
234
  } else {
235
- return [<div class="txt-status s-3">禁用</div>];
235
+ return [<div class="txt-status s-3">{ this.$t1('禁用') }</div>];
236
236
  }
237
237
  }
238
238
  }
239
239
  },
240
- {field: 'orders', title: '序号', width: 100, editRender: {name: 'input'}},
240
+ {field: 'orders', title: this.$t1('序号'), width: 100, editRender: {name: 'input'}},
241
241
  /*{
242
242
  field: 'type',
243
243
  title: '类型',
@@ -287,7 +287,7 @@ export default {
287
287
  width: 100,
288
288
  editRender: {name: 'input'}
289
289
  },*/
290
- {title: '创建时间', field: 'createDate', width: 200},
290
+ {title: this.$t1('创建时间'), field: 'createDate', width: 200},
291
291
  {
292
292
  width: 100,
293
293
  title: '',
@@ -288,7 +288,7 @@ export default {
288
288
  width: 150
289
289
  },
290
290
  {
291
- title: '创建时间',
291
+ title: this.$t1('创建时间'),
292
292
  field: 'createDate',
293
293
  width: 150
294
294
  },
@@ -64,7 +64,7 @@
64
64
  </td>
65
65
  </tr>
66
66
  <tr>
67
- <th>备注</th>
67
+ <th>{{ $t1('备注') }}</th>
68
68
  <td colspan="5">
69
69
  <el-input type="textarea" :rows="2" size="small" v-model="notifyTemplate.remark"
70
70
  clearable></el-input>
@@ -84,13 +84,13 @@
84
84
  </td>
85
85
  </tr>
86
86
  <tr>
87
- <th>创建人</th>
87
+ <th>{{ $t1('创建人') }}</th>
88
88
  <td>{{ notifyTemplate.createBy }}</td>
89
- <th>创建时间</th>
89
+ <th>{{ $t1('创建时间') }}</th>
90
90
  <td>{{ notifyTemplate.createDate }}</td>
91
- <th>更新人</th>
91
+ <th>{{ $t1('更新人') }}</th>
92
92
  <td>{{ notifyTemplate.modifyBy }}</td>
93
- <th>更新时间</th>
93
+ <th>{{ $t1('更新时间') }}</th>
94
94
  <td>{{ notifyTemplate.modifyDate }}</td>
95
95
  </tr>
96
96
  </tbody>
@@ -150,7 +150,7 @@ export default {
150
150
  saveData() {
151
151
  this.$refs.editForm.$baseValidate(valid => {
152
152
  if (valid) {
153
- this.$baseConfirm('您确定要保存吗?').then(() => {
153
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
154
154
  var url = USER_PREFIX + (this.isEdit ? `/notify_template/update` : `/notify_template/save`);
155
155
  this.$http({
156
156
  url: url,
@@ -108,7 +108,7 @@ export default {
108
108
  width: 150
109
109
  },
110
110
  {
111
- title: '是否启用',
111
+ title: this.$t1('是否启用'),
112
112
  field: 'enabled',
113
113
  width: 150,
114
114
  slots: {
@@ -131,9 +131,9 @@ export default {
131
131
  },
132
132
  {title: '通知内容', field: 'content', width: 150},
133
133
  {title: '跳转内容', field: 'jumpContent', width: 150},
134
- {title: '备注', field: 'remark', width: 150},
134
+ {title: this.$t1('备注'), field: 'remark', width: 150},
135
135
  {
136
- title: '创建时间',
136
+ title: this.$t1('创建时间'),
137
137
  field: 'createDate',
138
138
  width: 150
139
139
  },
@@ -153,7 +153,7 @@ export default {
153
153
  this.openEditDialog(row.id);
154
154
  }}
155
155
  >
156
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
156
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
157
157
  popper-class="tooltip-skin">
158
158
  <i class="el-icon-edit"/>
159
159
  </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>
@@ -42,9 +42,9 @@
42
42
  <td>{{ oplog.field5 }}</td>
43
43
  <th>服务名</th>
44
44
  <td>{{ oplog.serverName }}</td>
45
- <th>创建人</th>
45
+ <th>{{ $t1('创建人') }}</th>
46
46
  <td>{{ oplog.createBy }}</td>
47
- <th>创建时间</th>
47
+ <th>{{ $t1('创建时间') }}</th>
48
48
  <td>{{ oplog.createDate }}</td>
49
49
  </tr>
50
50
  <tr>
@@ -126,10 +126,10 @@ export default {
126
126
  {field: 'field3', title: '冗余字段3', width: 150},
127
127
  {field: 'field4', title: '冗余字段4', width: 150},
128
128
  {field: 'field5', title: '冗余字段5', width: 150},
129
- {field: 'createBy', title: '创建人', width: 150},
130
- {field: 'modifyBy', title: '更新人', width: 150},
131
- {field: 'modifyDate', title: '更新时间', width: 150},
132
- {field: 'createDate', title: '创建时间', width: 150},
129
+ {field: 'createBy', title: this.$t1('创建人'), width: 150},
130
+ {field: 'modifyBy', title: this.$t1('更新人'), width: 150},
131
+ {field: 'modifyDate', title: this.$t1('更新时间'), width: 150},
132
+ {field: 'createDate', title: this.$t1('创建时间'), width: 150},
133
133
  {
134
134
  width: 47,
135
135
  fixed: 'right',
@@ -145,7 +145,7 @@ export default {
145
145
  this.openEditDialog(row.id);
146
146
  }}
147
147
  >
148
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
148
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
149
149
  popper-class="tooltip-skin">
150
150
  <i class="el-icon-edit"/>
151
151
  </el-tooltip>
@@ -58,7 +58,7 @@
58
58
  </div>
59
59
  </label>
60
60
  <div class="multipleChoice">
61
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
61
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
62
62
  class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
63
63
  <div class="list">
64
64
  <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
@@ -133,7 +133,7 @@ export default {
133
133
  {title: '所属组织', field: 'companyName', width: 150},
134
134
  {
135
135
  field: 'createDate',
136
- title: '创建时间',
136
+ title: this.$t1('创建时间'),
137
137
  width: 150
138
138
  },
139
139
  {
@@ -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>
@@ -45,20 +45,20 @@
45
45
  </td>
46
46
  </tr>
47
47
  <tr>
48
- <th>备注</th>
48
+ <th>{{ $t1('备注') }}</th>
49
49
  <td colspan="5">
50
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small" v-model="position.memo"
50
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small" v-model="position.memo"
51
51
  clearable></el-input>
52
52
  </td>
53
53
  </tr>
54
54
  <tr>
55
- <th>创建人</th>
55
+ <th>{{ $t1('创建人') }}</th>
56
56
  <td>{{ position._createBy }}</td>
57
- <th>创建时间</th>
57
+ <th>{{ $t1('创建时间') }}</th>
58
58
  <td>{{ position.createDate }}</td>
59
- <th>更新人</th>
59
+ <th>{{ $t1('更新人') }}</th>
60
60
  <td>{{ position._modifyBy }}</td>
61
- <th>更新时间</th>
61
+ <th>{{ $t1('更新时间') }}</th>
62
62
  <td>{{ position.modifyDate }}</td>
63
63
  </tr>
64
64
  </tbody>
@@ -117,7 +117,7 @@ export default {
117
117
  saveData() {
118
118
  this.$refs.editForm.$baseValidate(valid => {
119
119
  if (valid) {
120
- this.$baseConfirm('您确定要保存吗?').then(() => {
120
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
121
121
  var url = USER_PREFIX + (this.isEdit ? `/position/update` : `/position/save`);
122
122
  this.$http({
123
123
  url: url,
@@ -104,7 +104,7 @@ export default {
104
104
  {title: '所属组织', field: 'companyName', width: 150},
105
105
  {
106
106
  field: 'enabled',
107
- title: '是否启用',
107
+ title: this.$t1('是否启用'),
108
108
  width: 150,
109
109
  slots: {
110
110
  default: ({row}) => {
@@ -126,17 +126,17 @@ export default {
126
126
  },
127
127
  {
128
128
  field: 'createDate',
129
- title: '创建时间',
129
+ title: this.$t1('创建时间'),
130
130
  width: 150
131
131
  },
132
132
  {
133
133
  field: '_createBy',
134
- title: '创建人',
134
+ title: this.$t1('创建人'),
135
135
  width: 150
136
136
  },
137
137
  {
138
138
  field: '_modifyBy',
139
- title: '更新人',
139
+ title: this.$t1('更新人'),
140
140
  width: 150
141
141
  },
142
142
  {
@@ -155,7 +155,7 @@ export default {
155
155
  this.openEditDialog(row.id);
156
156
  }}
157
157
  >
158
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
158
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
159
159
  popper-class="tooltip-skin">
160
160
  <i class="el-icon-edit"/>
161
161
  </el-tooltip>
@@ -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">
@@ -144,17 +144,17 @@ export default {
144
144
  },
145
145
  {
146
146
  field: 'createDate',
147
- title: '创建时间',
147
+ title: this.$t1('创建时间'),
148
148
  width: 150
149
149
  },
150
150
  {
151
151
  field: '_createBy',
152
- title: '创建人',
152
+ title: this.$t1('创建人'),
153
153
  width: 150
154
154
  },
155
155
  {
156
156
  field: '_modifyBy',
157
- title: '更新人',
157
+ title: this.$t1('更新人'),
158
158
  width: 150
159
159
  },
160
160
  {
@@ -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>
@@ -37,19 +37,19 @@
37
37
  <tr>
38
38
  <th>标签说明</th>
39
39
  <td colspan="5">
40
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small"
40
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
41
41
  v-model="projectTag.tagRemark"
42
42
  clearable></el-input>
43
43
  </td>
44
44
  </tr>
45
45
  <tr>
46
- <th>创建人</th>
46
+ <th>{{ $t1('创建人') }}</th>
47
47
  <td>{{ projectTag._createBy }}</td>
48
- <th>创建时间</th>
48
+ <th>{{ $t1('创建时间') }}</th>
49
49
  <td>{{ projectTag.createDate }}</td>
50
- <th>更新人</th>
50
+ <th>{{ $t1('更新人') }}</th>
51
51
  <td>{{ projectTag._modifyBy }}</td>
52
- <th>更新时间</th>
52
+ <th>{{ $t1('更新时间') }}</th>
53
53
  <td>{{ projectTag.modifyDate }}</td>
54
54
  </tr>
55
55
  </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 = USER_PREFIX + (this.isEdit ? `/projectTag/update` : `/projectTag/save`);
106
106
  this.$http({
107
107
  url: url,
@@ -112,17 +112,17 @@ export default {
112
112
  },
113
113
  {
114
114
  field: 'createDate',
115
- title: '创建时间',
115
+ title: this.$t1('创建时间'),
116
116
  width: 150
117
117
  },
118
118
  {
119
119
  field: '_createBy',
120
- title: '创建人',
120
+ title: this.$t1('创建人'),
121
121
  width: 150
122
122
  },
123
123
  {
124
124
  field: '_modifyBy',
125
- title: '更新人',
125
+ title: this.$t1('更新人'),
126
126
  width: 150
127
127
  },
128
128
  {
@@ -141,7 +141,7 @@ export default {
141
141
  this.openEditDialog(row.id);
142
142
  }}
143
143
  >
144
- <el-tooltip enterable={false} effect="dark" content="查看" placement="top"
144
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
145
145
  popper-class="tooltip-skin">
146
146
  <i class="el-icon-edit"/>
147
147
  </el-tooltip>
@@ -17,7 +17,7 @@
17
17
  </div>
18
18
  <div class="d-cont">
19
19
  <div class="d-item">
20
- <div class="title first"><b>基本信息</b></div>
20
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
21
21
  <table class="table-detail">
22
22
  <tbody>
23
23
  <tr>
@@ -91,7 +91,7 @@
91
91
  </th>
92
92
  <td colspan="7">
93
93
  <el-form-item prop="remark" :rules="[{ required: true, trigger: 'blur' }]">
94
- <el-input type="textarea" :rows="2" placeholder="请输入内容" size="small" v-model="pushSetting.remark"
94
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small" v-model="pushSetting.remark"
95
95
  clearable></el-input>
96
96
  </el-form-item>
97
97
  </td>
@@ -111,13 +111,13 @@
111
111
  </td>
112
112
  </tr>
113
113
  <tr>
114
- <th>创建人</th>
114
+ <th>{{ $t1('创建人') }}</th>
115
115
  <td>{{ pushSetting.createBy }}</td>
116
- <th>创建时间</th>
116
+ <th>{{ $t1('创建时间') }}</th>
117
117
  <td>{{ pushSetting.createDate }}</td>
118
- <th>更新人</th>
118
+ <th>{{ $t1('更新人') }}</th>
119
119
  <td>{{ pushSetting.modifyBy }}</td>
120
- <th>更新时间</th>
120
+ <th>{{ $t1('更新时间') }}</th>
121
121
  <td>{{ pushSetting.modifyDate }}</td>
122
122
  </tr>
123
123
  </tbody>
@@ -185,7 +185,7 @@ export default {
185
185
  saveData() {
186
186
  this.$refs.editForm.$baseValidate(valid => {
187
187
  if (valid) {
188
- this.$baseConfirm('您确定要保存吗?').then(() => {
188
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
189
189
  var url = USER_PREFIX + (this.isEdit ? `/push_setting/update` : `/push_setting/save`);
190
190
  this.$http({
191
191
  url: url,