cloud-web-corejs 1.0.17 → 1.0.19
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/jsonImport/index.js +3 -1
- package/src/components/jsonImport/mixins.js +16 -16
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
- package/src/layout/components/Sidebar/default.vue +10 -4
- package/src/router/modules/customer.js +8 -8
- package/src/router/modules/system.js +1 -1
- package/src/utils/aes.js +1 -0
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -4
- package/src/views/bd/setting/bd_attach_setting/edit.vue +3 -3
- package/src/views/bd/setting/bd_attach_setting/list.vue +3 -3
- package/src/views/bd/setting/form_script/dialog.vue +14 -12
- package/src/views/bd/setting/form_script/edit.vue +6 -5
- package/src/views/bd/setting/form_script/edit1.vue +4 -4
- package/src/views/bd/setting/form_script/form_list.vue +3 -3
- package/src/views/bd/setting/form_script/list.vue +4 -4
- package/src/views/bd/setting/form_script/list1.vue +4 -4
- package/src/views/bd/setting/form_script/list2.vue +1 -1
- package/src/views/bd/setting/form_template/dialog.vue +24 -17
- package/src/views/bd/setting/form_template/edit.vue +3 -3
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +1 -1
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +5 -5
- package/src/views/bd/setting/form_template/itemEdit.vue +3 -3
- package/src/views/bd/setting/form_template/itemList.vue +3 -3
- package/src/views/bd/setting/form_template/list.vue +4 -4
- package/src/views/bd/setting/form_template/preformDialog.vue +2 -2
- package/src/views/bd/setting/menu_kind/authDialog.vue +2 -2
- package/src/views/bd/setting/menu_kind/dialog.vue +23 -16
- package/src/views/bd/setting/menu_kind/list.vue +4 -4
- package/src/views/bd/setting/table_model/dialog.vue +4 -4
- package/src/views/bd/setting/table_model/edit.vue +1123 -1123
- package/src/views/bd/setting/table_model/list.vue +4 -4
- package/src/views/bd/setting/table_model/zdDialog.vue +4 -4
- package/src/views/mobile/user/area/dialog.vue +3 -2
- package/src/views/mobile/user/user/dialog.vue +3 -2
- package/src/views/support/export_template/edit.vue +4 -4
- package/src/views/support/export_template/list.vue +12 -12
- package/src/views/user/access_log/edit.vue +2 -2
- package/src/views/user/access_log/list.vue +8 -8
- package/src/views/user/access_log/statistics_list.vue +16 -11
- package/src/views/user/api_request/edit.vue +7 -4
- package/src/views/user/api_request/list.vue +7 -5
- package/src/views/user/area/dialog.vue +4 -4
- package/src/views/user/area_attribute/configDialog.vue +319 -319
- package/src/views/user/area_attribute/edit.vue +2 -2
- package/src/views/user/area_attribute/list.vue +1 -1
- package/src/views/user/attachment/uploadDialog.vue +11 -11
- package/src/views/user/bill_setting/edit.vue +6 -5
- package/src/views/user/bill_setting/h5_ModifyDialog.vue +5 -3
- package/src/views/user/bill_setting/h5_view.vue +4 -4
- package/src/views/user/bill_setting/itemViewDialog.vue +1 -1
- package/src/views/user/bill_setting/list.vue +5 -4
- package/src/views/user/bill_setting/queryDialog.vue +3 -3
- package/src/views/user/bill_setting/render.vue +6 -6
- package/src/views/user/bill_setting/template2.json +44 -11
- package/src/views/user/bill_setting/userDialog.vue +4 -4
- package/src/views/user/code_rules/edit.vue +3 -3
- package/src/views/user/code_rules/list.vue +3 -3
- package/src/views/user/commMenu/index.vue +2 -2
- package/src/views/user/common_attribute/edit.vue +3 -3
- package/src/views/user/common_attribute/itemEdit.vue +3 -3
- package/src/views/user/common_attribute/list.vue +3 -3
- package/src/views/user/common_script/edit.vue +5 -4
- package/src/views/user/common_script/list.vue +14 -13
- package/src/views/user/company_info/dialog.vue +138 -131
- package/src/views/user/company_info/edit.vue +2 -2
- package/src/views/user/company_info/view.vue +1 -1
- package/src/views/user/country/dialog.vue +6 -6
- package/src/views/user/country/edit.vue +8 -7
- package/src/views/user/country/list.vue +170 -160
- package/src/views/user/data_type_setting/dialog.vue +10 -7
- package/src/views/user/data_type_setting/editDialog.vue +12 -11
- package/src/views/user/ea/eagroup/eaobj_list.vue +331 -310
- package/src/views/user/ea/eagroup/edit.vue +492 -475
- package/src/views/user/ea/eaobj/edit.vue +153 -148
- package/src/views/user/ea/eaobj/list.vue +147 -135
- package/src/views/user/error-page/401.vue +42 -34
- package/src/views/user/error-page/404.vue +19 -3
- package/src/views/user/extend_datasource/dialog.vue +124 -116
- package/src/views/user/extend_datasource/edit.vue +5 -4
- package/src/views/user/extend_datasource/list.vue +3 -3
- package/src/views/user/fieldTranslation/editDialog.vue +2 -2
- package/src/views/user/fieldTranslation/list.vue +4 -3
- package/src/views/user/field_values_invisible/edit.vue +85 -83
- package/src/views/user/field_values_invisible/list.vue +32 -21
- package/src/views/user/file_type/edit.vue +3 -3
- package/src/views/user/file_type/list.vue +7 -4
- package/src/views/user/file_type/userEdit.vue +188 -188
- package/src/views/user/file_view_area/edit.vue +3 -3
- package/src/views/user/file_view_area/itemEdit.vue +168 -165
- package/src/views/user/file_view_area/list.vue +3 -3
- package/src/views/user/file_view_ins/list.vue +55 -36
- package/src/views/user/file_view_ins/propertiesDialog.vue +218 -218
- package/src/views/user/form/form_ins_list/edit.vue +421 -421
- package/src/views/user/form/form_template/dialog.vue +24 -17
- package/src/views/user/form/form_template/edit.vue +7 -4
- package/src/views/user/form/form_template/itemEdit.vue +3 -3
- package/src/views/user/form/form_template/itemList.vue +3 -3
- package/src/views/user/form/form_template/list.vue +5 -4
- package/src/views/user/form/form_template_field/dialog.vue +11 -8
- package/src/views/user/form/form_type/dialog.vue +134 -127
- package/src/views/user/form/form_type/edit.vue +4 -4
- package/src/views/user/form/form_type/editDialog.vue +10 -9
- package/src/views/user/form/form_type/list.vue +128 -118
- package/src/views/user/form/report_requestaccess/dialog.vue +106 -99
- package/src/views/user/form/report_requestaccess/edit.vue +272 -234
- package/src/views/user/form/report_requestaccess/list.vue +29 -18
- package/src/views/user/form/vform/designer.vue +164 -164
- package/src/views/user/form/vform/formFieldMapping.js +151 -169
- package/src/views/user/form/vform/out_render.vue +3 -2
- package/src/views/user/form/vform/render.vue +2 -2
- package/src/views/user/form/view/edit.vue +7 -7
- package/src/views/user/form/view/list.vue +2 -2
- package/src/views/user/home/distributor.vue +374 -118
- package/src/views/user/home/index.vue +1 -1
- package/src/views/user/language_setting/edit.vue +167 -166
- package/src/views/user/language_setting/list.vue +3 -3
- package/src/views/user/ledger_library/list.vue +2 -2
- package/src/views/user/ledger_library/private_list.vue +3 -3
- package/src/views/user/login/auth-redirect.vue +1 -1
- package/src/views/user/login/index.vue +1 -1
- package/src/views/user/login/indexMixin.js +4 -1
- package/src/views/user/menu/list.vue +3 -3
- package/src/views/user/mobile_menu/list.vue +2 -2
- package/src/views/user/notify_message/dialog.vue +8 -6
- package/src/views/user/notify_message/list.vue +4 -3
- package/src/views/user/notify_template/edit.vue +185 -185
- package/src/views/user/notify_template/list.vue +4 -4
- package/src/views/user/oplog/edit.vue +108 -103
- package/src/views/user/oplog/list.vue +3 -3
- package/src/views/user/outLink/form_view.vue +144 -143
- package/src/views/user/outLink/index.vue +7 -5
- package/src/views/user/outLink/view.vue +119 -117
- package/src/views/user/position/dialog.vue +145 -138
- package/src/views/user/position/edit.vue +4 -4
- package/src/views/user/position/list.vue +170 -160
- package/src/views/user/project_tag/dialog.vue +5 -5
- package/src/views/user/project_tag/edit.vue +3 -3
- package/src/views/user/project_tag/list.vue +3 -3
- package/src/views/user/push_setting/edit.vue +7 -4
- package/src/views/user/push_setting/list.vue +44 -34
- package/src/views/user/redirect/index.vue +4 -4
- package/src/views/user/role/dialog.vue +10 -7
- package/src/views/user/role/edit.vue +427 -427
- package/src/views/user/role/list.vue +125 -114
- package/src/views/user/sale_org/dialog.vue +3 -3
- package/src/views/user/sale_org/list.vue +11 -11
- package/src/views/user/sale_org/moveDialog.vue +2 -2
- package/src/views/user/sale_org_net/list.vue +9 -9
- package/src/views/user/system_notice/edit.vue +184 -184
- package/src/views/user/system_notice/list.vue +156 -145
- package/src/views/user/system_parameter/edit.vue +140 -137
- package/src/views/user/system_parameter/list.vue +131 -120
- package/src/views/user/user/dialog.vue +31 -24
- package/src/views/user/user/edit.vue +1021 -1019
- package/src/views/user/user/form_edit.vue +481 -483
- package/src/views/user/user/form_list.vue +5 -5
- package/src/views/user/user/info.vue +271 -256
- package/src/views/user/user/infoContent.vue +12 -11
- package/src/views/user/user/infoEdit.vue +111 -92
- package/src/views/user/user/inner_list.vue +1 -1
- package/src/views/user/user/list.vue +55 -50
- package/src/views/user/user/list2.vue +1 -1
- package/src/views/user/user/modifyPasswordDialog.vue +3 -3
- package/src/views/user/user/out_list.vue +1 -1
- package/src/views/user/wf/formCustDialog/list.vue +13 -15
- package/src/views/user/wf/iframe/index.vue +12 -12
- package/src/views/user/wf/iframe/index2.vue +2 -2
- package/src/views/user/wf/wf_auto_submit_data/edit.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/list.vue +8 -6
- package/src/views/user/wf/wf_diy_attribute/edit.vue +5 -5
- package/src/views/user/wf/wf_manage/list.vue +5 -4
- package/src/views/user/wf/wf_obj_config/activiti_wf.vue +11 -10
- package/src/views/user/wf/wf_obj_config/dialog.vue +10 -7
- package/src/views/user/wf/wf_obj_config/edit.vue +7 -4
- package/src/views/user/wf/wf_obj_config/edit_form.vue +70 -63
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +3 -3
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +3 -3
- package/src/views/user/wf/wf_obj_config/list.vue +4 -4
- package/src/views/user/wf/wf_obj_config/list_form.vue +22 -22
- package/src/views/user/wf/wf_param/edit.vue +4 -4
- package/src/views/user/wf/wf_work_calendar/components/calendar.vue +27 -13
- package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +25 -10
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +8 -5
- package/src/views/user/wf/wf_work_calendar/date.js +10 -10
- package/src/views/user/wf/wf_work_calendar/list.vue +9 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
<div id="containt">
|
|
3
|
+
<component
|
|
4
|
+
v-if="showWfContent && wfContent"
|
|
5
|
+
:is="wfContent"
|
|
6
|
+
visible-key="showWfContent"
|
|
7
|
+
:_dataId.sync="wfDataId"
|
|
8
|
+
:parent-target="_self"
|
|
9
|
+
:toWfArea.sync="toWfArea"
|
|
10
|
+
@reload="$reloadHandle"
|
|
11
|
+
></component>
|
|
12
|
+
</div>
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script>
|
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
showWfContent: true,
|
|
21
21
|
wfContent: null,
|
|
22
22
|
wfDataId: '',
|
|
23
|
-
toWfArea:true
|
|
23
|
+
toWfArea: true
|
|
24
24
|
};
|
|
25
25
|
},
|
|
26
26
|
created() {
|
|
@@ -18,7 +18,7 @@ export default {
|
|
|
18
18
|
reportCode: null,
|
|
19
19
|
showWfContent: true,
|
|
20
20
|
wfContent: null,
|
|
21
|
-
outParam:null
|
|
21
|
+
outParam: null
|
|
22
22
|
};
|
|
23
23
|
},
|
|
24
24
|
created() {
|
|
@@ -29,7 +29,7 @@ export default {
|
|
|
29
29
|
let dataId = this.$route.query.dataId;
|
|
30
30
|
let purl = this.$route.query.url;
|
|
31
31
|
let param = this.$route.query.param;
|
|
32
|
-
if(param){
|
|
32
|
+
if (param) {
|
|
33
33
|
this.outParam = JSON.parse(param)
|
|
34
34
|
}
|
|
35
35
|
let url = purl + '.vue';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
查看待执行记录
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right"
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
|
|
11
11
|
</el-button>
|
|
12
12
|
</div>
|
|
13
13
|
</div>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
查看历史记录
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right"
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
|
|
11
11
|
</el-button>
|
|
12
12
|
</div>
|
|
13
13
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="常规" name="first">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
5
|
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :serviceId.sync="serviceId"
|
|
6
6
|
:parent-target="_self"
|
|
7
7
|
@reload="$reloadHandle"></editView>
|
|
@@ -39,11 +39,12 @@
|
|
|
39
39
|
<template #form>
|
|
40
40
|
<div class="clearfix screen-btns">
|
|
41
41
|
<div class="fl">
|
|
42
|
-
<base-table-export :option="{ title: '流程待办导出', targetRef: 'table-m1'}"
|
|
42
|
+
<base-table-export :option="{ title: '流程待办导出', targetRef: 'table-m1'}"
|
|
43
|
+
:parent-target="_self"/>
|
|
43
44
|
</div>
|
|
44
45
|
<div class="fr">
|
|
45
46
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
46
|
-
plain
|
|
47
|
+
plain>{{$t1('重置')}}
|
|
47
48
|
</vxe-button>
|
|
48
49
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
49
50
|
</vxe-button>
|
|
@@ -138,12 +139,13 @@
|
|
|
138
139
|
<template #form>
|
|
139
140
|
<div class="clearfix screen-btns">
|
|
140
141
|
<div class="fl">
|
|
141
|
-
<base-table-export :option="{ title: '流程待办导出', targetRef: 'table-m2'}"
|
|
142
|
+
<base-table-export :option="{ title: '流程待办导出', targetRef: 'table-m2'}"
|
|
143
|
+
:parent-target="_self"/>
|
|
142
144
|
</div>
|
|
143
145
|
<div class="fr">
|
|
144
146
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent2" type="text"
|
|
145
147
|
status="primary"
|
|
146
|
-
plain
|
|
148
|
+
plain>{{$t1('重置')}}
|
|
147
149
|
</vxe-button>
|
|
148
150
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent2">搜索
|
|
149
151
|
</vxe-button>
|
|
@@ -641,7 +643,7 @@ export default {
|
|
|
641
643
|
type: 'success',
|
|
642
644
|
duration: 2000
|
|
643
645
|
});
|
|
644
|
-
this.$nextTick(()=>{
|
|
646
|
+
this.$nextTick(() => {
|
|
645
647
|
this.searchEvent2()
|
|
646
648
|
})
|
|
647
649
|
}
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
查看自定义流程操作属性
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right"
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
|
|
11
11
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
|
|
12
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<baseTabs :showNav="false">
|
|
16
|
-
<baseTabPane label="基本信息">
|
|
16
|
+
<baseTabPane :label="$t1('基本信息')">
|
|
17
17
|
<template #default>
|
|
18
18
|
<vxe-grid
|
|
19
19
|
ref="m1Grid"
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
<span slot="footer" class="dialog-footer">
|
|
47
47
|
<el-button type="primary" plain class="button-sty" @click="showScriptDialog=false">
|
|
48
48
|
<i class="el-icon-close el-icon"></i>
|
|
49
|
-
取 消
|
|
49
|
+
{{ $t1('取 消') }}
|
|
50
50
|
</el-button>
|
|
51
51
|
<el-button type="primary" @click="confirmScriptDialog" class="button-sty">
|
|
52
52
|
<i class="el-icon-check el-icon"></i>
|
|
53
|
-
确 定
|
|
53
|
+
{{ $t1('确 定') }}
|
|
54
54
|
</el-button>
|
|
55
55
|
</span>
|
|
56
56
|
</el-dialog>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="常规" name="first">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
5
|
<component
|
|
6
6
|
v-if="showWfContent && wfContent"
|
|
7
7
|
:is="wfContent"
|
|
@@ -42,11 +42,12 @@
|
|
|
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: '流程待办导出', targetRef: 'table-m1'}"
|
|
46
|
+
:parent-target="_self"/>
|
|
46
47
|
</div>
|
|
47
48
|
<div class="fr">
|
|
48
49
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
49
|
-
plain
|
|
50
|
+
plain>{{$t1('重置')}}
|
|
50
51
|
</vxe-button>
|
|
51
52
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
52
53
|
</vxe-button>
|
|
@@ -108,7 +109,7 @@
|
|
|
108
109
|
</div>
|
|
109
110
|
<div class="fr">
|
|
110
111
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent2" type="text" status="primary"
|
|
111
|
-
plain
|
|
112
|
+
plain>{{$t1('重置')}}
|
|
112
113
|
</vxe-button>
|
|
113
114
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent2">搜索
|
|
114
115
|
</vxe-button>
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
<script>
|
|
11
11
|
import userDialog from '../../../../views/user/user/dialog.vue';
|
|
12
12
|
import positionDialog from '../../../../views/user/position/dialog.vue';
|
|
13
|
+
|
|
13
14
|
export default {
|
|
14
15
|
name: "activiti_wf",
|
|
15
16
|
components: {
|
|
@@ -45,27 +46,27 @@ export default {
|
|
|
45
46
|
wfAssignPositionData: [],
|
|
46
47
|
wfAssignPositionCallback: null,
|
|
47
48
|
|
|
48
|
-
showFormTemplateDialog:false,
|
|
49
|
-
wfAssignFormTemplateCallback:null,
|
|
49
|
+
showFormTemplateDialog: false,
|
|
50
|
+
wfAssignFormTemplateCallback: null,
|
|
50
51
|
|
|
51
|
-
modelId:null,
|
|
52
|
-
serviceId:'sf-cloud-user'
|
|
52
|
+
modelId: null,
|
|
53
|
+
serviceId: 'sf-cloud-user'
|
|
53
54
|
};
|
|
54
55
|
},
|
|
55
56
|
mounted() {
|
|
56
|
-
this.initToken(()=>{
|
|
57
|
+
this.initToken(() => {
|
|
57
58
|
this.initModel();
|
|
58
59
|
this.initWfWinParam();
|
|
59
|
-
this.$nextTick(()=>{
|
|
60
|
+
this.$nextTick(() => {
|
|
60
61
|
this.wfEdit();
|
|
61
62
|
})
|
|
62
63
|
})
|
|
63
64
|
},
|
|
64
|
-
methods:{
|
|
65
|
-
initModel(){
|
|
65
|
+
methods: {
|
|
66
|
+
initModel() {
|
|
66
67
|
this.modelId = this.$route.query.modelId;
|
|
67
68
|
},
|
|
68
|
-
initToken(callback){
|
|
69
|
+
initToken(callback) {
|
|
69
70
|
let token = 'c7f08670-5190-4d72-b5fc-a91021524d59';
|
|
70
71
|
this.$store
|
|
71
72
|
.dispatch('user/addToken', {
|
|
@@ -74,7 +75,7 @@ export default {
|
|
|
74
75
|
.then(() => {
|
|
75
76
|
setTimeout(() => {
|
|
76
77
|
callback();
|
|
77
|
-
},200);
|
|
78
|
+
}, 200);
|
|
78
79
|
});
|
|
79
80
|
},
|
|
80
81
|
wfEdit() {
|
|
@@ -27,9 +27,11 @@
|
|
|
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
|
|
30
|
+
plain>{{$t1('重置')}}
|
|
31
|
+
</vxe-button>
|
|
32
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
|
+
{{ $t1('搜索') }}
|
|
31
34
|
</vxe-button>
|
|
32
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索</vxe-button>
|
|
33
35
|
</div>
|
|
34
36
|
</div>
|
|
35
37
|
<vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
|
|
@@ -55,8 +57,9 @@
|
|
|
55
57
|
</div>
|
|
56
58
|
</label>
|
|
57
59
|
<div class="multipleChoice">
|
|
58
|
-
<el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
|
|
59
|
-
|
|
60
|
+
<el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
|
|
61
|
+
class="allDel icon-quanbushanchu"
|
|
62
|
+
@click="clearChecked()"></a>
|
|
60
63
|
</el-tooltip>
|
|
61
64
|
<div class="list">
|
|
62
65
|
<div class="item" v-for="(checkRow, index) in checkRows" :key="index">
|
|
@@ -66,14 +69,14 @@
|
|
|
66
69
|
</div>
|
|
67
70
|
</div>
|
|
68
71
|
<span slot="footer" class="dialog-footer">
|
|
69
|
-
<span class="fl tips" v-if="!selectMulti"
|
|
72
|
+
<span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
|
|
70
73
|
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
71
74
|
<i class="el-icon-close el-icon"></i>
|
|
72
|
-
取 消
|
|
75
|
+
{{ $t1('取 消') }}
|
|
73
76
|
</el-button>
|
|
74
77
|
<el-button type="primary" @click="dialogPrimary" class="button-sty">
|
|
75
78
|
<i class="el-icon-check el-icon"></i>
|
|
76
|
-
确 定
|
|
79
|
+
{{ $t1('确 定') }}
|
|
77
80
|
</el-button>
|
|
78
81
|
</span>
|
|
79
82
|
</el-dialog>
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? '查看' : '新增' }}单据定义
|
|
7
|
+
{{ dataId ? $t1('查看') : $t1('新增') }} 单据定义
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right"
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
|
|
11
11
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
|
|
12
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="d-cont">
|
|
@@ -25,7 +25,10 @@
|
|
|
25
25
|
<td>
|
|
26
26
|
<el-form-item prop="serviceId" :rules="[{ required: true, trigger: 'blur' }]" v-if="!dataId">
|
|
27
27
|
<el-select v-model="wfObjConfig.serviceId">
|
|
28
|
-
<el-option v-for="(serviceId,index) in serviceIds" :key="index" :value="serviceId">{{
|
|
28
|
+
<el-option v-for="(serviceId,index) in serviceIds" :key="index" :value="serviceId">{{
|
|
29
|
+
serviceId
|
|
30
|
+
}}
|
|
31
|
+
</el-option>
|
|
29
32
|
</el-select>
|
|
30
33
|
</el-form-item>
|
|
31
34
|
<template v-else>
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
<el-form ref="editForm" :model="wfObjConfig">
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
|
-
<i class="el-icon-info"
|
|
7
|
-
{{ dataId ? '查看' : '新增' }}单据定义
|
|
6
|
+
<i class="el-icon-info"/>
|
|
7
|
+
{{ dataId ? $t1('查看') : $t1('新增') }} 单据定义
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right"
|
|
11
|
-
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
11
|
+
{{ $t1('重置') }}
|
|
12
|
+
</el-button>
|
|
13
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
12
14
|
</div>
|
|
13
15
|
</div>
|
|
14
16
|
<div class="d-cont">
|
|
@@ -16,63 +18,68 @@
|
|
|
16
18
|
<div class="title first"><b>基本信息</b></div>
|
|
17
19
|
<table class="table-detail">
|
|
18
20
|
<tbody>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</
|
|
21
|
+
<tr>
|
|
22
|
+
<th>
|
|
23
|
+
<em class="f-red">*</em>
|
|
24
|
+
服务名
|
|
25
|
+
</th>
|
|
26
|
+
<td>
|
|
27
|
+
<el-form-item prop="serviceId" :rules="[{ required: true, trigger: 'blur' }]">
|
|
28
|
+
<el-select v-model="wfObjConfig.serviceId">
|
|
29
|
+
<el-option value="user">user</el-option>
|
|
30
|
+
</el-select>
|
|
31
|
+
</el-form-item>
|
|
32
|
+
</td>
|
|
33
|
+
<th>
|
|
34
|
+
<em class="f-red">*</em>
|
|
35
|
+
单据类型编号
|
|
36
|
+
</th>
|
|
37
|
+
<td>
|
|
38
|
+
<el-form-item prop="objTypeCode" :rules="[{ required: true, trigger: 'blur' }]" v-if="!dataId">
|
|
39
|
+
<el-input autocomplete="off" v-model="wfObjConfig.objTypeCode" clearable/>
|
|
40
|
+
</el-form-item>
|
|
41
|
+
<template v-else>
|
|
42
|
+
{{ wfObjConfig.objTypeCode }}
|
|
43
|
+
</template>
|
|
44
|
+
</td>
|
|
45
|
+
<th>
|
|
46
|
+
<em class="f-red">*</em>
|
|
47
|
+
单据类型名称
|
|
48
|
+
</th>
|
|
49
|
+
<td>
|
|
50
|
+
<el-form-item prop="objTypeName" :rules="[{ required: true, trigger: 'blur' }]">
|
|
51
|
+
<el-input autocomplete="off" v-model="wfObjConfig.objTypeName" clearable/>
|
|
52
|
+
</el-form-item>
|
|
53
|
+
</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr>
|
|
56
|
+
<th>
|
|
57
|
+
<em class="f-red">*</em>
|
|
58
|
+
跳转url
|
|
59
|
+
</th>
|
|
60
|
+
<td colspan="5">
|
|
61
|
+
<el-form-item prop="url" :rules="[{ required: true, trigger: 'blur' }]">
|
|
62
|
+
<el-input autocomplete="off" v-model="wfObjConfig.url" clearable/>
|
|
63
|
+
</el-form-item>
|
|
64
|
+
</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<th>备注</th>
|
|
68
|
+
<td colspan="5">
|
|
69
|
+
<el-input type="textarea" :rows="2" placeholder="请输入内容" size="small" v-model="wfObjConfig.note"
|
|
70
|
+
clearable></el-input>
|
|
71
|
+
</td>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>创建人</th>
|
|
75
|
+
<td>{{ wfObjConfig.createBy }}</td>
|
|
76
|
+
<th>创建时间</th>
|
|
77
|
+
<td>{{ wfObjConfig.createDate }}</td>
|
|
78
|
+
<th>更新人</th>
|
|
79
|
+
<td>{{ wfObjConfig.modifyBy }}</td>
|
|
80
|
+
<th>更新时间</th>
|
|
81
|
+
<td>{{ wfObjConfig.modifyDate }}</td>
|
|
82
|
+
</tr>
|
|
76
83
|
</tbody>
|
|
77
84
|
</table>
|
|
78
85
|
</div>
|
|
@@ -97,7 +104,7 @@ export default {
|
|
|
97
104
|
tabIndex: 0,
|
|
98
105
|
isEdit: false,
|
|
99
106
|
dataId: '',
|
|
100
|
-
wfObjConfig: {
|
|
107
|
+
wfObjConfig: {serviceId: null},
|
|
101
108
|
showCompanyDialog: false,
|
|
102
109
|
m1Option: {},
|
|
103
110
|
serviceIds: []
|
|
@@ -177,7 +184,7 @@ export default {
|
|
|
177
184
|
tableRef: tableRef,
|
|
178
185
|
tableName: 'basic_wfObjConfig_edit-m1',
|
|
179
186
|
columns: [
|
|
180
|
-
{
|
|
187
|
+
{type: 'checkbox', fixed: 'left', width: 48, resizable: false},
|
|
181
188
|
{
|
|
182
189
|
field: 'defName',
|
|
183
190
|
title: '流程名称',
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? '查看' : '新增' }}流程模版
|
|
7
|
+
{{ dataId ? $t1('查看') : $t1('新增') }} 流程模版
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right"
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
|
|
11
11
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
|
|
12
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="d-cont">
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? '查看' : '新增' }}流程模版
|
|
7
|
+
{{ dataId ? $t1('查看') : $t1('新增') }} 流程模版
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right"
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
|
|
11
11
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
|
|
12
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="d-cont">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="常规" name="first">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
5
|
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :serviceId.sync="serviceId"
|
|
6
6
|
:parent-target="_self" @reload="$reloadHandle"></editView>
|
|
7
7
|
<itemEditView
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
<div class="fr">
|
|
36
36
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
37
|
-
plain
|
|
37
|
+
plain>{{$t1('重置')}}
|
|
38
38
|
</vxe-button>
|
|
39
39
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
40
40
|
</vxe-button>
|
|
@@ -402,9 +402,9 @@ export default {
|
|
|
402
402
|
width: 180,
|
|
403
403
|
slots: {
|
|
404
404
|
default: ({row}) => {
|
|
405
|
-
if (row.toNextNode===1) {
|
|
405
|
+
if (row.toNextNode === 1) {
|
|
406
406
|
return [<div class="txt-status">顺延下一步提交</div>];
|
|
407
|
-
}else if (row.toRejectNode) {
|
|
407
|
+
} else if (row.toRejectNode) {
|
|
408
408
|
return [<div class="txt-status">由提交人确定节点提交</div>];
|
|
409
409
|
} else {
|
|
410
410
|
return [<div class="txt-status s-3">直接提交到驳回节点</div>];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="常规" name="first">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
5
|
<itemEditView
|
|
6
6
|
v-if="showItemEdit"
|
|
7
7
|
visible-key="showItemEdit"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
@reload="$reloadHandle"
|
|
12
12
|
></itemEditView>
|
|
13
13
|
</el-tab-pane>
|
|
14
|
-
<el-tab-pane label="列表" name="second">
|
|
14
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
15
15
|
<div class="grid-height">
|
|
16
16
|
<vxe-grid ref="table-m2" v-bind="vxeOption1" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
17
17
|
@custom="$vxeTableUtil.customHandle">
|
|
@@ -23,25 +23,25 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
<div class="fr">
|
|
25
25
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
26
|
-
plain
|
|
26
|
+
plain>{{$t1('重置')}}
|
|
27
27
|
</vxe-button>
|
|
28
28
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
29
29
|
</vxe-button>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
|
-
<!-- <vxe-form ref="form" class="screen-box" :data-form="formData" title-width="92px" title-align="right"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
32
|
+
<!-- <vxe-form ref="form" class="screen-box" :data-form="formData" title-width="92px" title-align="right"
|
|
33
|
+
@submit="searchEvent" @reset="searchEvent">
|
|
34
|
+
<vxe-form-item title="单据类型名称:" field="objTypeName">
|
|
35
|
+
<template v-slot="">
|
|
36
|
+
<el-input v-model="formData.objTypeName" size="small" clearable/>
|
|
37
|
+
</template>
|
|
38
|
+
</vxe-form-item>
|
|
39
|
+
<vxe-form-item title="单据类型编号:" field="objTypeCode">
|
|
40
|
+
<template v-slot="">
|
|
41
|
+
<el-input v-model="formData.objTypeCode" size="small" clearable/>
|
|
42
|
+
</template>
|
|
43
|
+
</vxe-form-item>
|
|
44
|
+
</vxe-form>-->
|
|
45
45
|
</template>
|
|
46
46
|
<template #row_edit>
|
|
47
47
|
<a href="#" class="a-link"><i class="el-icon-edit"/></a>
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
<userDialog v-if="showUserDialog" :visiable.sync="showUserDialog" @confirm="confirmUser"
|
|
75
75
|
:multi.sync="wfAssignMulti"/>
|
|
76
76
|
<positionDialog v-if="showPositionDialog" :visiable.sync="showPositionDialog" @confirm="confirmPosition"/>
|
|
77
|
-
<!-- <formTemplateDialog v-if="showFormTemplateDialog" :visiable.sync="showFormTemplateDialog" @confirm="confirmFormTemplate"/>-->
|
|
77
|
+
<!-- <formTemplateDialog v-if="showFormTemplateDialog" :visiable.sync="showFormTemplateDialog" @confirm="confirmFormTemplate"/>-->
|
|
78
78
|
</div>
|
|
79
79
|
</template>
|
|
80
80
|
<script>
|
|
@@ -135,8 +135,8 @@ export default {
|
|
|
135
135
|
wfAssignPositionData: [],
|
|
136
136
|
wfAssignPositionCallback: null,
|
|
137
137
|
|
|
138
|
-
showFormTemplateDialog:false,
|
|
139
|
-
wfAssignFormTemplateCallback:null,
|
|
138
|
+
showFormTemplateDialog: false,
|
|
139
|
+
wfAssignFormTemplateCallback: null,
|
|
140
140
|
};
|
|
141
141
|
},
|
|
142
142
|
watch: {
|
|
@@ -169,11 +169,11 @@ export default {
|
|
|
169
169
|
param: () => {
|
|
170
170
|
return {
|
|
171
171
|
...this.formData,
|
|
172
|
-
objConfigId:0
|
|
172
|
+
objConfigId: 0
|
|
173
173
|
};
|
|
174
174
|
},
|
|
175
|
-
config:{
|
|
176
|
-
proxyConfig:{
|
|
175
|
+
config: {
|
|
176
|
+
proxyConfig: {
|
|
177
177
|
props: {
|
|
178
178
|
result: 'objx', // 配置响应结果列表字段
|
|
179
179
|
total: 'objx.length' // 配置响应结果总页数字段
|