cloud-web-corejs 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/langTag/addButton.vue +22 -0
- package/src/components/langTag/deleteButton.vue +22 -0
- package/src/components/langTag/mixins/addButton.js +5 -0
- package/src/components/langTag/mixins/deleteButton.js +5 -0
- package/src/components/langTag/mixins/view.js +5 -0
- package/src/components/langTag/view.vue +33 -0
- package/src/components/projectTag/addButton.vue +3 -50
- package/src/components/projectTag/deleteButton.vue +3 -50
- package/src/components/projectTag/mixins/addButton.js +5 -0
- package/src/components/projectTag/mixins/deleteButton.js +5 -0
- package/src/components/projectTag/mixins/view.js +5 -0
- package/src/components/projectTag/view.vue +33 -72
- package/src/components/xform/mixins/scriptHttp.js +1 -1
- package/src/index.js +0 -2
- package/src/layout/components/Sidebar/default.vue +3 -4
- package/src/router/modules/system.js +1 -1
- package/src/store/config/index.js +1 -1
- package/src/store/getters.js +2 -0
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/user.js +2 -1
- package/src/utils/request.js +28 -29
- package/src/utils/vab.js +27 -27
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -87
- package/src/views/bd/setting/bd_attach_setting/edit.vue +3 -92
- package/src/views/bd/setting/bd_attach_setting/list.vue +4 -214
- package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +89 -0
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +96 -0
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +219 -0
- package/src/views/bd/setting/form_script/dialog.vue +3 -137
- package/src/views/bd/setting/form_script/edit.vue +3 -127
- package/src/views/bd/setting/form_script/edit1.vue +3 -142
- package/src/views/bd/setting/form_script/form_list.vue +4 -259
- package/src/views/bd/setting/form_script/list.vue +6 -174
- package/src/views/bd/setting/form_script/list1.vue +6 -333
- package/src/views/bd/setting/form_script/list2.vue +3 -4
- package/src/views/bd/setting/form_script/mixins/dialog.js +142 -0
- package/src/views/bd/setting/form_script/mixins/edit.js +134 -0
- package/src/views/bd/setting/form_script/mixins/edit1.js +149 -0
- package/src/views/bd/setting/form_script/mixins/form_list.js +264 -0
- package/src/views/bd/setting/form_script/mixins/list.js +176 -0
- package/src/views/bd/setting/form_script/mixins/list1.js +336 -0
- package/src/views/bd/setting/form_script/mixins/list2.js +14 -0
- package/src/views/bd/setting/form_template/dialog.vue +104 -212
- package/src/views/bd/setting/form_template/edit.vue +183 -329
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +46 -131
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +88 -175
- package/src/views/bd/setting/form_template/itemEdit.vue +174 -270
- package/src/views/bd/setting/form_template/itemList.vue +56 -300
- package/src/views/bd/setting/form_template/list.vue +7 -562
- package/src/views/bd/setting/form_template/mixins/dialog.js +114 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +155 -0
- package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +94 -0
- package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +95 -0
- package/src/views/bd/setting/form_template/mixins/itemEdit.js +106 -0
- package/src/views/bd/setting/form_template/mixins/itemList.js +254 -0
- package/src/views/bd/setting/form_template/mixins/list.js +562 -0
- package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -0
- package/src/views/bd/setting/form_template/preformDialog.vue +57 -77
- package/src/views/bd/setting/menu_kind/authDialog.vue +84 -308
- package/src/views/bd/setting/menu_kind/dialog.vue +89 -226
- package/src/views/bd/setting/menu_kind/list.vue +6 -186
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +255 -0
- package/src/views/bd/setting/menu_kind/mixins/dialog.js +144 -0
- package/src/views/bd/setting/menu_kind/mixins/list.js +187 -0
- package/src/views/bd/setting/table_model/dialog.vue +95 -161
- package/src/views/bd/setting/table_model/edit.vue +5 -767
- package/src/views/bd/setting/table_model/list.vue +8 -369
- package/src/views/bd/setting/table_model/mixins/dialog.js +74 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +778 -0
- package/src/views/bd/setting/table_model/mixins/list.js +367 -0
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +114 -0
- package/src/views/bd/setting/table_model/zdDialog.vue +95 -201
- package/src/views/support/export_template/edit.vue +40 -36
- package/src/views/support/export_template/list.vue +40 -52
- package/src/views/user/access_log/edit.vue +18 -17
- package/src/views/user/access_log/list.vue +27 -26
- package/src/views/user/access_log/statistics_list.vue +19 -17
- package/src/views/user/api_request/edit.vue +14 -11
- package/src/views/user/api_request/list.vue +13 -11
- package/src/views/user/area/dialog.vue +14 -27
- package/src/views/user/area_attribute/configDialog.vue +11 -13
- package/src/views/user/area_attribute/edit.vue +8 -6
- package/src/views/user/area_attribute/list.vue +1 -1
- package/src/views/user/attachment/uploadDialog.vue +1 -1
- package/src/views/user/bill_setting/button/previewButton.vue +2 -2
- package/src/views/user/bill_setting/compareView.vue +1 -1
- package/src/views/user/bill_setting/edit.vue +24 -17
- package/src/views/user/bill_setting/h5_ModifyDialog.vue +1 -1
- package/src/views/user/bill_setting/itemViewDialog.vue +3 -66
- package/src/views/user/bill_setting/list.vue +28 -26
- package/src/views/user/bill_setting/mixins/wf.js +8 -8
- package/src/views/user/bill_setting/previewDialog.vue +1 -1
- package/src/views/user/bill_setting/render.vue +29 -29
- package/src/views/user/bill_setting/userDialog.vue +7 -5
- package/src/views/user/code_rules/edit.vue +21 -18
- package/src/views/user/code_rules/list.vue +27 -19
- package/src/views/user/commMenu/index.vue +3 -3
- package/src/views/user/common_attribute/edit.vue +7 -5
- package/src/views/user/common_attribute/itemEdit.vue +22 -22
- package/src/views/user/common_attribute/list.vue +25 -24
- package/src/views/user/common_script/edit.vue +12 -12
- package/src/views/user/common_script/list.vue +30 -32
- package/src/views/user/company_info/dialog.vue +9 -9
- package/src/views/user/company_info/edit.vue +11 -8
- package/src/views/user/country/dialog.vue +11 -9
- package/src/views/user/country/edit.vue +12 -9
- package/src/views/user/country/list.vue +12 -12
- package/src/views/user/data_type_setting/dialog.vue +10 -10
- package/src/views/user/data_type_setting/editDialog.vue +6 -6
- package/src/views/user/ea/eagroup/eaobj_list.vue +25 -25
- package/src/views/user/ea/eagroup/edit.vue +48 -42
- package/src/views/user/ea/eaobj/edit.vue +6 -5
- package/src/views/user/ea/eaobj/list.vue +9 -8
- package/src/views/user/extend_datasource/dialog.vue +19 -24
- package/src/views/user/extend_datasource/edit.vue +20 -16
- package/src/views/user/extend_datasource/list.vue +23 -24
- package/src/views/user/fieldTranslation/editDialog.vue +28 -28
- package/src/views/user/fieldTranslation/list.vue +59 -57
- package/src/views/user/field_values_invisible/edit.vue +15 -14
- package/src/views/user/field_values_invisible/list.vue +23 -22
- package/src/views/user/file_type/edit.vue +12 -21
- package/src/views/user/file_type/list.vue +21 -36
- package/src/views/user/file_type/userEdit.vue +14 -9
- package/src/views/user/file_view_area/edit.vue +3 -3
- package/src/views/user/file_view_area/itemEdit.vue +11 -9
- package/src/views/user/file_view_area/list.vue +17 -16
- package/src/views/user/file_view_ins/list.vue +29 -28
- package/src/views/user/file_view_ins/propertiesDialog.vue +15 -15
- package/src/views/user/form/form_template/edit.vue +1 -1
- package/src/views/user/form/form_template/itemEdit.vue +1 -1
- package/src/views/user/form/form_template/itemList.vue +2 -2
- package/src/views/user/form/form_template/list.vue +3 -3
- package/src/views/user/form/form_type/edit.vue +1 -1
- package/src/views/user/form/form_type/list.vue +1 -1
- package/src/views/user/form/report_requestaccess/edit.vue +1 -1
- package/src/views/user/form/report_requestaccess/list.vue +1 -1
- package/src/views/user/form/vform/designer.vue +2 -0
- package/src/views/user/form/vform/out_render.vue +1 -0
- package/src/views/user/form/vform/render.vue +1 -0
- package/src/views/user/form/view/list.vue +2 -1
- package/src/views/user/groups/dialog.vue +159 -0
- package/src/views/user/groups/edit.vue +131 -0
- package/src/views/user/groups/list.vue +167 -0
- package/src/views/user/home/index.vue +1 -2
- package/src/views/user/lang_tag/dialog.vue +185 -0
- package/src/views/user/lang_tag/edit.vue +138 -0
- package/src/views/user/lang_tag/list.vue +170 -0
- package/src/views/user/language_setting/edit.vue +11 -9
- package/src/views/user/language_setting/list.vue +20 -18
- package/src/views/user/login/default.vue +129 -0
- package/src/views/user/login/index.vue +3 -117
- package/src/views/user/menu/list.vue +39 -55
- package/src/views/user/mobile_menu/list.vue +18 -54
- package/src/views/user/notify_message/dialog.vue +1 -1
- package/src/views/user/notify_message/infoDialog.vue +1 -1
- package/src/views/user/notify_message/list.vue +24 -23
- package/src/views/user/notify_template/edit.vue +13 -11
- package/src/views/user/notify_template/list.vue +19 -16
- package/src/views/user/oplog/edit.vue +12 -12
- package/src/views/user/oplog/list.vue +20 -18
- package/src/views/user/position/dialog.vue +6 -6
- package/src/views/user/position/edit.vue +11 -8
- package/src/views/user/position/list.vue +11 -11
- package/src/views/user/project_tag/dialog.vue +11 -9
- package/src/views/user/project_tag/edit.vue +8 -6
- package/src/views/user/project_tag/list.vue +15 -12
- package/src/views/user/push_setting/edit.vue +20 -17
- package/src/views/user/push_setting/list.vue +1 -1
- package/src/views/user/role/dialog.vue +11 -11
- package/src/views/user/role/edit.vue +14 -12
- package/src/views/user/role/list.vue +14 -12
- package/src/views/user/sale_org/dialog.vue +12 -12
- package/src/views/user/sale_org/list.vue +43 -48
- package/src/views/user/system_notice/edit.vue +13 -11
- package/src/views/user/system_notice/infoDialog.vue +2 -2
- package/src/views/user/system_notice/list.vue +19 -17
- package/src/views/user/system_parameter/edit.vue +7 -6
- package/src/views/user/system_parameter/list.vue +12 -10
- package/src/views/user/user/edit.vue +1 -1
- package/src/views/user/user/form_edit.vue +50 -7
- package/src/views/user/user/form_list.vue +34 -132
- package/src/views/user/user/info.vue +20 -19
- package/src/views/user/user/infoEdit.vue +18 -18
- package/src/views/user/user/infoIframeDialog.vue +1 -1
- package/src/views/user/user/modifyPasswordDialog.vue +9 -9
- package/src/views/user/wf/iframe/dialog.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/edit.vue +11 -10
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +14 -13
- package/src/views/user/wf/wf_auto_submit_data/list.vue +43 -41
- package/src/views/user/wf/wf_diy_attribute/edit.vue +11 -8
- package/src/views/user/wf/wf_manage/list.vue +66 -61
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/dialog.vue +11 -11
- package/src/views/user/wf/wf_obj_config/edit.vue +12 -9
- package/src/views/user/wf/wf_obj_config/edit_form.vue +11 -9
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +31 -27
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +8 -6
- package/src/views/user/wf/wf_obj_config/list.vue +42 -41
- package/src/views/user/wf/wf_obj_config/list_form.vue +14 -12
- package/src/views/user/wf/wf_param/edit.vue +7 -5
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +9 -24
- package/src/views/user/wf/wf_work_calendar/list.vue +6 -3
- package/src/views/user/home/distributor.vue +0 -849
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
@reload="$reloadHandle"
|
|
14
14
|
></component>
|
|
15
15
|
</el-tab-pane>
|
|
16
|
-
<el-tab-pane label="我的流程" name="second">
|
|
16
|
+
<el-tab-pane :label="$t1('我的流程')" name="second">
|
|
17
17
|
<div class="tree-box fl">
|
|
18
|
-
<div class="tit"><b
|
|
18
|
+
<div class="tit"><b>{{ $t1('待办类型') }}</b></div>
|
|
19
19
|
<el-tree
|
|
20
20
|
:props="defaultProps"
|
|
21
21
|
:load="loadNode"
|
|
@@ -42,30 +42,31 @@
|
|
|
42
42
|
<template #form>
|
|
43
43
|
<div class="clearfix screen-btns">
|
|
44
44
|
<div class="fl">
|
|
45
|
-
<base-table-export :option="{ title: '流程待办导出', targetRef: 'table-m1'}"
|
|
45
|
+
<base-table-export :option="{ title: $t1('流程待办导出'), targetRef: 'table-m1'}"
|
|
46
46
|
:parent-target="_self"/>
|
|
47
47
|
</div>
|
|
48
48
|
<div class="fr">
|
|
49
49
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
50
|
-
plain>{{$t1('重置')}}
|
|
50
|
+
plain>{{ $t1('重置') }}
|
|
51
51
|
</vxe-button>
|
|
52
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent"
|
|
52
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
53
|
+
{{ $t1('搜索') }}
|
|
53
54
|
</vxe-button>
|
|
54
55
|
</div>
|
|
55
56
|
</div>
|
|
56
57
|
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
57
58
|
@submit="searchEvent" @reset="searchEvent">
|
|
58
|
-
<vxe-form-item title="
|
|
59
|
+
<vxe-form-item :title="$t1('待办类型')+':'">
|
|
59
60
|
<template v-slot>
|
|
60
61
|
<el-input v-model="checkNodeData.label" size="small" disabled/>
|
|
61
62
|
</template>
|
|
62
63
|
</vxe-form-item>
|
|
63
|
-
<vxe-form-item title="
|
|
64
|
+
<vxe-form-item :title="$t1('流程主题')+':'" field="name">
|
|
64
65
|
<template v-slot>
|
|
65
66
|
<el-input v-model="formData.name" size="small" clearable/>
|
|
66
67
|
</template>
|
|
67
68
|
</vxe-form-item>
|
|
68
|
-
<vxe-form-item title="
|
|
69
|
+
<vxe-form-item :title="$t1('单据类型')+':'" field="objTypeName">
|
|
69
70
|
<template v-slot>
|
|
70
71
|
<el-input
|
|
71
72
|
class="search-input"
|
|
@@ -83,12 +84,12 @@
|
|
|
83
84
|
</el-input>
|
|
84
85
|
</template>
|
|
85
86
|
</vxe-form-item>
|
|
86
|
-
<vxe-form-item title="
|
|
87
|
+
<vxe-form-item :title="$t1('流程状态')+':'" field="stat">
|
|
87
88
|
<template v-slot>
|
|
88
89
|
<el-select v-model="formData.stat" clearable>
|
|
89
|
-
<el-option :value="1" label="审核中"></el-option>
|
|
90
|
-
<el-option :value="2" label="已完成"></el-option>
|
|
91
|
-
<el-option :value="3" label="已驳回"></el-option>
|
|
90
|
+
<el-option :value="1" :label="$t1('审核中')"></el-option>
|
|
91
|
+
<el-option :value="2" :label="$t1('已完成')"></el-option>
|
|
92
|
+
<el-option :value="3" :label="$t1('已驳回')"></el-option>
|
|
92
93
|
</el-select>
|
|
93
94
|
</template>
|
|
94
95
|
</vxe-form-item>
|
|
@@ -98,31 +99,33 @@
|
|
|
98
99
|
</div>
|
|
99
100
|
</div>
|
|
100
101
|
</el-tab-pane>
|
|
101
|
-
<el-tab-pane label="全部流程" name="third" v-if="flag==1">
|
|
102
|
+
<el-tab-pane :label="$t1('全部流程')" name="third" v-if="flag==1">
|
|
102
103
|
<div class="grid-height">
|
|
103
104
|
<vxe-grid ref="table-m2" v-bind="vxeOption2" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
104
105
|
@custom="$vxeTableUtil.customHandle">
|
|
105
106
|
<template #form>
|
|
106
107
|
<div class="clearfix screen-btns">
|
|
107
108
|
<div class="fl">
|
|
108
|
-
<base-table-export :option="{ title: '流程待办导出', targetRef: 'table-m2'}"
|
|
109
|
+
<base-table-export :option="{ title: $t1('流程待办导出'), targetRef: 'table-m2'}"
|
|
110
|
+
:parent-target="_self"/>
|
|
109
111
|
</div>
|
|
110
112
|
<div class="fr">
|
|
111
113
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent2" type="text" status="primary"
|
|
112
|
-
plain>{{$t1('重置')}}
|
|
114
|
+
plain>{{ $t1('重置') }}
|
|
113
115
|
</vxe-button>
|
|
114
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent2"
|
|
116
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent2">
|
|
117
|
+
{{ $t1('搜索') }}
|
|
115
118
|
</vxe-button>
|
|
116
119
|
</div>
|
|
117
120
|
</div>
|
|
118
121
|
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData2"
|
|
119
122
|
@submit="searchEvent2" @reset="searchEvent2">
|
|
120
|
-
<vxe-form-item title="
|
|
123
|
+
<vxe-form-item :title="$t1('流程主题')+':'" field="name">
|
|
121
124
|
<template v-slot>
|
|
122
125
|
<el-input v-model="formData2.name" size="small" clearable/>
|
|
123
126
|
</template>
|
|
124
127
|
</vxe-form-item>
|
|
125
|
-
<vxe-form-item title="
|
|
128
|
+
<vxe-form-item :title="$t1('单据类型')+':'" field="objTypeName">
|
|
126
129
|
<template v-slot>
|
|
127
130
|
<el-input
|
|
128
131
|
class="search-input"
|
|
@@ -140,12 +143,12 @@
|
|
|
140
143
|
</el-input>
|
|
141
144
|
</template>
|
|
142
145
|
</vxe-form-item>
|
|
143
|
-
<vxe-form-item title="
|
|
146
|
+
<vxe-form-item :title="$t1('流程状态')+':'" field="stat">
|
|
144
147
|
<template v-slot>
|
|
145
148
|
<el-select v-model="formData2.stat" clearable>
|
|
146
|
-
<el-option :value="1" label="审核中"></el-option>
|
|
147
|
-
<el-option :value="2" label="已完成"></el-option>
|
|
148
|
-
<el-option :value="3" label="已驳回"></el-option>
|
|
149
|
+
<el-option :value="1" :label="$t1('审核中')"></el-option>
|
|
150
|
+
<el-option :value="2" :label="$t1('已完成')"></el-option>
|
|
151
|
+
<el-option :value="3" :label="$t1('已驳回')"></el-option>
|
|
149
152
|
</el-select>
|
|
150
153
|
</template>
|
|
151
154
|
</vxe-form-item>
|
|
@@ -221,12 +224,13 @@ export default {
|
|
|
221
224
|
initTableList() {
|
|
222
225
|
let that = this;
|
|
223
226
|
let paramColumns = this.wfParamDTOs.map(item => {
|
|
227
|
+
let flag = item.paramName == '单号';
|
|
224
228
|
return {
|
|
225
|
-
title: item.paramName,
|
|
229
|
+
title: this.$t1(item.paramName),
|
|
226
230
|
field: item.paramKey,
|
|
227
231
|
width: 150,
|
|
228
|
-
fixed:
|
|
229
|
-
slots:
|
|
232
|
+
fixed: flag ? 'left' : '',
|
|
233
|
+
slots: flag ? {
|
|
230
234
|
default: ({row}) => {
|
|
231
235
|
return [
|
|
232
236
|
<div>
|
|
@@ -238,7 +242,7 @@ export default {
|
|
|
238
242
|
}}
|
|
239
243
|
style="font-weight:bold; text-decoration: underline"
|
|
240
244
|
>
|
|
241
|
-
<el-tooltip class="item" effect="dark" content={
|
|
245
|
+
<el-tooltip class="item" effect="dark" content={this.$t1('查看')} placement="top-start">
|
|
242
246
|
<span>{row.param1}</span>
|
|
243
247
|
</el-tooltip>
|
|
244
248
|
</a>
|
|
@@ -251,11 +255,11 @@ export default {
|
|
|
251
255
|
|
|
252
256
|
// let statuses = {0: '未启动', 1: '审核中', 2: '已完成', 3: '已驳回', 4: '中断'};
|
|
253
257
|
var statuses = {
|
|
254
|
-
0: [<el-tag type="warning"
|
|
255
|
-
1: [<el-tag
|
|
256
|
-
2: [<el-tag type="success"
|
|
257
|
-
3: [<el-tag type="danger"
|
|
258
|
-
4: [<el-tag type="danger"
|
|
258
|
+
0: [<el-tag type="warning">{this.$t1('未启动')}</el-tag>],
|
|
259
|
+
1: [<el-tag>{this.$t1('审核中')}</el-tag>],
|
|
260
|
+
2: [<el-tag type="success">{this.$t1('已完成')}</el-tag>],
|
|
261
|
+
3: [<el-tag type="danger">{this.$t1('已驳回')}</el-tag>],
|
|
262
|
+
4: [<el-tag type="danger">{this.$t1('中断')}</el-tag>]
|
|
259
263
|
};
|
|
260
264
|
let tableOption = {
|
|
261
265
|
vue: this,
|
|
@@ -276,33 +280,33 @@ export default {
|
|
|
276
280
|
columns: [
|
|
277
281
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
278
282
|
{
|
|
279
|
-
title: '流程主题',
|
|
283
|
+
title: this.$t1('流程主题'),
|
|
280
284
|
field: 'name',
|
|
281
285
|
width: 150,
|
|
282
286
|
fixed: 'left'
|
|
283
287
|
},
|
|
284
288
|
{
|
|
285
|
-
title: '单据类型',
|
|
289
|
+
title: this.$t1('单据类型'),
|
|
286
290
|
field: 'objTypeName',
|
|
287
291
|
width: 150
|
|
288
292
|
},
|
|
289
293
|
{
|
|
290
|
-
title: '启动人',
|
|
294
|
+
title: this.$t1('启动人'),
|
|
291
295
|
field: 'starterName',
|
|
292
296
|
width: 150
|
|
293
297
|
},
|
|
294
298
|
{
|
|
295
|
-
title: '当前任务',
|
|
299
|
+
title: this.$t1('当前任务'),
|
|
296
300
|
field: 'taskName',
|
|
297
301
|
width: 150
|
|
298
302
|
},
|
|
299
303
|
{
|
|
300
|
-
title: '当前任务用户',
|
|
304
|
+
title: this.$t1('当前任务用户'),
|
|
301
305
|
field: 'candidateNames',
|
|
302
306
|
width: 150
|
|
303
307
|
},
|
|
304
308
|
{
|
|
305
|
-
title: '流程状态',
|
|
309
|
+
title: this.$t1('流程状态'),
|
|
306
310
|
field: 'stat',
|
|
307
311
|
width: 150,
|
|
308
312
|
slots: {
|
|
@@ -313,7 +317,7 @@ export default {
|
|
|
313
317
|
}
|
|
314
318
|
},
|
|
315
319
|
{
|
|
316
|
-
title: '启动时间',
|
|
320
|
+
title: this.$t1('启动时间'),
|
|
317
321
|
field: 'createDate',
|
|
318
322
|
width: 150
|
|
319
323
|
},
|
|
@@ -334,7 +338,7 @@ export default {
|
|
|
334
338
|
this.openEditDialog(row);
|
|
335
339
|
}}
|
|
336
340
|
>
|
|
337
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
341
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
338
342
|
popper-class="tooltip-skin">
|
|
339
343
|
<i class="el-icon-edit"/>
|
|
340
344
|
</el-tooltip>
|
|
@@ -426,31 +430,31 @@ export default {
|
|
|
426
430
|
let data = [
|
|
427
431
|
{
|
|
428
432
|
uuid: -1,
|
|
429
|
-
label: '待审批的',
|
|
433
|
+
label: this.$t1('待审批的'),
|
|
430
434
|
type: 0,
|
|
431
435
|
leaf: true
|
|
432
436
|
},
|
|
433
437
|
{
|
|
434
438
|
uuid: -2,
|
|
435
|
-
label: '我发起的',
|
|
439
|
+
label: this.$t1('我发起的'),
|
|
436
440
|
type: 1,
|
|
437
441
|
leaf: true
|
|
438
442
|
},
|
|
439
443
|
{
|
|
440
444
|
uuid: -3,
|
|
441
|
-
label: '已审批的',
|
|
445
|
+
label: this.$t1('已审批的'),
|
|
442
446
|
type: 2,
|
|
443
447
|
leaf: true
|
|
444
448
|
},
|
|
445
449
|
{
|
|
446
450
|
uuid: -4,
|
|
447
|
-
label: '已完成的',
|
|
451
|
+
label: this.$t1('已完成的'),
|
|
448
452
|
type: '3',
|
|
449
453
|
leaf: true
|
|
450
454
|
},
|
|
451
455
|
{
|
|
452
456
|
uuid: -5,
|
|
453
|
-
label: '我转办的',
|
|
457
|
+
label: this.$t1('我转办的'),
|
|
454
458
|
type: '4',
|
|
455
459
|
leaf: true
|
|
456
460
|
}
|
|
@@ -536,12 +540,13 @@ export default {
|
|
|
536
540
|
initTableList2() {
|
|
537
541
|
let that = this;
|
|
538
542
|
let paramColumns = this.wfParamDTOs.map(item => {
|
|
543
|
+
let flag = item.paramName == '单号';
|
|
539
544
|
return {
|
|
540
|
-
title: item.paramName,
|
|
545
|
+
title: this.$t1(item.paramName),
|
|
541
546
|
field: item.paramKey,
|
|
542
547
|
width: 150,
|
|
543
|
-
fixed:
|
|
544
|
-
slots:
|
|
548
|
+
fixed: flag ? 'left' : '',
|
|
549
|
+
slots: flag ? {
|
|
545
550
|
default: ({row}) => {
|
|
546
551
|
return [
|
|
547
552
|
<div>
|
|
@@ -553,7 +558,7 @@ export default {
|
|
|
553
558
|
}}
|
|
554
559
|
style="font-weight:bold; text-decoration: underline"
|
|
555
560
|
>
|
|
556
|
-
<el-tooltip class="item" effect="dark" content={
|
|
561
|
+
<el-tooltip class="item" effect="dark" content={this.$t1('查看')} placement="top-start">
|
|
557
562
|
<span>{row.param1}</span>
|
|
558
563
|
</el-tooltip>
|
|
559
564
|
</a>
|
|
@@ -565,11 +570,11 @@ export default {
|
|
|
565
570
|
});
|
|
566
571
|
|
|
567
572
|
var statuses = {
|
|
568
|
-
0: [<el-tag type="warning"
|
|
569
|
-
1: [<el-tag
|
|
570
|
-
2: [<el-tag type="success"
|
|
571
|
-
3: [<el-tag type="danger"
|
|
572
|
-
4: [<el-tag type="danger"
|
|
573
|
+
0: [<el-tag type="warning">{this.$t1('未启动')}</el-tag>],
|
|
574
|
+
1: [<el-tag>{this.$t1('审核中')}</el-tag>],
|
|
575
|
+
2: [<el-tag type="success">{this.$t1('已完成')}</el-tag>],
|
|
576
|
+
3: [<el-tag type="danger">{this.$t1('已驳回')}</el-tag>],
|
|
577
|
+
4: [<el-tag type="danger">{this.$t1('中断')}</el-tag>]
|
|
573
578
|
};
|
|
574
579
|
let tableOption = {
|
|
575
580
|
vue: this,
|
|
@@ -584,33 +589,33 @@ export default {
|
|
|
584
589
|
columns: [
|
|
585
590
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
586
591
|
{
|
|
587
|
-
title: '流程主题',
|
|
592
|
+
title: this.$t1('流程主题'),
|
|
588
593
|
field: 'name',
|
|
589
594
|
width: 150,
|
|
590
595
|
fixed: 'left'
|
|
591
596
|
},
|
|
592
597
|
{
|
|
593
|
-
title: '单据类型',
|
|
598
|
+
title: this.$t1('单据类型'),
|
|
594
599
|
field: 'objTypeName',
|
|
595
600
|
width: 150
|
|
596
601
|
},
|
|
597
602
|
{
|
|
598
|
-
title: '启动人',
|
|
603
|
+
title: this.$t1('启动人'),
|
|
599
604
|
field: 'starterName',
|
|
600
605
|
width: 150
|
|
601
606
|
},
|
|
602
607
|
{
|
|
603
|
-
title: '当前任务',
|
|
608
|
+
title: this.$t1('当前任务'),
|
|
604
609
|
field: 'taskName',
|
|
605
610
|
width: 150
|
|
606
611
|
},
|
|
607
612
|
{
|
|
608
|
-
title: '当前任务用户',
|
|
613
|
+
title: this.$t1('当前任务用户'),
|
|
609
614
|
field: 'candidateNames',
|
|
610
615
|
width: 150
|
|
611
616
|
},
|
|
612
617
|
{
|
|
613
|
-
title: '流程状态',
|
|
618
|
+
title: this.$t1('流程状态'),
|
|
614
619
|
field: 'stat',
|
|
615
620
|
width: 150,
|
|
616
621
|
slots: {
|
|
@@ -621,7 +626,7 @@ export default {
|
|
|
621
626
|
}
|
|
622
627
|
},
|
|
623
628
|
{
|
|
624
|
-
title: '启动时间',
|
|
629
|
+
title: this.$t1('启动时间'),
|
|
625
630
|
field: 'createDate',
|
|
626
631
|
width: 150
|
|
627
632
|
},
|
|
@@ -641,7 +646,7 @@ export default {
|
|
|
641
646
|
this.openEditDialog(row);
|
|
642
647
|
}}
|
|
643
648
|
>
|
|
644
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
649
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
645
650
|
popper-class="tooltip-skin">
|
|
646
651
|
<i class="el-icon-edit"/>
|
|
647
652
|
</el-tooltip>
|
|
@@ -27,7 +27,7 @@
|
|
|
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
33
|
{{ $t1('搜索') }}
|
|
@@ -36,12 +36,12 @@
|
|
|
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="objTypeName">
|
|
40
40
|
<template v-slot>
|
|
41
41
|
<el-input v-model="formData.objTypeName" size="small" clearable/>
|
|
42
42
|
</template>
|
|
43
43
|
</vxe-form-item>
|
|
44
|
-
<vxe-form-item title="
|
|
44
|
+
<vxe-form-item :title="$t1('单据类型编号')+':'" field="objTypeCode">
|
|
45
45
|
<template v-slot>
|
|
46
46
|
<el-input v-model="formData.objTypeCode" size="small" clearable/>
|
|
47
47
|
</template>
|
|
@@ -110,11 +110,11 @@ export default {
|
|
|
110
110
|
formData: {},
|
|
111
111
|
vxeOption: {},
|
|
112
112
|
typeMap: {
|
|
113
|
-
0: '待审批的',
|
|
114
|
-
1: '我发起的',
|
|
115
|
-
2: '已审批的',
|
|
116
|
-
3: '已完成的',
|
|
117
|
-
4: '我转办的'
|
|
113
|
+
0: this.$t1('待审批的'),
|
|
114
|
+
1: this.$t1('我发起的'),
|
|
115
|
+
2: this.$t1('已审批的'),
|
|
116
|
+
3: this.$t1('已完成的'),
|
|
117
|
+
4: this.$t1('我转办的')
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
},
|
|
@@ -126,7 +126,7 @@ export default {
|
|
|
126
126
|
icolumns = [
|
|
127
127
|
{
|
|
128
128
|
field: 'num',
|
|
129
|
-
title: '数量',
|
|
129
|
+
title: this.$t1('数量'),
|
|
130
130
|
width: 150
|
|
131
131
|
}
|
|
132
132
|
];
|
|
@@ -146,14 +146,14 @@ export default {
|
|
|
146
146
|
columns: [
|
|
147
147
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
148
148
|
{
|
|
149
|
-
title: '单据类型名称',
|
|
149
|
+
title: this.$t1('单据类型名称'),
|
|
150
150
|
field: 'objTypeName',
|
|
151
151
|
width: 150,
|
|
152
152
|
fixed: 'left'
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
field: 'objTypeCode',
|
|
156
|
-
title: '单据类型编号',
|
|
156
|
+
title: this.$t1('单据类型编号'),
|
|
157
157
|
width: 150
|
|
158
158
|
},
|
|
159
159
|
...icolumns,
|
|
@@ -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,7 +22,7 @@
|
|
|
20
22
|
<tr>
|
|
21
23
|
<th>
|
|
22
24
|
<em class="f-red">*</em>
|
|
23
|
-
服务名
|
|
25
|
+
{{ $t1('服务名') }}
|
|
24
26
|
</th>
|
|
25
27
|
<td>
|
|
26
28
|
<el-form-item prop="serviceId" :rules="[{ required: true, trigger: 'blur' }]" v-if="!dataId">
|
|
@@ -37,7 +39,7 @@
|
|
|
37
39
|
</td>
|
|
38
40
|
<th>
|
|
39
41
|
<em class="f-red">*</em>
|
|
40
|
-
单据类型编号
|
|
42
|
+
{{ $t1('单据类型编号') }}
|
|
41
43
|
</th>
|
|
42
44
|
<td>
|
|
43
45
|
<el-form-item prop="objTypeCode" :rules="[{ required: true, trigger: 'blur' }]" v-if="!dataId">
|
|
@@ -49,7 +51,7 @@
|
|
|
49
51
|
</td>
|
|
50
52
|
<th>
|
|
51
53
|
<em class="f-red">*</em>
|
|
52
|
-
单据类型名称
|
|
54
|
+
{{ $t1('单据类型名称') }}
|
|
53
55
|
</th>
|
|
54
56
|
<td>
|
|
55
57
|
<el-form-item prop="objTypeName" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -60,7 +62,7 @@
|
|
|
60
62
|
<tr>
|
|
61
63
|
<th>
|
|
62
64
|
<em class="f-red">*</em>
|
|
63
|
-
跳转url
|
|
65
|
+
{{ $t1('跳转url') }}
|
|
64
66
|
</th>
|
|
65
67
|
<td colspan="5">
|
|
66
68
|
<el-form-item prop="url" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -70,7 +72,7 @@
|
|
|
70
72
|
</tr>
|
|
71
73
|
<tr>
|
|
72
74
|
<th>
|
|
73
|
-
移动端url
|
|
75
|
+
{{ $t1('移动端url') }}
|
|
74
76
|
</th>
|
|
75
77
|
<td colspan="5">
|
|
76
78
|
<el-form-item prop="mobileUrl" :rules="[{ required: false, trigger: 'blur' }]">
|
|
@@ -81,7 +83,8 @@
|
|
|
81
83
|
<tr>
|
|
82
84
|
<th>{{ $t1('备注') }}</th>
|
|
83
85
|
<td colspan="5">
|
|
84
|
-
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
86
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
87
|
+
v-model="wfObjConfig.note"
|
|
85
88
|
clearable></el-input>
|
|
86
89
|
</td>
|
|
87
90
|
</tr>
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? $t1('
|
|
7
|
+
{{ dataId ? $t1('查看单据定义') : $t1('新增单据定义') }}
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
10
|
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
11
11
|
{{ $t1('重置') }}
|
|
12
12
|
</el-button>
|
|
13
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}
|
|
13
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
|
|
14
|
+
</el-button>
|
|
14
15
|
</div>
|
|
15
16
|
</div>
|
|
16
17
|
<div class="d-cont">
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
<tr>
|
|
22
23
|
<th>
|
|
23
24
|
<em class="f-red">*</em>
|
|
24
|
-
服务名
|
|
25
|
+
{{ $t1('服务名') }}
|
|
25
26
|
</th>
|
|
26
27
|
<td>
|
|
27
28
|
<el-form-item prop="serviceId" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
</td>
|
|
33
34
|
<th>
|
|
34
35
|
<em class="f-red">*</em>
|
|
35
|
-
单据类型编号
|
|
36
|
+
{{ $t1('单据类型编号') }}
|
|
36
37
|
</th>
|
|
37
38
|
<td>
|
|
38
39
|
<el-form-item prop="objTypeCode" :rules="[{ required: true, trigger: 'blur' }]" v-if="!dataId">
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
</td>
|
|
45
46
|
<th>
|
|
46
47
|
<em class="f-red">*</em>
|
|
47
|
-
单据类型名称
|
|
48
|
+
{{ $t1('单据类型名称') }}
|
|
48
49
|
</th>
|
|
49
50
|
<td>
|
|
50
51
|
<el-form-item prop="objTypeName" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -55,7 +56,7 @@
|
|
|
55
56
|
<tr>
|
|
56
57
|
<th>
|
|
57
58
|
<em class="f-red">*</em>
|
|
58
|
-
跳转url
|
|
59
|
+
{{ $t1('跳转url') }}
|
|
59
60
|
</th>
|
|
60
61
|
<td colspan="5">
|
|
61
62
|
<el-form-item prop="url" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -66,7 +67,8 @@
|
|
|
66
67
|
<tr>
|
|
67
68
|
<th>{{ $t1('备注') }}</th>
|
|
68
69
|
<td colspan="5">
|
|
69
|
-
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
70
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
71
|
+
v-model="wfObjConfig.note"
|
|
70
72
|
clearable></el-input>
|
|
71
73
|
</td>
|
|
72
74
|
</tr>
|
|
@@ -187,12 +189,12 @@ export default {
|
|
|
187
189
|
{type: 'checkbox', fixed: 'left', width: 48, resizable: false},
|
|
188
190
|
{
|
|
189
191
|
field: 'defName',
|
|
190
|
-
title: '流程名称',
|
|
192
|
+
title: this.$t1('流程名称'),
|
|
191
193
|
width: 150
|
|
192
194
|
},
|
|
193
195
|
{
|
|
194
196
|
field: 'defKey',
|
|
195
|
-
title: '流程',
|
|
197
|
+
title: this.$t1('流程'),
|
|
196
198
|
width: 150
|
|
197
199
|
},
|
|
198
200
|
{
|