cloud-web-corejs 1.0.18 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/src/api/user.js +8 -0
- 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/components/xform/form-designer/indexMixin.js +2 -2
- package/src/layout/components/Sidebar/default.vue +15 -9
- package/src/layout/components/TagsView/index.vue +6 -6
- package/src/layout/components/notify_message/unreadDialog.vue +1 -1
- package/src/router/modules/customer.js +8 -8
- package/src/utils/aes.js +1 -0
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +8 -8
- package/src/views/bd/setting/bd_attach_setting/edit.vue +11 -11
- package/src/views/bd/setting/bd_attach_setting/list.vue +7 -7
- package/src/views/bd/setting/form_script/dialog.vue +17 -15
- package/src/views/bd/setting/form_script/edit.vue +15 -13
- package/src/views/bd/setting/form_script/edit1.vue +12 -12
- package/src/views/bd/setting/form_script/form_list.vue +8 -8
- package/src/views/bd/setting/form_script/list.vue +9 -9
- package/src/views/bd/setting/form_script/list1.vue +9 -9
- package/src/views/bd/setting/form_script/list2.vue +1 -1
- package/src/views/bd/setting/form_template/dialog.vue +27 -20
- package/src/views/bd/setting/form_template/edit.vue +13 -13
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +8 -8
- package/src/views/bd/setting/form_template/itemEdit.vue +9 -9
- package/src/views/bd/setting/form_template/itemList.vue +8 -8
- package/src/views/bd/setting/form_template/list.vue +15 -15
- 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 +27 -27
- package/src/views/bd/setting/table_model/dialog.vue +5 -5
- package/src/views/bd/setting/table_model/edit.vue +1123 -1123
- package/src/views/bd/setting/table_model/list.vue +12 -12
- package/src/views/bd/setting/table_model/zdDialog.vue +5 -5
- package/src/views/mobile/user/area/dialog.vue +4 -3
- package/src/views/mobile/user/user/dialog.vue +4 -3
- package/src/views/support/export_template/edit.vue +12 -12
- package/src/views/support/export_template/list.vue +18 -18
- package/src/views/user/access_log/edit.vue +5 -5
- package/src/views/user/access_log/list.vue +11 -11
- package/src/views/user/access_log/statistics_list.vue +16 -11
- package/src/views/user/api_request/edit.vue +15 -12
- package/src/views/user/api_request/list.vue +12 -10
- package/src/views/user/area/dialog.vue +5 -5
- package/src/views/user/area_attribute/configDialog.vue +319 -319
- package/src/views/user/area_attribute/edit.vue +3 -3
- 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 +14 -13
- 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 +9 -8
- package/src/views/user/bill_setting/queryDialog.vue +3 -3
- package/src/views/user/bill_setting/render.vue +7 -7
- package/src/views/user/bill_setting/template2.json +44 -11
- package/src/views/user/bill_setting/userDialog.vue +5 -5
- package/src/views/user/code_rules/edit.vue +11 -11
- package/src/views/user/code_rules/list.vue +6 -6
- package/src/views/user/commMenu/index.vue +2 -2
- package/src/views/user/common_attribute/edit.vue +9 -9
- package/src/views/user/common_attribute/itemEdit.vue +11 -11
- package/src/views/user/common_attribute/list.vue +12 -12
- package/src/views/user/common_script/edit.vue +11 -10
- package/src/views/user/common_script/list.vue +17 -16
- package/src/views/user/company_info/dialog.vue +138 -131
- package/src/views/user/company_info/edit.vue +10 -10
- package/src/views/user/company_info/view.vue +1 -1
- package/src/views/user/country/dialog.vue +8 -8
- package/src/views/user/country/edit.vue +16 -15
- package/src/views/user/country/list.vue +172 -162
- package/src/views/user/data_type_setting/dialog.vue +11 -8
- package/src/views/user/data_type_setting/editDialog.vue +13 -12
- package/src/views/user/ea/eagroup/eaobj_list.vue +332 -311
- 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 +127 -119
- package/src/views/user/extend_datasource/edit.vue +13 -12
- package/src/views/user/extend_datasource/list.vue +7 -7
- package/src/views/user/fieldTranslation/editDialog.vue +6 -6
- package/src/views/user/fieldTranslation/list.vue +9 -8
- package/src/views/user/field_values_invisible/edit.vue +87 -85
- package/src/views/user/field_values_invisible/list.vue +36 -25
- package/src/views/user/file_type/edit.vue +11 -11
- package/src/views/user/file_type/list.vue +10 -7
- package/src/views/user/file_type/userEdit.vue +188 -188
- package/src/views/user/file_view_area/edit.vue +11 -11
- package/src/views/user/file_view_area/itemEdit.vue +168 -165
- package/src/views/user/file_view_area/list.vue +9 -9
- package/src/views/user/file_view_ins/list.vue +57 -38
- 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 +27 -20
- package/src/views/user/form/form_template/edit.vue +15 -12
- package/src/views/user/form/form_template/itemEdit.vue +9 -9
- package/src/views/user/form/form_template/itemList.vue +5 -5
- package/src/views/user/form/form_template/list.vue +9 -8
- 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 +10 -10
- package/src/views/user/form/form_type/editDialog.vue +11 -10
- package/src/views/user/form/form_type/list.vue +128 -118
- package/src/views/user/form/report_requestaccess/dialog.vue +108 -101
- package/src/views/user/form/report_requestaccess/edit.vue +274 -236
- package/src/views/user/form/report_requestaccess/list.vue +31 -20
- 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/default.vue +21 -21
- package/src/views/user/home/distributor.vue +375 -119
- 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 +7 -7
- 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 +19 -19
- package/src/views/user/mobile_menu/list.vue +17 -17
- package/src/views/user/notify_message/dialog.vue +8 -6
- package/src/views/user/notify_message/list.vue +5 -4
- package/src/views/user/notify_template/edit.vue +185 -185
- package/src/views/user/notify_template/list.vue +8 -8
- package/src/views/user/oplog/edit.vue +108 -103
- package/src/views/user/oplog/list.vue +8 -8
- 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 +12 -12
- package/src/views/user/position/list.vue +172 -162
- package/src/views/user/project_tag/dialog.vue +9 -9
- package/src/views/user/project_tag/edit.vue +10 -10
- package/src/views/user/project_tag/list.vue +7 -7
- package/src/views/user/push_setting/edit.vue +14 -11
- package/src/views/user/push_setting/list.vue +45 -36
- package/src/views/user/redirect/index.vue +4 -4
- package/src/views/user/role/dialog.vue +11 -8
- 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 +26 -26
- package/src/views/user/sale_org/moveDialog.vue +2 -2
- 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 +40 -47
- package/src/views/user/user/edit.vue +1021 -1019
- package/src/views/user/user/form_edit.vue +497 -483
- package/src/views/user/user/form_list.vue +16 -16
- 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 +113 -94
- 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 +6 -6
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +6 -6
- package/src/views/user/wf/wf_auto_submit_data/list.vue +10 -8
- package/src/views/user/wf/wf_diy_attribute/edit.vue +6 -6
- package/src/views/user/wf/wf_manage/list.vue +9 -8
- 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 +15 -12
- package/src/views/user/wf/wf_obj_config/edit_form.vue +72 -65
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +9 -9
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +9 -9
- package/src/views/user/wf/wf_obj_config/list.vue +12 -12
- package/src/views/user/wf/wf_obj_config/list_form.vue +24 -24
- package/src/views/user/wf/wf_param/edit.vue +5 -5
- 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 +9 -6
- package/src/views/user/wf/wf_work_calendar/date.js +10 -10
- package/src/views/user/wf/wf_work_calendar/list.vue +9 -4
- package/src/views/user/sale_org_net/list.vue +0 -574
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
<span slot="footer" class="dialog-footer">
|
|
46
46
|
<el-button type="primary" plain class="button-sty" @click="showDialog=false">
|
|
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" v-if="isDev">
|
|
51
51
|
<i class="el-icon-check el-icon"></i>
|
|
52
|
-
确 定
|
|
52
|
+
{{$t1('确 定')}}
|
|
53
53
|
</el-button>
|
|
54
54
|
</span>
|
|
55
55
|
</el-dialog>
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
</template>
|
|
64
64
|
|
|
65
65
|
<script>
|
|
66
|
-
import {
|
|
66
|
+
import {getBdFlag} from "@base/api/user";
|
|
67
67
|
import projectTagDialog from "../../../views/user/project_tag/dialog.vue";
|
|
68
68
|
import projectTagView from "@base/components/projectTag/view.vue";
|
|
69
69
|
|
|
@@ -170,7 +170,7 @@ export default {
|
|
|
170
170
|
saveData() {
|
|
171
171
|
this.$refs.editForm.$baseValidate(valid => {
|
|
172
172
|
if (valid) {
|
|
173
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
173
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
174
174
|
var url = USER_PREFIX + (this.isEdit ? `/fieldTranslation/update` : `/fieldTranslation/save`);
|
|
175
175
|
this.$http({
|
|
176
176
|
url: url,
|
|
@@ -219,9 +219,9 @@ export default {
|
|
|
219
219
|
})
|
|
220
220
|
},
|
|
221
221
|
getBdEnv() {
|
|
222
|
-
|
|
222
|
+
getBdFlag({
|
|
223
223
|
success: res => {
|
|
224
|
-
this.isDev = res.
|
|
224
|
+
this.isDev = res.objx == 1
|
|
225
225
|
}
|
|
226
226
|
});
|
|
227
227
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="列表" name="second">
|
|
4
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
5
5
|
<div class="tree-box fl">
|
|
6
6
|
<div class="tit"><b>数据类型</b></div>
|
|
7
7
|
<el-tree
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
</template>
|
|
51
51
|
<template #buttonRight>
|
|
52
52
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
53
|
-
plain
|
|
53
|
+
plain>{{$t1('重置')}}
|
|
54
54
|
</vxe-button>
|
|
55
55
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
56
56
|
</vxe-button>
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
<script>
|
|
105
105
|
import fieldTranslationEditDialog from "../../../views/user/fieldTranslation/editDialog.vue";
|
|
106
106
|
import {treeScollx} from '@base/utils/global.js';
|
|
107
|
-
import {
|
|
107
|
+
import {getBdFlag} from "@base/api/user";
|
|
108
108
|
import tableForm from "@base/components/table/tableForm.vue";
|
|
109
109
|
import projectTagDialog from "../../../views/user/project_tag/dialog.vue";
|
|
110
110
|
import projectTagAddButton from "@base/components/projectTag/addButton.vue";
|
|
@@ -115,7 +115,8 @@ export default {
|
|
|
115
115
|
name: 'fieldTranslation:list',
|
|
116
116
|
components: {
|
|
117
117
|
projectTagView,
|
|
118
|
-
projectTagDialog, tableForm, fieldTranslationEditDialog, projectTagAddButton, projectTagDeleteButton
|
|
118
|
+
projectTagDialog, tableForm, fieldTranslationEditDialog, projectTagAddButton, projectTagDeleteButton
|
|
119
|
+
},
|
|
119
120
|
data() {
|
|
120
121
|
return {
|
|
121
122
|
activeName: 'second',
|
|
@@ -284,7 +285,7 @@ export default {
|
|
|
284
285
|
},
|
|
285
286
|
{
|
|
286
287
|
field: 'modifyDate',
|
|
287
|
-
title: '更新时间',
|
|
288
|
+
title: this.$t1('更新时间'),
|
|
288
289
|
width: 150
|
|
289
290
|
},
|
|
290
291
|
{
|
|
@@ -303,7 +304,7 @@ export default {
|
|
|
303
304
|
this.openFieldTranslationEditDialog(row.id);
|
|
304
305
|
}}
|
|
305
306
|
>
|
|
306
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
307
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
307
308
|
popper-class="tooltip-skin">
|
|
308
309
|
<i class="el-icon-edit"/>
|
|
309
310
|
</el-tooltip>
|
|
@@ -453,9 +454,9 @@ export default {
|
|
|
453
454
|
return this.checkTags.map(item => item.tagName).join(",");
|
|
454
455
|
},
|
|
455
456
|
getBdEnv() {
|
|
456
|
-
|
|
457
|
+
getBdFlag({
|
|
457
458
|
success: res => {
|
|
458
|
-
this.isDev = res.
|
|
459
|
+
this.isDev = res.objx == 1
|
|
459
460
|
}
|
|
460
461
|
});
|
|
461
462
|
}
|
|
@@ -3,98 +3,100 @@
|
|
|
3
3
|
<el-form ref="editForm" :model="fieldValuesInvisible">
|
|
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="$baseReload()" icon="el-icon-refresh-right"
|
|
11
|
-
|
|
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('保存')}}</el-button>
|
|
12
14
|
</div>
|
|
13
15
|
</div>
|
|
14
16
|
<div class="d-cont">
|
|
15
17
|
<div class="d-item">
|
|
16
|
-
<div class="title first"><b
|
|
18
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</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
|
-
|
|
21
|
+
<tr>
|
|
22
|
+
<th>隐藏定义编码</th>
|
|
23
|
+
<td>{{ fieldValuesInvisible.fvvCode }}</td>
|
|
24
|
+
<th>
|
|
25
|
+
<em class="f-red">*</em>
|
|
26
|
+
是否启用
|
|
27
|
+
</th>
|
|
28
|
+
<td>
|
|
29
|
+
<el-radio-group v-model="fieldValuesInvisible.enabled">
|
|
30
|
+
<el-radio :label="true">启用</el-radio>
|
|
31
|
+
<el-radio :label="false">禁用</el-radio>
|
|
32
|
+
</el-radio-group>
|
|
33
|
+
</td>
|
|
34
|
+
</tr>
|
|
35
|
+
<tr>
|
|
36
|
+
<th>
|
|
37
|
+
<em class="f-red">*</em>
|
|
38
|
+
服务名
|
|
39
|
+
</th>
|
|
40
|
+
<td>
|
|
41
|
+
<el-form-item prop="applicationName" :rules="[{ required: true, trigger: 'blur' }]">
|
|
42
|
+
<el-input type="text" autocomplete="off" v-model="fieldValuesInvisible.applicationName" clearable/>
|
|
43
|
+
</el-form-item>
|
|
44
|
+
</td>
|
|
45
|
+
<th>
|
|
46
|
+
<em class="f-red">*</em>
|
|
47
|
+
组织编码
|
|
48
|
+
</th>
|
|
49
|
+
<td>
|
|
50
|
+
<el-form-item prop="fvvCompanyCode" :rules="[{ required: true, trigger: 'blur' }]">
|
|
51
|
+
<el-input type="text" autocomplete="off" v-model="fieldValuesInvisible.fvvCompanyCode" clearable/>
|
|
52
|
+
</el-form-item>
|
|
53
|
+
</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr>
|
|
56
|
+
<th>
|
|
57
|
+
<em class="f-red">*</em>
|
|
58
|
+
定义Url地址
|
|
59
|
+
</th>
|
|
60
|
+
<td colspan="5">
|
|
61
|
+
<el-form-item prop="url" :rules="[{ required: true, trigger: 'blur' }]">
|
|
62
|
+
<el-input type="text" autocomplete="off" v-model="fieldValuesInvisible.url" clearable/>
|
|
63
|
+
</el-form-item>
|
|
64
|
+
</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<th>
|
|
68
|
+
<em class="f-red">*</em>
|
|
69
|
+
隐藏的字段名
|
|
70
|
+
</th>
|
|
71
|
+
<td colspan="5">
|
|
72
|
+
<el-form-item prop="fieldNames" :rules="[{ required: true, trigger: 'blur' }]">
|
|
73
|
+
<el-input type="text" autocomplete="off" v-model="fieldValuesInvisible.fieldNames" clearable/>
|
|
74
|
+
</el-form-item>
|
|
75
|
+
</td>
|
|
76
|
+
<td colspan="2"><span class="tips_1">注:区分大小写,多个用逗号","隔开</span></td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<th>
|
|
80
|
+
<em class="f-red">*</em>
|
|
81
|
+
涉及的角色名
|
|
82
|
+
</th>
|
|
83
|
+
<td colspan="5">
|
|
84
|
+
<el-form-item prop="roleNames" :rules="[{ required: true, trigger: 'blur' }]">
|
|
85
|
+
<el-input type="text" autocomplete="off" v-model="fieldValuesInvisible.roleNames" clearable/>
|
|
86
|
+
</el-form-item>
|
|
87
|
+
</td>
|
|
88
|
+
<td colspan="2"><span class="tips_1">注:多个用逗号","隔开</span></td>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<th>{{ $t1('创建人') }}</th>
|
|
92
|
+
<td>{{ fieldValuesInvisible.createBy }}</td>
|
|
93
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
94
|
+
<td>{{ fieldValuesInvisible.createDate }}</td>
|
|
95
|
+
<th>{{ $t1('更新人') }}</th>
|
|
96
|
+
<td>{{ fieldValuesInvisible.modifyBy }}</td>
|
|
97
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
98
|
+
<td>{{ fieldValuesInvisible.modifyDate }}</td>
|
|
99
|
+
</tr>
|
|
98
100
|
</tbody>
|
|
99
101
|
</table>
|
|
100
102
|
</div>
|
|
@@ -149,7 +151,7 @@ export default {
|
|
|
149
151
|
saveData() {
|
|
150
152
|
this.$refs.editForm.$baseValidate(valid => {
|
|
151
153
|
if (valid) {
|
|
152
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
154
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
153
155
|
var url = USER_PREFIX + (this.isEdit ? `/field_values_invisible/update` : `/field_values_invisible/save`);
|
|
154
156
|
this.$http({
|
|
155
157
|
url: url,
|
|
@@ -1,52 +1,61 @@
|
|
|
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'}"
|
|
18
|
+
:parent-target="_self"/>
|
|
15
19
|
</div>
|
|
16
20
|
<div class="fr">
|
|
17
|
-
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
18
|
-
|
|
21
|
+
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
22
|
+
plain>{{$t1('重置')}}
|
|
23
|
+
</vxe-button>
|
|
24
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
25
|
+
{{$t1('搜索')}}
|
|
26
|
+
</vxe-button>
|
|
19
27
|
</div>
|
|
20
28
|
</div>
|
|
21
|
-
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
29
|
+
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
30
|
+
@submit="searchEvent" @reset="searchEvent">
|
|
22
31
|
<vxe-form-item title="隐藏定义编码:" field="fvvCode">
|
|
23
32
|
<template v-slot>
|
|
24
|
-
<el-input v-model="formData.fvvCode" size="small" clearable
|
|
33
|
+
<el-input v-model="formData.fvvCode" size="small" clearable/>
|
|
25
34
|
</template>
|
|
26
35
|
</vxe-form-item>
|
|
27
36
|
<vxe-form-item title="组织编码:" field="fvvCompanyCode">
|
|
28
37
|
<template v-slot>
|
|
29
|
-
<el-input v-model="formData.fvvCompanyCode" size="small" clearable
|
|
38
|
+
<el-input v-model="formData.fvvCompanyCode" size="small" clearable/>
|
|
30
39
|
</template>
|
|
31
40
|
</vxe-form-item>
|
|
32
41
|
<vxe-form-item title="服务名:" field="applicationName">
|
|
33
42
|
<template v-slot>
|
|
34
|
-
<el-input v-model="formData.applicationName" size="small" clearable
|
|
43
|
+
<el-input v-model="formData.applicationName" size="small" clearable/>
|
|
35
44
|
</template>
|
|
36
45
|
</vxe-form-item>
|
|
37
46
|
<vxe-form-item title="定义Url地址:" field="url">
|
|
38
47
|
<template v-slot>
|
|
39
|
-
<el-input v-model="formData.url" size="small" clearable
|
|
48
|
+
<el-input v-model="formData.url" size="small" clearable/>
|
|
40
49
|
</template>
|
|
41
50
|
</vxe-form-item>
|
|
42
51
|
<vxe-form-item title="隐藏的字段名:" field="fieldNames">
|
|
43
52
|
<template v-slot>
|
|
44
|
-
<el-input v-model="formData.fieldNames" size="small" clearable
|
|
53
|
+
<el-input v-model="formData.fieldNames" size="small" clearable/>
|
|
45
54
|
</template>
|
|
46
55
|
</vxe-form-item>
|
|
47
56
|
<vxe-form-item title="涉及的角色名:" field="roleNames">
|
|
48
57
|
<template v-slot>
|
|
49
|
-
<el-input v-model="formData.roleNames" size="small" clearable
|
|
58
|
+
<el-input v-model="formData.roleNames" size="small" clearable/>
|
|
50
59
|
</template>
|
|
51
60
|
</vxe-form-item>
|
|
52
61
|
<vxe-form-item title="是否启用:" field="enabled">
|
|
@@ -68,9 +77,10 @@
|
|
|
68
77
|
|
|
69
78
|
<script>
|
|
70
79
|
import editView from './edit.vue';
|
|
80
|
+
|
|
71
81
|
export default {
|
|
72
82
|
name: 'field_values_invisible:list',
|
|
73
|
-
components: {
|
|
83
|
+
components: {editView},
|
|
74
84
|
data() {
|
|
75
85
|
return {
|
|
76
86
|
activeName: 'second',
|
|
@@ -107,7 +117,7 @@ export default {
|
|
|
107
117
|
return this.formData;
|
|
108
118
|
},
|
|
109
119
|
columns: [
|
|
110
|
-
{
|
|
120
|
+
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
111
121
|
{
|
|
112
122
|
title: '隐藏定义编码',
|
|
113
123
|
field: 'fvvCode',
|
|
@@ -121,14 +131,14 @@ export default {
|
|
|
121
131
|
},
|
|
122
132
|
{
|
|
123
133
|
field: 'enabled',
|
|
124
|
-
title: '是否启用',
|
|
134
|
+
title: this.$t1('是否启用'),
|
|
125
135
|
width: 150,
|
|
126
136
|
slots: {
|
|
127
|
-
default: ({
|
|
137
|
+
default: ({row}) => {
|
|
128
138
|
if (row.enabled) {
|
|
129
|
-
return [<div class="txt-status"
|
|
139
|
+
return [<div class="txt-status">{ this.$t1('启用') }</div>];
|
|
130
140
|
} else {
|
|
131
|
-
return [<div class="txt-status s-3"
|
|
141
|
+
return [<div class="txt-status s-3">{ this.$t1('禁用') }</div>];
|
|
132
142
|
}
|
|
133
143
|
}
|
|
134
144
|
}
|
|
@@ -156,7 +166,7 @@ export default {
|
|
|
156
166
|
},
|
|
157
167
|
{
|
|
158
168
|
field: 'createDate',
|
|
159
|
-
title: '创建时间',
|
|
169
|
+
title: this.$t1('创建时间'),
|
|
160
170
|
width: 150
|
|
161
171
|
},
|
|
162
172
|
{
|
|
@@ -165,7 +175,7 @@ export default {
|
|
|
165
175
|
title: '',
|
|
166
176
|
sortable: false,
|
|
167
177
|
slots: {
|
|
168
|
-
default: ({
|
|
178
|
+
default: ({row}) => {
|
|
169
179
|
return [
|
|
170
180
|
<div>
|
|
171
181
|
<a
|
|
@@ -175,8 +185,9 @@ export default {
|
|
|
175
185
|
this.openEditDialog(row.id);
|
|
176
186
|
}}
|
|
177
187
|
>
|
|
178
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
179
|
-
|
|
188
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
189
|
+
popper-class="tooltip-skin">
|
|
190
|
+
<i class="el-icon-edit"/>
|
|
180
191
|
</el-tooltip>
|
|
181
192
|
</a>
|
|
182
193
|
</div>
|
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? '查看' : '新增' }}文档工作区
|
|
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">{{$t1('重置')}}
|
|
11
11
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
|
|
12
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="d-cont">
|
|
16
16
|
<div class="d-item">
|
|
17
|
-
<div class="title first"><b
|
|
17
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
|
18
18
|
<table class="table-detail">
|
|
19
19
|
<tbody>
|
|
20
20
|
<tr>
|
|
@@ -67,20 +67,20 @@
|
|
|
67
67
|
</td>
|
|
68
68
|
</tr>
|
|
69
69
|
<tr>
|
|
70
|
-
<th
|
|
70
|
+
<th>{{ $t1('备注') }}</th>
|
|
71
71
|
<td colspan="5">
|
|
72
|
-
<el-input type="textarea" :rows="2" placeholder="请输入内容" size="small" v-model="fileStoreArea.note"
|
|
72
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small" v-model="fileStoreArea.note"
|
|
73
73
|
clearable></el-input>
|
|
74
74
|
</td>
|
|
75
75
|
</tr>
|
|
76
76
|
<tr>
|
|
77
|
-
<th
|
|
77
|
+
<th>{{ $t1('创建人') }}</th>
|
|
78
78
|
<td>{{ fileStoreArea.createBy }}</td>
|
|
79
|
-
<th
|
|
79
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
80
80
|
<td>{{ fileStoreArea.createDate }}</td>
|
|
81
|
-
<th
|
|
81
|
+
<th>{{ $t1('更新人') }}</th>
|
|
82
82
|
<td>{{ fileStoreArea.modifyBy }}</td>
|
|
83
|
-
<th
|
|
83
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
84
84
|
<td>{{ fileStoreArea.modifyDate }}</td>
|
|
85
85
|
</tr>
|
|
86
86
|
</tbody>
|
|
@@ -133,7 +133,7 @@ export default {
|
|
|
133
133
|
saveData() {
|
|
134
134
|
this.$refs.editForm.$baseValidate(valid => {
|
|
135
135
|
if (valid) {
|
|
136
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
136
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
137
137
|
var url = this.isEdit ? USER_PREFIX + '/file_store_area/update' : USER_PREFIX + '/file_store_area/save';
|
|
138
138
|
this.$http({
|
|
139
139
|
url: url,
|
|
@@ -1,11 +1,11 @@
|
|
|
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"></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="grid-height">
|
|
10
10
|
<vxe-grid
|
|
11
11
|
ref="table-m1"
|
|
@@ -21,12 +21,15 @@
|
|
|
21
21
|
新增
|
|
22
22
|
</vxe-button>
|
|
23
23
|
<div class="txt-name el-icon-house" style="font-weight: unset;"
|
|
24
|
-
v-if="showFileSpaceInfo">文件服务磁盘空间总量:<span class="f-red">{{
|
|
24
|
+
v-if="showFileSpaceInfo">文件服务磁盘空间总量:<span class="f-red">{{
|
|
25
|
+
fileSpaceInfo.totalSpace
|
|
26
|
+
}}</span>,已用:<span class="f-red">{{ fileSpaceInfo.usedSpace }}</span>,剩余:<span
|
|
27
|
+
class="f-red">{{ fileSpaceInfo.freeSpace }}</span>
|
|
25
28
|
</div>
|
|
26
29
|
</div>
|
|
27
30
|
<div class="fr">
|
|
28
31
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
29
|
-
plain
|
|
32
|
+
plain>{{$t1('重置')}}
|
|
30
33
|
</vxe-button>
|
|
31
34
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
32
35
|
</vxe-button>
|
|
@@ -167,12 +170,12 @@ export default {
|
|
|
167
170
|
}
|
|
168
171
|
},
|
|
169
172
|
{
|
|
170
|
-
title: '备注',
|
|
173
|
+
title: this.$t1('备注'),
|
|
171
174
|
field: 'note',
|
|
172
175
|
width: 150
|
|
173
176
|
},
|
|
174
177
|
{
|
|
175
|
-
title: '创建时间',
|
|
178
|
+
title: this.$t1('创建时间'),
|
|
176
179
|
field: 'createDate',
|
|
177
180
|
width: 150
|
|
178
181
|
},
|
|
@@ -191,7 +194,7 @@ export default {
|
|
|
191
194
|
this.openEditDialog(row.id);
|
|
192
195
|
}}
|
|
193
196
|
>
|
|
194
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
197
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
195
198
|
popper-class="tooltip-skin">
|
|
196
199
|
<i class="el-icon-edit"/>
|
|
197
200
|
</el-tooltip>
|