cloud-web-corejs 1.0.17 → 1.0.19
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/jsonImport/index.js +3 -1
- package/src/components/jsonImport/mixins.js +16 -16
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
- package/src/layout/components/Sidebar/default.vue +10 -4
- package/src/router/modules/customer.js +8 -8
- package/src/router/modules/system.js +1 -1
- package/src/utils/aes.js +1 -0
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -4
- package/src/views/bd/setting/bd_attach_setting/edit.vue +3 -3
- package/src/views/bd/setting/bd_attach_setting/list.vue +3 -3
- package/src/views/bd/setting/form_script/dialog.vue +14 -12
- package/src/views/bd/setting/form_script/edit.vue +6 -5
- package/src/views/bd/setting/form_script/edit1.vue +4 -4
- package/src/views/bd/setting/form_script/form_list.vue +3 -3
- package/src/views/bd/setting/form_script/list.vue +4 -4
- package/src/views/bd/setting/form_script/list1.vue +4 -4
- package/src/views/bd/setting/form_script/list2.vue +1 -1
- package/src/views/bd/setting/form_template/dialog.vue +24 -17
- package/src/views/bd/setting/form_template/edit.vue +3 -3
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +1 -1
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +5 -5
- package/src/views/bd/setting/form_template/itemEdit.vue +3 -3
- package/src/views/bd/setting/form_template/itemList.vue +3 -3
- package/src/views/bd/setting/form_template/list.vue +4 -4
- package/src/views/bd/setting/form_template/preformDialog.vue +2 -2
- package/src/views/bd/setting/menu_kind/authDialog.vue +2 -2
- package/src/views/bd/setting/menu_kind/dialog.vue +23 -16
- package/src/views/bd/setting/menu_kind/list.vue +4 -4
- package/src/views/bd/setting/table_model/dialog.vue +4 -4
- package/src/views/bd/setting/table_model/edit.vue +1123 -1123
- package/src/views/bd/setting/table_model/list.vue +4 -4
- package/src/views/bd/setting/table_model/zdDialog.vue +4 -4
- package/src/views/mobile/user/area/dialog.vue +3 -2
- package/src/views/mobile/user/user/dialog.vue +3 -2
- package/src/views/support/export_template/edit.vue +4 -4
- package/src/views/support/export_template/list.vue +12 -12
- package/src/views/user/access_log/edit.vue +2 -2
- package/src/views/user/access_log/list.vue +8 -8
- package/src/views/user/access_log/statistics_list.vue +16 -11
- package/src/views/user/api_request/edit.vue +7 -4
- package/src/views/user/api_request/list.vue +7 -5
- package/src/views/user/area/dialog.vue +4 -4
- package/src/views/user/area_attribute/configDialog.vue +319 -319
- package/src/views/user/area_attribute/edit.vue +2 -2
- package/src/views/user/area_attribute/list.vue +1 -1
- package/src/views/user/attachment/uploadDialog.vue +11 -11
- package/src/views/user/bill_setting/edit.vue +6 -5
- package/src/views/user/bill_setting/h5_ModifyDialog.vue +5 -3
- package/src/views/user/bill_setting/h5_view.vue +4 -4
- package/src/views/user/bill_setting/itemViewDialog.vue +1 -1
- package/src/views/user/bill_setting/list.vue +5 -4
- package/src/views/user/bill_setting/queryDialog.vue +3 -3
- package/src/views/user/bill_setting/render.vue +6 -6
- package/src/views/user/bill_setting/template2.json +44 -11
- package/src/views/user/bill_setting/userDialog.vue +4 -4
- package/src/views/user/code_rules/edit.vue +3 -3
- package/src/views/user/code_rules/list.vue +3 -3
- package/src/views/user/commMenu/index.vue +2 -2
- package/src/views/user/common_attribute/edit.vue +3 -3
- package/src/views/user/common_attribute/itemEdit.vue +3 -3
- package/src/views/user/common_attribute/list.vue +3 -3
- package/src/views/user/common_script/edit.vue +5 -4
- package/src/views/user/common_script/list.vue +14 -13
- package/src/views/user/company_info/dialog.vue +138 -131
- package/src/views/user/company_info/edit.vue +2 -2
- package/src/views/user/company_info/view.vue +1 -1
- package/src/views/user/country/dialog.vue +6 -6
- package/src/views/user/country/edit.vue +8 -7
- package/src/views/user/country/list.vue +170 -160
- package/src/views/user/data_type_setting/dialog.vue +10 -7
- package/src/views/user/data_type_setting/editDialog.vue +12 -11
- package/src/views/user/ea/eagroup/eaobj_list.vue +331 -310
- package/src/views/user/ea/eagroup/edit.vue +492 -475
- package/src/views/user/ea/eaobj/edit.vue +153 -148
- package/src/views/user/ea/eaobj/list.vue +147 -135
- package/src/views/user/error-page/401.vue +42 -34
- package/src/views/user/error-page/404.vue +19 -3
- package/src/views/user/extend_datasource/dialog.vue +124 -116
- package/src/views/user/extend_datasource/edit.vue +5 -4
- package/src/views/user/extend_datasource/list.vue +3 -3
- package/src/views/user/fieldTranslation/editDialog.vue +2 -2
- package/src/views/user/fieldTranslation/list.vue +4 -3
- package/src/views/user/field_values_invisible/edit.vue +85 -83
- package/src/views/user/field_values_invisible/list.vue +32 -21
- package/src/views/user/file_type/edit.vue +3 -3
- package/src/views/user/file_type/list.vue +7 -4
- package/src/views/user/file_type/userEdit.vue +188 -188
- package/src/views/user/file_view_area/edit.vue +3 -3
- package/src/views/user/file_view_area/itemEdit.vue +168 -165
- package/src/views/user/file_view_area/list.vue +3 -3
- package/src/views/user/file_view_ins/list.vue +55 -36
- package/src/views/user/file_view_ins/propertiesDialog.vue +218 -218
- package/src/views/user/form/form_ins_list/edit.vue +421 -421
- package/src/views/user/form/form_template/dialog.vue +24 -17
- package/src/views/user/form/form_template/edit.vue +7 -4
- package/src/views/user/form/form_template/itemEdit.vue +3 -3
- package/src/views/user/form/form_template/itemList.vue +3 -3
- package/src/views/user/form/form_template/list.vue +5 -4
- package/src/views/user/form/form_template_field/dialog.vue +11 -8
- package/src/views/user/form/form_type/dialog.vue +134 -127
- package/src/views/user/form/form_type/edit.vue +4 -4
- package/src/views/user/form/form_type/editDialog.vue +10 -9
- package/src/views/user/form/form_type/list.vue +128 -118
- package/src/views/user/form/report_requestaccess/dialog.vue +106 -99
- package/src/views/user/form/report_requestaccess/edit.vue +272 -234
- package/src/views/user/form/report_requestaccess/list.vue +29 -18
- package/src/views/user/form/vform/designer.vue +164 -164
- package/src/views/user/form/vform/formFieldMapping.js +151 -169
- package/src/views/user/form/vform/out_render.vue +3 -2
- package/src/views/user/form/vform/render.vue +2 -2
- package/src/views/user/form/view/edit.vue +7 -7
- package/src/views/user/form/view/list.vue +2 -2
- package/src/views/user/home/distributor.vue +374 -118
- package/src/views/user/home/index.vue +1 -1
- package/src/views/user/language_setting/edit.vue +167 -166
- package/src/views/user/language_setting/list.vue +3 -3
- package/src/views/user/ledger_library/list.vue +2 -2
- package/src/views/user/ledger_library/private_list.vue +3 -3
- package/src/views/user/login/auth-redirect.vue +1 -1
- package/src/views/user/login/index.vue +1 -1
- package/src/views/user/login/indexMixin.js +4 -1
- package/src/views/user/menu/list.vue +3 -3
- package/src/views/user/mobile_menu/list.vue +2 -2
- package/src/views/user/notify_message/dialog.vue +8 -6
- package/src/views/user/notify_message/list.vue +4 -3
- package/src/views/user/notify_template/edit.vue +185 -185
- package/src/views/user/notify_template/list.vue +4 -4
- package/src/views/user/oplog/edit.vue +108 -103
- package/src/views/user/oplog/list.vue +3 -3
- package/src/views/user/outLink/form_view.vue +144 -143
- package/src/views/user/outLink/index.vue +7 -5
- package/src/views/user/outLink/view.vue +119 -117
- package/src/views/user/position/dialog.vue +145 -138
- package/src/views/user/position/edit.vue +4 -4
- package/src/views/user/position/list.vue +170 -160
- package/src/views/user/project_tag/dialog.vue +5 -5
- package/src/views/user/project_tag/edit.vue +3 -3
- package/src/views/user/project_tag/list.vue +3 -3
- package/src/views/user/push_setting/edit.vue +7 -4
- package/src/views/user/push_setting/list.vue +44 -34
- package/src/views/user/redirect/index.vue +4 -4
- package/src/views/user/role/dialog.vue +10 -7
- package/src/views/user/role/edit.vue +427 -427
- package/src/views/user/role/list.vue +125 -114
- package/src/views/user/sale_org/dialog.vue +3 -3
- package/src/views/user/sale_org/list.vue +11 -11
- package/src/views/user/sale_org/moveDialog.vue +2 -2
- package/src/views/user/sale_org_net/list.vue +9 -9
- package/src/views/user/system_notice/edit.vue +184 -184
- package/src/views/user/system_notice/list.vue +156 -145
- package/src/views/user/system_parameter/edit.vue +140 -137
- package/src/views/user/system_parameter/list.vue +131 -120
- package/src/views/user/user/dialog.vue +31 -24
- package/src/views/user/user/edit.vue +1021 -1019
- package/src/views/user/user/form_edit.vue +481 -483
- package/src/views/user/user/form_list.vue +5 -5
- package/src/views/user/user/info.vue +271 -256
- package/src/views/user/user/infoContent.vue +12 -11
- package/src/views/user/user/infoEdit.vue +111 -92
- package/src/views/user/user/inner_list.vue +1 -1
- package/src/views/user/user/list.vue +55 -50
- package/src/views/user/user/list2.vue +1 -1
- package/src/views/user/user/modifyPasswordDialog.vue +3 -3
- package/src/views/user/user/out_list.vue +1 -1
- package/src/views/user/wf/formCustDialog/list.vue +13 -15
- package/src/views/user/wf/iframe/index.vue +12 -12
- package/src/views/user/wf/iframe/index2.vue +2 -2
- package/src/views/user/wf/wf_auto_submit_data/edit.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/list.vue +8 -6
- package/src/views/user/wf/wf_diy_attribute/edit.vue +5 -5
- package/src/views/user/wf/wf_manage/list.vue +5 -4
- package/src/views/user/wf/wf_obj_config/activiti_wf.vue +11 -10
- package/src/views/user/wf/wf_obj_config/dialog.vue +10 -7
- package/src/views/user/wf/wf_obj_config/edit.vue +7 -4
- package/src/views/user/wf/wf_obj_config/edit_form.vue +70 -63
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +3 -3
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +3 -3
- package/src/views/user/wf/wf_obj_config/list.vue +4 -4
- package/src/views/user/wf/wf_obj_config/list_form.vue +22 -22
- package/src/views/user/wf/wf_param/edit.vue +4 -4
- package/src/views/user/wf/wf_work_calendar/components/calendar.vue +27 -13
- package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +25 -10
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +8 -5
- package/src/views/user/wf/wf_work_calendar/date.js +10 -10
- package/src/views/user/wf/wf_work_calendar/list.vue +9 -4
|
@@ -1,32 +1,40 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="常规" name="first">
|
|
5
|
-
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
+
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
|
|
6
|
+
@reload="$reloadHandle"></editView>
|
|
6
7
|
</el-tab-pane>
|
|
7
|
-
<el-tab-pane label="列表" name="second">
|
|
8
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
8
9
|
<div class="grid-height">
|
|
9
|
-
<vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
10
|
+
<vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
11
|
+
@custom="$vxeTableUtil.customHandle">
|
|
10
12
|
<template #form>
|
|
11
13
|
<div class="clearfix screen-btns">
|
|
12
14
|
<div class="fl">
|
|
13
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
|
|
14
|
-
|
|
15
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">新增
|
|
16
|
+
</vxe-button>
|
|
17
|
+
<base-table-export :option="{ title: '用户角色导出', targetRef: 'table-m1'}" :parent-target="_self"/>
|
|
15
18
|
</div>
|
|
16
19
|
<div class="fr">
|
|
17
|
-
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
18
|
-
|
|
20
|
+
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
21
|
+
plain>{{ $t1('重置') }}
|
|
22
|
+
</vxe-button>
|
|
23
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
24
|
+
{{ $t1('搜索') }}
|
|
25
|
+
</vxe-button>
|
|
19
26
|
</div>
|
|
20
27
|
</div>
|
|
21
|
-
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
28
|
+
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
29
|
+
@submit="searchEvent" @reset="searchEvent">
|
|
22
30
|
<vxe-form-item title="用户角色:" field="name">
|
|
23
31
|
<template v-slot>
|
|
24
|
-
<el-input v-model="formData.name" size="small" clearable
|
|
32
|
+
<el-input v-model="formData.name" size="small" clearable/>
|
|
25
33
|
</template>
|
|
26
34
|
</vxe-form-item>
|
|
27
35
|
<vxe-form-item title="角色编码:" field="code">
|
|
28
36
|
<template v-slot>
|
|
29
|
-
<el-input v-model="formData.code" size="small" clearable
|
|
37
|
+
<el-input v-model="formData.code" size="small" clearable/>
|
|
30
38
|
</template>
|
|
31
39
|
</vxe-form-item>
|
|
32
40
|
</vxe-form>
|
|
@@ -40,120 +48,123 @@
|
|
|
40
48
|
|
|
41
49
|
<script>
|
|
42
50
|
import editView from './edit.vue';
|
|
51
|
+
|
|
43
52
|
export default {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
title: '用户角色',
|
|
92
|
-
field: 'name',
|
|
93
|
-
width: 150,
|
|
94
|
-
sortable: true,
|
|
95
|
-
fixed: 'left'
|
|
96
|
-
},
|
|
53
|
+
name: 'role:list',
|
|
54
|
+
components: {
|
|
55
|
+
editView
|
|
56
|
+
},
|
|
57
|
+
created() {
|
|
58
|
+
},
|
|
59
|
+
mounted() {
|
|
60
|
+
this.initTableList();
|
|
61
|
+
},
|
|
62
|
+
data() {
|
|
63
|
+
return {
|
|
64
|
+
activeName: 'second',
|
|
65
|
+
dataId: 0,
|
|
66
|
+
showEdit: false,
|
|
67
|
+
vxeOption: {},
|
|
68
|
+
formData: {}
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
methods: {
|
|
72
|
+
searchEvent() {
|
|
73
|
+
this.$refs['table-m1'].commitProxy('reload');
|
|
74
|
+
},
|
|
75
|
+
resetEvent() {
|
|
76
|
+
this.formData = {};
|
|
77
|
+
this.$refs['table-m1'].commitProxy('reload');
|
|
78
|
+
},
|
|
79
|
+
openEditDialog(id) {
|
|
80
|
+
this.dataId = !id || typeof id == 'object' ? '' : id;
|
|
81
|
+
this.activeName = 'first';
|
|
82
|
+
this.$openEditView('showEdit');
|
|
83
|
+
},
|
|
84
|
+
initTableList() {
|
|
85
|
+
let tableOption = {
|
|
86
|
+
vue: this,
|
|
87
|
+
tableRef: 'table-m1',
|
|
88
|
+
tableName: 'basic_role_list-m1',
|
|
89
|
+
path: USER_PREFIX + '/role/listCurrentPage',
|
|
90
|
+
param: () => {
|
|
91
|
+
return this.formData;
|
|
92
|
+
},
|
|
93
|
+
columns: [
|
|
94
|
+
{
|
|
95
|
+
type: 'checkbox',
|
|
96
|
+
fixed: 'left',
|
|
97
|
+
width: 48,
|
|
98
|
+
resizable: false
|
|
99
|
+
},
|
|
97
100
|
{
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
title: '用户角色',
|
|
102
|
+
field: 'name',
|
|
103
|
+
width: 150,
|
|
104
|
+
sortable: true,
|
|
105
|
+
fixed: 'left'
|
|
101
106
|
},
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
107
|
+
{
|
|
108
|
+
title: '角色编码',
|
|
109
|
+
field: 'code',
|
|
110
|
+
width: 150
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
title: '角色描述',
|
|
114
|
+
field: 'description',
|
|
105
115
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
title: '是否内置',
|
|
109
119
|
field: 'systems',
|
|
110
120
|
width: 150,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
if(row.systems){
|
|
121
|
+
slots: {
|
|
122
|
+
default: ({row}) => {
|
|
123
|
+
if (row.systems) {
|
|
114
124
|
return "是";
|
|
115
|
-
}else{
|
|
125
|
+
} else {
|
|
116
126
|
return "否";
|
|
117
127
|
}
|
|
118
128
|
}
|
|
119
|
-
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{title: '所属组织', field: 'companyName', width: 150},
|
|
132
|
+
{
|
|
133
|
+
field: 'createDate',
|
|
134
|
+
title: '创建时间',
|
|
135
|
+
width: 150
|
|
120
136
|
},
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
|
153
|
-
this.vxeOption = opts;
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
}
|
|
137
|
+
{
|
|
138
|
+
width: 47,
|
|
139
|
+
fixed: 'right',
|
|
140
|
+
title: '',
|
|
141
|
+
sortable: false,
|
|
142
|
+
slots: {
|
|
143
|
+
default: ({row}) => {
|
|
144
|
+
return [
|
|
145
|
+
<a
|
|
146
|
+
href="javascript:void(0);"
|
|
147
|
+
class="a-link"
|
|
148
|
+
onclick={() => {
|
|
149
|
+
this.openEditDialog(row.id);
|
|
150
|
+
}}
|
|
151
|
+
>
|
|
152
|
+
<el-tooltip enterable={false} effect="dark" content="查看" placement="top"
|
|
153
|
+
popper-class="tooltip-skin">
|
|
154
|
+
<i class="el-icon-edit"/>
|
|
155
|
+
</el-tooltip>
|
|
156
|
+
</a>
|
|
157
|
+
];
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
};
|
|
163
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
|
164
|
+
this.vxeOption = opts;
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
}
|
|
157
168
|
};
|
|
158
169
|
</script>
|
|
159
170
|
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
65
65
|
<span slot="footer" class="dialog-footer">
|
|
66
|
-
<span class="fl tips" v-if="!selectMulti">{{ $
|
|
66
|
+
<span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
|
|
67
67
|
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
68
68
|
<i class="el-icon-close el-icon"></i>
|
|
69
|
-
{{ $
|
|
69
|
+
{{ $t1('取 消') }}
|
|
70
70
|
</el-button>
|
|
71
71
|
<el-button type="primary" @click="dialogPrimary" class="button-sty">
|
|
72
72
|
<i class="el-icon-check el-icon"></i>
|
|
73
|
-
{{ $
|
|
73
|
+
{{ $t1('确 定') }}
|
|
74
74
|
</el-button>
|
|
75
75
|
</span>
|
|
76
76
|
</el-dialog>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<div class="fl"></div>
|
|
11
11
|
<div class="fr">
|
|
12
12
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
13
|
-
plain
|
|
13
|
+
plain>{{$t1('重置')}}
|
|
14
14
|
</vxe-button>
|
|
15
15
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
16
16
|
</vxe-button>
|
|
@@ -162,11 +162,11 @@
|
|
|
162
162
|
<span slot="footer" class="dialog-footer">
|
|
163
163
|
<el-button type="primary" plain class="button-sty" @click="showChangeParentDialog = false">
|
|
164
164
|
<i class="el-icon-close el-icon"></i>
|
|
165
|
-
取 消
|
|
165
|
+
{{ $t1('取 消') }}
|
|
166
166
|
</el-button>
|
|
167
167
|
<el-button type="primary" @click="changeRowParent" class="button-sty">
|
|
168
168
|
<i class="el-icon-check el-icon"></i>
|
|
169
|
-
确 定
|
|
169
|
+
{{ $t1('确 定') }}
|
|
170
170
|
</el-button>
|
|
171
171
|
</span>
|
|
172
172
|
</el-dialog>
|
|
@@ -189,11 +189,11 @@
|
|
|
189
189
|
<span slot="footer" class="dialog-footer">
|
|
190
190
|
<el-button type="primary" plain class="button-sty" @click="showSortRowDialog = false">
|
|
191
191
|
<i class="el-icon-close el-icon"></i>
|
|
192
|
-
取 消
|
|
192
|
+
{{ $t1('取 消') }}
|
|
193
193
|
</el-button>
|
|
194
194
|
<el-button type="primary" @click="saveSort" class="button-sty">
|
|
195
195
|
<i class="el-icon-check el-icon"></i>
|
|
196
|
-
确 定
|
|
196
|
+
{{ $t1('确 定') }}
|
|
197
197
|
</el-button>
|
|
198
198
|
</span>
|
|
199
199
|
</el-dialog>
|
|
@@ -217,7 +217,7 @@ import areaDialog from '../../../views/user/area/dialog'
|
|
|
217
217
|
|
|
218
218
|
export default {
|
|
219
219
|
name: 'sale_org:list',
|
|
220
|
-
components: {saleOrgDialog, userDialog, roleDialog,areaDialog},
|
|
220
|
+
components: {saleOrgDialog, userDialog, roleDialog, areaDialog},
|
|
221
221
|
mixins: [tableTreeMixins],
|
|
222
222
|
mounted() {
|
|
223
223
|
this.initTableList();
|
|
@@ -243,7 +243,7 @@ export default {
|
|
|
243
243
|
showDirectorDialog: false,
|
|
244
244
|
operateIndex: null,
|
|
245
245
|
showRoleDialog: false,
|
|
246
|
-
showAreaDialog:false
|
|
246
|
+
showAreaDialog: false
|
|
247
247
|
};
|
|
248
248
|
},
|
|
249
249
|
beforeDestroy() {
|
|
@@ -552,7 +552,7 @@ export default {
|
|
|
552
552
|
},
|
|
553
553
|
openDirectorDialog(row) {
|
|
554
554
|
let tableData = this.$refs['table-m1'].getTableData().tableData;
|
|
555
|
-
let index = tableData.findIndex(item=>item._X_ROW_KEY == row._X_ROW_KEY);
|
|
555
|
+
let index = tableData.findIndex(item => item._X_ROW_KEY == row._X_ROW_KEY);
|
|
556
556
|
this.operateIndex = index;
|
|
557
557
|
this.showDirectorDialog = true;
|
|
558
558
|
},
|
|
@@ -567,7 +567,7 @@ export default {
|
|
|
567
567
|
},
|
|
568
568
|
openRoleDialog(row) {
|
|
569
569
|
let tableData = this.$refs['table-m1'].getTableData().tableData;
|
|
570
|
-
let index = tableData.findIndex(item=>item._X_ROW_KEY == row._X_ROW_KEY);
|
|
570
|
+
let index = tableData.findIndex(item => item._X_ROW_KEY == row._X_ROW_KEY);
|
|
571
571
|
this.operateIndex = index;
|
|
572
572
|
this.showRoleDialog = true;
|
|
573
573
|
},
|
|
@@ -582,7 +582,7 @@ export default {
|
|
|
582
582
|
},
|
|
583
583
|
openAreaDialog(row) {
|
|
584
584
|
let tableData = this.$refs['table-m1'].getTableData().tableData;
|
|
585
|
-
let index = tableData.findIndex(item=>item._X_ROW_KEY == row._X_ROW_KEY);
|
|
585
|
+
let index = tableData.findIndex(item => item._X_ROW_KEY == row._X_ROW_KEY);
|
|
586
586
|
this.operateIndex = index;
|
|
587
587
|
this.showAreaDialog = true;
|
|
588
588
|
},
|
|
@@ -593,7 +593,7 @@ export default {
|
|
|
593
593
|
let fullData = $grid.getTableData().tableData;
|
|
594
594
|
let item = fullData[this.operateIndex];
|
|
595
595
|
item.areaId = row.id;
|
|
596
|
-
this.$set(item,"areaName",row.name)
|
|
596
|
+
this.$set(item, "areaName", row.name)
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
}
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
<span slot="footer" class="dialog-footer">
|
|
51
51
|
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
52
52
|
<i class="el-icon-close el-icon"></i>
|
|
53
|
-
取 消
|
|
53
|
+
{{ $t1('取 消') }}
|
|
54
54
|
</el-button>
|
|
55
55
|
<el-button type="primary" class="button-sty" @click="dialogPrimary">
|
|
56
56
|
<i class="el-icon-check el-icon"></i>
|
|
57
|
-
确 定
|
|
57
|
+
{{ $t1('确 定') }}
|
|
58
58
|
</el-button>
|
|
59
59
|
</span>
|
|
60
60
|
</el-dialog>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<div class="fl"></div>
|
|
11
11
|
<div class="fr">
|
|
12
12
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
13
|
-
plain
|
|
13
|
+
plain>{{$t1('重置')}}
|
|
14
14
|
</vxe-button>
|
|
15
15
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
16
16
|
</vxe-button>
|
|
@@ -148,11 +148,11 @@
|
|
|
148
148
|
<span slot="footer" class="dialog-footer">
|
|
149
149
|
<el-button type="primary" plain class="button-sty" @click="showChangeParentDialog = false">
|
|
150
150
|
<i class="el-icon-close el-icon"></i>
|
|
151
|
-
取 消
|
|
151
|
+
{{$t1('取 消')}}
|
|
152
152
|
</el-button>
|
|
153
153
|
<el-button type="primary" @click="changeRowParent" class="button-sty">
|
|
154
154
|
<i class="el-icon-check el-icon"></i>
|
|
155
|
-
确 定
|
|
155
|
+
{{$t1('确 定')}}
|
|
156
156
|
</el-button>
|
|
157
157
|
</span>
|
|
158
158
|
</el-dialog>
|
|
@@ -175,11 +175,11 @@
|
|
|
175
175
|
<span slot="footer" class="dialog-footer">
|
|
176
176
|
<el-button type="primary" plain class="button-sty" @click="showSortRowDialog = false">
|
|
177
177
|
<i class="el-icon-close el-icon"></i>
|
|
178
|
-
取 消
|
|
178
|
+
{{$t1('取 消')}}
|
|
179
179
|
</el-button>
|
|
180
180
|
<el-button type="primary" @click="saveSort" class="button-sty">
|
|
181
181
|
<i class="el-icon-check el-icon"></i>
|
|
182
|
-
确 定
|
|
182
|
+
{{$t1('确 定')}}
|
|
183
183
|
</el-button>
|
|
184
184
|
</span>
|
|
185
185
|
</el-dialog>
|
|
@@ -525,7 +525,7 @@ export default {
|
|
|
525
525
|
},
|
|
526
526
|
openDirectorDialog(row) {
|
|
527
527
|
let tableData = this.$refs['table-m1'].getTableData().tableData;
|
|
528
|
-
let index = tableData.findIndex(item=>item._X_ROW_KEY == row._X_ROW_KEY);
|
|
528
|
+
let index = tableData.findIndex(item => item._X_ROW_KEY == row._X_ROW_KEY);
|
|
529
529
|
this.operateIndex = index;
|
|
530
530
|
this.showDirectorDialog = true;
|
|
531
531
|
},
|
|
@@ -540,7 +540,7 @@ export default {
|
|
|
540
540
|
},
|
|
541
541
|
openRoleDialog(row) {
|
|
542
542
|
let tableData = this.$refs['table-m1'].getTableData().tableData;
|
|
543
|
-
let index = tableData.findIndex(item=>item._X_ROW_KEY == row._X_ROW_KEY);
|
|
543
|
+
let index = tableData.findIndex(item => item._X_ROW_KEY == row._X_ROW_KEY);
|
|
544
544
|
this.operateIndex = index;
|
|
545
545
|
this.showRoleDialog = true;
|
|
546
546
|
},
|
|
@@ -555,7 +555,7 @@ export default {
|
|
|
555
555
|
},
|
|
556
556
|
openAreaDialog(row) {
|
|
557
557
|
let tableData = this.$refs['table-m1'].getTableData().tableData;
|
|
558
|
-
let index = tableData.findIndex(item=>item._X_ROW_KEY == row._X_ROW_KEY);
|
|
558
|
+
let index = tableData.findIndex(item => item._X_ROW_KEY == row._X_ROW_KEY);
|
|
559
559
|
this.operateIndex = index;
|
|
560
560
|
this.showAreaDialog = true;
|
|
561
561
|
},
|
|
@@ -566,7 +566,7 @@ export default {
|
|
|
566
566
|
let fullData = $grid.getTableData().tableData;
|
|
567
567
|
let item = fullData[this.operateIndex];
|
|
568
568
|
item.areaId = row.id;
|
|
569
|
-
this.$set(item,"areaName",row.name)
|
|
569
|
+
this.$set(item, "areaName", row.name)
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
}
|