cloud-web-corejs 1.0.28 → 1.0.30
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 +2 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/langTag/addButton.vue +22 -0
- package/src/components/langTag/deleteButton.vue +22 -0
- package/src/components/langTag/mixins/addButton.js +5 -0
- package/src/components/langTag/mixins/deleteButton.js +5 -0
- package/src/components/langTag/mixins/view.js +5 -0
- package/src/components/langTag/view.vue +33 -0
- package/src/components/projectTag/addButton.vue +3 -50
- package/src/components/projectTag/deleteButton.vue +3 -50
- package/src/components/projectTag/mixins/addButton.js +5 -0
- package/src/components/projectTag/mixins/deleteButton.js +5 -0
- package/src/components/projectTag/mixins/view.js +5 -0
- package/src/components/projectTag/view.vue +33 -72
- package/src/components/xform/mixins/scriptHttp.js +1 -1
- package/src/index.js +0 -2
- package/src/layout/components/Sidebar/default.vue +3 -4
- package/src/router/modules/system.js +1 -1
- package/src/store/config/index.js +1 -1
- package/src/store/getters.js +2 -0
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/user.js +2 -1
- package/src/utils/request.js +28 -29
- package/src/utils/vab.js +27 -27
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -87
- package/src/views/bd/setting/bd_attach_setting/edit.vue +3 -92
- package/src/views/bd/setting/bd_attach_setting/list.vue +4 -214
- package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +89 -0
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +96 -0
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +219 -0
- package/src/views/bd/setting/form_script/dialog.vue +3 -137
- package/src/views/bd/setting/form_script/edit.vue +3 -127
- package/src/views/bd/setting/form_script/edit1.vue +3 -142
- package/src/views/bd/setting/form_script/form_list.vue +4 -259
- package/src/views/bd/setting/form_script/list.vue +6 -174
- package/src/views/bd/setting/form_script/list1.vue +6 -333
- package/src/views/bd/setting/form_script/list2.vue +3 -4
- package/src/views/bd/setting/form_script/mixins/dialog.js +142 -0
- package/src/views/bd/setting/form_script/mixins/edit.js +134 -0
- package/src/views/bd/setting/form_script/mixins/edit1.js +149 -0
- package/src/views/bd/setting/form_script/mixins/form_list.js +264 -0
- package/src/views/bd/setting/form_script/mixins/list.js +176 -0
- package/src/views/bd/setting/form_script/mixins/list1.js +336 -0
- package/src/views/bd/setting/form_script/mixins/list2.js +14 -0
- package/src/views/bd/setting/form_template/dialog.vue +104 -212
- package/src/views/bd/setting/form_template/edit.vue +183 -329
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +46 -131
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +88 -175
- package/src/views/bd/setting/form_template/itemEdit.vue +174 -270
- package/src/views/bd/setting/form_template/itemList.vue +56 -300
- package/src/views/bd/setting/form_template/list.vue +7 -562
- package/src/views/bd/setting/form_template/mixins/dialog.js +114 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +155 -0
- package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +94 -0
- package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +95 -0
- package/src/views/bd/setting/form_template/mixins/itemEdit.js +106 -0
- package/src/views/bd/setting/form_template/mixins/itemList.js +254 -0
- package/src/views/bd/setting/form_template/mixins/list.js +562 -0
- package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -0
- package/src/views/bd/setting/form_template/preformDialog.vue +57 -77
- package/src/views/bd/setting/menu_kind/authDialog.vue +84 -308
- package/src/views/bd/setting/menu_kind/dialog.vue +89 -226
- package/src/views/bd/setting/menu_kind/list.vue +6 -186
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +255 -0
- package/src/views/bd/setting/menu_kind/mixins/dialog.js +144 -0
- package/src/views/bd/setting/menu_kind/mixins/list.js +187 -0
- package/src/views/bd/setting/table_model/dialog.vue +95 -161
- package/src/views/bd/setting/table_model/edit.vue +5 -767
- package/src/views/bd/setting/table_model/list.vue +8 -369
- package/src/views/bd/setting/table_model/mixins/dialog.js +74 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +778 -0
- package/src/views/bd/setting/table_model/mixins/list.js +367 -0
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +114 -0
- package/src/views/bd/setting/table_model/zdDialog.vue +95 -201
- package/src/views/support/export_template/edit.vue +40 -36
- package/src/views/support/export_template/list.vue +40 -52
- package/src/views/user/access_log/edit.vue +18 -17
- package/src/views/user/access_log/list.vue +27 -26
- package/src/views/user/access_log/statistics_list.vue +19 -17
- package/src/views/user/api_request/edit.vue +14 -11
- package/src/views/user/api_request/list.vue +13 -11
- package/src/views/user/area/dialog.vue +14 -27
- package/src/views/user/area_attribute/configDialog.vue +11 -13
- package/src/views/user/area_attribute/edit.vue +8 -6
- package/src/views/user/area_attribute/list.vue +1 -1
- package/src/views/user/attachment/uploadDialog.vue +1 -1
- package/src/views/user/bill_setting/button/previewButton.vue +2 -2
- package/src/views/user/bill_setting/compareView.vue +1 -1
- package/src/views/user/bill_setting/edit.vue +24 -17
- package/src/views/user/bill_setting/h5_ModifyDialog.vue +1 -1
- package/src/views/user/bill_setting/itemViewDialog.vue +3 -66
- package/src/views/user/bill_setting/list.vue +28 -26
- package/src/views/user/bill_setting/mixins/wf.js +8 -8
- package/src/views/user/bill_setting/previewDialog.vue +1 -1
- package/src/views/user/bill_setting/render.vue +29 -29
- package/src/views/user/bill_setting/userDialog.vue +7 -5
- package/src/views/user/code_rules/edit.vue +21 -18
- package/src/views/user/code_rules/list.vue +27 -19
- package/src/views/user/commMenu/index.vue +3 -3
- package/src/views/user/common_attribute/edit.vue +7 -5
- package/src/views/user/common_attribute/itemEdit.vue +22 -22
- package/src/views/user/common_attribute/list.vue +25 -24
- package/src/views/user/common_script/edit.vue +12 -12
- package/src/views/user/common_script/list.vue +30 -32
- package/src/views/user/company_info/dialog.vue +9 -9
- package/src/views/user/company_info/edit.vue +11 -8
- package/src/views/user/country/dialog.vue +11 -9
- package/src/views/user/country/edit.vue +12 -9
- package/src/views/user/country/list.vue +12 -12
- package/src/views/user/data_type_setting/dialog.vue +10 -10
- package/src/views/user/data_type_setting/editDialog.vue +6 -6
- package/src/views/user/ea/eagroup/eaobj_list.vue +25 -25
- package/src/views/user/ea/eagroup/edit.vue +48 -42
- package/src/views/user/ea/eaobj/edit.vue +6 -5
- package/src/views/user/ea/eaobj/list.vue +9 -8
- package/src/views/user/extend_datasource/dialog.vue +19 -24
- package/src/views/user/extend_datasource/edit.vue +20 -16
- package/src/views/user/extend_datasource/list.vue +23 -24
- package/src/views/user/fieldTranslation/editDialog.vue +28 -28
- package/src/views/user/fieldTranslation/list.vue +59 -57
- package/src/views/user/field_values_invisible/edit.vue +15 -14
- package/src/views/user/field_values_invisible/list.vue +23 -22
- package/src/views/user/file_type/edit.vue +12 -21
- package/src/views/user/file_type/list.vue +21 -36
- package/src/views/user/file_type/userEdit.vue +14 -9
- package/src/views/user/file_view_area/edit.vue +3 -3
- package/src/views/user/file_view_area/itemEdit.vue +11 -9
- package/src/views/user/file_view_area/list.vue +17 -16
- package/src/views/user/file_view_ins/list.vue +29 -28
- package/src/views/user/file_view_ins/propertiesDialog.vue +15 -15
- package/src/views/user/form/form_template/edit.vue +1 -1
- package/src/views/user/form/form_template/itemEdit.vue +1 -1
- package/src/views/user/form/form_template/itemList.vue +2 -2
- package/src/views/user/form/form_template/list.vue +3 -3
- package/src/views/user/form/form_type/edit.vue +1 -1
- package/src/views/user/form/form_type/list.vue +1 -1
- package/src/views/user/form/report_requestaccess/edit.vue +1 -1
- package/src/views/user/form/report_requestaccess/list.vue +1 -1
- package/src/views/user/form/vform/designer.vue +2 -0
- package/src/views/user/form/vform/out_render.vue +1 -0
- package/src/views/user/form/vform/render.vue +1 -0
- package/src/views/user/form/view/list.vue +2 -1
- package/src/views/user/groups/dialog.vue +159 -0
- package/src/views/user/groups/edit.vue +131 -0
- package/src/views/user/groups/list.vue +167 -0
- package/src/views/user/home/index.vue +1 -2
- package/src/views/user/lang_tag/dialog.vue +185 -0
- package/src/views/user/lang_tag/edit.vue +138 -0
- package/src/views/user/lang_tag/list.vue +170 -0
- package/src/views/user/language_setting/edit.vue +11 -9
- package/src/views/user/language_setting/list.vue +20 -18
- package/src/views/user/login/default.vue +129 -0
- package/src/views/user/login/index.vue +3 -117
- package/src/views/user/menu/list.vue +39 -55
- package/src/views/user/mobile_menu/list.vue +18 -54
- package/src/views/user/notify_message/dialog.vue +1 -1
- package/src/views/user/notify_message/infoDialog.vue +1 -1
- package/src/views/user/notify_message/list.vue +24 -23
- package/src/views/user/notify_template/edit.vue +13 -11
- package/src/views/user/notify_template/list.vue +19 -16
- package/src/views/user/oplog/edit.vue +12 -12
- package/src/views/user/oplog/list.vue +20 -18
- package/src/views/user/position/dialog.vue +6 -6
- package/src/views/user/position/edit.vue +11 -8
- package/src/views/user/position/list.vue +11 -11
- package/src/views/user/project_tag/dialog.vue +11 -9
- package/src/views/user/project_tag/edit.vue +8 -6
- package/src/views/user/project_tag/list.vue +15 -12
- package/src/views/user/push_setting/edit.vue +20 -17
- package/src/views/user/push_setting/list.vue +1 -1
- package/src/views/user/role/dialog.vue +11 -11
- package/src/views/user/role/edit.vue +14 -12
- package/src/views/user/role/list.vue +14 -12
- package/src/views/user/sale_org/dialog.vue +12 -12
- package/src/views/user/sale_org/list.vue +43 -48
- package/src/views/user/system_notice/edit.vue +13 -11
- package/src/views/user/system_notice/infoDialog.vue +2 -2
- package/src/views/user/system_notice/list.vue +19 -17
- package/src/views/user/system_parameter/edit.vue +7 -6
- package/src/views/user/system_parameter/list.vue +12 -10
- package/src/views/user/user/edit.vue +1 -1
- package/src/views/user/user/form_edit.vue +50 -7
- package/src/views/user/user/form_list.vue +34 -132
- package/src/views/user/user/info.vue +20 -19
- package/src/views/user/user/infoEdit.vue +18 -18
- package/src/views/user/user/infoIframeDialog.vue +1 -1
- package/src/views/user/user/modifyPasswordDialog.vue +9 -9
- package/src/views/user/wf/iframe/dialog.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/edit.vue +11 -10
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +14 -13
- package/src/views/user/wf/wf_auto_submit_data/list.vue +43 -41
- package/src/views/user/wf/wf_diy_attribute/edit.vue +11 -8
- package/src/views/user/wf/wf_manage/list.vue +66 -61
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/dialog.vue +11 -11
- package/src/views/user/wf/wf_obj_config/edit.vue +12 -9
- package/src/views/user/wf/wf_obj_config/edit_form.vue +11 -9
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +31 -27
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +8 -6
- package/src/views/user/wf/wf_obj_config/list.vue +42 -41
- package/src/views/user/wf/wf_obj_config/list_form.vue +14 -12
- package/src/views/user/wf/wf_param/edit.vue +7 -5
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +9 -24
- package/src/views/user/wf/wf_work_calendar/list.vue +6 -3
- package/src/views/user/home/distributor.vue +0 -849
|
@@ -12,19 +12,22 @@
|
|
|
12
12
|
<template #form>
|
|
13
13
|
<tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
|
|
14
14
|
<template #buttonLeft>
|
|
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'}"
|
|
19
|
+
:parent-target="_self"/>
|
|
18
20
|
</template>
|
|
19
21
|
<template #buttonRight>
|
|
20
22
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
21
|
-
plain>{{$t1('重置')}}
|
|
23
|
+
plain>{{ $t1('重置') }}
|
|
22
24
|
</vxe-button>
|
|
23
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent"
|
|
25
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
26
|
+
{{ $t1('搜索') }}
|
|
24
27
|
</vxe-button>
|
|
25
28
|
</template>
|
|
26
29
|
<template #tag>
|
|
27
|
-
<vxe-form-item title="
|
|
30
|
+
<vxe-form-item :title="$t1('项目标签')+':'" field="tag">
|
|
28
31
|
<template v-slot>
|
|
29
32
|
<el-input
|
|
30
33
|
class="search-input"
|
|
@@ -95,18 +98,18 @@ export default {
|
|
|
95
98
|
columns: [
|
|
96
99
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
97
100
|
{
|
|
98
|
-
title: '标签名称',
|
|
101
|
+
title: this.$t1('标签名称'),
|
|
99
102
|
field: 'tagName',
|
|
100
103
|
width: 150,
|
|
101
104
|
fixed: 'left'
|
|
102
105
|
},
|
|
103
106
|
{
|
|
104
|
-
title: '标签编码',
|
|
107
|
+
title: this.$t1('标签编码'),
|
|
105
108
|
field: 'tagCode',
|
|
106
109
|
width: 150
|
|
107
110
|
},
|
|
108
111
|
{
|
|
109
|
-
title: '标签说明',
|
|
112
|
+
title: this.$t1('标签说明'),
|
|
110
113
|
field: 'tagRemark',
|
|
111
114
|
width: 250
|
|
112
115
|
},
|
|
@@ -141,7 +144,7 @@ export default {
|
|
|
141
144
|
this.openEditDialog(row.id);
|
|
142
145
|
}}
|
|
143
146
|
>
|
|
144
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
147
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
145
148
|
popper-class="tooltip-skin">
|
|
146
149
|
<i class="el-icon-edit"/>
|
|
147
150
|
</el-tooltip>
|
|
@@ -153,9 +156,9 @@ export default {
|
|
|
153
156
|
}
|
|
154
157
|
],
|
|
155
158
|
searchColumns: [
|
|
156
|
-
{title:
|
|
157
|
-
{title:
|
|
158
|
-
{title:
|
|
159
|
+
{title: this.$t1('标签名称'), field: "tagName", type: "input", common: true},
|
|
160
|
+
{title: this.$t1('标签编码'), field: "tagCode", type: "input", common: true},
|
|
161
|
+
{title: this.$t1('标签说明'), field: "tagRemark", type: "input", common: true}
|
|
159
162
|
]
|
|
160
163
|
};
|
|
161
164
|
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
|
@@ -4,15 +4,17 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? $t1('
|
|
7
|
+
{{ dataId ? $t1('查看推送数据设置') : $t1('新增推送数据设置') }}
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="warning" class="button-sty" icon="el-icon-copy-document" @click="copy" v-if="!!dataId"
|
|
10
|
+
<el-button type="warning" class="button-sty" icon="el-icon-copy-document" @click="copy" v-if="!!dataId">
|
|
11
|
+
{{ $t1('复制') }}
|
|
11
12
|
</el-button>
|
|
12
13
|
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
13
|
-
{{$t1('重置')}}
|
|
14
|
+
{{ $t1('重置') }}
|
|
15
|
+
</el-button>
|
|
16
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
|
|
14
17
|
</el-button>
|
|
15
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
16
18
|
</div>
|
|
17
19
|
</div>
|
|
18
20
|
<div class="d-cont">
|
|
@@ -23,7 +25,7 @@
|
|
|
23
25
|
<tr>
|
|
24
26
|
<th>
|
|
25
27
|
<em class="f-red">*</em>
|
|
26
|
-
推送数据类型
|
|
28
|
+
{{ $t1('推送数据类型') }}
|
|
27
29
|
</th>
|
|
28
30
|
<td>
|
|
29
31
|
<el-form-item prop="dataType" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
</td>
|
|
33
35
|
<th>
|
|
34
36
|
<em class="f-red">*</em>
|
|
35
|
-
推送组织编码
|
|
37
|
+
{{ $t1('推送组织编码') }}
|
|
36
38
|
</th>
|
|
37
39
|
<td>
|
|
38
40
|
<el-form-item prop="pushCompanyCode" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -41,7 +43,7 @@
|
|
|
41
43
|
</td>
|
|
42
44
|
<th v-if="pushSetting.pushType==0">
|
|
43
45
|
<em class="f-red">*</em>
|
|
44
|
-
调度任务编码
|
|
46
|
+
{{ $t1('调度任务编码') }}
|
|
45
47
|
</th>
|
|
46
48
|
<td v-if="pushSetting.pushType==0">
|
|
47
49
|
<el-form-item prop="taskCode" :rules="[{ required: pushSetting.pushType==0, trigger: 'blur' }]">
|
|
@@ -50,7 +52,7 @@
|
|
|
50
52
|
</td>
|
|
51
53
|
<th v-if="pushSetting.pushType==0">
|
|
52
54
|
<em class="f-red">*</em>
|
|
53
|
-
Api请求编码
|
|
55
|
+
{{ $t1('Api请求编码') }}
|
|
54
56
|
</th>
|
|
55
57
|
<td v-if="pushSetting.pushType==0">
|
|
56
58
|
<el-form-item prop="apiReqCode" :rules="[{ required: pushSetting.pushType==0, trigger: 'blur' }]">
|
|
@@ -61,25 +63,25 @@
|
|
|
61
63
|
<tr>
|
|
62
64
|
<th>
|
|
63
65
|
<em class="f-red">*</em>
|
|
64
|
-
是否启用
|
|
66
|
+
{{ $t1('是否启用') }}
|
|
65
67
|
</th>
|
|
66
68
|
<td>
|
|
67
69
|
<el-form-item prop="enabled" :rules="[{ required: true, trigger: 'blur' }]">
|
|
68
70
|
<el-radio-group v-model="pushSetting.enabled">
|
|
69
|
-
<el-radio :label="true"
|
|
70
|
-
<el-radio :label="false"
|
|
71
|
+
<el-radio :label="true">{{ $t1('启用') }}</el-radio>
|
|
72
|
+
<el-radio :label="false">{{ $t1('禁用') }}</el-radio>
|
|
71
73
|
</el-radio-group>
|
|
72
74
|
</el-form-item>
|
|
73
75
|
</td>
|
|
74
76
|
<th>
|
|
75
77
|
<em class="f-red">*</em>
|
|
76
|
-
推送类型
|
|
78
|
+
{{ $t1('推送类型') }}
|
|
77
79
|
</th>
|
|
78
80
|
<td colspan="3">
|
|
79
81
|
<el-form-item prop="pushType" :rules="[{ required: true, trigger: 'blur' }]">
|
|
80
82
|
<el-radio-group v-model="pushSetting.pushType" @change="changePushType">
|
|
81
|
-
<el-radio :label="0"
|
|
82
|
-
<el-radio :label="1"
|
|
83
|
+
<el-radio :label="0">{{ $t1('异步推送') }}</el-radio>
|
|
84
|
+
<el-radio :label="1">{{ $t1('同步调用') }}</el-radio>
|
|
83
85
|
</el-radio-group>
|
|
84
86
|
</el-form-item>
|
|
85
87
|
</td>
|
|
@@ -87,11 +89,12 @@
|
|
|
87
89
|
<tr>
|
|
88
90
|
<th>
|
|
89
91
|
<em class="f-red">*</em>
|
|
90
|
-
脚本备注
|
|
92
|
+
{{ $t1('脚本备注') }}
|
|
91
93
|
</th>
|
|
92
94
|
<td colspan="7">
|
|
93
95
|
<el-form-item prop="remark" :rules="[{ required: true, trigger: 'blur' }]">
|
|
94
|
-
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
96
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
97
|
+
v-model="pushSetting.remark"
|
|
95
98
|
clearable></el-input>
|
|
96
99
|
</el-form-item>
|
|
97
100
|
</td>
|
|
@@ -99,7 +102,7 @@
|
|
|
99
102
|
<tr>
|
|
100
103
|
<th>
|
|
101
104
|
<em class="f-red">*</em>
|
|
102
|
-
脚本
|
|
105
|
+
{{ $t1('脚本') }}
|
|
103
106
|
<scriptDescriptionButton path="static/readme/PushSetting.txt"></scriptDescriptionButton>
|
|
104
107
|
<scriptTestButton :script.sync="pushSetting.script"></scriptTestButton>
|
|
105
108
|
</th>
|
|
@@ -12,7 +12,7 @@
|
|
|
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">{{ $t1('新增') }}
|
|
16
16
|
</vxe-button>
|
|
17
17
|
<base-table-export :option="{ title: '推送数据导出', targetRef: 'table-m1'}" :parent-target="_self"/>
|
|
18
18
|
</div>
|
|
@@ -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,7 +27,7 @@
|
|
|
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
33
|
{{ $t1('搜索') }}
|
|
@@ -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="name">
|
|
40
40
|
<template v-slot>
|
|
41
41
|
<el-input v-model="formData.name" size="small" clearable/>
|
|
42
42
|
</template>
|
|
43
43
|
</vxe-form-item>
|
|
44
|
-
<vxe-form-item title="
|
|
44
|
+
<vxe-form-item :title="$t1('角色编码')+':'" field="code">
|
|
45
45
|
<template v-slot>
|
|
46
46
|
<el-input v-model="formData.code" size="small" clearable/>
|
|
47
47
|
</template>
|
|
@@ -123,24 +123,24 @@ export default {
|
|
|
123
123
|
},
|
|
124
124
|
columns: [
|
|
125
125
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
126
|
-
{title: '用户角色', field: 'name', width: 250, fixed: 'left'},
|
|
127
|
-
{title: '角色编码', field: 'code', width: 150},
|
|
128
|
-
{title: '角色描述', field: 'description', width: 150},
|
|
126
|
+
{title: this.$t1('用户角色'), field: 'name', width: 250, fixed: 'left'},
|
|
127
|
+
{title: this.$t1('角色编码'), field: 'code', width: 150},
|
|
128
|
+
{title: this.$t1('角色描述'), field: 'description', width: 150},
|
|
129
129
|
{
|
|
130
|
-
title: '是否内置',
|
|
130
|
+
title: this.$t1('是否内置'),
|
|
131
131
|
field: 'systems',
|
|
132
132
|
width: 150,
|
|
133
133
|
slots: {
|
|
134
134
|
default: ({row}) => {
|
|
135
135
|
if (row.systems) {
|
|
136
|
-
return '是';
|
|
136
|
+
return this.$t1('是');
|
|
137
137
|
} else {
|
|
138
|
-
return '否';
|
|
138
|
+
return this.$t1('否');
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
-
{title: '所属组织', field: 'companyName', width: 150},
|
|
143
|
+
{title: this.$t1('所属组织'), field: 'companyName', width: 150},
|
|
144
144
|
{title: this.$t1('创建时间'), field: 'createDate', width: 150},
|
|
145
145
|
{
|
|
146
146
|
width: 47,
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? $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">
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
11
|
+
{{ $t1('重置') }}
|
|
12
|
+
</el-button>
|
|
13
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
|
|
11
14
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
15
|
</div>
|
|
14
16
|
</div>
|
|
15
17
|
<baseTabs>
|
|
@@ -20,7 +22,7 @@
|
|
|
20
22
|
<tr>
|
|
21
23
|
<th>
|
|
22
24
|
<em class="f-red">*</em>
|
|
23
|
-
用户角色
|
|
25
|
+
{{ $t1('用户角色') }}
|
|
24
26
|
</th>
|
|
25
27
|
<td>
|
|
26
28
|
<el-form-item prop="name" :rules="[{ required: true, trigger: 'blur' }]" v-if="!role.systems">
|
|
@@ -30,7 +32,7 @@
|
|
|
30
32
|
{{ role.name }}
|
|
31
33
|
</template>
|
|
32
34
|
</td>
|
|
33
|
-
<th
|
|
35
|
+
<th>{{ $t1('角色编码') }}</th>
|
|
34
36
|
<td>
|
|
35
37
|
<el-form-item prop="code" :rules="[{ required: false, trigger: 'blur' }]" v-if="!dataId">
|
|
36
38
|
<el-input type="text" autocomplete="off" v-model="role.code" clearable/>
|
|
@@ -39,19 +41,19 @@
|
|
|
39
41
|
{{ role.code }}
|
|
40
42
|
</template>
|
|
41
43
|
</td>
|
|
42
|
-
<th
|
|
44
|
+
<th>{{ $t1('角色描述') }}</th>
|
|
43
45
|
<td>
|
|
44
46
|
<el-form-item prop="description" :rules="[{ required: false, trigger: 'blur' }]">
|
|
45
47
|
<el-input type="text" autocomplete="off" v-model="role.description" clearable/>
|
|
46
48
|
</el-form-item>
|
|
47
49
|
</td>
|
|
48
|
-
<th
|
|
50
|
+
<th>{{ $t1('是否内置') }}</th>
|
|
49
51
|
<td>
|
|
50
52
|
<template v-if="role.systems">
|
|
51
|
-
是
|
|
53
|
+
{{ $t1('是') }}
|
|
52
54
|
</template>
|
|
53
55
|
<template v-else>
|
|
54
|
-
否
|
|
56
|
+
{{ $t1('否') }}
|
|
55
57
|
</template>
|
|
56
58
|
</td>
|
|
57
59
|
</tr>
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
</table>
|
|
70
72
|
</template>
|
|
71
73
|
</baseTabPane>
|
|
72
|
-
<baseTabPane label="菜单信息">
|
|
74
|
+
<baseTabPane :label="$t1('菜单信息')">
|
|
73
75
|
<template #default>
|
|
74
76
|
<div class="role-box">
|
|
75
77
|
<div class="item" v-for="item in basicMenus" :key="item.id">
|
|
@@ -106,7 +108,7 @@
|
|
|
106
108
|
</div>
|
|
107
109
|
<div class="item">
|
|
108
110
|
<div class="t">
|
|
109
|
-
首页设置
|
|
111
|
+
{{ $t1('首页设置') }}
|
|
110
112
|
<i class="fr" @click="visibleHome = !visibleHome"
|
|
111
113
|
:class="!visibleHome?'el-icon-arrow-up':'el-icon-arrow-down'"></i>
|
|
112
114
|
</div>
|
|
@@ -124,7 +126,7 @@
|
|
|
124
126
|
</div>
|
|
125
127
|
</template>
|
|
126
128
|
</baseTabPane>
|
|
127
|
-
<baseTabPane label="移动端菜单信息">
|
|
129
|
+
<baseTabPane :label="$t1('移动端菜单信息')">
|
|
128
130
|
<template #default>
|
|
129
131
|
<div class="role-box">
|
|
130
132
|
<div class="item" v-for="(item,index) in allMobileMenus" :key="index">
|
|
@@ -12,9 +12,11 @@
|
|
|
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'}"
|
|
19
|
+
:parent-target="_self"/>
|
|
18
20
|
</div>
|
|
19
21
|
<div class="fr">
|
|
20
22
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
@@ -27,12 +29,12 @@
|
|
|
27
29
|
</div>
|
|
28
30
|
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
29
31
|
@submit="searchEvent" @reset="searchEvent">
|
|
30
|
-
<vxe-form-item title="
|
|
32
|
+
<vxe-form-item :title="$t1('用户角色')+':'" field="name">
|
|
31
33
|
<template v-slot>
|
|
32
34
|
<el-input v-model="formData.name" size="small" clearable/>
|
|
33
35
|
</template>
|
|
34
36
|
</vxe-form-item>
|
|
35
|
-
<vxe-form-item title="
|
|
37
|
+
<vxe-form-item :title="$t1('角色编码')+':'" field="code">
|
|
36
38
|
<template v-slot>
|
|
37
39
|
<el-input v-model="formData.code" size="small" clearable/>
|
|
38
40
|
</template>
|
|
@@ -98,37 +100,37 @@ export default {
|
|
|
98
100
|
resizable: false
|
|
99
101
|
},
|
|
100
102
|
{
|
|
101
|
-
title: '用户角色',
|
|
103
|
+
title: this.$t1('用户角色'),
|
|
102
104
|
field: 'name',
|
|
103
105
|
width: 150,
|
|
104
106
|
sortable: true,
|
|
105
107
|
fixed: 'left'
|
|
106
108
|
},
|
|
107
109
|
{
|
|
108
|
-
title: '角色编码',
|
|
110
|
+
title: this.$t1('角色编码'),
|
|
109
111
|
field: 'code',
|
|
110
112
|
width: 150
|
|
111
113
|
},
|
|
112
114
|
{
|
|
113
|
-
title: '角色描述',
|
|
115
|
+
title: this.$t1('角色描述'),
|
|
114
116
|
field: 'description',
|
|
115
117
|
|
|
116
118
|
},
|
|
117
119
|
{
|
|
118
|
-
title: '是否内置',
|
|
120
|
+
title: this.$t1('是否内置'),
|
|
119
121
|
field: 'systems',
|
|
120
122
|
width: 150,
|
|
121
123
|
slots: {
|
|
122
124
|
default: ({row}) => {
|
|
123
125
|
if (row.systems) {
|
|
124
|
-
return
|
|
126
|
+
return this.$t1('是');
|
|
125
127
|
} else {
|
|
126
|
-
return
|
|
128
|
+
return this.$t1('否');
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
131
|
}
|
|
130
132
|
},
|
|
131
|
-
{title: '所属组织', field: 'companyName', width: 150},
|
|
133
|
+
{title: this.$t1('所属组织'), field: 'companyName', width: 150},
|
|
132
134
|
{
|
|
133
135
|
field: 'createDate',
|
|
134
136
|
title: this.$t1('创建时间'),
|
|
@@ -149,7 +151,7 @@ export default {
|
|
|
149
151
|
this.openEditDialog(row.id);
|
|
150
152
|
}}
|
|
151
153
|
>
|
|
152
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
154
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
153
155
|
popper-class="tooltip-skin">
|
|
154
156
|
<i class="el-icon-edit"/>
|
|
155
157
|
</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,16 +27,16 @@
|
|
|
27
27
|
<div class="clearfix screen-btns">
|
|
28
28
|
<div class="fr">
|
|
29
29
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
30
|
-
plain>{{ $
|
|
30
|
+
plain>{{ $t1('重置') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
|
-
{{ $
|
|
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="$
|
|
39
|
+
<vxe-form-item :title="$t1('机构名称')+''" field="name">
|
|
40
40
|
<template v-slot>
|
|
41
41
|
<el-input v-model="formData.name" size="small" clearable/>
|
|
42
42
|
</template>
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
</div>
|
|
54
54
|
</label>
|
|
55
55
|
<div class="multipleChoice">
|
|
56
|
-
<el-tooltip :enterable="false" effect="dark" :content="$
|
|
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">
|
|
@@ -134,7 +134,7 @@ export default {
|
|
|
134
134
|
columns: [
|
|
135
135
|
{type: 'checkbox', width: 50, resizable: false, fixed: 'left'},
|
|
136
136
|
{
|
|
137
|
-
title: this.$
|
|
137
|
+
title: this.$t1('机构名称'),
|
|
138
138
|
field: 'name',
|
|
139
139
|
width: 250,
|
|
140
140
|
fixed: 'left',
|
|
@@ -155,24 +155,24 @@ export default {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
|
-
{title: this.$
|
|
159
|
-
{title: this.$
|
|
158
|
+
{title: this.$t1('机构编码'), field: 'sn', width: 200},
|
|
159
|
+
{title: this.$t1('所属组织'), field: 'companyName', width: 150},
|
|
160
160
|
{
|
|
161
|
-
title: this.$
|
|
161
|
+
title: this.$t1('负责人'),
|
|
162
162
|
field: 'directorName',
|
|
163
163
|
width: 150,
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
|
-
title: this.$
|
|
166
|
+
title: this.$t1('授权角色'),
|
|
167
167
|
field: 'roleName',
|
|
168
168
|
width: 150,
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
title: this.$
|
|
171
|
+
title: this.$t1('自然省份'),
|
|
172
172
|
field: 'areaName',
|
|
173
173
|
width: 150,
|
|
174
174
|
},
|
|
175
|
-
{title: this.$
|
|
175
|
+
{title: this.$t1('上级机构'), field: 'treePathName', width: 200},
|
|
176
176
|
{
|
|
177
177
|
width: 47,
|
|
178
178
|
fixed: 'right',
|