cloud-web-corejs 1.0.19 → 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 +1 -1
- package/src/api/user.js +8 -0
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/xform/form-designer/indexMixin.js +2 -2
- package/src/layout/components/Sidebar/default.vue +12 -12
- package/src/layout/components/TagsView/index.vue +6 -6
- package/src/layout/components/notify_message/unreadDialog.vue +1 -1
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -4
- package/src/views/bd/setting/bd_attach_setting/edit.vue +8 -8
- package/src/views/bd/setting/bd_attach_setting/list.vue +4 -4
- package/src/views/bd/setting/form_script/dialog.vue +3 -3
- package/src/views/bd/setting/form_script/edit.vue +12 -11
- package/src/views/bd/setting/form_script/edit1.vue +9 -9
- package/src/views/bd/setting/form_script/form_list.vue +5 -5
- package/src/views/bd/setting/form_script/list.vue +5 -5
- package/src/views/bd/setting/form_script/list1.vue +5 -5
- package/src/views/bd/setting/form_template/dialog.vue +4 -4
- package/src/views/bd/setting/form_template/edit.vue +10 -10
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +1 -1
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +3 -3
- package/src/views/bd/setting/form_template/itemEdit.vue +6 -6
- package/src/views/bd/setting/form_template/itemList.vue +5 -5
- package/src/views/bd/setting/form_template/list.vue +11 -11
- package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/list.vue +25 -25
- package/src/views/bd/setting/table_model/dialog.vue +1 -1
- package/src/views/bd/setting/table_model/edit.vue +8 -8
- package/src/views/bd/setting/table_model/list.vue +8 -8
- package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
- package/src/views/mobile/user/area/dialog.vue +1 -1
- package/src/views/mobile/user/user/dialog.vue +1 -1
- package/src/views/support/export_template/edit.vue +8 -8
- package/src/views/support/export_template/list.vue +7 -7
- package/src/views/user/access_log/edit.vue +3 -3
- package/src/views/user/access_log/list.vue +3 -3
- package/src/views/user/api_request/edit.vue +8 -8
- package/src/views/user/api_request/list.vue +5 -5
- package/src/views/user/area/dialog.vue +1 -1
- package/src/views/user/area_attribute/configDialog.vue +1 -1
- package/src/views/user/area_attribute/edit.vue +1 -1
- package/src/views/user/bill_setting/edit.vue +8 -8
- package/src/views/user/bill_setting/list.vue +4 -4
- package/src/views/user/bill_setting/render.vue +1 -1
- package/src/views/user/bill_setting/userDialog.vue +1 -1
- package/src/views/user/code_rules/edit.vue +8 -8
- package/src/views/user/code_rules/list.vue +3 -3
- package/src/views/user/common_attribute/edit.vue +6 -6
- package/src/views/user/common_attribute/itemEdit.vue +8 -8
- package/src/views/user/common_attribute/list.vue +9 -9
- package/src/views/user/common_script/edit.vue +7 -7
- package/src/views/user/common_script/list.vue +4 -4
- package/src/views/user/company_info/dialog.vue +1 -1
- package/src/views/user/company_info/edit.vue +8 -8
- package/src/views/user/country/dialog.vue +2 -2
- package/src/views/user/country/edit.vue +8 -8
- package/src/views/user/country/list.vue +5 -5
- package/src/views/user/data_type_setting/dialog.vue +2 -2
- package/src/views/user/data_type_setting/editDialog.vue +1 -1
- package/src/views/user/ea/eagroup/eaobj_list.vue +9 -9
- package/src/views/user/ea/eagroup/edit.vue +10 -10
- package/src/views/user/ea/eaobj/edit.vue +8 -8
- package/src/views/user/ea/eaobj/list.vue +3 -3
- package/src/views/user/extend_datasource/dialog.vue +5 -5
- package/src/views/user/extend_datasource/edit.vue +8 -8
- package/src/views/user/extend_datasource/list.vue +4 -4
- package/src/views/user/fieldTranslation/editDialog.vue +4 -4
- package/src/views/user/fieldTranslation/list.vue +5 -5
- package/src/views/user/field_values_invisible/edit.vue +6 -6
- package/src/views/user/field_values_invisible/list.vue +5 -5
- package/src/views/user/file_type/edit.vue +8 -8
- package/src/views/user/file_type/list.vue +3 -3
- package/src/views/user/file_type/userEdit.vue +1 -1
- package/src/views/user/file_view_area/edit.vue +8 -8
- package/src/views/user/file_view_area/itemEdit.vue +8 -8
- package/src/views/user/file_view_area/list.vue +6 -6
- package/src/views/user/file_view_ins/list.vue +2 -2
- package/src/views/user/file_view_ins/propertiesDialog.vue +2 -2
- package/src/views/user/form/form_ins_list/edit.vue +5 -5
- package/src/views/user/form/form_template/dialog.vue +4 -4
- package/src/views/user/form/form_template/edit.vue +8 -8
- package/src/views/user/form/form_template/itemEdit.vue +6 -6
- package/src/views/user/form/form_template/itemList.vue +2 -2
- package/src/views/user/form/form_template/list.vue +4 -4
- package/src/views/user/form/form_template_field/dialog.vue +1 -1
- package/src/views/user/form/form_type/dialog.vue +2 -2
- package/src/views/user/form/form_type/edit.vue +6 -6
- package/src/views/user/form/form_type/editDialog.vue +1 -1
- package/src/views/user/form/form_type/list.vue +2 -2
- package/src/views/user/form/report_requestaccess/dialog.vue +3 -3
- package/src/views/user/form/report_requestaccess/edit.vue +6 -6
- package/src/views/user/form/report_requestaccess/list.vue +3 -3
- package/src/views/user/home/default.vue +21 -21
- package/src/views/user/home/distributor.vue +1 -1
- package/src/views/user/language_setting/edit.vue +7 -7
- package/src/views/user/language_setting/list.vue +4 -4
- package/src/views/user/menu/list.vue +17 -17
- package/src/views/user/mobile_menu/list.vue +15 -15
- package/src/views/user/notify_message/list.vue +1 -1
- package/src/views/user/notify_template/edit.vue +6 -6
- package/src/views/user/notify_template/list.vue +4 -4
- package/src/views/user/oplog/edit.vue +3 -3
- package/src/views/user/oplog/list.vue +5 -5
- package/src/views/user/position/dialog.vue +2 -2
- package/src/views/user/position/edit.vue +8 -8
- package/src/views/user/position/list.vue +5 -5
- package/src/views/user/project_tag/dialog.vue +4 -4
- package/src/views/user/project_tag/edit.vue +7 -7
- package/src/views/user/project_tag/list.vue +4 -4
- package/src/views/user/push_setting/edit.vue +7 -7
- package/src/views/user/push_setting/list.vue +4 -5
- package/src/views/user/role/dialog.vue +2 -2
- package/src/views/user/role/edit.vue +5 -5
- package/src/views/user/role/list.vue +2 -2
- package/src/views/user/sale_org/list.vue +15 -15
- package/src/views/user/system_notice/edit.vue +5 -5
- package/src/views/user/system_notice/list.vue +2 -2
- package/src/views/user/system_parameter/edit.vue +8 -8
- package/src/views/user/system_parameter/list.vue +4 -4
- package/src/views/user/user/dialog.vue +21 -35
- package/src/views/user/user/form_edit.vue +27 -11
- package/src/views/user/user/form_list.vue +11 -11
- package/src/views/user/user/info.vue +6 -6
- package/src/views/user/user/infoEdit.vue +6 -6
- package/src/views/user/wf/wf_auto_submit_data/edit.vue +5 -5
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +5 -5
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -2
- package/src/views/user/wf/wf_diy_attribute/edit.vue +1 -1
- package/src/views/user/wf/wf_manage/list.vue +4 -4
- package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/edit.vue +8 -8
- package/src/views/user/wf/wf_obj_config/edit_form.vue +8 -8
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +6 -6
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +6 -6
- package/src/views/user/wf/wf_obj_config/list.vue +8 -8
- package/src/views/user/wf/wf_obj_config/list_form.vue +2 -2
- package/src/views/user/wf/wf_param/edit.vue +1 -1
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +1 -1
- package/src/views/user/sale_org_net/list.vue +0 -574
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
<div class="fase-box" ref="fase" @mouseleave="$emit('selfClose')" @mouseenter="$emit('selfEnter')">
|
|
17
17
|
<langTool v-if="userInfo.flag!==8"></langTool>
|
|
18
18
|
<div class="item" @click="openCompanyDialog" v-if="userInfo.flag!==8">
|
|
19
|
-
<el-tooltip :enterable="false" effect="dark" content="切换组织" :placement="direction">
|
|
19
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('切换组织')" :placement="direction">
|
|
20
20
|
<i class="el-icon-set-up"/>
|
|
21
21
|
</el-tooltip>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="item" v-if="userInfo.flag!==8">
|
|
24
|
-
<el-tooltip :enterable="false" effect="dark" content="流程待办" :placement="direction">
|
|
24
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('流程待办')" :placement="direction">
|
|
25
25
|
<i class="iconfont icon-liuchengdaiban" @click="$router.push('/basic/wf/wf_manage/list')"/>
|
|
26
26
|
</el-tooltip>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="item" @click="logout()">
|
|
29
|
-
<el-tooltip :enterable="false" effect="dark" content="退出" :placement="direction">
|
|
29
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('退出')" :placement="direction">
|
|
30
30
|
<i class="el-icon-switch-button"/>
|
|
31
31
|
</el-tooltip>
|
|
32
32
|
</div>
|
|
@@ -67,7 +67,8 @@
|
|
|
67
67
|
ref="seconMenus"
|
|
68
68
|
>
|
|
69
69
|
<el-scrollbar wrap-class="scrollbar-wrapper" id="menuUl">
|
|
70
|
-
<el-submenu v-for="menuModule in menuModules" :index="''+menuModule.id" :key="'menuModule'+menuModule.id"
|
|
70
|
+
<el-submenu v-for="menuModule in menuModules" :index="''+menuModule.id" :key="'menuModule'+menuModule.id"
|
|
71
|
+
@click.native="rourteTo(menuModule)">
|
|
71
72
|
<template slot="title">
|
|
72
73
|
<i :class="getMenuClass(menuModule,1)"></i>
|
|
73
74
|
<span>{{ getMenuName(menuModule) }}</span>
|
|
@@ -244,8 +245,8 @@ export default {
|
|
|
244
245
|
if (!enTitle || locale !== "en") {
|
|
245
246
|
title = zhTitle
|
|
246
247
|
}
|
|
247
|
-
if (this.$
|
|
248
|
-
title = this.$
|
|
248
|
+
if (this.$t1) {
|
|
249
|
+
title = this.$t1(title)
|
|
249
250
|
}
|
|
250
251
|
|
|
251
252
|
return title;
|
|
@@ -623,13 +624,12 @@ export default {
|
|
|
623
624
|
},
|
|
624
625
|
handleRoute() {
|
|
625
626
|
let flag = this.userInfo.flag
|
|
626
|
-
|
|
627
|
-
let
|
|
628
|
-
if(
|
|
629
|
-
|
|
630
|
-
}else if(flag === 8){
|
|
631
|
-
menus = sidebarConfig.bdadmin8Menus
|
|
627
|
+
let userFlagMenuMap = sidebarConfig.userFlagMenuMap;
|
|
628
|
+
let keys = Object.keys(userFlagMenuMap).map(item => Number(item));
|
|
629
|
+
if (!keys.length || !keys.includes(flag)) {
|
|
630
|
+
return
|
|
632
631
|
}
|
|
632
|
+
let menus = userFlagMenuMap[flag] || []
|
|
633
633
|
this.$store.dispatch('permission/setSidebarRoute', menus)
|
|
634
634
|
|
|
635
635
|
}
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
</router-link>
|
|
20
20
|
</scroll-pane>
|
|
21
21
|
<div class="tags-operBox">
|
|
22
|
-
<el-tooltip :enterable="false" class="item" effect="dark" content="左移" placement="bottom">
|
|
22
|
+
<el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('左移')" placement="bottom">
|
|
23
23
|
<i class="el-icon-arrow-left" layadmin-event="leftPage"
|
|
24
24
|
one-link-mark="yes" @click="$refs.scrollPane.handleScrollLeft()"/>
|
|
25
25
|
</el-tooltip>
|
|
26
|
-
<el-tooltip :enterable="false" class="item" effect="dark" content="右移" placement="bottom" l>
|
|
26
|
+
<el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('右移')" placement="bottom" l>
|
|
27
27
|
<i class="el-icon-arrow-right" ayadmin-event="rightPage"
|
|
28
28
|
one-link-mark="yes" @click="$refs.scrollPane.handleScrollRight()"/>
|
|
29
29
|
</el-tooltip>
|
|
30
|
-
<el-tooltip :enterable="false" class="item" effect="dark" content="刷新" placement="bottom">
|
|
30
|
+
<el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('刷新')" placement="bottom">
|
|
31
31
|
<i class="el-icon-refresh" @click="refreshSelectedTag($route)"/>
|
|
32
32
|
</el-tooltip>
|
|
33
|
-
<el-tooltip :enterable="false" class="item" effect="dark" content="全部关闭" placement="bottom">
|
|
33
|
+
<el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('全部关闭')" placement="bottom">
|
|
34
34
|
<i class="el-icon-close" @click="closeAllTags(selectedTag)"/>
|
|
35
35
|
</el-tooltip>
|
|
36
36
|
</div>
|
|
@@ -97,8 +97,8 @@ export default {
|
|
|
97
97
|
if (!enTitle || locale !== "en") {
|
|
98
98
|
title = zhTitle
|
|
99
99
|
}
|
|
100
|
-
if (this.$
|
|
101
|
-
title = this.$
|
|
100
|
+
if (this.$t1) {
|
|
101
|
+
title = this.$t1(title)
|
|
102
102
|
}
|
|
103
103
|
return title;
|
|
104
104
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
</div>
|
|
46
46
|
</label>
|
|
47
47
|
<div class="multipleChoice">
|
|
48
|
-
<el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top">
|
|
48
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top">
|
|
49
49
|
<a class="allDel icon-quanbushanchu" @click="clearChecked()"></a>
|
|
50
50
|
</el-tooltip>
|
|
51
51
|
<div class="list">
|
|
@@ -123,13 +123,13 @@ export default {
|
|
|
123
123
|
},
|
|
124
124
|
{title: '表单分类', field: 'menuKindName', width: 150},
|
|
125
125
|
{
|
|
126
|
-
title: '备注',
|
|
126
|
+
title: this.$t1('备注'),
|
|
127
127
|
field: 'remark',
|
|
128
128
|
width: 250
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
field: 'createDate',
|
|
132
|
-
title: '创建时间',
|
|
132
|
+
title: this.$t1('创建时间'),
|
|
133
133
|
width: 150
|
|
134
134
|
},
|
|
135
135
|
{
|
|
@@ -142,7 +142,7 @@ export default {
|
|
|
142
142
|
searchColumns: [
|
|
143
143
|
{title: "模板文件名称", field: "name", type: "input", common: true},
|
|
144
144
|
{title: "模板文件编码", field: "code", type: "input", common: true},
|
|
145
|
-
{title:
|
|
145
|
+
{title: this.$t1('备注'), field: "remark", type: "input", common: true},
|
|
146
146
|
],
|
|
147
147
|
config: {
|
|
148
148
|
checkboxConfig: {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
<div class="d-cont">
|
|
19
19
|
<div class="d-item">
|
|
20
|
-
<div class="title first"><b
|
|
20
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
|
21
21
|
<table class="table-detail">
|
|
22
22
|
<tbody>
|
|
23
23
|
<tr>
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
</td>
|
|
71
71
|
</tr>
|
|
72
72
|
<tr>
|
|
73
|
-
<th
|
|
73
|
+
<th>{{ $t1('备注') }}</th>
|
|
74
74
|
<td colspan="5">
|
|
75
|
-
<el-input type="textarea" :rows="2" placeholder="请输入内容" size="small"
|
|
75
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
76
76
|
v-model="bdAttachSetting.remark"
|
|
77
77
|
clearable></el-input>
|
|
78
78
|
</td>
|
|
@@ -90,13 +90,13 @@
|
|
|
90
90
|
</td>
|
|
91
91
|
</tr>
|
|
92
92
|
<tr>
|
|
93
|
-
<th
|
|
93
|
+
<th>{{ $t1('创建人') }}</th>
|
|
94
94
|
<td>{{ bdAttachSetting.createBy }}</td>
|
|
95
|
-
<th
|
|
95
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
96
96
|
<td>{{ bdAttachSetting.createDate }}</td>
|
|
97
|
-
<th
|
|
97
|
+
<th>{{ $t1('更新人') }}</th>
|
|
98
98
|
<td>{{ bdAttachSetting.modifyBy }}</td>
|
|
99
|
-
<th
|
|
99
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
100
100
|
<td>{{ bdAttachSetting.modifyDate }}</td>
|
|
101
101
|
</tr>
|
|
102
102
|
</tbody>
|
|
@@ -168,7 +168,7 @@ export default {
|
|
|
168
168
|
saveData() {
|
|
169
169
|
this.$refs.editForm.$baseValidate(valid => {
|
|
170
170
|
if (valid) {
|
|
171
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
171
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
172
172
|
var url = USER_PREFIX + (this.isEdit ? `/bd_attach_setting/update` : `/bd_attach_setting/save`);
|
|
173
173
|
this.$http({
|
|
174
174
|
url: url,
|
|
@@ -177,13 +177,13 @@ export default {
|
|
|
177
177
|
},
|
|
178
178
|
{title: '表单分类', field: 'menuKindName', width: 150},
|
|
179
179
|
{
|
|
180
|
-
title: '备注',
|
|
180
|
+
title: this.$t1('备注'),
|
|
181
181
|
field: 'remark',
|
|
182
182
|
width: 250
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
field: 'createDate',
|
|
186
|
-
title: '创建时间',
|
|
186
|
+
title: this.$t1('创建时间'),
|
|
187
187
|
width: 150
|
|
188
188
|
},
|
|
189
189
|
{
|
|
@@ -202,7 +202,7 @@ export default {
|
|
|
202
202
|
this.openEditDialog(row);
|
|
203
203
|
}}
|
|
204
204
|
>
|
|
205
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
205
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
206
206
|
popper-class="tooltip-skin">
|
|
207
207
|
<i class="el-icon-edit"/>
|
|
208
208
|
</el-tooltip>
|
|
@@ -225,7 +225,7 @@ export default {
|
|
|
225
225
|
},
|
|
226
226
|
{title: "模板文件名称", field: "name", type: "input", common: true},
|
|
227
227
|
{title: "模板文件编码", field: "code", type: "input", common: true},
|
|
228
|
-
{title:
|
|
228
|
+
{title: this.$t1('备注'), field: "remark", type: "input", common: true},
|
|
229
229
|
],
|
|
230
230
|
config: {
|
|
231
231
|
proxyConfig: {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
</div>
|
|
77
77
|
</label>
|
|
78
78
|
<div class="multipleChoice">
|
|
79
|
-
<el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
|
|
79
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
|
|
80
80
|
class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
|
|
81
81
|
<div class="list">
|
|
82
82
|
<div class="item" v-for="(checkRow, index) in checkRows" :key="index">
|
|
@@ -201,7 +201,7 @@ export default {
|
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
field: 'createDate',
|
|
204
|
-
title: '创建时间',
|
|
204
|
+
title: this.$t1('创建时间'),
|
|
205
205
|
width: 150
|
|
206
206
|
},
|
|
207
207
|
{
|
|
@@ -220,7 +220,7 @@ export default {
|
|
|
220
220
|
this.openEditDialog(row);
|
|
221
221
|
}}
|
|
222
222
|
>
|
|
223
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
223
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
224
224
|
popper-class="tooltip-skin">
|
|
225
225
|
<i class="el-icon-edit"/>
|
|
226
226
|
</el-tooltip>
|
|
@@ -8,17 +8,18 @@
|
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
10
|
<el-form>
|
|
11
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
11
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
12
|
+
{{ $t1('重置') }}
|
|
12
13
|
</el-button>
|
|
13
14
|
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
|
|
14
|
-
v-if="isDev && !readonly">{{$t1('保存')}}
|
|
15
|
+
v-if="isDev && !readonly">{{ $t1('保存') }}
|
|
15
16
|
</el-button>
|
|
16
17
|
</el-form>
|
|
17
18
|
</div>
|
|
18
19
|
</div>
|
|
19
20
|
<div class="d-cont">
|
|
20
21
|
<div class="d-item">
|
|
21
|
-
<div class="title first"><b
|
|
22
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
|
22
23
|
<table class="table-detail">
|
|
23
24
|
<tbody>
|
|
24
25
|
<tr>
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
<tr>
|
|
51
52
|
<th>脚本说明</th>
|
|
52
53
|
<td colspan="7">
|
|
53
|
-
<el-input type="textarea" :rows="2" placeholder="请输入内容" size="small"
|
|
54
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
54
55
|
v-model="formScript.scriptRemark"
|
|
55
56
|
clearable></el-input>
|
|
56
57
|
</td>
|
|
@@ -74,13 +75,13 @@
|
|
|
74
75
|
<td colspan="7">{{ formScript.sid }}</td>
|
|
75
76
|
</tr>
|
|
76
77
|
<tr>
|
|
77
|
-
<th
|
|
78
|
+
<th>{{ $t1('创建人') }}</th>
|
|
78
79
|
<td>{{ formScript.createBy }}</td>
|
|
79
|
-
<th
|
|
80
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
80
81
|
<td>{{ formScript.createDate }}</td>
|
|
81
|
-
<th
|
|
82
|
+
<th>{{ $t1('更新人') }}</th>
|
|
82
83
|
<td>{{ formScript.modifyBy }}</td>
|
|
83
|
-
<th
|
|
84
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
84
85
|
<td>{{ formScript.modifyDate }}</td>
|
|
85
86
|
</tr>
|
|
86
87
|
</tbody>
|
|
@@ -94,7 +95,7 @@
|
|
|
94
95
|
</template>
|
|
95
96
|
|
|
96
97
|
<script>
|
|
97
|
-
import {
|
|
98
|
+
import {getBdFlag} from "@base/api/user";
|
|
98
99
|
import preformDialog from "@base/views/bd/setting/form_template/preformDialog.vue";
|
|
99
100
|
|
|
100
101
|
export default {
|
|
@@ -206,9 +207,9 @@ export default {
|
|
|
206
207
|
this.saveDataHandle(preformData);
|
|
207
208
|
},
|
|
208
209
|
getBdEnv() {
|
|
209
|
-
|
|
210
|
+
getBdFlag({
|
|
210
211
|
success: res => {
|
|
211
|
-
this.isDev = res.
|
|
212
|
+
this.isDev = res.objx == 1
|
|
212
213
|
}
|
|
213
214
|
});
|
|
214
215
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</div>
|
|
16
16
|
<div class="d-cont">
|
|
17
17
|
<div class="d-item">
|
|
18
|
-
<div class="title first"><b
|
|
18
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
|
19
19
|
<table class="table-detail">
|
|
20
20
|
<tbody>
|
|
21
21
|
<tr>
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
<tr>
|
|
113
113
|
<th>脚本说明</th>
|
|
114
114
|
<td colspan="7">
|
|
115
|
-
<el-input type="textarea" :rows="2" placeholder="请输入内容" size="small"
|
|
115
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
116
116
|
v-model="formScript.scriptRemark"
|
|
117
117
|
clearable></el-input>
|
|
118
118
|
</td>
|
|
@@ -136,13 +136,13 @@
|
|
|
136
136
|
<td colspan="7">{{ formScript.sid }}</td>
|
|
137
137
|
</tr>
|
|
138
138
|
<tr>
|
|
139
|
-
<th
|
|
139
|
+
<th>{{ $t1('创建人') }}</th>
|
|
140
140
|
<td>{{ formScript.createBy }}</td>
|
|
141
|
-
<th
|
|
141
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
142
142
|
<td>{{ formScript.createDate }}</td>
|
|
143
|
-
<th
|
|
143
|
+
<th>{{ $t1('更新人') }}</th>
|
|
144
144
|
<td>{{ formScript.modifyBy }}</td>
|
|
145
|
-
<th
|
|
145
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
146
146
|
<td>{{ formScript.modifyDate }}</td>
|
|
147
147
|
</tr>
|
|
148
148
|
</tbody>
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
</template>
|
|
163
163
|
|
|
164
164
|
<script>
|
|
165
|
-
import {
|
|
165
|
+
import {getBdFlag} from "@base/api/user";
|
|
166
166
|
import MenuKindDialog from "../../../../views/bd/setting/menu_kind/dialog";
|
|
167
167
|
import projectTagView from "@base/components/projectTag/view.vue";
|
|
168
168
|
import preformDialog from "@base/views/bd/setting/form_template/preformDialog.vue";
|
|
@@ -289,9 +289,9 @@ export default {
|
|
|
289
289
|
}
|
|
290
290
|
},
|
|
291
291
|
getBdEnv() {
|
|
292
|
-
|
|
292
|
+
getBdFlag({
|
|
293
293
|
success: res => {
|
|
294
|
-
this.isDev = res.
|
|
294
|
+
this.isDev = res.objx == 1
|
|
295
295
|
}
|
|
296
296
|
});
|
|
297
297
|
}
|
|
@@ -83,7 +83,7 @@ import scriptDialog from "./dialog.vue";
|
|
|
83
83
|
import MenuKindDialog from "../../../../views/bd/setting/menu_kind/dialog.vue";
|
|
84
84
|
import projectTagDialog from "../../../../views/user/project_tag/dialog.vue";
|
|
85
85
|
import tableForm from "@base/components/table/tableForm.vue";
|
|
86
|
-
import {
|
|
86
|
+
import {getBdFlag} from "@base/api/user";
|
|
87
87
|
import projectTagDeleteButton from "@base/components/projectTag/deleteButton.vue";
|
|
88
88
|
import projectTagAddButton from "@base/components/projectTag/addButton.vue";
|
|
89
89
|
import projectTagView from "@base/components/projectTag/view.vue";
|
|
@@ -246,7 +246,7 @@ export default {
|
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
field: 'createDate',
|
|
249
|
-
title: '创建时间',
|
|
249
|
+
title: this.$t1('创建时间'),
|
|
250
250
|
width: 150
|
|
251
251
|
},
|
|
252
252
|
{
|
|
@@ -265,7 +265,7 @@ export default {
|
|
|
265
265
|
this.openEditDialog(row);
|
|
266
266
|
}}
|
|
267
267
|
>
|
|
268
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
268
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
269
269
|
popper-class="tooltip-skin">
|
|
270
270
|
<i class="el-icon-edit"/>
|
|
271
271
|
</el-tooltip>
|
|
@@ -331,9 +331,9 @@ export default {
|
|
|
331
331
|
return this.checkTags.map(item => item.tagName).join(",");
|
|
332
332
|
},
|
|
333
333
|
getBdEnv() {
|
|
334
|
-
|
|
334
|
+
getBdFlag({
|
|
335
335
|
success: res => {
|
|
336
|
-
this.isDev = res.
|
|
336
|
+
this.isDev = res.objx == 1
|
|
337
337
|
}
|
|
338
338
|
});
|
|
339
339
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<script>
|
|
51
51
|
import editView from './edit.vue';
|
|
52
52
|
import tableForm from "@base/components/table/tableForm.vue";
|
|
53
|
-
import {
|
|
53
|
+
import {getBdFlag} from "@base/api/user";
|
|
54
54
|
|
|
55
55
|
export default {
|
|
56
56
|
name: 'form_script:list',
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
field: 'createDate',
|
|
160
|
-
title: '创建时间',
|
|
160
|
+
title: this.$t1('创建时间'),
|
|
161
161
|
width: 150
|
|
162
162
|
},
|
|
163
163
|
{
|
|
@@ -176,7 +176,7 @@ export default {
|
|
|
176
176
|
this.openEditDialog(row);
|
|
177
177
|
}}
|
|
178
178
|
>
|
|
179
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
179
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
180
180
|
popper-class="tooltip-skin">
|
|
181
181
|
<i class="el-icon-edit"/>
|
|
182
182
|
</el-tooltip>
|
|
@@ -214,9 +214,9 @@ export default {
|
|
|
214
214
|
})
|
|
215
215
|
},
|
|
216
216
|
getBdEnv() {
|
|
217
|
-
|
|
217
|
+
getBdFlag({
|
|
218
218
|
success: res => {
|
|
219
|
-
this.isDev = res.
|
|
219
|
+
this.isDev = res.objx == 1
|
|
220
220
|
}
|
|
221
221
|
});
|
|
222
222
|
}
|
|
@@ -115,7 +115,7 @@ import {treeScollx} from "@base/utils/global";
|
|
|
115
115
|
import MenuKindDialog from "../../../../views/bd/setting/menu_kind/dialog.vue";
|
|
116
116
|
import projectTagDialog from "../../../../views/user/project_tag/dialog.vue";
|
|
117
117
|
import tableForm from "@base/components/table/tableForm.vue";
|
|
118
|
-
import {
|
|
118
|
+
import {getBdFlag} from "@base/api/user";
|
|
119
119
|
import projectTagDeleteButton from "@base/components/projectTag/deleteButton.vue";
|
|
120
120
|
import projectTagAddButton from "@base/components/projectTag/addButton.vue";
|
|
121
121
|
import projectTagView from "@base/components/projectTag/view.vue";
|
|
@@ -310,7 +310,7 @@ export default {
|
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
field: 'createDate',
|
|
313
|
-
title: '创建时间',
|
|
313
|
+
title: this.$t1('创建时间'),
|
|
314
314
|
width: 150
|
|
315
315
|
},
|
|
316
316
|
{
|
|
@@ -329,7 +329,7 @@ export default {
|
|
|
329
329
|
this.openEditDialog(row);
|
|
330
330
|
}}
|
|
331
331
|
>
|
|
332
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
332
|
+
<el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
|
|
333
333
|
popper-class="tooltip-skin">
|
|
334
334
|
<i class="el-icon-edit"/>
|
|
335
335
|
</el-tooltip>
|
|
@@ -447,9 +447,9 @@ export default {
|
|
|
447
447
|
})
|
|
448
448
|
},
|
|
449
449
|
getBdEnv() {
|
|
450
|
-
|
|
450
|
+
getBdFlag({
|
|
451
451
|
success: res => {
|
|
452
|
-
this.isDev = res.
|
|
452
|
+
this.isDev = res.objx == 1
|
|
453
453
|
}
|
|
454
454
|
});
|
|
455
455
|
}
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
</div>
|
|
73
73
|
</label>
|
|
74
74
|
<div class="multipleChoice">
|
|
75
|
-
<el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
|
|
75
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
|
|
76
76
|
class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
|
|
77
77
|
<div class="list">
|
|
78
78
|
<div class="item" v-for="(checkRow, index) in checkRows" :key="index">
|
|
@@ -159,7 +159,7 @@ export default {
|
|
|
159
159
|
width: 150
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
|
-
title: '是否启用',
|
|
162
|
+
title: this.$t1('是否启用'),
|
|
163
163
|
field: 'enabled',
|
|
164
164
|
width: 150,
|
|
165
165
|
slots: {
|
|
@@ -181,7 +181,7 @@ export default {
|
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
|
-
title: '备注',
|
|
184
|
+
title: this.$t1('备注'),
|
|
185
185
|
field: 'remark',
|
|
186
186
|
width: 150
|
|
187
187
|
},
|
|
@@ -191,7 +191,7 @@ export default {
|
|
|
191
191
|
width: 200
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
|
-
title: '创建时间',
|
|
194
|
+
title: this.$t1('创建时间'),
|
|
195
195
|
field: 'createDate',
|
|
196
196
|
width: 150
|
|
197
197
|
},
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
<div class="d-cont">
|
|
20
20
|
<div class="d-item">
|
|
21
|
-
<div class="title first"><b
|
|
21
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
|
22
22
|
<table class="table-detail">
|
|
23
23
|
<tbody>
|
|
24
24
|
<tr>
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
</td>
|
|
90
90
|
</tr>
|
|
91
91
|
<tr>
|
|
92
|
-
<th
|
|
92
|
+
<th>{{ $t1('备注') }}</th>
|
|
93
93
|
<td colspan="5">
|
|
94
|
-
<el-input type="textarea" :rows="2" placeholder="请输入内容" size="small" v-model="formTemplate.remark"
|
|
94
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small" v-model="formTemplate.remark"
|
|
95
95
|
clearable></el-input>
|
|
96
96
|
</td>
|
|
97
97
|
</tr>
|
|
@@ -113,13 +113,13 @@
|
|
|
113
113
|
</td>
|
|
114
114
|
</tr>
|
|
115
115
|
<tr>
|
|
116
|
-
<th
|
|
116
|
+
<th>{{ $t1('创建人') }}</th>
|
|
117
117
|
<td>{{ formTemplate.createBy }}</td>
|
|
118
|
-
<th
|
|
118
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
119
119
|
<td>{{ formTemplate.createDate }}</td>
|
|
120
|
-
<th
|
|
120
|
+
<th>{{ $t1('更新人') }}</th>
|
|
121
121
|
<td>{{ formTemplate.modifyBy }}</td>
|
|
122
|
-
<th
|
|
122
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
123
123
|
<td>{{ formTemplate.modifyDate }}</td>
|
|
124
124
|
</tr>
|
|
125
125
|
<tr>
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
|
|
167
167
|
<script>
|
|
168
168
|
import MenuKindDialog from "../../../../views/bd/setting/menu_kind/dialog";
|
|
169
|
-
import {
|
|
169
|
+
import {getBdFlag} from "@base/api/user";
|
|
170
170
|
import projectTagView from "@base/components/projectTag/view.vue";
|
|
171
171
|
import preformDialog from "@base/views/bd/setting/form_template/preformDialog.vue";
|
|
172
172
|
|
|
@@ -289,9 +289,9 @@ export default {
|
|
|
289
289
|
}
|
|
290
290
|
},
|
|
291
291
|
getBdEnv() {
|
|
292
|
-
|
|
292
|
+
getBdFlag({
|
|
293
293
|
success: res => {
|
|
294
|
-
this.isDev = res.
|
|
294
|
+
this.isDev = res.objx == 1
|
|
295
295
|
}
|
|
296
296
|
});
|
|
297
297
|
},
|
|
@@ -92,7 +92,7 @@ export default {
|
|
|
92
92
|
saveData() {
|
|
93
93
|
this.$refs.editForm.$baseValidate(valid => {
|
|
94
94
|
if (valid) {
|
|
95
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
95
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
96
96
|
var url = this.current_prefix + (this.isEdit ? `/wf_obj_config/update` : `/wf_obj_config/save`);
|
|
97
97
|
this.$http({
|
|
98
98
|
url: url,
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
</div>
|
|
53
53
|
</label>
|
|
54
54
|
<div class="multipleChoice">
|
|
55
|
-
<el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top">
|
|
55
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top">
|
|
56
56
|
<a class="allDel icon-quanbushanchu" @click="clearChecked()"></a>
|
|
57
57
|
</el-tooltip>
|
|
58
58
|
<div class="list">
|
|
@@ -142,12 +142,12 @@ export default {
|
|
|
142
142
|
width: 150,
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
|
-
title: '备注',
|
|
145
|
+
title: this.$t1('备注'),
|
|
146
146
|
field: 'remark',
|
|
147
147
|
width: 150
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
|
-
title: '创建时间',
|
|
150
|
+
title: this.$t1('创建时间'),
|
|
151
151
|
field: 'createDate',
|
|
152
152
|
width: 150
|
|
153
153
|
},
|