cloud-web-corejs 1.0.28 → 1.0.29
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/components/formOplog/mixins.js +1 -1
- 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 +232 -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
|
@@ -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
|
<div class="d-cont">
|
|
@@ -20,37 +22,34 @@
|
|
|
20
22
|
<tr>
|
|
21
23
|
<th>
|
|
22
24
|
<em class="f-red">*</em>
|
|
23
|
-
属性名
|
|
25
|
+
{{ $t1('属性名') }}
|
|
24
26
|
</th>
|
|
25
27
|
<td>{{ commonAttribute.name }}</td>
|
|
26
28
|
<th>
|
|
27
29
|
<em class="f-red">*</em>
|
|
28
|
-
属性编号
|
|
30
|
+
{{ $t1('属性编号') }}
|
|
29
31
|
</th>
|
|
30
32
|
<td>{{ commonAttribute.code }}</td>
|
|
31
33
|
</tr>
|
|
32
34
|
<tr>
|
|
33
35
|
<th>
|
|
34
36
|
<em class="f-red">*</em>
|
|
35
|
-
属性值
|
|
37
|
+
{{ $t1('属性值') }}
|
|
36
38
|
</th>
|
|
37
39
|
<td>
|
|
38
40
|
<el-form-item prop="value" :rules="[{ required: true, trigger: 'blur' }]">
|
|
39
41
|
<el-input type="text" autocomplete="off" v-model="commonAttribute.value" clearable/>
|
|
40
42
|
</el-form-item>
|
|
41
43
|
</td>
|
|
42
|
-
|
|
43
44
|
<th>
|
|
44
|
-
英文属性值
|
|
45
|
+
{{ $t1('英文属性值') }}
|
|
45
46
|
</th>
|
|
46
47
|
<td>
|
|
47
48
|
<el-form-item prop="param1" :rules="[{ required: false, trigger: 'blur' }]">
|
|
48
49
|
<el-input type="text" autocomplete="off" v-model="commonAttribute.param5" clearable/>
|
|
49
50
|
</el-form-item>
|
|
50
51
|
</td>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<th>属性值编号</th>
|
|
52
|
+
<th>{{ $t1('属性值编号') }}</th>
|
|
54
53
|
<td>
|
|
55
54
|
<el-form-item v-if="!dataId" prop="sn" :rules="[{ required: false, trigger: 'blur' }]">
|
|
56
55
|
<el-input type="text" autocomplete="off" v-model="commonAttribute.sn" clearable/>
|
|
@@ -59,11 +58,11 @@
|
|
|
59
58
|
{{ commonAttribute.sn }}
|
|
60
59
|
</template>
|
|
61
60
|
</td>
|
|
62
|
-
<td colspan="4"><span class="f-red"
|
|
61
|
+
<td colspan="4"><span class="f-red">{{ $t1('注:不填写,自动产生唯一属性值编号') }}</span></td>
|
|
63
62
|
</tr>
|
|
64
63
|
<tr>
|
|
65
64
|
<th>
|
|
66
|
-
企业编码
|
|
65
|
+
{{ $t1('企业编码') }}
|
|
67
66
|
</th>
|
|
68
67
|
<td colspan="5">
|
|
69
68
|
<el-form-item prop="exeCompanyCode" :rules="[{ required: false, trigger: 'blur' }]">
|
|
@@ -71,11 +70,13 @@
|
|
|
71
70
|
</el-form-item>
|
|
72
71
|
</td>
|
|
73
72
|
<td colspan="2"><span
|
|
74
|
-
class="f-red"
|
|
73
|
+
class="f-red">{{
|
|
74
|
+
$t1('注:多个企业用逗号隔开,未配置全企业可见,已配置只允许配置企业才可见当前属性值。')
|
|
75
|
+
}}</span></td>
|
|
75
76
|
</tr>
|
|
76
77
|
<tr>
|
|
77
78
|
<th>
|
|
78
|
-
参数1
|
|
79
|
+
{{ $t1('参数1') }}
|
|
79
80
|
</th>
|
|
80
81
|
<td>
|
|
81
82
|
<el-form-item prop="param1" :rules="[{ required: false, trigger: 'blur' }]">
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
</el-form-item>
|
|
84
85
|
</td>
|
|
85
86
|
<th>
|
|
86
|
-
参数2
|
|
87
|
+
{{ $t1('参数2') }}
|
|
87
88
|
</th>
|
|
88
89
|
<td>
|
|
89
90
|
<el-form-item prop="param1" :rules="[{ required: false, trigger: 'blur' }]">
|
|
@@ -91,7 +92,7 @@
|
|
|
91
92
|
</el-form-item>
|
|
92
93
|
</td>
|
|
93
94
|
<th>
|
|
94
|
-
参数3
|
|
95
|
+
{{ $t1('参数3') }}
|
|
95
96
|
</th>
|
|
96
97
|
<td>
|
|
97
98
|
<el-form-item prop="param1" :rules="[{ required: false, trigger: 'blur' }]">
|
|
@@ -101,22 +102,21 @@
|
|
|
101
102
|
</tr>
|
|
102
103
|
<tr>
|
|
103
104
|
<th>
|
|
104
|
-
参数4
|
|
105
|
+
{{ $t1('参数4') }}
|
|
105
106
|
</th>
|
|
106
107
|
<td>
|
|
107
108
|
<el-form-item prop="param1" :rules="[{ required: false, trigger: 'blur' }]">
|
|
108
109
|
<el-input type="text" autocomplete="off" v-model="commonAttribute.param4" clearable/>
|
|
109
110
|
</el-form-item>
|
|
110
111
|
</td>
|
|
111
|
-
|
|
112
112
|
</tr>
|
|
113
113
|
<tr>
|
|
114
|
-
<th
|
|
114
|
+
<th>{{ $t1('设置') }}</th>
|
|
115
115
|
<td>
|
|
116
|
-
<el-checkbox label="是否启用" v-model="commonAttribute.enabled"></el-checkbox>
|
|
116
|
+
<el-checkbox :label="$t1('是否启用')" v-model="commonAttribute.enabled"></el-checkbox>
|
|
117
117
|
</td>
|
|
118
118
|
<th>
|
|
119
|
-
序号
|
|
119
|
+
{{ $t1('序号') }}
|
|
120
120
|
</th>
|
|
121
121
|
<td>
|
|
122
122
|
<el-form-item prop="orders" :rules="[{ required: false, trigger: 'blur' }]">
|
|
@@ -22,25 +22,27 @@
|
|
|
22
22
|
<template #form>
|
|
23
23
|
<div style="margin-bottom: 8px;" class="clearfix">
|
|
24
24
|
<div class="fl">
|
|
25
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
|
|
25
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
|
|
26
|
+
{{ $t1('新增属性名') }}
|
|
26
27
|
</vxe-button>
|
|
27
28
|
</div>
|
|
28
29
|
<div class="fr">
|
|
29
30
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
30
|
-
plain>{{$t1('重置')}}
|
|
31
|
+
plain>{{ $t1('重置') }}
|
|
31
32
|
</vxe-button>
|
|
32
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent"
|
|
33
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
34
|
+
{{ $t1('搜索') }}
|
|
33
35
|
</vxe-button>
|
|
34
36
|
</div>
|
|
35
37
|
</div>
|
|
36
38
|
<vxe-form ref="form" class="screen-box" :data-form="formData" title-width="92px" title-align="right"
|
|
37
39
|
@submit="searchEvent" @reset="searchEvent">
|
|
38
|
-
<vxe-form-item title="
|
|
40
|
+
<vxe-form-item :title="$t1('属性名')+':'" field="name">
|
|
39
41
|
<template v-slot="">
|
|
40
42
|
<el-input v-model="formData.name" size="small" clearable/>
|
|
41
43
|
</template>
|
|
42
44
|
</vxe-form-item>
|
|
43
|
-
<vxe-form-item title="
|
|
45
|
+
<vxe-form-item :title="$t1('属性编号')+':'" field="code">
|
|
44
46
|
<template v-slot="">
|
|
45
47
|
<el-input v-model="formData.code" size="small" clearable/>
|
|
46
48
|
</template>
|
|
@@ -152,13 +154,13 @@ export default {
|
|
|
152
154
|
columns: [
|
|
153
155
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
154
156
|
{
|
|
155
|
-
title: '属性名',
|
|
157
|
+
title: this.$t1('属性名'),
|
|
156
158
|
field: 'name',
|
|
157
159
|
width: 150,
|
|
158
160
|
fixed: 'left'
|
|
159
161
|
},
|
|
160
162
|
{
|
|
161
|
-
title: '属性编号',
|
|
163
|
+
title: this.$t1('属性编号'),
|
|
162
164
|
field: 'code',
|
|
163
165
|
width: 150
|
|
164
166
|
},
|
|
@@ -178,16 +180,15 @@ export default {
|
|
|
178
180
|
<div>
|
|
179
181
|
<a
|
|
180
182
|
class="a-link"
|
|
181
|
-
data-tit="新增"
|
|
182
183
|
onclick={() => {
|
|
183
184
|
this.openEditItemDialog('', row);
|
|
184
185
|
}}
|
|
185
186
|
>
|
|
186
|
-
<el-tooltip enterable={false} effect="dark" content=
|
|
187
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('新增属性值')} placement="top"
|
|
187
188
|
popper-class="tooltip-skin">
|
|
188
189
|
<div>
|
|
189
190
|
<i class="el-icon-circle-plus-outline"/>
|
|
190
|
-
<span
|
|
191
|
+
<span>{this.$t1('新增属性值')}</span>
|
|
191
192
|
</div>
|
|
192
193
|
</el-tooltip>
|
|
193
194
|
</a>
|
|
@@ -198,7 +199,7 @@ export default {
|
|
|
198
199
|
this.openEditDialog(row.id);
|
|
199
200
|
}}
|
|
200
201
|
>
|
|
201
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
202
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
202
203
|
popper-class="tooltip-skin">
|
|
203
204
|
<i class="el-icon-edit"/>
|
|
204
205
|
</el-tooltip>
|
|
@@ -226,7 +227,7 @@ export default {
|
|
|
226
227
|
columns: [
|
|
227
228
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
228
229
|
{
|
|
229
|
-
title: '属性值',
|
|
230
|
+
title: this.$t1('属性值'),
|
|
230
231
|
field: 'value',
|
|
231
232
|
width: 250,
|
|
232
233
|
fixed: 'left',
|
|
@@ -237,7 +238,7 @@ export default {
|
|
|
237
238
|
}
|
|
238
239
|
},
|
|
239
240
|
{
|
|
240
|
-
title: '属性值编号',
|
|
241
|
+
title: this.$t1('属性值编号'),
|
|
241
242
|
field: 'sn',
|
|
242
243
|
width: 150,
|
|
243
244
|
slots: {
|
|
@@ -253,25 +254,25 @@ export default {
|
|
|
253
254
|
slots: {
|
|
254
255
|
default: ({row}) => {
|
|
255
256
|
if (row.enabled) {
|
|
256
|
-
return [<div class="txt-status">{
|
|
257
|
+
return [<div class="txt-status">{this.$t1('启用')}</div>];
|
|
257
258
|
} else {
|
|
258
|
-
return [<div class="txt-status s-3">{
|
|
259
|
+
return [<div class="txt-status s-3">{this.$t1('禁用')}</div>];
|
|
259
260
|
}
|
|
260
261
|
}
|
|
261
262
|
}
|
|
262
263
|
},
|
|
263
264
|
{
|
|
264
|
-
title: '属性名',
|
|
265
|
+
title: this.$t1('属性名'),
|
|
265
266
|
field: 'name',
|
|
266
267
|
width: 250
|
|
267
268
|
},
|
|
268
269
|
{
|
|
269
|
-
title: '属性编号',
|
|
270
|
+
title: this.$t1('属性编号'),
|
|
270
271
|
field: 'code',
|
|
271
272
|
width: 150
|
|
272
273
|
},
|
|
273
274
|
{
|
|
274
|
-
title: '企业编码',
|
|
275
|
+
title: this.$t1('企业编码'),
|
|
275
276
|
field: 'exeCompanyCode',
|
|
276
277
|
width: 250
|
|
277
278
|
},
|
|
@@ -281,27 +282,27 @@ export default {
|
|
|
281
282
|
width: 150
|
|
282
283
|
},
|
|
283
284
|
{
|
|
284
|
-
title: '参数1',
|
|
285
|
+
title: this.$t1('参数1'),
|
|
285
286
|
field: 'param1',
|
|
286
287
|
width: 150
|
|
287
288
|
},
|
|
288
289
|
{
|
|
289
|
-
title: '参数2',
|
|
290
|
+
title: this.$t1('参数2'),
|
|
290
291
|
field: 'param2',
|
|
291
292
|
width: 150
|
|
292
293
|
},
|
|
293
294
|
{
|
|
294
|
-
title: '参数3',
|
|
295
|
+
title: this.$t1('参数3'),
|
|
295
296
|
field: 'param3',
|
|
296
297
|
width: 150
|
|
297
298
|
},
|
|
298
299
|
{
|
|
299
|
-
title: '参数4',
|
|
300
|
+
title: this.$t1('参数4'),
|
|
300
301
|
field: 'param4',
|
|
301
302
|
width: 150
|
|
302
303
|
},
|
|
303
304
|
{
|
|
304
|
-
title: '参数5',
|
|
305
|
+
title: this.$t1('参数5'),
|
|
305
306
|
field: 'param5',
|
|
306
307
|
width: 150
|
|
307
308
|
},
|
|
@@ -330,7 +331,7 @@ export default {
|
|
|
330
331
|
this.openEditItemDialog(row.id);
|
|
331
332
|
}}
|
|
332
333
|
>
|
|
333
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
334
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
334
335
|
popper-class="tooltip-skin">
|
|
335
336
|
<i class="el-icon-edit"/>
|
|
336
337
|
</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
|
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<tr>
|
|
21
21
|
<th>
|
|
22
22
|
<em class="f-red">*</em>
|
|
23
|
-
脚本编号
|
|
23
|
+
{{ $t1('脚本编号') }}
|
|
24
24
|
</th>
|
|
25
25
|
<td>
|
|
26
26
|
<el-form-item prop="scriptCode" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
</td>
|
|
30
30
|
<th>
|
|
31
31
|
<em class="f-red">*</em>
|
|
32
|
-
是否启用
|
|
32
|
+
{{ $t1('是否启用') }}
|
|
33
33
|
</th>
|
|
34
34
|
<td>
|
|
35
35
|
<el-form-item prop="enabled" :rules="[{ required: true, trigger: 'blur' }]">
|
|
36
36
|
<el-radio-group v-model="commonScript.enabled">
|
|
37
|
-
<el-radio :label="true"
|
|
38
|
-
<el-radio :label="false"
|
|
37
|
+
<el-radio :label="true">{{ $t1('启用') }}</el-radio>
|
|
38
|
+
<el-radio :label="false">{{ $t1('禁用') }}</el-radio>
|
|
39
39
|
</el-radio-group>
|
|
40
40
|
</el-form-item>
|
|
41
41
|
</td>
|
|
42
42
|
<th>
|
|
43
|
-
数据类型
|
|
43
|
+
{{ $t1('数据类型') }}
|
|
44
44
|
</th>
|
|
45
45
|
<td>
|
|
46
46
|
<el-form-item prop="dataTypeName" :rules="[{ required: false, trigger: ['blur', 'change'] }]">
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
<tr>
|
|
61
61
|
<th>
|
|
62
62
|
<em class="f-red">*</em>
|
|
63
|
-
全部组织使用
|
|
63
|
+
{{ $t1('全部组织使用') }}
|
|
64
64
|
</th>
|
|
65
65
|
<td>
|
|
66
66
|
<el-form-item prop="allCompany" :rules="[{ required: true, trigger: 'blur' }]">
|
|
67
67
|
<el-radio-group v-model="commonScript.allCompany" @change="()=>{commonScript.exeCompanyCode=null}">
|
|
68
|
-
<el-radio :label="true"
|
|
69
|
-
<el-radio :label="false"
|
|
68
|
+
<el-radio :label="true">{{ $t1('是') }}</el-radio>
|
|
69
|
+
<el-radio :label="false">{{ $t1('否') }}</el-radio>
|
|
70
70
|
</el-radio-group>
|
|
71
71
|
</el-form-item>
|
|
72
72
|
</td>
|
|
73
73
|
<th>
|
|
74
74
|
<em class="f-red" v-if="!commonScript.allCompany">*</em>
|
|
75
|
-
执行企业编码
|
|
75
|
+
{{ $t1('执行企业编码') }}
|
|
76
76
|
</th>
|
|
77
77
|
<td>
|
|
78
78
|
<el-form-item prop="exeCompanyCode" :rules="[{ required: !commonScript.allCompany, trigger: 'blur' }]">
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
<tr>
|
|
85
85
|
<th>
|
|
86
86
|
<em class="f-red">*</em>
|
|
87
|
-
脚本说明
|
|
87
|
+
{{ $t1('脚本说明') }}
|
|
88
88
|
</th>
|
|
89
89
|
<td colspan="7">
|
|
90
90
|
<el-form-item prop="scriptDesc" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
</tr>
|
|
96
96
|
<tr>
|
|
97
97
|
<th>
|
|
98
|
-
脚本
|
|
98
|
+
{{ $t1('脚本') }}
|
|
99
99
|
<!-- <scriptDescriptionButton path="static/readme/PushSetting.txt"></scriptDescriptionButton>-->
|
|
100
100
|
<scriptTestButton :script.sync="commonScript.script"></scriptTestButton>
|
|
101
101
|
</th>
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
</el-tab-pane>
|
|
8
8
|
<el-tab-pane :label="$t1('列表')" name="second">
|
|
9
9
|
<div class="tree-box fl">
|
|
10
|
-
<div class="tit"><b
|
|
10
|
+
<div class="tit"><b>{{ $t1('数据类型') }}</b></div>
|
|
11
11
|
<div class="tree-btns" style="margin-top: 10px;">
|
|
12
12
|
<el-button type="primary" plain icon="el-icon-circle-plus-outline" class="btn"
|
|
13
|
-
@click="addDataType()"
|
|
13
|
+
@click="addDataType()">{{ $t1('新增') }}
|
|
14
14
|
</el-button>
|
|
15
15
|
<el-button type="primary" plain icon="el-icon-edit-outline" class="btn" @click="editDataType()"
|
|
16
|
-
:disabled="!currentDataType || !currentDataType.dataTypeCode"
|
|
16
|
+
:disabled="!currentDataType || !currentDataType.dataTypeCode">{{ $t1('编辑') }}
|
|
17
17
|
</el-button>
|
|
18
18
|
<el-button type="primary" plain icon="el-icon-delete" class="btn" @click="deleteDataType()"
|
|
19
|
-
:disabled="!currentDataType || !currentDataType.dataTypeCode"
|
|
19
|
+
:disabled="!currentDataType || !currentDataType.dataTypeCode">{{ $t1('删除') }}
|
|
20
20
|
</el-button>
|
|
21
21
|
</div>
|
|
22
22
|
<el-tree
|
|
@@ -45,51 +45,48 @@
|
|
|
45
45
|
<template #form>
|
|
46
46
|
<div class="clearfix screen-btns">
|
|
47
47
|
<div class="fl">
|
|
48
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
|
|
48
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
|
|
49
|
+
{{ $t1('新增') }}
|
|
49
50
|
</vxe-button>
|
|
50
|
-
<base-table-export :option="{ title: '通用执行脚本导出', targetRef: 'table-m1'}"
|
|
51
|
+
<base-table-export :option="{ title: $t1('通用执行脚本导出'), targetRef: 'table-m1'}"
|
|
51
52
|
:parent-target="_self"/>
|
|
52
53
|
</div>
|
|
53
54
|
<div class="fr">
|
|
54
55
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
55
|
-
plain>{{$t1('重置')}}
|
|
56
|
+
plain>{{ $t1('重置') }}
|
|
56
57
|
</vxe-button>
|
|
57
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent"
|
|
58
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
59
|
+
{{ $t1('搜索') }}
|
|
58
60
|
</vxe-button>
|
|
59
61
|
</div>
|
|
60
62
|
</div>
|
|
61
63
|
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
62
64
|
@submit="searchEvent" @reset="searchEvent">
|
|
63
|
-
<vxe-form-item title="
|
|
65
|
+
<vxe-form-item :title="$t1('数据类型')+':'" field="dataTypeName">
|
|
64
66
|
<template v-slot>
|
|
65
67
|
<el-input v-model="currentDataType.dataTypeName" size="small" disabled/>
|
|
66
68
|
</template>
|
|
67
69
|
</vxe-form-item>
|
|
68
|
-
<vxe-form-item title="
|
|
70
|
+
<vxe-form-item :title="$t1('脚本编号')+':'" field="scriptCode">
|
|
69
71
|
<template v-slot>
|
|
70
72
|
<el-input v-model="formData.scriptCode" size="small" clearable/>
|
|
71
73
|
</template>
|
|
72
74
|
</vxe-form-item>
|
|
73
|
-
<vxe-form-item title="
|
|
75
|
+
<vxe-form-item :title="$t1('脚本说明')+':'" field="scriptDesc">
|
|
74
76
|
<template v-slot>
|
|
75
77
|
<el-input v-model="formData.scriptDesc" size="small" clearable/>
|
|
76
78
|
</template>
|
|
77
79
|
</vxe-form-item>
|
|
78
|
-
|
|
79
|
-
<!-- <template v-slot>-->
|
|
80
|
-
<!-- <el-input v-model="formData.exeCompanyCode" size="small" clearable/>-->
|
|
81
|
-
<!-- </template>-->
|
|
82
|
-
<!-- </vxe-form-item>-->
|
|
83
|
-
<vxe-form-item title="脚本:" field="script">
|
|
80
|
+
<vxe-form-item :title="$t1('脚本')+':'" field="script">
|
|
84
81
|
<template v-slot>
|
|
85
82
|
<el-input v-model="formData.script" size="small" clearable/>
|
|
86
83
|
</template>
|
|
87
84
|
</vxe-form-item>
|
|
88
|
-
<vxe-form-item title="
|
|
85
|
+
<vxe-form-item :title="$t1('是否启用')+':'" field="enabled">
|
|
89
86
|
<template v-slot>
|
|
90
87
|
<el-select v-model="formData.enabled" clearable>
|
|
91
|
-
<el-option :value="true" label="启用"></el-option>
|
|
92
|
-
<el-option :value="false" label="禁用"></el-option>
|
|
88
|
+
<el-option :value="true" :label="$t1('启用')"></el-option>
|
|
89
|
+
<el-option :value="false" :label="$t1('禁用')"></el-option>
|
|
93
90
|
</el-select>
|
|
94
91
|
</template>
|
|
95
92
|
</vxe-form-item>
|
|
@@ -151,7 +148,7 @@ export default {
|
|
|
151
148
|
},
|
|
152
149
|
initTableList() {
|
|
153
150
|
let that = this;
|
|
154
|
-
let pushTypeMap = {0: '异步推送', 1: '同步调用'};
|
|
151
|
+
let pushTypeMap = {0: this.$t1('异步推送'), 1: this.$t1('同步调用')};
|
|
155
152
|
let tableOption = {
|
|
156
153
|
vue: this,
|
|
157
154
|
tableRef: 'table-m1',
|
|
@@ -166,18 +163,18 @@ export default {
|
|
|
166
163
|
columns: [
|
|
167
164
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
168
165
|
{
|
|
169
|
-
title: '脚本编号',
|
|
166
|
+
title: this.$t1('脚本编号'),
|
|
170
167
|
field: 'scriptCode',
|
|
171
168
|
width: 150,
|
|
172
169
|
fixed: 'left'
|
|
173
170
|
},
|
|
174
171
|
{
|
|
175
|
-
title: '脚本说明',
|
|
172
|
+
title: this.$t1('脚本说明'),
|
|
176
173
|
field: 'scriptDesc',
|
|
177
174
|
width: 150
|
|
178
175
|
},
|
|
179
176
|
{
|
|
180
|
-
title: '执行企业编码',
|
|
177
|
+
title: this.$t1('执行企业编码'),
|
|
181
178
|
field: 'exeCompanyCode',
|
|
182
179
|
width: 150
|
|
183
180
|
},
|
|
@@ -190,13 +187,13 @@ export default {
|
|
|
190
187
|
if (row.enabled) {
|
|
191
188
|
return [
|
|
192
189
|
<div class="txt-status">
|
|
193
|
-
<span
|
|
190
|
+
<span>{this.$t1('启用')}</span>
|
|
194
191
|
</div>
|
|
195
192
|
];
|
|
196
193
|
} else {
|
|
197
194
|
return [
|
|
198
195
|
<div class="txt-status disable">
|
|
199
|
-
<span
|
|
196
|
+
<span>{this.$t1('禁用')}</span>
|
|
200
197
|
</div>
|
|
201
198
|
];
|
|
202
199
|
}
|
|
@@ -205,20 +202,20 @@ export default {
|
|
|
205
202
|
},
|
|
206
203
|
{
|
|
207
204
|
field: 'allCompany',
|
|
208
|
-
title: '全部组织使用',
|
|
205
|
+
title: this.$t1('全部组织使用'),
|
|
209
206
|
width: 150,
|
|
210
207
|
slots: {
|
|
211
208
|
default: ({row}) => {
|
|
212
209
|
if (row.allCompany) {
|
|
213
210
|
return [
|
|
214
211
|
<div class="txt-status">
|
|
215
|
-
<span
|
|
212
|
+
<span>{this.$t1('是')}</span>
|
|
216
213
|
</div>
|
|
217
214
|
];
|
|
218
215
|
} else {
|
|
219
216
|
return [
|
|
220
217
|
<div class="txt-status disable">
|
|
221
|
-
<span
|
|
218
|
+
<span>{this.$t1('否')}</span>
|
|
222
219
|
</div>
|
|
223
220
|
];
|
|
224
221
|
}
|
|
@@ -247,7 +244,7 @@ export default {
|
|
|
247
244
|
this.openEditDialog(row.id);
|
|
248
245
|
}}
|
|
249
246
|
>
|
|
250
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
247
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
251
248
|
popper-class="tooltip-skin">
|
|
252
249
|
<i class="el-icon-edit"/>
|
|
253
250
|
</el-tooltip>
|
|
@@ -278,7 +275,7 @@ export default {
|
|
|
278
275
|
dataTypeGroup: this.dataTypeGroup
|
|
279
276
|
},
|
|
280
277
|
success: res => {
|
|
281
|
-
let rows = [{id: -1, dataTypeCode: null, dataTypeName:
|
|
278
|
+
let rows = [{id: -1, dataTypeCode: null, dataTypeName: this.$t1('全部'), leaf: true}]
|
|
282
279
|
let records = res.objx && res.objx.records ? res.objx.records : [];
|
|
283
280
|
records.forEach(value => {
|
|
284
281
|
value.leaf = true;
|
|
@@ -314,7 +311,8 @@ export default {
|
|
|
314
311
|
},
|
|
315
312
|
deleteDataType() {
|
|
316
313
|
let row = this.currentDataType;
|
|
317
|
-
|
|
314
|
+
|
|
315
|
+
this.$baseConfirm(this.$t1('您确定要删除数据类型[{dataTypeName}]吗?', {dataTypeName: row.dataTypeName})).then(() => {
|
|
318
316
|
var url = USER_PREFIX + `/data_type_setting/setDisabled`;
|
|
319
317
|
this.$http({
|
|
320
318
|
url: url,
|
|
@@ -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"
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
<div class="clearfix screen-btns">
|
|
28
28
|
<div class="fr">
|
|
29
29
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
30
|
-
plain>{{$t1('重置')}}
|
|
30
|
+
plain>{{ $t1('重置') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
|
-
{{$t1('搜索')}}
|
|
33
|
+
{{ $t1('搜索') }}
|
|
34
34
|
</vxe-button>
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
37
37
|
<vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
|
|
38
38
|
@reset="resetEvent">
|
|
39
|
-
<vxe-form-item title="
|
|
39
|
+
<vxe-form-item :title="$t1('组织名称')+':'" field="companyName">
|
|
40
40
|
<template v-slot>
|
|
41
41
|
<el-input v-model="formData.companyName" size="small" clearable/>
|
|
42
42
|
</template>
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
65
65
|
<span slot="footer" class="dialog-footer">
|
|
66
|
-
<span class="fl tips" v-if="!selectMulti">{{$t1('注:双击确认选择(单选)')}}</span>
|
|
66
|
+
<span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
|
|
67
67
|
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
68
68
|
<i class="el-icon-close el-icon"></i>
|
|
69
|
-
{{$t1('取 消')}}
|
|
69
|
+
{{ $t1('取 消') }}
|
|
70
70
|
</el-button>
|
|
71
71
|
<el-button type="primary" @click="dialogPrimary" class="button-sty">
|
|
72
72
|
<i class="el-icon-check el-icon"></i>
|
|
73
|
-
{{$t1('确 定')}}
|
|
73
|
+
{{ $t1('确 定') }}
|
|
74
74
|
</el-button>
|
|
75
75
|
</span>
|
|
76
76
|
</el-dialog>
|
|
@@ -116,8 +116,8 @@ export default {
|
|
|
116
116
|
},
|
|
117
117
|
columns: [
|
|
118
118
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
119
|
-
{title: '组织名称', field: 'companyName', width: 250, fixed: 'left', treeNode: true},
|
|
120
|
-
{title: '组织编码', field: 'companyCode', width: 200},
|
|
119
|
+
{title: this.$t1('组织名称'), field: 'companyName', width: 250, fixed: 'left', treeNode: true},
|
|
120
|
+
{title: this.$t1('组织编码'), field: 'companyCode', width: 200},
|
|
121
121
|
{
|
|
122
122
|
width: 47,
|
|
123
123
|
fixed: 'right',
|