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
|
@@ -10,34 +10,35 @@
|
|
|
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>{{$t1('重置')}}
|
|
13
|
+
plain>{{ $t1('重置') }}
|
|
14
14
|
</vxe-button>
|
|
15
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent"
|
|
15
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
16
|
+
{{ $t1('搜索') }}
|
|
16
17
|
</vxe-button>
|
|
17
18
|
</div>
|
|
18
19
|
</div>
|
|
19
20
|
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
20
21
|
@submit="searchEvent">
|
|
21
|
-
<vxe-form-item title="
|
|
22
|
+
<vxe-form-item :title="$t1('机构名称')+':'" field="name">
|
|
22
23
|
<template v-slot>
|
|
23
24
|
<el-input v-model="formData.name" size="small" clearable/>
|
|
24
25
|
</template>
|
|
25
26
|
</vxe-form-item>
|
|
26
|
-
<vxe-form-item title="
|
|
27
|
+
<vxe-form-item :title="$t1('机构编码')+':'" field="sn">
|
|
27
28
|
<template v-slot>
|
|
28
29
|
<el-input v-model="formData.sn" size="small" clearable/>
|
|
29
30
|
</template>
|
|
30
31
|
</vxe-form-item>
|
|
31
|
-
<vxe-form-item title="
|
|
32
|
+
<vxe-form-item :title="$t1('第三方机构编码')+':'" field="outSn">
|
|
32
33
|
<template v-slot>
|
|
33
34
|
<el-input v-model="formData.outSn" size="small" clearable/>
|
|
34
35
|
</template>
|
|
35
36
|
</vxe-form-item>
|
|
36
|
-
<vxe-form-item title="
|
|
37
|
+
<vxe-form-item :title="$t1('是否启用')+':'" field="enabled">
|
|
37
38
|
<template v-slot>
|
|
38
39
|
<el-select v-model="formData.enabled" clearable>
|
|
39
|
-
<el-option value="true" label="启用"></el-option>
|
|
40
|
-
<el-option value="false" label="禁用"></el-option>
|
|
40
|
+
<el-option value="true" :label="$t1('启用')"></el-option>
|
|
41
|
+
<el-option value="false" :label="$t1('禁用')"></el-option>
|
|
41
42
|
</el-select>
|
|
42
43
|
</template>
|
|
43
44
|
</vxe-form-item>
|
|
@@ -60,11 +61,11 @@
|
|
|
60
61
|
</a>
|
|
61
62
|
</template>
|
|
62
63
|
<template v-else>
|
|
63
|
-
<a class="a-link"
|
|
64
|
+
<a class="a-link" @click="insertChildEvent(obj)">
|
|
64
65
|
<el-tooltip :enterable="false" effect="dark" :content="$t1('新增')" placement="top"
|
|
65
66
|
popper-class="tooltip-skin"><i class="el-icon-circle-plus-outline"></i></el-tooltip>
|
|
66
67
|
</a>
|
|
67
|
-
<a @click="editRowEvent(obj)" class="a-link"
|
|
68
|
+
<a @click="editRowEvent(obj)" class="a-link" v-if="obj.row && obj.row.parent !== 0">
|
|
68
69
|
<el-tooltip :enterable="false" effect="dark" :content="$t1('行编辑')" placement="top"
|
|
69
70
|
popper-class="tooltip-skin"><i class="el-icon-edit-outline"></i></el-tooltip>
|
|
70
71
|
</a>
|
|
@@ -126,7 +127,7 @@
|
|
|
126
127
|
</el-tab-pane>
|
|
127
128
|
</el-tabs>
|
|
128
129
|
<el-dialog
|
|
129
|
-
title="切换上级机构"
|
|
130
|
+
:title="$t1('切换上级机构')"
|
|
130
131
|
:append-to-body="true"
|
|
131
132
|
:modal-append-to-body="true"
|
|
132
133
|
:close-on-click-modal="false"
|
|
@@ -139,10 +140,10 @@
|
|
|
139
140
|
>
|
|
140
141
|
<div class="cont">
|
|
141
142
|
<el-form :model="changeForm1">
|
|
142
|
-
<el-form-item label="当前机构">
|
|
143
|
+
<el-form-item :label="$t1('当前机构')">
|
|
143
144
|
<el-input v-model="changeForm1.sale_org.name" autocomplete="off" readonly></el-input>
|
|
144
145
|
</el-form-item>
|
|
145
|
-
<el-form-item label="上级机构">
|
|
146
|
+
<el-form-item :label="$t1('上级机构')">
|
|
146
147
|
<el-input
|
|
147
148
|
class="search-input"
|
|
148
149
|
max="200"
|
|
@@ -171,7 +172,7 @@
|
|
|
171
172
|
</span>
|
|
172
173
|
</el-dialog>
|
|
173
174
|
<el-dialog
|
|
174
|
-
title="排序"
|
|
175
|
+
:title="$t1('排序')"
|
|
175
176
|
:append-to-body="true"
|
|
176
177
|
:modal-append-to-body="true"
|
|
177
178
|
:close-on-click-modal="false"
|
|
@@ -261,6 +262,13 @@ export default {
|
|
|
261
262
|
},
|
|
262
263
|
initTableList() {
|
|
263
264
|
let that = this;
|
|
265
|
+
let typeMap = {
|
|
266
|
+
0: this.$t1('集团'),
|
|
267
|
+
1: this.$t1('事业部'),
|
|
268
|
+
2: this.$t1('分公司'),
|
|
269
|
+
3: this.$t1('部门'),
|
|
270
|
+
99: this.$t1('其他')
|
|
271
|
+
}
|
|
264
272
|
let tableOption = {
|
|
265
273
|
vue: this,
|
|
266
274
|
tableRef: 'table-m1',
|
|
@@ -281,7 +289,7 @@ export default {
|
|
|
281
289
|
columns: [
|
|
282
290
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
283
291
|
{
|
|
284
|
-
title: '机构名称',
|
|
292
|
+
title: this.$t1('机构名称'),
|
|
285
293
|
field: 'name',
|
|
286
294
|
width: 250,
|
|
287
295
|
fixed: 'left',
|
|
@@ -303,11 +311,11 @@ export default {
|
|
|
303
311
|
}
|
|
304
312
|
}
|
|
305
313
|
},
|
|
306
|
-
{field: 'sn', title: '机构编码', width: 250, editRender: {name: 'input'}},
|
|
307
|
-
{field: 'outSn', title: '第三方机构编码', width: 150, editRender: {name: 'input'}},
|
|
314
|
+
{field: 'sn', title: this.$t1('机构编码'), width: 250, editRender: {name: 'input'}},
|
|
315
|
+
{field: 'outSn', title: this.$t1('第三方机构编码'), width: 150, editRender: {name: 'input'}},
|
|
308
316
|
{
|
|
309
317
|
field: 'type',
|
|
310
|
-
title: '类型',
|
|
318
|
+
title: this.$t1('类型'),
|
|
311
319
|
width: 150,
|
|
312
320
|
editRender: {
|
|
313
321
|
name: '$select',
|
|
@@ -319,43 +327,30 @@ export default {
|
|
|
319
327
|
},
|
|
320
328
|
options: [
|
|
321
329
|
{
|
|
322
|
-
label:
|
|
330
|
+
label: typeMap[0],
|
|
323
331
|
value: 0
|
|
324
332
|
},
|
|
325
333
|
{
|
|
326
|
-
label:
|
|
334
|
+
label: typeMap[1],
|
|
327
335
|
value: 1
|
|
328
336
|
},
|
|
329
337
|
{
|
|
330
|
-
label:
|
|
338
|
+
label: typeMap[2],
|
|
331
339
|
value: 2
|
|
332
340
|
},
|
|
333
341
|
{
|
|
334
|
-
label:
|
|
342
|
+
label: typeMap[3],
|
|
335
343
|
value: 3
|
|
336
344
|
},
|
|
337
345
|
{
|
|
338
|
-
label:
|
|
346
|
+
label: typeMap[99],
|
|
339
347
|
value: 99
|
|
340
348
|
}
|
|
341
349
|
]
|
|
342
350
|
},
|
|
343
351
|
slots: {
|
|
344
352
|
default: ({row}) => {
|
|
345
|
-
|
|
346
|
-
let html = '';
|
|
347
|
-
if (val == '0') {
|
|
348
|
-
html = '集团';
|
|
349
|
-
} else if (val == '1') {
|
|
350
|
-
html = '事业部';
|
|
351
|
-
} else if (val == '2') {
|
|
352
|
-
html = '分公司';
|
|
353
|
-
} else if (val == '3') {
|
|
354
|
-
html = '部门';
|
|
355
|
-
} else if (val == '99') {
|
|
356
|
-
html = '其他';
|
|
357
|
-
}
|
|
358
|
-
return html;
|
|
353
|
+
return typeMap[row.type] || '';
|
|
359
354
|
}
|
|
360
355
|
}
|
|
361
356
|
},
|
|
@@ -385,15 +380,15 @@ export default {
|
|
|
385
380
|
slots: {
|
|
386
381
|
default: ({row}) => {
|
|
387
382
|
if (row.enabled) {
|
|
388
|
-
return [<div class="txt-status">{
|
|
383
|
+
return [<div class="txt-status">{this.$t1('启用')}</div>];
|
|
389
384
|
} else {
|
|
390
|
-
return [<div class="txt-status s-3">{
|
|
385
|
+
return [<div class="txt-status s-3">{this.$t1('禁用')}</div>];
|
|
391
386
|
}
|
|
392
387
|
}
|
|
393
388
|
}
|
|
394
389
|
},
|
|
395
390
|
{
|
|
396
|
-
title: '负责人',
|
|
391
|
+
title: this.$t1('负责人'),
|
|
397
392
|
field: 'directorName',
|
|
398
393
|
width: 150,
|
|
399
394
|
editRender: {name: 'input'},
|
|
@@ -402,7 +397,7 @@ export default {
|
|
|
402
397
|
}
|
|
403
398
|
},
|
|
404
399
|
{
|
|
405
|
-
title: '授权角色',
|
|
400
|
+
title: this.$t1('授权角色'),
|
|
406
401
|
field: 'roleName',
|
|
407
402
|
width: 150,
|
|
408
403
|
editRender: {name: 'input'},
|
|
@@ -411,7 +406,7 @@ export default {
|
|
|
411
406
|
}
|
|
412
407
|
},
|
|
413
408
|
{
|
|
414
|
-
title: '自然省份',
|
|
409
|
+
title: this.$t1('自然省份'),
|
|
415
410
|
field: 'areaName',
|
|
416
411
|
width: 150,
|
|
417
412
|
editRender: {name: 'input'},
|
|
@@ -419,8 +414,8 @@ export default {
|
|
|
419
414
|
edit: 'area'
|
|
420
415
|
}
|
|
421
416
|
},
|
|
422
|
-
{field: 'treePathName', title: '上级机构', width: 150},
|
|
423
|
-
{field: 'companyName', title: '所属组织', width: 150},
|
|
417
|
+
{field: 'treePathName', title: this.$t1('上级机构'), width: 150},
|
|
418
|
+
{field: 'companyName', title: this.$t1('所属组织'), width: 150},
|
|
424
419
|
{field: 'createDate', title: this.$t1('创建时间'), width: 150},
|
|
425
420
|
{field: 'modifyDate', title: this.$t1('更新时间'), width: 150},
|
|
426
421
|
{width: 300, title: '', fixed: 'right', sortable: false, slots: {default: 'operate'}}
|
|
@@ -437,7 +432,7 @@ export default {
|
|
|
437
432
|
},
|
|
438
433
|
changeRowParent() {
|
|
439
434
|
let that = this;
|
|
440
|
-
this.$baseConfirm('您确定提交修改吗?').then(() => {
|
|
435
|
+
this.$baseConfirm(this.$t1('您确定提交修改吗?')).then(() => {
|
|
441
436
|
that.$http({
|
|
442
437
|
url: 'changePage',
|
|
443
438
|
method: `post`,
|
|
@@ -504,7 +499,7 @@ export default {
|
|
|
504
499
|
},
|
|
505
500
|
header: () => {
|
|
506
501
|
return [
|
|
507
|
-
<vxe-tooltip v-model={this.showHelpTip2} content=
|
|
502
|
+
<vxe-tooltip v-model={this.showHelpTip2} content={this.$t1('按住后可以上下拖动排序!')} enterable>
|
|
508
503
|
<i
|
|
509
504
|
class="vxe-icon--question"
|
|
510
505
|
onClick={() => {
|
|
@@ -517,13 +512,13 @@ export default {
|
|
|
517
512
|
}
|
|
518
513
|
},
|
|
519
514
|
{
|
|
520
|
-
title: '机构名称',
|
|
515
|
+
title: this.$t1('机构名称'),
|
|
521
516
|
field: 'name',
|
|
522
517
|
width: 250
|
|
523
518
|
},
|
|
524
519
|
{
|
|
525
520
|
field: 'sn',
|
|
526
|
-
title: '机构编码',
|
|
521
|
+
title: this.$t1('机构编码'),
|
|
527
522
|
width: 250
|
|
528
523
|
}
|
|
529
524
|
],
|
|
@@ -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,28 +22,28 @@
|
|
|
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="title" :rules="[{ required: true, trigger: 'blur' }]">
|
|
27
29
|
<el-input type="text" autocomplete="off" v-model="system_notice.title" clearable/>
|
|
28
30
|
</el-form-item>
|
|
29
31
|
</td>
|
|
30
|
-
<th
|
|
32
|
+
<th>{{ $t1('副标题') }}</th>
|
|
31
33
|
<td>
|
|
32
34
|
<el-form-item prop="secondTitle" :rules="[{ required: false, trigger: 'blur' }]">
|
|
33
35
|
<el-input type="text" autocomplete="off" v-model="system_notice.secondTitle" clearable/>
|
|
34
36
|
</el-form-item>
|
|
35
37
|
</td>
|
|
36
|
-
<th
|
|
38
|
+
<th>{{ $t1('设置') }}</th>
|
|
37
39
|
<td colspan="3">
|
|
38
|
-
<el-checkbox label="是否发布" v-model="system_notice.publish"></el-checkbox>
|
|
39
|
-
<el-checkbox label="是否置顶" v-model="system_notice.top"></el-checkbox>
|
|
40
|
-
<el-checkbox label="重要" v-model="system_notice.important"></el-checkbox>
|
|
40
|
+
<el-checkbox :label="$t1('是否发布')" v-model="system_notice.publish"></el-checkbox>
|
|
41
|
+
<el-checkbox :label="$t1('是否置顶')" v-model="system_notice.top"></el-checkbox>
|
|
42
|
+
<el-checkbox :label="$t1('重要')" v-model="system_notice.important"></el-checkbox>
|
|
41
43
|
</td>
|
|
42
44
|
</tr>
|
|
43
45
|
<tr>
|
|
44
|
-
<th
|
|
46
|
+
<th>{{ $t1('附件') }}</th>
|
|
45
47
|
<td colspan="7">
|
|
46
48
|
<baseUpload accept="file" multi="true" :file.sync="sysNoticeAttachmentDTOs"></baseUpload>
|
|
47
49
|
</td>
|
|
@@ -60,7 +62,7 @@
|
|
|
60
62
|
</table>
|
|
61
63
|
</template>
|
|
62
64
|
</baseTabPane>
|
|
63
|
-
<baseTabPane label="内容">
|
|
65
|
+
<baseTabPane :label="$t1('内容')">
|
|
64
66
|
<template #default>
|
|
65
67
|
<table class="table-detail" style="width: 100%;">
|
|
66
68
|
<tbody>
|
|
@@ -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"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="item" v-for="(item, index) in page.records" :key="index" :class="{ on: currentIndex == index }"
|
|
18
18
|
@click="checkLine(item, index)">
|
|
19
19
|
<div class="name">
|
|
20
|
-
<em v-if="item.top"
|
|
20
|
+
<em v-if="item.top">{{ $t1('顶') }}</em>
|
|
21
21
|
{{ item.title }}
|
|
22
22
|
</div>
|
|
23
23
|
<p>{{ item.modifyDate ? item.modifyDate.substring(0, 10) : '' }}</p>
|
|
@@ -12,22 +12,24 @@
|
|
|
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"
|
|
21
|
-
plain>{{$t1('重置')}}
|
|
23
|
+
plain>{{ $t1('重置') }}
|
|
22
24
|
</vxe-button>
|
|
23
25
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
24
|
-
{{$t1('搜索')}}
|
|
26
|
+
{{ $t1('搜索') }}
|
|
25
27
|
</vxe-button>
|
|
26
28
|
</div>
|
|
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="title">
|
|
31
33
|
<template v-slot>
|
|
32
34
|
<el-input v-model="formData.title" size="small" clearable/>
|
|
33
35
|
</template>
|
|
@@ -93,7 +95,7 @@ export default {
|
|
|
93
95
|
columns: [
|
|
94
96
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
95
97
|
{
|
|
96
|
-
title: '标题',
|
|
98
|
+
title: this.$t1('标题'),
|
|
97
99
|
field: 'title',
|
|
98
100
|
width: 150,
|
|
99
101
|
sortable: true,
|
|
@@ -101,50 +103,50 @@ export default {
|
|
|
101
103
|
},
|
|
102
104
|
{
|
|
103
105
|
field: 'secondTitle',
|
|
104
|
-
title: '副标题',
|
|
106
|
+
title: this.$t1('副标题'),
|
|
105
107
|
width: 250
|
|
106
108
|
},
|
|
107
109
|
{
|
|
108
110
|
field: 'publish',
|
|
109
|
-
title: '是否发布',
|
|
111
|
+
title: this.$t1('是否发布'),
|
|
110
112
|
width: 150,
|
|
111
113
|
sortable: true,
|
|
112
114
|
slots: {
|
|
113
115
|
default: ({row}) => {
|
|
114
116
|
if (row.publish) {
|
|
115
|
-
return [<div class="txt-status"> 发布 </div>];
|
|
117
|
+
return [<div class="txt-status"> {this.$t1('发布')} </div>];
|
|
116
118
|
} else {
|
|
117
|
-
return [<div class="txt-status s-3"> 未发布 </div>];
|
|
119
|
+
return [<div class="txt-status s-3"> {this.$t1('未发布')} </div>];
|
|
118
120
|
}
|
|
119
121
|
}
|
|
120
122
|
}
|
|
121
123
|
},
|
|
122
124
|
{
|
|
123
125
|
field: 'top',
|
|
124
|
-
title: '置顶',
|
|
126
|
+
title: this.$t1('置顶'),
|
|
125
127
|
width: 150,
|
|
126
128
|
sortable: true,
|
|
127
129
|
slots: {
|
|
128
130
|
default: ({row}) => {
|
|
129
131
|
if (row.top) {
|
|
130
|
-
return [<div class="txt-status"> 是 </div>];
|
|
132
|
+
return [<div class="txt-status"> {this.$t1('是')} </div>];
|
|
131
133
|
} else {
|
|
132
|
-
return [<div class="txt-status s-3"> 否 </div>];
|
|
134
|
+
return [<div class="txt-status s-3"> {this.$t1('否')} </div>];
|
|
133
135
|
}
|
|
134
136
|
}
|
|
135
137
|
}
|
|
136
138
|
},
|
|
137
139
|
{
|
|
138
140
|
field: 'important',
|
|
139
|
-
title: '重要',
|
|
141
|
+
title: this.$t1('重要'),
|
|
140
142
|
width: 150,
|
|
141
143
|
sortable: true,
|
|
142
144
|
slots: {
|
|
143
145
|
default: ({row}) => {
|
|
144
146
|
if (row.important) {
|
|
145
|
-
return [<div class="txt-status"> 是 </div>];
|
|
147
|
+
return [<div class="txt-status"> {this.$t1('是')} </div>];
|
|
146
148
|
} else {
|
|
147
|
-
return [<div class="txt-status s-3"> 否 </div>];
|
|
149
|
+
return [<div class="txt-status s-3"> {this.$t1('否')} </div>];
|
|
148
150
|
}
|
|
149
151
|
}
|
|
150
152
|
}
|
|
@@ -170,7 +172,7 @@ export default {
|
|
|
170
172
|
this.openEditDialog(row.id);
|
|
171
173
|
}}
|
|
172
174
|
>
|
|
173
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
175
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
174
176
|
popper-class="tooltip-skin">
|
|
175
177
|
<i class="el-icon-edit"/>
|
|
176
178
|
</el-tooltip>
|
|
@@ -4,13 +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
10
|
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
11
|
-
{{$t1('重置')}}
|
|
11
|
+
{{ $t1('重置') }}
|
|
12
|
+
</el-button>
|
|
13
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
|
|
12
14
|
</el-button>
|
|
13
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
14
15
|
</div>
|
|
15
16
|
</div>
|
|
16
17
|
<div class="d-cont">
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
<tr>
|
|
22
23
|
<th>
|
|
23
24
|
<em class="f-red">*</em>
|
|
24
|
-
参数编码
|
|
25
|
+
{{ $t1('参数编码') }}
|
|
25
26
|
</th>
|
|
26
27
|
<td>
|
|
27
28
|
<el-form-item prop="code" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
</td>
|
|
31
32
|
<th>
|
|
32
33
|
<em class="f-red">*</em>
|
|
33
|
-
参数名称
|
|
34
|
+
{{ $t1('参数名称') }}
|
|
34
35
|
</th>
|
|
35
36
|
<td>
|
|
36
37
|
<el-form-item prop="name" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
</td>
|
|
40
41
|
<th>
|
|
41
42
|
<em class="f-red">*</em>
|
|
42
|
-
参数值
|
|
43
|
+
{{ $t1('参数值') }}
|
|
43
44
|
</th>
|
|
44
45
|
<td colspan="3">
|
|
45
46
|
<el-form-item prop="value" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -12,27 +12,29 @@
|
|
|
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"
|
|
21
|
-
plain>{{$t1('重置')}}
|
|
23
|
+
plain>{{ $t1('重置') }}
|
|
22
24
|
</vxe-button>
|
|
23
25
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
24
|
-
{{$t1('搜索')}}
|
|
26
|
+
{{ $t1('搜索') }}
|
|
25
27
|
</vxe-button>
|
|
26
28
|
</div>
|
|
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="code">
|
|
31
33
|
<template v-slot>
|
|
32
34
|
<el-input v-model="formData.code" size="small" clearable/>
|
|
33
35
|
</template>
|
|
34
36
|
</vxe-form-item>
|
|
35
|
-
<vxe-form-item title="
|
|
37
|
+
<vxe-form-item :title="$t1('参数名称')+':'" field="name">
|
|
36
38
|
<template v-slot>
|
|
37
39
|
<el-input v-model="formData.name" size="small" clearable/>
|
|
38
40
|
</template>
|
|
@@ -93,14 +95,14 @@ export default {
|
|
|
93
95
|
columns: [
|
|
94
96
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
95
97
|
{
|
|
96
|
-
title: '参数编码',
|
|
98
|
+
title: this.$t1('参数编码'),
|
|
97
99
|
field: 'code',
|
|
98
100
|
width: 200,
|
|
99
101
|
sortable: true,
|
|
100
102
|
fixed: 'left'
|
|
101
103
|
},
|
|
102
|
-
{field: 'name', title: '参数名称', width: 200},
|
|
103
|
-
{field: 'value', title: '参数值', width: 200},
|
|
104
|
+
{field: 'name', title: this.$t1('参数名称'), width: 200},
|
|
105
|
+
{field: 'value', title: this.$t1('参数值'), width: 200},
|
|
104
106
|
{field: 'remark', title: this.$t1('备注'), width: 200},
|
|
105
107
|
{title: this.$t1('创建时间'), field: 'createDate', width: 150},
|
|
106
108
|
{title: this.$t1('更新时间'), field: 'modifyDate', width: 150},
|
|
@@ -119,7 +121,7 @@ export default {
|
|
|
119
121
|
this.openEditDialog(row.id);
|
|
120
122
|
}}
|
|
121
123
|
>
|
|
122
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
124
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
123
125
|
popper-class="tooltip-skin">
|
|
124
126
|
<i class="el-icon-edit"/>
|
|
125
127
|
</el-tooltip>
|
|
@@ -4,7 +4,7 @@
|
|
|
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
10
|
<!-- <temp-storage-button :option="tempStorageOption" v-if="!dataId"></temp-storage-button>-->
|