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.
- package/package.json +1 -1
- package/src/api/user.js +8 -0
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/xform/form-designer/indexMixin.js +2 -2
- package/src/layout/components/Sidebar/default.vue +12 -12
- package/src/layout/components/TagsView/index.vue +6 -6
- package/src/layout/components/notify_message/unreadDialog.vue +1 -1
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -4
- package/src/views/bd/setting/bd_attach_setting/edit.vue +8 -8
- package/src/views/bd/setting/bd_attach_setting/list.vue +4 -4
- package/src/views/bd/setting/form_script/dialog.vue +3 -3
- package/src/views/bd/setting/form_script/edit.vue +12 -11
- package/src/views/bd/setting/form_script/edit1.vue +9 -9
- package/src/views/bd/setting/form_script/form_list.vue +5 -5
- package/src/views/bd/setting/form_script/list.vue +5 -5
- package/src/views/bd/setting/form_script/list1.vue +5 -5
- package/src/views/bd/setting/form_template/dialog.vue +4 -4
- package/src/views/bd/setting/form_template/edit.vue +10 -10
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +1 -1
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +3 -3
- package/src/views/bd/setting/form_template/itemEdit.vue +6 -6
- package/src/views/bd/setting/form_template/itemList.vue +5 -5
- package/src/views/bd/setting/form_template/list.vue +11 -11
- package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/list.vue +25 -25
- package/src/views/bd/setting/table_model/dialog.vue +1 -1
- package/src/views/bd/setting/table_model/edit.vue +8 -8
- package/src/views/bd/setting/table_model/list.vue +8 -8
- package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
- package/src/views/mobile/user/area/dialog.vue +1 -1
- package/src/views/mobile/user/user/dialog.vue +1 -1
- package/src/views/support/export_template/edit.vue +8 -8
- package/src/views/support/export_template/list.vue +7 -7
- package/src/views/user/access_log/edit.vue +3 -3
- package/src/views/user/access_log/list.vue +3 -3
- package/src/views/user/api_request/edit.vue +8 -8
- package/src/views/user/api_request/list.vue +5 -5
- package/src/views/user/area/dialog.vue +1 -1
- package/src/views/user/area_attribute/configDialog.vue +1 -1
- package/src/views/user/area_attribute/edit.vue +1 -1
- package/src/views/user/bill_setting/edit.vue +8 -8
- package/src/views/user/bill_setting/list.vue +4 -4
- package/src/views/user/bill_setting/render.vue +1 -1
- package/src/views/user/bill_setting/userDialog.vue +1 -1
- package/src/views/user/code_rules/edit.vue +8 -8
- package/src/views/user/code_rules/list.vue +3 -3
- package/src/views/user/common_attribute/edit.vue +6 -6
- package/src/views/user/common_attribute/itemEdit.vue +8 -8
- package/src/views/user/common_attribute/list.vue +9 -9
- package/src/views/user/common_script/edit.vue +7 -7
- package/src/views/user/common_script/list.vue +4 -4
- package/src/views/user/company_info/dialog.vue +1 -1
- package/src/views/user/company_info/edit.vue +8 -8
- package/src/views/user/country/dialog.vue +2 -2
- package/src/views/user/country/edit.vue +8 -8
- package/src/views/user/country/list.vue +5 -5
- package/src/views/user/data_type_setting/dialog.vue +2 -2
- package/src/views/user/data_type_setting/editDialog.vue +1 -1
- package/src/views/user/ea/eagroup/eaobj_list.vue +9 -9
- package/src/views/user/ea/eagroup/edit.vue +10 -10
- package/src/views/user/ea/eaobj/edit.vue +8 -8
- package/src/views/user/ea/eaobj/list.vue +3 -3
- package/src/views/user/extend_datasource/dialog.vue +5 -5
- package/src/views/user/extend_datasource/edit.vue +8 -8
- package/src/views/user/extend_datasource/list.vue +4 -4
- package/src/views/user/fieldTranslation/editDialog.vue +4 -4
- package/src/views/user/fieldTranslation/list.vue +5 -5
- package/src/views/user/field_values_invisible/edit.vue +6 -6
- package/src/views/user/field_values_invisible/list.vue +5 -5
- package/src/views/user/file_type/edit.vue +8 -8
- package/src/views/user/file_type/list.vue +3 -3
- package/src/views/user/file_type/userEdit.vue +1 -1
- package/src/views/user/file_view_area/edit.vue +8 -8
- package/src/views/user/file_view_area/itemEdit.vue +8 -8
- package/src/views/user/file_view_area/list.vue +6 -6
- package/src/views/user/file_view_ins/list.vue +2 -2
- package/src/views/user/file_view_ins/propertiesDialog.vue +2 -2
- package/src/views/user/form/form_ins_list/edit.vue +5 -5
- package/src/views/user/form/form_template/dialog.vue +4 -4
- package/src/views/user/form/form_template/edit.vue +8 -8
- package/src/views/user/form/form_template/itemEdit.vue +6 -6
- package/src/views/user/form/form_template/itemList.vue +2 -2
- package/src/views/user/form/form_template/list.vue +4 -4
- package/src/views/user/form/form_template_field/dialog.vue +1 -1
- package/src/views/user/form/form_type/dialog.vue +2 -2
- package/src/views/user/form/form_type/edit.vue +6 -6
- package/src/views/user/form/form_type/editDialog.vue +1 -1
- package/src/views/user/form/form_type/list.vue +2 -2
- package/src/views/user/form/report_requestaccess/dialog.vue +3 -3
- package/src/views/user/form/report_requestaccess/edit.vue +6 -6
- package/src/views/user/form/report_requestaccess/list.vue +3 -3
- package/src/views/user/home/default.vue +21 -21
- package/src/views/user/home/distributor.vue +1 -1
- package/src/views/user/language_setting/edit.vue +7 -7
- package/src/views/user/language_setting/list.vue +4 -4
- package/src/views/user/menu/list.vue +17 -17
- package/src/views/user/mobile_menu/list.vue +15 -15
- package/src/views/user/notify_message/list.vue +1 -1
- package/src/views/user/notify_template/edit.vue +6 -6
- package/src/views/user/notify_template/list.vue +4 -4
- package/src/views/user/oplog/edit.vue +3 -3
- package/src/views/user/oplog/list.vue +5 -5
- package/src/views/user/position/dialog.vue +2 -2
- package/src/views/user/position/edit.vue +8 -8
- package/src/views/user/position/list.vue +5 -5
- package/src/views/user/project_tag/dialog.vue +4 -4
- package/src/views/user/project_tag/edit.vue +7 -7
- package/src/views/user/project_tag/list.vue +4 -4
- package/src/views/user/push_setting/edit.vue +7 -7
- package/src/views/user/push_setting/list.vue +4 -5
- package/src/views/user/role/dialog.vue +2 -2
- package/src/views/user/role/edit.vue +5 -5
- package/src/views/user/role/list.vue +2 -2
- package/src/views/user/sale_org/list.vue +15 -15
- package/src/views/user/system_notice/edit.vue +5 -5
- package/src/views/user/system_notice/list.vue +2 -2
- package/src/views/user/system_parameter/edit.vue +8 -8
- package/src/views/user/system_parameter/list.vue +4 -4
- package/src/views/user/user/dialog.vue +21 -35
- package/src/views/user/user/form_edit.vue +27 -11
- package/src/views/user/user/form_list.vue +11 -11
- package/src/views/user/user/info.vue +6 -6
- package/src/views/user/user/infoEdit.vue +6 -6
- package/src/views/user/wf/wf_auto_submit_data/edit.vue +5 -5
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +5 -5
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -2
- package/src/views/user/wf/wf_diy_attribute/edit.vue +1 -1
- package/src/views/user/wf/wf_manage/list.vue +4 -4
- package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/edit.vue +8 -8
- package/src/views/user/wf/wf_obj_config/edit_form.vue +8 -8
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +6 -6
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +6 -6
- package/src/views/user/wf/wf_obj_config/list.vue +8 -8
- package/src/views/user/wf/wf_obj_config/list_form.vue +2 -2
- package/src/views/user/wf/wf_param/edit.vue +1 -1
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +1 -1
- package/src/views/user/sale_org_net/list.vue +0 -574
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
<base-table-export :option="{ title: '推送数据导出', targetRef: 'table-m1'}" :parent-target="_self"/>
|
|
18
18
|
</div>
|
|
19
19
|
<div class="fr">
|
|
20
|
-
<!-- <vxe-button status="warning" icon="iconfont icon-shaixuan" class="button-sty orgn" @click="showAdvancedSearch = true">高级筛选</vxe-button>-->
|
|
21
20
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
22
21
|
plain>{{$t1('重置')}}
|
|
23
22
|
</vxe-button>
|
|
@@ -174,7 +173,7 @@ export default {
|
|
|
174
173
|
},
|
|
175
174
|
{
|
|
176
175
|
field: 'enabled',
|
|
177
|
-
title: '是否启用',
|
|
176
|
+
title: this.$t1('是否启用'),
|
|
178
177
|
width: 150,
|
|
179
178
|
slots: {
|
|
180
179
|
default: ({row}) => {
|
|
@@ -196,10 +195,10 @@ export default {
|
|
|
196
195
|
},
|
|
197
196
|
{
|
|
198
197
|
field: 'createDate',
|
|
199
|
-
title: '创建时间',
|
|
198
|
+
title: this.$t1('创建时间'),
|
|
200
199
|
width: 150
|
|
201
200
|
},
|
|
202
|
-
{title: '更新时间', field: 'modifyDate', width: 150},
|
|
201
|
+
{title: this.$t1('更新时间'), field: 'modifyDate', width: 150},
|
|
203
202
|
{
|
|
204
203
|
width: 47,
|
|
205
204
|
fixed: 'right',
|
|
@@ -216,7 +215,7 @@ export default {
|
|
|
216
215
|
this.openEditDialog(row.id);
|
|
217
216
|
}}
|
|
218
217
|
>
|
|
219
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
218
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
220
219
|
popper-class="tooltip-skin">
|
|
221
220
|
<i class="el-icon-edit"/>
|
|
222
221
|
</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"
|
|
63
63
|
@click="clearChecked()"></a>
|
|
64
64
|
</el-tooltip>
|
|
@@ -141,7 +141,7 @@ export default {
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
{title: '所属组织', field: 'companyName', width: 150},
|
|
144
|
-
{title: '创建时间', field: 'createDate', width: 150},
|
|
144
|
+
{title: this.$t1('创建时间'), field: 'createDate', width: 150},
|
|
145
145
|
{
|
|
146
146
|
width: 47,
|
|
147
147
|
fixed: 'right',
|
|
@@ -56,13 +56,13 @@
|
|
|
56
56
|
</td>
|
|
57
57
|
</tr>
|
|
58
58
|
<tr>
|
|
59
|
-
<th
|
|
59
|
+
<th>{{ $t1('创建人') }}</th>
|
|
60
60
|
<td>{{ role.createBy }}</td>
|
|
61
|
-
<th
|
|
61
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
62
62
|
<td>{{ role.createDate }}</td>
|
|
63
|
-
<th
|
|
63
|
+
<th>{{ $t1('更新人') }}</th>
|
|
64
64
|
<td>{{ role.modifyBy }}</td>
|
|
65
|
-
<th
|
|
65
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
66
66
|
<td>{{ role.modifyDate }}</td>
|
|
67
67
|
</tr>
|
|
68
68
|
</tbody>
|
|
@@ -211,7 +211,7 @@ export default {
|
|
|
211
211
|
saveData() {
|
|
212
212
|
this.$refs.editForm.$baseValidate(valid => {
|
|
213
213
|
if (valid) {
|
|
214
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
214
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
215
215
|
var url = USER_PREFIX + (this.isEdit ? `/role/update` : `/role/save`);
|
|
216
216
|
let formData = this.role;
|
|
217
217
|
formData.menuIds = this.getMenuFormData();
|
|
@@ -131,7 +131,7 @@ export default {
|
|
|
131
131
|
{title: '所属组织', field: 'companyName', width: 150},
|
|
132
132
|
{
|
|
133
133
|
field: 'createDate',
|
|
134
|
-
title: '创建时间',
|
|
134
|
+
title: this.$t1('创建时间'),
|
|
135
135
|
width: 150
|
|
136
136
|
},
|
|
137
137
|
{
|
|
@@ -149,7 +149,7 @@ export default {
|
|
|
149
149
|
this.openEditDialog(row.id);
|
|
150
150
|
}}
|
|
151
151
|
>
|
|
152
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
152
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
153
153
|
popper-class="tooltip-skin">
|
|
154
154
|
<i class="el-icon-edit"/>
|
|
155
155
|
</el-tooltip>
|
|
@@ -46,26 +46,26 @@
|
|
|
46
46
|
<template #operate="obj">
|
|
47
47
|
<div class="cell-operate">
|
|
48
48
|
<template v-if="$refs['table-m1'].isActiveByRow(obj.row)">
|
|
49
|
-
<a @click="saveRowEvent(obj)" class="a-link"
|
|
50
|
-
<el-tooltip :enterable="false" effect="dark" content="保存" placement="top"
|
|
49
|
+
<a @click="saveRowEvent(obj)" class="a-link">
|
|
50
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('保存')" placement="top"
|
|
51
51
|
popper-class="tooltip-skin"><i class="el-icon-circle-check"></i></el-tooltip>
|
|
52
52
|
</a>
|
|
53
|
-
<a @click="cancleRowEvent(obj)" class="a-link"
|
|
54
|
-
<el-tooltip :enterable="false" effect="dark" content="取消行编辑" placement="top"
|
|
53
|
+
<a @click="cancleRowEvent(obj)" class="a-link" v-if="hasSaveRow(obj.row)">
|
|
54
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('取消行编辑')" placement="top"
|
|
55
55
|
popper-class="tooltip-skin"><i class="el-icon-circle-close"></i></el-tooltip>
|
|
56
56
|
</a>
|
|
57
|
-
<a @click="removeRowEvent(obj)" class="a-link"
|
|
58
|
-
<el-tooltip :enterable="false" effect="dark" content="删除" placement="top"
|
|
57
|
+
<a @click="removeRowEvent(obj)" class="a-link" v-if="!hasSaveRow(obj.row)">
|
|
58
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('删除')" placement="top"
|
|
59
59
|
popper-class="tooltip-skin"><i class="el-icon-delete"></i></el-tooltip>
|
|
60
60
|
</a>
|
|
61
61
|
</template>
|
|
62
62
|
<template v-else>
|
|
63
63
|
<a class="a-link" data-tit="新增" @click="insertChildEvent(obj)">
|
|
64
|
-
<el-tooltip :enterable="false" effect="dark" content="新增" placement="top"
|
|
64
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('新增')" placement="top"
|
|
65
65
|
popper-class="tooltip-skin"><i class="el-icon-circle-plus-outline"></i></el-tooltip>
|
|
66
66
|
</a>
|
|
67
67
|
<a @click="editRowEvent(obj)" class="a-link" data-tit="行编辑" v-if="obj.row && obj.row.parent !== 0">
|
|
68
|
-
<el-tooltip :enterable="false" effect="dark" content="行编辑" placement="top"
|
|
68
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('行编辑')" placement="top"
|
|
69
69
|
popper-class="tooltip-skin"><i class="el-icon-edit-outline"></i></el-tooltip>
|
|
70
70
|
</a>
|
|
71
71
|
<!-- <a class="a-link" @click="openChangeParentDialog(obj)">
|
|
@@ -361,7 +361,7 @@ export default {
|
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
field: 'enabled',
|
|
364
|
-
title: '是否启用',
|
|
364
|
+
title: this.$t1('是否启用'),
|
|
365
365
|
width: 150,
|
|
366
366
|
editRender: {
|
|
367
367
|
name: '$select',
|
|
@@ -373,11 +373,11 @@ export default {
|
|
|
373
373
|
},
|
|
374
374
|
options: [
|
|
375
375
|
{
|
|
376
|
-
label: '启用',
|
|
376
|
+
label: this.$t1('启用'),
|
|
377
377
|
value: true
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
|
-
label: '禁用',
|
|
380
|
+
label: this.$t1('禁用'),
|
|
381
381
|
value: false
|
|
382
382
|
}
|
|
383
383
|
]
|
|
@@ -385,9 +385,9 @@ export default {
|
|
|
385
385
|
slots: {
|
|
386
386
|
default: ({row}) => {
|
|
387
387
|
if (row.enabled) {
|
|
388
|
-
return [<div class="txt-status"
|
|
388
|
+
return [<div class="txt-status">{ this.$t1('启用') }</div>];
|
|
389
389
|
} else {
|
|
390
|
-
return [<div class="txt-status s-3"
|
|
390
|
+
return [<div class="txt-status s-3">{ this.$t1('禁用') }</div>];
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
}
|
|
@@ -421,8 +421,8 @@ export default {
|
|
|
421
421
|
},
|
|
422
422
|
{field: 'treePathName', title: '上级机构', width: 150},
|
|
423
423
|
{field: 'companyName', title: '所属组织', width: 150},
|
|
424
|
-
{field: 'createDate', title: '创建时间', width: 150},
|
|
425
|
-
{field: 'modifyDate', title: '更新时间', width: 150},
|
|
424
|
+
{field: 'createDate', title: this.$t1('创建时间'), width: 150},
|
|
425
|
+
{field: 'modifyDate', title: this.$t1('更新时间'), width: 150},
|
|
426
426
|
{width: 300, title: '', fixed: 'right', sortable: false, slots: {default: 'operate'}}
|
|
427
427
|
]
|
|
428
428
|
};
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
</td>
|
|
48
48
|
</tr>
|
|
49
49
|
<tr>
|
|
50
|
-
<th
|
|
50
|
+
<th>{{ $t1('创建人') }}</th>
|
|
51
51
|
<td>{{ system_notice.createBy }}</td>
|
|
52
|
-
<th
|
|
52
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
53
53
|
<td>{{ system_notice.createDate }}</td>
|
|
54
|
-
<th
|
|
54
|
+
<th>{{ $t1('更新人') }}</th>
|
|
55
55
|
<td>{{ system_notice.modifyBy }}</td>
|
|
56
|
-
<th
|
|
56
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
57
57
|
<td>{{ system_notice.modifyDate }}</td>
|
|
58
58
|
</tr>
|
|
59
59
|
</tbody>
|
|
@@ -129,7 +129,7 @@ export default {
|
|
|
129
129
|
saveData() {
|
|
130
130
|
this.$refs.editForm.$baseValidate(valid => {
|
|
131
131
|
if (valid) {
|
|
132
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
132
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
133
133
|
var url = USER_PREFIX + (this.isEdit ? `/system_notice/update` : `/system_notice/save`);
|
|
134
134
|
let formData = this.system_notice;
|
|
135
135
|
formData.sysNoticeAttachmentDTOs = this.sysNoticeAttachmentDTOs || [];
|
|
@@ -151,7 +151,7 @@ export default {
|
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
field: 'createDate',
|
|
154
|
-
title: '创建时间',
|
|
154
|
+
title: this.$t1('创建时间'),
|
|
155
155
|
width: 200,
|
|
156
156
|
sortable: true
|
|
157
157
|
},
|
|
@@ -170,7 +170,7 @@ export default {
|
|
|
170
170
|
this.openEditDialog(row.id);
|
|
171
171
|
}}
|
|
172
172
|
>
|
|
173
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
173
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
174
174
|
popper-class="tooltip-skin">
|
|
175
175
|
<i class="el-icon-edit"/>
|
|
176
176
|
</el-tooltip>
|
|
@@ -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
|
|
18
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
|
19
19
|
<table class="table-detail">
|
|
20
20
|
<tbody>
|
|
21
21
|
<tr>
|
|
@@ -48,20 +48,20 @@
|
|
|
48
48
|
</td>
|
|
49
49
|
</tr>
|
|
50
50
|
<tr>
|
|
51
|
-
<th
|
|
51
|
+
<th>{{ $t1('备注') }}</th>
|
|
52
52
|
<td colspan="7">
|
|
53
|
-
<el-input type="textarea" :rows="2" placeholder="请输入内容" size="small"
|
|
53
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
54
54
|
v-model="system_parameter.remark" clearable></el-input>
|
|
55
55
|
</td>
|
|
56
56
|
</tr>
|
|
57
57
|
<tr>
|
|
58
|
-
<th
|
|
58
|
+
<th>{{ $t1('创建人') }}</th>
|
|
59
59
|
<td>{{ system_parameter.createBy }}</td>
|
|
60
|
-
<th
|
|
60
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
61
61
|
<td>{{ system_parameter.createDate }}</td>
|
|
62
|
-
<th
|
|
62
|
+
<th>{{ $t1('更新人') }}</th>
|
|
63
63
|
<td>{{ system_parameter.modifyBy }}</td>
|
|
64
|
-
<th
|
|
64
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
65
65
|
<td>{{ system_parameter.modifyDate }}</td>
|
|
66
66
|
</tr>
|
|
67
67
|
</tbody>
|
|
@@ -112,7 +112,7 @@ export default {
|
|
|
112
112
|
saveData() {
|
|
113
113
|
this.$refs.editForm.$baseValidate(valid => {
|
|
114
114
|
if (valid) {
|
|
115
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
115
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
116
116
|
var url = USER_PREFIX + (this.isEdit ? `/system_parameter/update` : `/system_parameter/save`);
|
|
117
117
|
this.$http({
|
|
118
118
|
url: url,
|
|
@@ -101,9 +101,9 @@ export default {
|
|
|
101
101
|
},
|
|
102
102
|
{field: 'name', title: '参数名称', width: 200},
|
|
103
103
|
{field: 'value', title: '参数值', width: 200},
|
|
104
|
-
{field: 'remark', title: '备注', width: 200},
|
|
105
|
-
{title: '创建时间', field: 'createDate', width: 150},
|
|
106
|
-
{title: '更新时间', field: 'modifyDate', width: 150},
|
|
104
|
+
{field: 'remark', title: this.$t1('备注'), width: 200},
|
|
105
|
+
{title: this.$t1('创建时间'), field: 'createDate', width: 150},
|
|
106
|
+
{title: this.$t1('更新时间'), field: 'modifyDate', width: 150},
|
|
107
107
|
{
|
|
108
108
|
width: 47,
|
|
109
109
|
fixed: 'right',
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
this.openEditDialog(row.id);
|
|
120
120
|
}}
|
|
121
121
|
>
|
|
122
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
122
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
123
123
|
popper-class="tooltip-skin">
|
|
124
124
|
<i class="el-icon-edit"/>
|
|
125
125
|
</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"
|
|
@@ -36,12 +36,12 @@
|
|
|
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="
|
|
39
|
+
<vxe-form-item :title="$t1('登录名')+':'" field="loginAccount">
|
|
40
40
|
<template v-slot>
|
|
41
41
|
<el-input v-model="formData.loginAccount" size="small" clearable/>
|
|
42
42
|
</template>
|
|
43
43
|
</vxe-form-item>
|
|
44
|
-
<vxe-form-item title="
|
|
44
|
+
<vxe-form-item :title="$t1('姓名')+':'" field="nickName">
|
|
45
45
|
<template v-slot>
|
|
46
46
|
<el-input v-model="formData.nickName" size="small" clearable/>
|
|
47
47
|
</template>
|
|
@@ -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">
|
|
@@ -138,60 +138,46 @@ export default {
|
|
|
138
138
|
},
|
|
139
139
|
columns: [
|
|
140
140
|
{type: 'checkbox', width: 50, resizable: false, fixed: 'left'},
|
|
141
|
-
{title: '登录名', field: 'loginAccount', width: 250, fixed: 'left'},
|
|
142
|
-
{field: 'nickName', title: '姓名', width: 150},
|
|
143
|
-
// { field: 'mobile', title: '手机号', width: 150 },
|
|
141
|
+
{title: this.$t1('登录名'), field: 'loginAccount', width: 250, fixed: 'left'},
|
|
142
|
+
{field: 'nickName', title: this.$t1('姓名'), width: 150},
|
|
144
143
|
{
|
|
145
144
|
field: 'enabled',
|
|
146
|
-
title: '是否启用',
|
|
145
|
+
title: this.$t1('是否启用'),
|
|
147
146
|
width: 150,
|
|
148
147
|
slots: {
|
|
149
148
|
default: ({row}) => {
|
|
150
149
|
if (row.enabled) {
|
|
151
|
-
return [<div class="txt-status"
|
|
150
|
+
return [<div class="txt-status">{ this.$t1('启用') }</div>];
|
|
152
151
|
} else {
|
|
153
|
-
return [<div class="txt-status s-3"
|
|
152
|
+
return [<div class="txt-status s-3">{ this.$t1('禁用') }</div>];
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
}
|
|
157
156
|
},
|
|
158
|
-
{field: 'roleNames', title: '角色', width: 150},
|
|
159
|
-
{field: 'saleOrgNames', title: '机构', width: 150},
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
// title: '出生日期',
|
|
163
|
-
// width: 150,
|
|
164
|
-
// slots: {
|
|
165
|
-
// default: ({ row }) => {
|
|
166
|
-
// var val = row.birth;
|
|
167
|
-
// if (val) {
|
|
168
|
-
// return val.substring(0, 10);
|
|
169
|
-
// }
|
|
170
|
-
// }
|
|
171
|
-
// }
|
|
172
|
-
// },
|
|
173
|
-
{field: 'zipCode', title: '邮编', width: 150},
|
|
174
|
-
{field: 'address', title: '地址', width: 150},
|
|
157
|
+
{field: 'roleNames', title: this.$t1('角色'), width: 150},
|
|
158
|
+
{field: 'saleOrgNames', title: this.$t1('机构'), width: 150},
|
|
159
|
+
{field: 'zipCode', title: this.$t1('邮编'), width: 150},
|
|
160
|
+
{field: 'address', title: this.$t1('地址'), width: 150},
|
|
175
161
|
{
|
|
176
162
|
field: 'gender',
|
|
177
|
-
title: '性别',
|
|
163
|
+
title: this.$t1('性别'),
|
|
178
164
|
width: 150,
|
|
179
165
|
slots: {
|
|
180
166
|
default: ({row}) => {
|
|
181
167
|
var val = row.gender;
|
|
182
168
|
if (val == 1) {
|
|
183
|
-
return '男';
|
|
169
|
+
return this.$t1('男');
|
|
184
170
|
} else if (val == 2) {
|
|
185
|
-
return '女';
|
|
171
|
+
return this.$t1('女');
|
|
186
172
|
}
|
|
187
173
|
}
|
|
188
174
|
}
|
|
189
175
|
},
|
|
190
|
-
{field: 'companyNames', title: '所属组织', width: 250},
|
|
191
|
-
{field: 'createBy', title: '创建人', width: 150},
|
|
192
|
-
{field: 'modifyBy', title: '更新人', width: 150},
|
|
193
|
-
{field: 'modifyDate', title: '更新时间', width: 150},
|
|
194
|
-
{field: 'createDate', title: '创建时间', width: 150},
|
|
176
|
+
{field: 'companyNames', title: this.$t1('所属组织'), width: 250},
|
|
177
|
+
{field: 'createBy', title: this.$t1('创建人'), width: 150},
|
|
178
|
+
{field: 'modifyBy', title: this.$t1('更新人'), width: 150},
|
|
179
|
+
{field: 'modifyDate', title: this.$t1('更新时间'), width: 150},
|
|
180
|
+
{field: 'createDate', title: this.$t1('创建时间'), width: 150},
|
|
195
181
|
{
|
|
196
182
|
width: 47,
|
|
197
183
|
fixed: 'right',
|
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
<el-button type="primary" plain class="button-sty" icon="el-icon-unlock" @click="unlock" v-if="user.locked"
|
|
13
13
|
v-hasPermi="'user:unlock'">解锁
|
|
14
14
|
</el-button>
|
|
15
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
15
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
16
|
+
{{ $t1('重置') }}
|
|
17
|
+
</el-button>
|
|
18
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
|
|
16
19
|
</el-button>
|
|
17
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
18
20
|
</div>
|
|
19
21
|
</div>
|
|
20
22
|
<baseTabs>
|
|
@@ -39,7 +41,11 @@
|
|
|
39
41
|
</template>
|
|
40
42
|
</el-form-item>
|
|
41
43
|
</td>
|
|
42
|
-
|
|
44
|
+
<td colspan="4">
|
|
45
|
+
<span class="tips">注:登录名必须以“dev_”开头</span>
|
|
46
|
+
</td>
|
|
47
|
+
</tr>
|
|
48
|
+
<tr>
|
|
43
49
|
<th>
|
|
44
50
|
<em class="f-red">*</em>
|
|
45
51
|
姓名
|
|
@@ -82,22 +88,21 @@
|
|
|
82
88
|
/>
|
|
83
89
|
</el-form-item>
|
|
84
90
|
</td>
|
|
91
|
+
</tr>
|
|
92
|
+
<tr>
|
|
85
93
|
<th>设置</th>
|
|
86
94
|
<td>
|
|
87
95
|
<el-checkbox label="是否启用" v-model="user.enabled"></el-checkbox>
|
|
88
96
|
</td>
|
|
89
|
-
|
|
90
|
-
|
|
91
97
|
</tr>
|
|
92
|
-
|
|
93
98
|
<tr>
|
|
94
|
-
<th
|
|
99
|
+
<th>{{ $t1('创建人') }}</th>
|
|
95
100
|
<td>{{ user.createBy }}</td>
|
|
96
|
-
<th
|
|
101
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
97
102
|
<td>{{ user.createDate }}</td>
|
|
98
|
-
<th
|
|
103
|
+
<th>{{ $t1('更新人') }}</th>
|
|
99
104
|
<td>{{ user.modifyBy }}</td>
|
|
100
|
-
<th
|
|
105
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
101
106
|
<td>{{ user.modifyDate }}</td>
|
|
102
107
|
</tr>
|
|
103
108
|
</tbody>
|
|
@@ -254,7 +259,18 @@ export default {
|
|
|
254
259
|
|
|
255
260
|
this.$refs.editForm.$baseValidate(valid => {
|
|
256
261
|
if (valid) {
|
|
257
|
-
this
|
|
262
|
+
if (!this.isEdit) {
|
|
263
|
+
let loginAccount = this.user.loginAccount;
|
|
264
|
+
if (!loginAccount.startsWith('dev_')) {
|
|
265
|
+
this.$message({
|
|
266
|
+
message: '登录名必须以“dev_”开头',
|
|
267
|
+
type: 'error',
|
|
268
|
+
duration: 2000,
|
|
269
|
+
});
|
|
270
|
+
return
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
258
274
|
var url = USER_PREFIX + (this.isEdit ? '/user/update' : '/user/save');
|
|
259
275
|
this.$http({
|
|
260
276
|
url: url,
|
|
@@ -179,36 +179,36 @@ export default {
|
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
field: 'enabled',
|
|
182
|
-
title: '是否启用',
|
|
182
|
+
title: this.$t1('是否启用'),
|
|
183
183
|
width: 150,
|
|
184
184
|
slots: {
|
|
185
185
|
default: ({row}) => {
|
|
186
186
|
if (row.enabled) {
|
|
187
|
-
return [<div class="txt-status"
|
|
187
|
+
return [<div class="txt-status">{ this.$t1('启用') }</div>];
|
|
188
188
|
} else {
|
|
189
|
-
return [<div class="txt-status s-3"
|
|
189
|
+
return [<div class="txt-status s-3">{ this.$t1('禁用') }</div>];
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
field: 'createBy',
|
|
196
|
-
title: '创建人',
|
|
196
|
+
title: this.$t1('创建人'),
|
|
197
197
|
width: 150
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
field: 'modifyBy',
|
|
201
|
-
title: '更新人',
|
|
201
|
+
title: this.$t1('更新人'),
|
|
202
202
|
width: 150
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
field: 'modifyDate',
|
|
206
|
-
title: '更新时间',
|
|
206
|
+
title: this.$t1('更新时间'),
|
|
207
207
|
width: 150
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
field: 'createDate',
|
|
211
|
-
title: '创建时间',
|
|
211
|
+
title: this.$t1('创建时间'),
|
|
212
212
|
width: 150
|
|
213
213
|
},
|
|
214
214
|
{
|
|
@@ -226,7 +226,7 @@ export default {
|
|
|
226
226
|
this.openEditDialog(row.id);
|
|
227
227
|
}}
|
|
228
228
|
>
|
|
229
|
-
<el-tooltip enterable={false}
|
|
229
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
230
230
|
popper-class="tooltip-skin">
|
|
231
231
|
<i class="el-icon-edit"/>
|
|
232
232
|
</el-tooltip>
|
|
@@ -241,9 +241,9 @@ export default {
|
|
|
241
241
|
{title: "姓名", field: "nickName", type: "input", common: true},
|
|
242
242
|
{title: "登录名(批量)", field: "loginAccounts", type: "inputBatch", common: false},
|
|
243
243
|
{
|
|
244
|
-
title:
|
|
245
|
-
{label:
|
|
246
|
-
{label:
|
|
244
|
+
title: this.$t1('是否启用'), field: "enabled", type: "select", common: false, itemOption: [
|
|
245
|
+
{label: this.$t1('启用'), value: true},
|
|
246
|
+
{label: this.$t1('禁用'), value: false}
|
|
247
247
|
]
|
|
248
248
|
}
|
|
249
249
|
],
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</div>
|
|
30
30
|
<div class="d-cont" style="height: auto">
|
|
31
31
|
<div class="d-item">
|
|
32
|
-
<div class="title first"><b
|
|
32
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
|
33
33
|
<table class="table-detail">
|
|
34
34
|
<tbody>
|
|
35
35
|
<tr>
|
|
@@ -149,13 +149,13 @@
|
|
|
149
149
|
</td>
|
|
150
150
|
</tr>
|
|
151
151
|
<tr>
|
|
152
|
-
<th
|
|
152
|
+
<th>{{ $t1('创建人') }}</th>
|
|
153
153
|
<td>{{ user.createBy }}</td>
|
|
154
|
-
<th
|
|
154
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
155
155
|
<td>{{ user.createDate }}</td>
|
|
156
|
-
<th
|
|
156
|
+
<th>{{ $t1('更新人') }}</th>
|
|
157
157
|
<td>{{ user.modifyBy }}</td>
|
|
158
|
-
<th
|
|
158
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
159
159
|
<td>{{ user.modifyDate }}</td>
|
|
160
160
|
</tr>
|
|
161
161
|
</tbody>
|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
245
245
|
saveData() {
|
|
246
246
|
this.$refs.editForm.$baseValidate(valid => {
|
|
247
247
|
if (valid) {
|
|
248
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
248
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
249
249
|
var url = USER_PREFIX + '/user/updateUserInfo';
|
|
250
250
|
this.$http({
|
|
251
251
|
url: url,
|
|
@@ -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
|
|
18
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
|
19
19
|
<table class="table-detail">
|
|
20
20
|
<tbody>
|
|
21
21
|
<tr>
|
|
@@ -112,13 +112,13 @@
|
|
|
112
112
|
</td>
|
|
113
113
|
</tr>
|
|
114
114
|
<tr>
|
|
115
|
-
<th
|
|
115
|
+
<th>{{ $t1('创建人') }}</th>
|
|
116
116
|
<td>{{ user.createBy }}</td>
|
|
117
|
-
<th
|
|
117
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
118
118
|
<td>{{ user.createDate }}</td>
|
|
119
|
-
<th
|
|
119
|
+
<th>{{ $t1('更新人') }}</th>
|
|
120
120
|
<td>{{ user.modifyBy }}</td>
|
|
121
|
-
<th
|
|
121
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
122
122
|
<td>{{ user.modifyDate }}</td>
|
|
123
123
|
</tr>
|
|
124
124
|
</tbody>
|
|
@@ -205,7 +205,7 @@ export default {
|
|
|
205
205
|
saveData() {
|
|
206
206
|
this.$refs.editForm.$baseValidate(valid => {
|
|
207
207
|
if (valid) {
|
|
208
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
208
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
209
209
|
var url = USER_PREFIX + '/user/updateUserInfo';
|
|
210
210
|
this.$http({
|
|
211
211
|
url: url,
|