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
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
<el-form ref="editForm" :model="user">
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
|
-
<i class="el-icon-info"
|
|
7
|
-
{{ dataId ? '查看' : '新增' }}用户
|
|
6
|
+
<i class="el-icon-info"/>
|
|
7
|
+
{{ dataId ? $t1('查看') : $t1('新增') }} 用户
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="reloadContent" icon="el-icon-refresh-right"
|
|
11
|
-
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="reloadContent" 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('保存')}}</el-button>
|
|
12
14
|
</div>
|
|
13
15
|
</div>
|
|
14
16
|
<div class="d-cont">
|
|
@@ -16,92 +18,109 @@
|
|
|
16
18
|
<div class="title first"><b>基本信息</b></div>
|
|
17
19
|
<table class="table-detail">
|
|
18
20
|
<tbody>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
<
|
|
92
|
-
<
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
<
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
|
|
21
|
+
<tr>
|
|
22
|
+
<th>
|
|
23
|
+
<em class="f-red">*</em>
|
|
24
|
+
登录名
|
|
25
|
+
</th>
|
|
26
|
+
<td>
|
|
27
|
+
<el-form-item prop="loginAccount" :rules="[{ required: true, trigger: 'blur' }]">
|
|
28
|
+
<template v-if="dataId">
|
|
29
|
+
<el-input size="small" v-model="user.loginAccount" maxlength="255" autocomplete="off"
|
|
30
|
+
lay-verify="required" required="" :readonly="true"/>
|
|
31
|
+
</template>
|
|
32
|
+
<template v-else>
|
|
33
|
+
<el-input size="small" v-model="user.loginAccount" maxlength="255" autocomplete="off"
|
|
34
|
+
lay-verify="required" required="" clearable/>
|
|
35
|
+
</template>
|
|
36
|
+
</el-form-item>
|
|
37
|
+
</td>
|
|
38
|
+
<th>手机</th>
|
|
39
|
+
<td>
|
|
40
|
+
<el-form-item prop="mobile" :rules="[{ required: false, trigger: 'blur' }]">
|
|
41
|
+
<el-input size="small" v-model="user.mobile" type="text" maxlength="255" autocomplete="off"
|
|
42
|
+
lay-verify="required|phone" clearable/>
|
|
43
|
+
</el-form-item>
|
|
44
|
+
</td>
|
|
45
|
+
<th>密码</th>
|
|
46
|
+
<td>
|
|
47
|
+
<el-form-item prop="password" :rules="passRules">
|
|
48
|
+
<el-input size="small" type="password" v-model="user.password" show-password maxlength="255"
|
|
49
|
+
autocomplete="off" auto-complete="new-password" clearable/>
|
|
50
|
+
</el-form-item>
|
|
51
|
+
</td>
|
|
52
|
+
<th>确认密码</th>
|
|
53
|
+
<td>
|
|
54
|
+
<el-form-item prop="rePassword" :rules="pass2Rules">
|
|
55
|
+
<el-input
|
|
56
|
+
size="small"
|
|
57
|
+
type="password"
|
|
58
|
+
v-model="user.rePassword"
|
|
59
|
+
show-password
|
|
60
|
+
maxlength="255"
|
|
61
|
+
autocomplete="off"
|
|
62
|
+
auto-complete="new-password"
|
|
63
|
+
lay-verify="confirmPass"
|
|
64
|
+
clearable
|
|
65
|
+
/>
|
|
66
|
+
</el-form-item>
|
|
67
|
+
</td>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<th>
|
|
71
|
+
<em class="f-red">*</em>
|
|
72
|
+
姓名
|
|
73
|
+
</th>
|
|
74
|
+
<td>
|
|
75
|
+
<el-form-item prop="nickName" :rules="[{ required: true, trigger: 'blur' }]">
|
|
76
|
+
<el-input size="small" v-model="user.nickName" maxlength="200" lay-verify="required" required=""
|
|
77
|
+
clearable/>
|
|
78
|
+
</el-form-item>
|
|
79
|
+
</td>
|
|
80
|
+
<th>性别</th>
|
|
81
|
+
<td>
|
|
82
|
+
<el-radio-group v-model="user.gender">
|
|
83
|
+
<el-radio :label="1">男</el-radio>
|
|
84
|
+
<el-radio :label="2">女</el-radio>
|
|
85
|
+
</el-radio-group>
|
|
86
|
+
</td>
|
|
87
|
+
<th>出生日期</th>
|
|
88
|
+
<td>
|
|
89
|
+
<el-date-picker size="small" v-model="user.birth" type="date" placeholder="选择日期"
|
|
90
|
+
value-format="yyyy-MM-dd" clearable/>
|
|
91
|
+
</td>
|
|
92
|
+
<th>邮编</th>
|
|
93
|
+
<td>
|
|
94
|
+
<el-input size="small" id="zipCode" v-model="user.zipCode" name="zipCode" maxlength="255" clearable/>
|
|
95
|
+
</td>
|
|
96
|
+
</tr>
|
|
97
|
+
<tr>
|
|
98
|
+
<th>地址</th>
|
|
99
|
+
<td colspan="3">
|
|
100
|
+
<el-input size="small" v-model="user.address" class="b" maxlength="255" clearable/>
|
|
101
|
+
</td>
|
|
102
|
+
<th>设置</th>
|
|
103
|
+
<td colspan="3">
|
|
104
|
+
<el-checkbox label="是否启用" v-model="user.enabled"></el-checkbox>
|
|
105
|
+
</td>
|
|
106
|
+
</tr>
|
|
107
|
+
<tr>
|
|
108
|
+
<th>头像</th>
|
|
109
|
+
<td colspan="7">
|
|
110
|
+
<baseUpload :limit="1" accept="image/png, image/jpeg" multi="false" :file.sync="user.headPhotoUrl"
|
|
111
|
+
dataType="medium"></baseUpload>
|
|
112
|
+
</td>
|
|
113
|
+
</tr>
|
|
114
|
+
<tr>
|
|
115
|
+
<th>创建人</th>
|
|
116
|
+
<td>{{ user.createBy }}</td>
|
|
117
|
+
<th>创建时间</th>
|
|
118
|
+
<td>{{ user.createDate }}</td>
|
|
119
|
+
<th>更新人</th>
|
|
120
|
+
<td>{{ user.modifyBy }}</td>
|
|
121
|
+
<th>更新时间</th>
|
|
122
|
+
<td>{{ user.modifyDate }}</td>
|
|
123
|
+
</tr>
|
|
105
124
|
</tbody>
|
|
106
125
|
</table>
|
|
107
126
|
</div>
|
|
@@ -153,8 +172,8 @@ export default {
|
|
|
153
172
|
companyInfoOption: {},
|
|
154
173
|
userRoleOption: {},
|
|
155
174
|
showContent: true,
|
|
156
|
-
passRules: [{
|
|
157
|
-
pass2Rules: [{
|
|
175
|
+
passRules: [{validator: validatePass, trigger: 'blur', required: false}],
|
|
176
|
+
pass2Rules: [{validator: validatePass2, trigger: 'blur', required: false}]
|
|
158
177
|
};
|
|
159
178
|
},
|
|
160
179
|
methods: {
|
|
@@ -1,13 +1,13 @@
|
|
|
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">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
5
|
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
|
|
6
6
|
@reload="$reloadHandle" :userType="userType" :flag="flag"></editView>
|
|
7
7
|
</el-tab-pane>
|
|
8
|
-
<el-tab-pane label="列表" name="second">
|
|
8
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
9
9
|
<div class="tree-box fl">
|
|
10
|
-
<div class="tit" @click="clearNodeClick"><b
|
|
10
|
+
<div class="tit" @click="clearNodeClick"><b>{{ $t1('机构分类') }}</b></div>
|
|
11
11
|
<el-tree
|
|
12
12
|
:props="defaultProps"
|
|
13
13
|
:load="loadNode"
|
|
@@ -41,18 +41,22 @@
|
|
|
41
41
|
<tableForm :formData.sync="formData" :advancedFormData.sync="advancedFormData"
|
|
42
42
|
@searchEvent="searchEvent" @resetEvent="resetEvent">
|
|
43
43
|
<template #buttonLeft>
|
|
44
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
|
|
44
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
|
|
45
|
+
{{ $t1('新增') }}
|
|
45
46
|
</vxe-button>
|
|
46
|
-
<base-table-export :option="{ title: '账户导出', targetRef: 'table-m1'}"
|
|
47
|
-
|
|
47
|
+
<base-table-export :option="{ title: $t1('账户导出'), targetRef: 'table-m1'}"
|
|
48
|
+
:parent-target="_self"/>
|
|
49
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-download" @click="importExcel">
|
|
50
|
+
{{ $t1('导入') }}
|
|
48
51
|
</vxe-button>
|
|
49
52
|
<base-input-export :option="exportOption" :parent-target="_self"/>
|
|
50
53
|
</template>
|
|
51
54
|
<template #buttonRight>
|
|
52
55
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
53
|
-
plain
|
|
56
|
+
plain>{{ $t1('重置') }}
|
|
54
57
|
</vxe-button>
|
|
55
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent"
|
|
58
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
59
|
+
{{ $t1('搜索') }}
|
|
56
60
|
</vxe-button>
|
|
57
61
|
</template>
|
|
58
62
|
</tableForm>
|
|
@@ -76,7 +80,7 @@ export default {
|
|
|
76
80
|
userType: {
|
|
77
81
|
type: Number
|
|
78
82
|
},
|
|
79
|
-
flag:String
|
|
83
|
+
flag: String
|
|
80
84
|
},
|
|
81
85
|
components: {
|
|
82
86
|
tableForm,
|
|
@@ -99,7 +103,7 @@ export default {
|
|
|
99
103
|
exportOption: {
|
|
100
104
|
prefix: USER_PREFIX,
|
|
101
105
|
tableRef: 'table-m1',
|
|
102
|
-
title: '用户',
|
|
106
|
+
title: this.$t1('用户'),
|
|
103
107
|
codes: ["USEREXCEL", "USERPDF", "USERPRINT", "USERHIPRINT", "USERJDPRINT", "USERPDDPRINT", "USERVIPPRINT"],
|
|
104
108
|
onBeforePrint: (done, {etCode, etType}) => {
|
|
105
109
|
/*etType: 2 菜鸟打印,3 网页打印,6 京东打印*/
|
|
@@ -231,30 +235,30 @@ export default {
|
|
|
231
235
|
fixed: 'left'
|
|
232
236
|
},
|
|
233
237
|
{
|
|
234
|
-
title: '登录名',
|
|
238
|
+
title: this.$t1('登录名'),
|
|
235
239
|
field: 'loginAccount',
|
|
236
240
|
width: 250,
|
|
237
241
|
fixed: 'left'
|
|
238
242
|
},
|
|
239
243
|
{
|
|
240
244
|
field: 'nickName',
|
|
241
|
-
title: '姓名',
|
|
245
|
+
title: this.$t1('姓名'),
|
|
242
246
|
width: 150
|
|
243
247
|
},
|
|
244
248
|
{
|
|
245
249
|
field: 'mobile',
|
|
246
|
-
title: '手机号',
|
|
250
|
+
title: this.$t1('手机号'),
|
|
247
251
|
width: 150
|
|
248
252
|
},
|
|
249
253
|
{
|
|
250
254
|
width: 150,
|
|
251
|
-
title: '头像',
|
|
255
|
+
title: this.$t1('头像'),
|
|
252
256
|
field: 'headPhotoUrl',
|
|
253
257
|
sortable: false,
|
|
254
258
|
slots: {
|
|
255
259
|
default: ({row, rowIndex}) => {
|
|
256
260
|
let option = {
|
|
257
|
-
title:
|
|
261
|
+
title: this.$t1('头像'),
|
|
258
262
|
rows: row.headPhotoUrl,
|
|
259
263
|
showViewButton: false
|
|
260
264
|
};
|
|
@@ -266,36 +270,36 @@ export default {
|
|
|
266
270
|
},
|
|
267
271
|
{
|
|
268
272
|
field: 'enabled',
|
|
269
|
-
title: '是否启用',
|
|
273
|
+
title: this.$t1('是否启用'),
|
|
270
274
|
width: 150,
|
|
271
275
|
slots: {
|
|
272
276
|
default: ({row}) => {
|
|
273
277
|
if (row.enabled) {
|
|
274
|
-
return [<div class="txt-status"
|
|
278
|
+
return [<div class="txt-status">{this.$t1('启用')}</div>];
|
|
275
279
|
} else {
|
|
276
|
-
return [<div class="txt-status s-3"
|
|
280
|
+
return [<div class="txt-status s-3">{this.$t1('禁用')}</div>];
|
|
277
281
|
}
|
|
278
282
|
}
|
|
279
283
|
}
|
|
280
284
|
},
|
|
281
285
|
{
|
|
282
286
|
field: 'roleNames',
|
|
283
|
-
title: '角色',
|
|
287
|
+
title: this.$t1('角色'),
|
|
284
288
|
width: 150
|
|
285
289
|
},
|
|
286
290
|
{
|
|
287
291
|
field: 'saleOrgNames',
|
|
288
|
-
title: '机构',
|
|
292
|
+
title: this.$t1('机构'),
|
|
289
293
|
width: 150
|
|
290
294
|
},
|
|
291
295
|
{
|
|
292
296
|
field: 'positionNames',
|
|
293
|
-
title: '岗位',
|
|
297
|
+
title: this.$t1('岗位'),
|
|
294
298
|
width: 150
|
|
295
299
|
},
|
|
296
300
|
{
|
|
297
301
|
field: 'birth',
|
|
298
|
-
title: '出生日期',
|
|
302
|
+
title: this.$t1('出生日期'),
|
|
299
303
|
width: 150,
|
|
300
304
|
slots: {
|
|
301
305
|
default: ({row}) => {
|
|
@@ -308,57 +312,57 @@ export default {
|
|
|
308
312
|
},
|
|
309
313
|
{
|
|
310
314
|
field: 'zipCode',
|
|
311
|
-
title: '邮编',
|
|
315
|
+
title: this.$t1('邮编'),
|
|
312
316
|
width: 150
|
|
313
317
|
},
|
|
314
318
|
{
|
|
315
319
|
field: 'address',
|
|
316
|
-
title: '地址',
|
|
320
|
+
title: this.$t1('地址'),
|
|
317
321
|
width: 150
|
|
318
322
|
},
|
|
319
323
|
{
|
|
320
324
|
field: 'empNo',
|
|
321
|
-
title: '员工编码',
|
|
325
|
+
title: this.$t1('员工编码'),
|
|
322
326
|
width: 150
|
|
323
327
|
},
|
|
324
328
|
{
|
|
325
329
|
field: 'gender',
|
|
326
|
-
title: '性别',
|
|
330
|
+
title: this.$t1('性别'),
|
|
327
331
|
width: 150,
|
|
328
332
|
slots: {
|
|
329
333
|
default: ({row}) => {
|
|
330
334
|
var val = row.gender;
|
|
331
335
|
if (val == 1) {
|
|
332
|
-
return '男';
|
|
336
|
+
return this.$t1('男');
|
|
333
337
|
} else if (val == 2) {
|
|
334
|
-
return '女';
|
|
338
|
+
return this.$t1('女');
|
|
335
339
|
}
|
|
336
340
|
}
|
|
337
341
|
}
|
|
338
342
|
},
|
|
339
343
|
{
|
|
340
344
|
field: 'companyNames',
|
|
341
|
-
title: '所属组织',
|
|
345
|
+
title: this.$t1('所属组织'),
|
|
342
346
|
width: 250
|
|
343
347
|
},
|
|
344
348
|
{
|
|
345
349
|
field: 'createBy',
|
|
346
|
-
title: '创建人',
|
|
350
|
+
title: this.$t1('创建人'),
|
|
347
351
|
width: 150
|
|
348
352
|
},
|
|
349
353
|
{
|
|
350
354
|
field: 'modifyBy',
|
|
351
|
-
title: '更新人',
|
|
355
|
+
title: this.$t1('更新人'),
|
|
352
356
|
width: 150
|
|
353
357
|
},
|
|
354
358
|
{
|
|
355
359
|
field: 'modifyDate',
|
|
356
|
-
title: '更新时间',
|
|
360
|
+
title: this.$t1('更新时间'),
|
|
357
361
|
width: 150
|
|
358
362
|
},
|
|
359
363
|
{
|
|
360
364
|
field: 'createDate',
|
|
361
|
-
title: '创建时间',
|
|
365
|
+
title: this.$t1('创建时间'),
|
|
362
366
|
width: 150
|
|
363
367
|
},
|
|
364
368
|
{
|
|
@@ -376,7 +380,8 @@ export default {
|
|
|
376
380
|
this.openEditDialog(row.id);
|
|
377
381
|
}}
|
|
378
382
|
>
|
|
379
|
-
<el-tooltip enterable={false} enterable={false} effect="dark" content=
|
|
383
|
+
<el-tooltip enterable={false} enterable={false} effect="dark" content={this.$t1('查看')}
|
|
384
|
+
placement="top"
|
|
380
385
|
popper-class="tooltip-skin">
|
|
381
386
|
<i class="el-icon-edit"/>
|
|
382
387
|
</el-tooltip>
|
|
@@ -388,18 +393,18 @@ export default {
|
|
|
388
393
|
],
|
|
389
394
|
searchColumns: [
|
|
390
395
|
{
|
|
391
|
-
title:
|
|
396
|
+
title: this.$t1('机构名称'),
|
|
392
397
|
field: "saleOrgName",
|
|
393
398
|
type: "input",
|
|
394
399
|
common: true,
|
|
395
400
|
disabled: true,
|
|
396
401
|
defaultValueEnabled: false
|
|
397
402
|
},
|
|
398
|
-
{title:
|
|
399
|
-
{title:
|
|
400
|
-
{title:
|
|
403
|
+
{title: this.$t1('登录名'), field: "loginAccount", type: "input", common: true},
|
|
404
|
+
{title: this.$t1('姓名'), field: "nickName", type: "input", common: true},
|
|
405
|
+
{title: this.$t1('手机号'), field: "mobile", type: "input", common: true},
|
|
401
406
|
{
|
|
402
|
-
title:
|
|
407
|
+
title: this.$t1('角色'),
|
|
403
408
|
field: "roleCodes",
|
|
404
409
|
type: "select",
|
|
405
410
|
common: true,
|
|
@@ -414,23 +419,23 @@ export default {
|
|
|
414
419
|
return this.getDict()
|
|
415
420
|
}
|
|
416
421
|
},*/
|
|
417
|
-
{title:
|
|
422
|
+
{title: this.$t1('登录名(批量)'), field: "loginAccounts", type: "inputBatch", common: false},
|
|
418
423
|
{
|
|
419
|
-
title:
|
|
420
|
-
{label:
|
|
421
|
-
{label:
|
|
424
|
+
title: this.$t1('性别'), field: "gender", type: "select", common: false, itemOption: [
|
|
425
|
+
{label: this.$t1('男'), value: 1},
|
|
426
|
+
{label: this.$t1('女'), value: 2}
|
|
422
427
|
]
|
|
423
428
|
},
|
|
424
|
-
{title:
|
|
429
|
+
{title: this.$t1('邮编'), field: "zipCode", type: "input", common: false},
|
|
425
430
|
{
|
|
426
|
-
title:
|
|
427
|
-
{label:
|
|
428
|
-
{label:
|
|
431
|
+
title: this.$t1('是否启用'), field: "enabled", type: "select", common: false, itemOption: [
|
|
432
|
+
{label: this.$t1('启用'), value: true},
|
|
433
|
+
{label: this.$t1('禁用'), value: false}
|
|
429
434
|
]
|
|
430
435
|
}/*,
|
|
431
|
-
{title:
|
|
436
|
+
{title: this.$t1('客户名称'), field: "customerName", type: "input", common: true, slot: "customerName"},
|
|
432
437
|
{
|
|
433
|
-
title:
|
|
438
|
+
title: this.$t1('日期'),
|
|
434
439
|
field: "startDate",
|
|
435
440
|
field2: "endDate",
|
|
436
441
|
type: "dateRange",
|
|
@@ -438,7 +443,7 @@ export default {
|
|
|
438
443
|
widgetType: "date",
|
|
439
444
|
valueFormat: "yyyy-MM-dd"
|
|
440
445
|
},
|
|
441
|
-
{title:
|
|
446
|
+
{title: this.$t1('年份'), field: "year", type: "date", common: true, widgetType: "year", valueFormat: "yyyy"},*/
|
|
442
447
|
],
|
|
443
448
|
config: {
|
|
444
449
|
pagerConfig: {
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
<span slot="footer" class="dialog-footer">
|
|
46
46
|
<el-button type="primary" plain class="button-sty" @click="dialogClose" v-if="!modifyMust">
|
|
47
47
|
<i class="el-icon-close el-icon"></i>
|
|
48
|
-
取 消
|
|
48
|
+
{{ $t1('取 消') }}
|
|
49
49
|
</el-button>
|
|
50
50
|
<el-button type="primary" @click="saveData" class="button-sty">
|
|
51
51
|
<i class="el-icon-check el-icon"></i>
|
|
52
|
-
确 定
|
|
52
|
+
{{ $t1('确 定') }}
|
|
53
53
|
</el-button>
|
|
54
54
|
</span>
|
|
55
55
|
</el-dialog>
|
|
@@ -173,7 +173,7 @@ export default {
|
|
|
173
173
|
data: {},
|
|
174
174
|
success: res => {
|
|
175
175
|
let flag = 0;//0 不提示;1 提示但不强制修改,即弹框它可以点x关掉;2 提示且强制修改,即他不能关掉这个弹框,要输入密码,点确定才能关掉
|
|
176
|
-
if(res.objx){
|
|
176
|
+
if (res.objx) {
|
|
177
177
|
flag = res.objx.flag || 0;
|
|
178
178
|
}
|
|
179
179
|
if (flag == 1 || flag == 2) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
<div id="containt">
|
|
3
|
+
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
5
|
+
<div class="grid-height">
|
|
6
|
+
<iframe :src="url" style="width: 100%;height: 100%;"></iframe>
|
|
7
|
+
</div>
|
|
8
|
+
</el-tab-pane>
|
|
9
|
+
</el-tabs>
|
|
10
|
+
</div>
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
13
|
<script>
|
|
@@ -15,18 +15,16 @@ export default {
|
|
|
15
15
|
name: 'formCustDialog:list',
|
|
16
16
|
components: {},
|
|
17
17
|
created() {
|
|
18
|
-
|
|
18
|
+
this.url = process.env.VUE_APP_BASE_API + AGILEBPM_PREFIX + '/agilebpm-ui/form/formCustDialog/formCustDialogList.html';
|
|
19
19
|
},
|
|
20
20
|
mounted() {
|
|
21
21
|
},
|
|
22
22
|
data() {
|
|
23
23
|
return {
|
|
24
|
-
|
|
24
|
+
activeName: 'second',
|
|
25
25
|
url: '',
|
|
26
26
|
};
|
|
27
27
|
},
|
|
28
|
-
methods: {
|
|
29
|
-
|
|
30
|
-
}
|
|
28
|
+
methods: {}
|
|
31
29
|
};
|
|
32
|
-
</script>
|
|
30
|
+
</script>
|