cloud-web-corejs-haier 1.0.18 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/src/components/VabUpload/index.js +48 -1
- package/src/components/VabUpload/mixins.js +1821 -1
- package/src/components/VabUpload/privateProfileDialogMixins.js +1063 -1
- package/src/components/advancedSearchDialog/mixins.js +28 -1
- package/src/components/baseAlert/index.js +44 -1
- package/src/components/baseAlert/index.vue +53 -53
- package/src/components/baseAlert/mixins.js +61 -1
- package/src/components/baseAttachment/install.js +21 -5
- package/src/components/baseAttachment/mixins.js +309 -1
- package/src/components/baseInputBatch/mixins.js +58 -1
- package/src/components/baseInputExport/mixins.js +391 -1
- package/src/components/baseTabs/mixins.js +166 -1
- package/src/components/cnPrint/index.js +44 -1
- package/src/components/cnPrint/mixins.js +189 -1
- package/src/components/code-editor/index.vue +51 -136
- package/src/components/confirmDialog/index.js +41 -1
- package/src/components/confirmDialog/mixins.js +31 -1
- package/src/components/errorMsg/index.js +44 -1
- package/src/components/errorMsg/index.vue +3 -3
- package/src/components/errorMsg/mixins.js +96 -1
- package/src/components/excelExport/index.js +43 -1
- package/src/components/excelExport/mixins.js +964 -1
- package/src/components/excelImport/index.js +74 -13
- package/src/components/excelImport/mixins.js +774 -1
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +202 -350
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +26 -33
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
- package/src/components/fileLibrary/mixins/indexMixins.js +106 -250
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +4 -64
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +4 -3
- package/src/components/formOplog/mixins.js +77 -1
- package/src/components/hiprint/view/design/mixins.js +611 -1
- package/src/components/jdPrint/index.js +44 -1
- package/src/components/jdPrint/mixins.js +208 -1
- package/src/components/jsonImport/index.js +187 -17
- package/src/components/jsonImport/mixins.js +332 -1
- package/src/components/langImport/index.js +80 -1
- package/src/components/langImport/mixins.js +484 -1
- package/src/components/langTag/mixins/addButton.js +51 -5
- package/src/components/langTag/mixins/deleteButton.js +55 -5
- package/src/components/langTag/mixins/view.js +47 -5
- package/src/components/luckysheet/index.js +3 -0
- package/src/components/obsUpload/index.js +34 -1
- package/src/components/obsUpload/mixins.js +1469 -1
- package/src/components/onlineTalk/index.vue +5 -327
- package/src/components/onlineTalk/mixins.js +852 -1
- package/src/components/oplogTable/mixins.js +83 -4
- package/src/components/pddPrint/index.js +44 -1
- package/src/components/pddPrint/mixins.js +252 -1
- package/src/components/projectTag/mixins/addButton.js +52 -1
- package/src/components/projectTag/mixins/deleteButton.js +52 -1
- package/src/components/projectTag/mixins/view.js +43 -1
- package/src/components/scriptDescription/mixins.js +30 -1
- package/src/components/scriptTest/mixins.js +90 -1
- package/src/components/statusTag/mixins.js +66 -1
- package/src/components/table/CellSlot.vue +2 -29
- package/src/components/table/config.js +74 -1
- package/src/components/table/index.js +1 -1
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +8 -1
- package/src/components/table/vxeFilter/index.js +153 -1
- package/src/components/table/vxeFilter/mixin.js +1 -4
- package/src/components/vipPrint/index.js +44 -1
- package/src/components/vipPrint/mixins.js +268 -1
- package/src/components/xform/form-designer/designer.js +1 -1
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +92 -0
- package/src/components/xform/form-designer/form-widget/indexMixin.js +1 -1
- package/src/components/xform/form-designer/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +432 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/preWrap-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +71 -0
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +290 -1
- package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/components/xform/form-render/dynamicDialogRender.js +195 -1
- package/src/components/xform/form-render/indexMixin.js +2 -3501
- package/src/components/xform/form-render/refMixin.js +3 -3
- package/src/components/xform/mixins/defaultHandle.js +340 -2
- package/src/components/xform/mixins/scriptHttp.js +172 -1
- package/src/components/xform/utils/formHttp.js +162 -0
- package/src/components/xform/utils/format.js +12 -6
- package/src/components/xform/utils/util.js +1464 -1
- package/src/components/xform/utils/validators.js +134 -1
- package/src/components/xhsPrint/index.js +44 -1
- package/src/components/xhsPrint/mixins.js +269 -1
- package/src/directive/LimitNumber/index.js +125 -1
- package/src/directive/el-dialog-center/index.js +34 -1
- package/src/directive/el-drag-dialog/drag.js +86 -1
- package/src/directive/el-readonly/index.js +15 -1
- package/src/directive/permission/hasPermi.js +34 -1
- package/src/index.js +2 -2
- package/src/router/modules/customer.js +3 -16
- package/src/store/config/index.js +1 -1
- package/src/store/modules/permission.js +40 -41
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +11 -1
- package/src/store/modules/user.js +23 -1
- package/src/utils/aes.js +1 -1
- package/src/utils/auth.js +1 -1
- package/src/utils/global.js +362 -1
- package/src/utils/index.js +579 -1
- package/src/utils/keepAlive.js +181 -1
- package/src/utils/pddLog.js +17 -28
- package/src/utils/request.js +1 -1
- package/src/utils/vab.js +1 -1
- package/src/utils/validate.js +106 -1
- package/src/utils/wf.js +749 -4
- package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +84 -1
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +113 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -193
- package/src/views/bd/setting/form_script/mixins/form_list.js +283 -1
- package/src/views/bd/setting/form_script/mixins/list2.js +10 -1
- package/src/views/bd/setting/form_script/mixins/preformDialog.js +34 -1
- package/src/views/bd/setting/form_template/mixins/dialog.js +103 -1
- package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +92 -1
- package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +91 -1
- package/src/views/bd/setting/form_template/mixins/itemEdit.js +104 -1
- package/src/views/bd/setting/form_template/mixins/itemList.js +234 -1
- package/src/views/bd/setting/form_template/mixins/list2.js +411 -0
- package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -3
- package/src/views/bd/setting/form_template/mixins/wf_list.js +423 -1
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -254
- package/src/views/bd/setting/logic_param/mixins/edit.js +91 -1
- package/src/views/bd/setting/logic_param/mixins/list.js +368 -1
- package/src/views/bd/setting/menu_kind/mixins/dialog.js +139 -1
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -320
- package/src/views/bd/setting/request_setting/edit.vue +300 -300
- package/src/views/bd/setting/table_model/mixins/dialog.js +71 -1
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +108 -1
- package/src/views/bd/setting/utils/index.js +60 -1
- package/src/views/user/api_request/list.vue +203 -203
- package/src/views/user/bill_setting/list.vue +345 -345
- package/src/views/user/code_rules/list.vue +204 -204
- package/src/views/user/common_attribute/list.vue +378 -378
- package/src/views/user/common_script/list.vue +341 -341
- package/src/views/user/country/list.vue +197 -197
- package/src/views/user/extend_datasource/list.vue +224 -224
- package/src/views/user/fieldTranslation/list.vue +473 -473
- package/src/views/user/field_values_invisible/list.vue +207 -207
- package/src/views/user/file_type/list.vue +271 -271
- package/src/views/user/file_view_area/list.vue +331 -331
- package/src/views/user/form/form_template/itemList.vue +221 -221
- package/src/views/user/form/form_template/list.vue +512 -512
- package/src/views/user/form/form_type/list.vue +142 -142
- package/src/views/user/form/report_requestaccess/list.vue +198 -198
- package/src/views/user/groups/list.vue +158 -158
- package/src/views/user/lang_tag/list.vue +170 -170
- package/src/views/user/language_setting/list.vue +208 -208
- package/src/views/user/menu/list.vue +575 -575
- package/src/views/user/notify_template/list.vue +192 -192
- package/src/views/user/notify_template/list2.vue +190 -190
- package/src/views/user/position/list.vue +188 -188
- package/src/views/user/project_tag/list.vue +175 -175
- package/src/views/user/push_setting/list.vue +236 -236
- package/src/views/user/request_setting/list.vue +248 -248
- package/src/views/user/role/list.vue +182 -182
- package/src/views/user/system_notice/list.vue +203 -203
- package/src/views/user/system_parameter/list.vue +141 -141
- package/src/views/user/user/form_list.vue +245 -245
- package/src/views/user/user_log_classify/list.vue +197 -197
- package/src/views/user/wf/wf_obj_config/list.vue +753 -753
- package/src/views/user/wf/wf_obj_config/list_form.vue +373 -373
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +0 -11028
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +0 -200
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +0 -1639
- package/src/components/xform/form-render/indexMixin copy.js +0 -3462
|
@@ -1,373 +1,373 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="containt">
|
|
3
|
-
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
-
<itemEditView
|
|
6
|
-
v-if="showItemEdit"
|
|
7
|
-
visible-key="showItemEdit"
|
|
8
|
-
:_dataId.sync="dataId"
|
|
9
|
-
:wfObjConfig.sync="pRow"
|
|
10
|
-
:parent-target="_self"
|
|
11
|
-
@reload="$reloadHandle"
|
|
12
|
-
></itemEditView>
|
|
13
|
-
</el-tab-pane>
|
|
14
|
-
<el-tab-pane :label="$t1('列表')" name="second">
|
|
15
|
-
<div class="grid-height">
|
|
16
|
-
<vxe-grid ref="table-m2" v-bind="vxeOption1" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
17
|
-
@custom="$vxeTableUtil.customHandle">
|
|
18
|
-
<template #form>
|
|
19
|
-
<div style="margin-bottom: 8px;" class="clearfix">
|
|
20
|
-
<div class="fl">
|
|
21
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
|
|
22
|
-
{{ $t1('新增流程模板') }}
|
|
23
|
-
</vxe-button>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="fr">
|
|
26
|
-
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
27
|
-
plain>{{ $t1('重置') }}
|
|
28
|
-
</vxe-button>
|
|
29
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
30
|
-
{{ $t1('搜索') }}
|
|
31
|
-
</vxe-button>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
<!-- <vxe-form ref="form" class="screen-box" :data-form="formData" title-width="92px" title-align="right"
|
|
35
|
-
@submit="searchEvent" @reset="searchEvent">
|
|
36
|
-
<vxe-form-item title="单据类型名称:" field="objTypeName">
|
|
37
|
-
<template v-slot="">
|
|
38
|
-
<el-input v-model="formData.objTypeName" size="small" clearable/>
|
|
39
|
-
</template>
|
|
40
|
-
</vxe-form-item>
|
|
41
|
-
<vxe-form-item title="单据类型编号:" field="objTypeCode">
|
|
42
|
-
<template v-slot="">
|
|
43
|
-
<el-input v-model="formData.objTypeCode" size="small" clearable/>
|
|
44
|
-
</template>
|
|
45
|
-
</vxe-form-item>
|
|
46
|
-
</vxe-form>-->
|
|
47
|
-
</template>
|
|
48
|
-
<template #row_edit>
|
|
49
|
-
<a href="#" class="a-link"><i class="el-icon-edit"/></a>
|
|
50
|
-
</template>
|
|
51
|
-
</vxe-grid>
|
|
52
|
-
</div>
|
|
53
|
-
</el-tab-pane>
|
|
54
|
-
</el-tabs>
|
|
55
|
-
|
|
56
|
-
<el-dialog
|
|
57
|
-
:title="$t1('流程设计')"
|
|
58
|
-
:append-to-body="true"
|
|
59
|
-
:modal-append-to-body="true"
|
|
60
|
-
:close-on-click-modal="false"
|
|
61
|
-
v-if="showWfDialog"
|
|
62
|
-
:visible.sync="showWfDialog"
|
|
63
|
-
:modal="false"
|
|
64
|
-
custom-class="dialog-style designer-dialog"
|
|
65
|
-
width="100%"
|
|
66
|
-
height="100%"
|
|
67
|
-
top="0px"
|
|
68
|
-
bottom="0px"
|
|
69
|
-
:before-close="closeDesignwinEvent"
|
|
70
|
-
:destroy-on-close="true"
|
|
71
|
-
v-el-drag-dialog
|
|
72
|
-
>
|
|
73
|
-
<iframe :src="wfUrl" :style="'width:100%;height:' + ($root.$el.clientHeight - 30 - 12) + 'px'"></iframe>
|
|
74
|
-
</el-dialog>
|
|
75
|
-
|
|
76
|
-
<userDialog v-if="showUserDialog" :visiable.sync="showUserDialog" @confirm="confirmUser"
|
|
77
|
-
:multi.sync="wfAssignMulti"/>
|
|
78
|
-
<positionDialog v-if="showPositionDialog" :visiable.sync="showPositionDialog" @confirm="confirmPosition"/>
|
|
79
|
-
<!-- <formTemplateDialog v-if="showFormTemplateDialog" :visiable.sync="showFormTemplateDialog" @confirm="confirmFormTemplate"/>-->
|
|
80
|
-
</div>
|
|
81
|
-
</template>
|
|
82
|
-
<script>
|
|
83
|
-
import {treeScolly} from '@base/utils/global.js';
|
|
84
|
-
import itemEditView from './itemEdit_form.vue';
|
|
85
|
-
|
|
86
|
-
import userDialog from '../../../../views/user/user/dialog.vue';
|
|
87
|
-
import positionDialog from '../../../../views/user/position/dialog.vue';
|
|
88
|
-
|
|
89
|
-
// import formTemplateDialog from '../../../../views/user/form/form_template/dialog'
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
export default {
|
|
93
|
-
name: 'wf_obj_config:list',
|
|
94
|
-
components: {
|
|
95
|
-
itemEditView,
|
|
96
|
-
userDialog,
|
|
97
|
-
positionDialog,
|
|
98
|
-
// formTemplateDialog
|
|
99
|
-
},
|
|
100
|
-
created() {
|
|
101
|
-
},
|
|
102
|
-
mounted() {
|
|
103
|
-
treeScolly({target: this, type: 'default'});
|
|
104
|
-
// this.initTableList();
|
|
105
|
-
this.initTableM2();
|
|
106
|
-
|
|
107
|
-
this.ph = this.$root.$el.clientHeight;
|
|
108
|
-
this.initWfWinParam();
|
|
109
|
-
},
|
|
110
|
-
data() {
|
|
111
|
-
return {
|
|
112
|
-
dataId: 0,
|
|
113
|
-
showEdit: false,
|
|
114
|
-
showItemEdit: false,
|
|
115
|
-
vxeOption: {},
|
|
116
|
-
vxeOption1: {},
|
|
117
|
-
formData: {},
|
|
118
|
-
editId: '',
|
|
119
|
-
itemEditId: '',
|
|
120
|
-
pRow: '',
|
|
121
|
-
activeName: 'second',
|
|
122
|
-
currentRow: {},
|
|
123
|
-
serviceId: null,
|
|
124
|
-
itemServiceId: null,
|
|
125
|
-
|
|
126
|
-
showWfDialog: false,
|
|
127
|
-
wfUrl: '',
|
|
128
|
-
ph: '',
|
|
129
|
-
dialogActiveName: 'first',
|
|
130
|
-
showFunctionScriptList: false,
|
|
131
|
-
showUserDialog: false,
|
|
132
|
-
wfAssignData: [],
|
|
133
|
-
wfAssignCallback: null,
|
|
134
|
-
wfAssignMulti: true,
|
|
135
|
-
|
|
136
|
-
showPositionDialog: false,
|
|
137
|
-
wfAssignPositionData: [],
|
|
138
|
-
wfAssignPositionCallback: null,
|
|
139
|
-
|
|
140
|
-
showFormTemplateDialog: false,
|
|
141
|
-
wfAssignFormTemplateCallback: null,
|
|
142
|
-
};
|
|
143
|
-
},
|
|
144
|
-
watch: {
|
|
145
|
-
dialogActiveName(val) {
|
|
146
|
-
if (val == 'second') {
|
|
147
|
-
this.showFunctionScriptList = true;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
methods: {
|
|
152
|
-
searchEvent() {
|
|
153
|
-
this.$refs['table-m2'].commitProxy('reload');
|
|
154
|
-
},
|
|
155
|
-
resetEvent() {
|
|
156
|
-
this.formData = {};
|
|
157
|
-
this.$refs['table-m2'].commitProxy('reload');
|
|
158
|
-
},
|
|
159
|
-
openEditDialog(id) {
|
|
160
|
-
this.dataId = !id || typeof id == 'object' ? 0 : id;
|
|
161
|
-
this.activeName = 'first';
|
|
162
|
-
this.$openEditView('showItemEdit');
|
|
163
|
-
},
|
|
164
|
-
initTableM2() {
|
|
165
|
-
var that = this;
|
|
166
|
-
let tableOption1 = {
|
|
167
|
-
vue: that,
|
|
168
|
-
tableRef: 'table-m2',
|
|
169
|
-
tableName: 'user_wf_obj_config_item_list_form-m2',
|
|
170
|
-
path: USER_PREFIX + '/wf_obj_config_item/list',
|
|
171
|
-
param: () => {
|
|
172
|
-
return {
|
|
173
|
-
...this.formData,
|
|
174
|
-
objConfigId: 0
|
|
175
|
-
};
|
|
176
|
-
},
|
|
177
|
-
config: {
|
|
178
|
-
proxyConfig: {
|
|
179
|
-
props: {
|
|
180
|
-
result: 'objx', // 配置响应结果列表字段
|
|
181
|
-
total: 'objx.length' // 配置响应结果总页数字段
|
|
182
|
-
},
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
columns: [
|
|
186
|
-
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
187
|
-
{
|
|
188
|
-
title: this.$t1('流程模版名称'),
|
|
189
|
-
field: 'modelName',
|
|
190
|
-
width: 150,
|
|
191
|
-
fixed: 'left'
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
title: this.$t1('流程模版KEY'),
|
|
195
|
-
field: 'modelKey',
|
|
196
|
-
width: 150
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
title: this.$t1('单据类型编码'),
|
|
200
|
-
field: 'objTypeCode',
|
|
201
|
-
width: 150
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
title: 'modelId',
|
|
205
|
-
field: 'modelId',
|
|
206
|
-
width: 150
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
field: 'createDate',
|
|
210
|
-
title: this.$t1('创建时间'),
|
|
211
|
-
width: 200
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
width: 150,
|
|
215
|
-
fixed: 'right',
|
|
216
|
-
sortable: false,
|
|
217
|
-
title: '',
|
|
218
|
-
slots: {
|
|
219
|
-
default: ({row}) => {
|
|
220
|
-
return [
|
|
221
|
-
<a
|
|
222
|
-
href="javascript:void(0);"
|
|
223
|
-
class="a-link"
|
|
224
|
-
onclick={() => {
|
|
225
|
-
this.openEditDialog(row.id);
|
|
226
|
-
}}
|
|
227
|
-
>
|
|
228
|
-
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
229
|
-
popper-class="tooltip-skin">
|
|
230
|
-
<i class="el-icon-edit"/>
|
|
231
|
-
</el-tooltip>
|
|
232
|
-
</a>,
|
|
233
|
-
<a
|
|
234
|
-
href="javascript:void(0);"
|
|
235
|
-
onClick={() => {
|
|
236
|
-
this.wfEdit(row.modelId);
|
|
237
|
-
}}
|
|
238
|
-
class="a-link"
|
|
239
|
-
>
|
|
240
|
-
<el-tooltip enterable={false} effect="dark" content={this.$t1('流程设计')} placement="top"
|
|
241
|
-
popper-class="tooltip-skin">
|
|
242
|
-
<i class="iconfont icon-liuchengguanli-shejiqi_liucheng"/>
|
|
243
|
-
</el-tooltip>
|
|
244
|
-
</a>,
|
|
245
|
-
<a
|
|
246
|
-
href="javascript:void(0);"
|
|
247
|
-
class="a-link"
|
|
248
|
-
onClick={() => {
|
|
249
|
-
this.deleteItem(row);
|
|
250
|
-
}}
|
|
251
|
-
>
|
|
252
|
-
<el-tooltip enterable={false} effect="dark" content={this.$t1('删除')} placement="top"
|
|
253
|
-
popper-class="tooltip-skin">
|
|
254
|
-
<i class="el-icon-delete"/>
|
|
255
|
-
</el-tooltip>
|
|
256
|
-
</a>
|
|
257
|
-
];
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
]
|
|
262
|
-
};
|
|
263
|
-
this.$vxeTableUtil.initVxeTable(tableOption1).then(opts => {
|
|
264
|
-
that.vxeOption1 = opts;
|
|
265
|
-
});
|
|
266
|
-
},
|
|
267
|
-
chooseCellM1({row}) {
|
|
268
|
-
if (row && row.id) {
|
|
269
|
-
let $table1 = this.$refs['table-m1'];
|
|
270
|
-
this.$nextTick(() => {
|
|
271
|
-
$table1.clearCheckboxRow();
|
|
272
|
-
$table1.setCheckboxRow(row, true);
|
|
273
|
-
});
|
|
274
|
-
this.currentRow = row;
|
|
275
|
-
this.$http({
|
|
276
|
-
method: 'post',
|
|
277
|
-
url: USER_PREFIX + '/wf_obj_config_item/list',
|
|
278
|
-
data: {objConfigId: row.id || ''},
|
|
279
|
-
success: res => {
|
|
280
|
-
let rows = res.objx || [];
|
|
281
|
-
/* rows.forEach(function(item) {
|
|
282
|
-
item.name = row.name;
|
|
283
|
-
}); */
|
|
284
|
-
this.$refs['table-m2'].loadData(rows);
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
} else {
|
|
288
|
-
this.$refs['table-m2'].loadData([]);
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
|
|
292
|
-
wfEdit(actModelId) {
|
|
293
|
-
let serviceId = 'sf-cloud-user';
|
|
294
|
-
//wfType 0:单据流程,1:场景流程
|
|
295
|
-
this.wfUrl = WEB_PREFIX + '/activiti-explorer/modeler.html?wfType=1&serviceId=' + serviceId + '&modelId=' + actModelId;
|
|
296
|
-
this.dialogActiveName = 'first';
|
|
297
|
-
this.showWfDialog = true;
|
|
298
|
-
},
|
|
299
|
-
closeDesignwinEvent(done) {
|
|
300
|
-
this.$baseConfirm(this.$t1('请确认"已保存"流程模板,是否继续关闭?')).then(() => {
|
|
301
|
-
this.showWfDialog = false;
|
|
302
|
-
});
|
|
303
|
-
},
|
|
304
|
-
initWfWinParam() {
|
|
305
|
-
this.initCloseWfDesignWin();
|
|
306
|
-
this.initWinUserDialog();
|
|
307
|
-
this.initWinPositionDialog();
|
|
308
|
-
this.initSysParamForWf();
|
|
309
|
-
this.initWinFormTemplateDialog();
|
|
310
|
-
},
|
|
311
|
-
initCloseWfDesignWin() {
|
|
312
|
-
window.closeWfDesignWin = () => {
|
|
313
|
-
this.showWfDialog = false;
|
|
314
|
-
};
|
|
315
|
-
},
|
|
316
|
-
initWinUserDialog() {
|
|
317
|
-
window.openAssignUserDialog = opts => {
|
|
318
|
-
this.wfAssignMulti = opts.multi;
|
|
319
|
-
this.wfAssignData = opts.data || [];
|
|
320
|
-
this.wfAssignCallback = opts.callback;
|
|
321
|
-
this.showUserDialog = true;
|
|
322
|
-
};
|
|
323
|
-
},
|
|
324
|
-
confirmUser(rows) {
|
|
325
|
-
this.wfAssignCallback(rows);
|
|
326
|
-
},
|
|
327
|
-
initWinPositionDialog() {
|
|
328
|
-
window.openAssignPositionDialog = opts => {
|
|
329
|
-
this.wfAssignPositionData = opts.data || [];
|
|
330
|
-
this.wfAssignPositionCallback = opts.callback;
|
|
331
|
-
this.showPositionDialog = true;
|
|
332
|
-
};
|
|
333
|
-
},
|
|
334
|
-
initSysParamForWf() {
|
|
335
|
-
let webPrefix = WEB_PREFIX;
|
|
336
|
-
let baseApi = process.env.VUE_APP_BASE_API;
|
|
337
|
-
window.sysParamForWf = {
|
|
338
|
-
webPrefix,
|
|
339
|
-
baseApi
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
confirmPosition(rows) {
|
|
343
|
-
this.wfAssignPositionCallback(rows);
|
|
344
|
-
},
|
|
345
|
-
deleteItem(row) {
|
|
346
|
-
this.$baseConfirm(this.$t1('您确定要删除吗?')).then(() => {
|
|
347
|
-
this.$http({
|
|
348
|
-
method: 'post',
|
|
349
|
-
url: USER_PREFIX + '/wf_obj_config_item/delete',
|
|
350
|
-
data: {id: row.id},
|
|
351
|
-
success: res => {
|
|
352
|
-
this.$message({
|
|
353
|
-
message: res.content,
|
|
354
|
-
type: 'success',
|
|
355
|
-
duration: 500,
|
|
356
|
-
});
|
|
357
|
-
this.$refs['table-m2'].remove(row);
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
|
-
});
|
|
361
|
-
},
|
|
362
|
-
initWinFormTemplateDialog() {
|
|
363
|
-
window.openAssignFormTemplateDialog = opts => {
|
|
364
|
-
this.wfAssignFormTemplateCallback = opts.callback;
|
|
365
|
-
this.showFormTemplateDialog = true;
|
|
366
|
-
};
|
|
367
|
-
},
|
|
368
|
-
confirmFormTemplate(rows) {
|
|
369
|
-
this.wfAssignFormTemplateCallback(rows);
|
|
370
|
-
},
|
|
371
|
-
}
|
|
372
|
-
};
|
|
373
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="containt">
|
|
3
|
+
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
+
<itemEditView
|
|
6
|
+
v-if="showItemEdit"
|
|
7
|
+
visible-key="showItemEdit"
|
|
8
|
+
:_dataId.sync="dataId"
|
|
9
|
+
:wfObjConfig.sync="pRow"
|
|
10
|
+
:parent-target="_self"
|
|
11
|
+
@reload="$reloadHandle"
|
|
12
|
+
></itemEditView>
|
|
13
|
+
</el-tab-pane>
|
|
14
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
15
|
+
<div class="grid-height">
|
|
16
|
+
<vxe-grid ref="table-m2" v-bind="vxeOption1" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
17
|
+
@custom="$vxeTableUtil.customHandle">
|
|
18
|
+
<template #form>
|
|
19
|
+
<div style="margin-bottom: 8px;" class="clearfix">
|
|
20
|
+
<div class="fl">
|
|
21
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
|
|
22
|
+
{{ $t1('新增流程模板') }}
|
|
23
|
+
</vxe-button>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="fr">
|
|
26
|
+
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
27
|
+
plain>{{ $t1('重置') }}
|
|
28
|
+
</vxe-button>
|
|
29
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
30
|
+
{{ $t1('搜索') }}
|
|
31
|
+
</vxe-button>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<!-- <vxe-form ref="form" class="screen-box" :data-form="formData" title-width="92px" title-align="right"
|
|
35
|
+
@submit="searchEvent" @reset="searchEvent">
|
|
36
|
+
<vxe-form-item title="单据类型名称:" field="objTypeName">
|
|
37
|
+
<template v-slot="">
|
|
38
|
+
<el-input v-model="formData.objTypeName" size="small" clearable/>
|
|
39
|
+
</template>
|
|
40
|
+
</vxe-form-item>
|
|
41
|
+
<vxe-form-item title="单据类型编号:" field="objTypeCode">
|
|
42
|
+
<template v-slot="">
|
|
43
|
+
<el-input v-model="formData.objTypeCode" size="small" clearable/>
|
|
44
|
+
</template>
|
|
45
|
+
</vxe-form-item>
|
|
46
|
+
</vxe-form>-->
|
|
47
|
+
</template>
|
|
48
|
+
<template #row_edit>
|
|
49
|
+
<a href="#" class="a-link"><i class="el-icon-edit"/></a>
|
|
50
|
+
</template>
|
|
51
|
+
</vxe-grid>
|
|
52
|
+
</div>
|
|
53
|
+
</el-tab-pane>
|
|
54
|
+
</el-tabs>
|
|
55
|
+
|
|
56
|
+
<el-dialog
|
|
57
|
+
:title="$t1('流程设计')"
|
|
58
|
+
:append-to-body="true"
|
|
59
|
+
:modal-append-to-body="true"
|
|
60
|
+
:close-on-click-modal="false"
|
|
61
|
+
v-if="showWfDialog"
|
|
62
|
+
:visible.sync="showWfDialog"
|
|
63
|
+
:modal="false"
|
|
64
|
+
custom-class="dialog-style designer-dialog"
|
|
65
|
+
width="100%"
|
|
66
|
+
height="100%"
|
|
67
|
+
top="0px"
|
|
68
|
+
bottom="0px"
|
|
69
|
+
:before-close="closeDesignwinEvent"
|
|
70
|
+
:destroy-on-close="true"
|
|
71
|
+
v-el-drag-dialog
|
|
72
|
+
>
|
|
73
|
+
<iframe :src="wfUrl" :style="'width:100%;height:' + ($root.$el.clientHeight - 30 - 12) + 'px'"></iframe>
|
|
74
|
+
</el-dialog>
|
|
75
|
+
|
|
76
|
+
<userDialog v-if="showUserDialog" :visiable.sync="showUserDialog" @confirm="confirmUser"
|
|
77
|
+
:multi.sync="wfAssignMulti"/>
|
|
78
|
+
<positionDialog v-if="showPositionDialog" :visiable.sync="showPositionDialog" @confirm="confirmPosition"/>
|
|
79
|
+
<!-- <formTemplateDialog v-if="showFormTemplateDialog" :visiable.sync="showFormTemplateDialog" @confirm="confirmFormTemplate"/>-->
|
|
80
|
+
</div>
|
|
81
|
+
</template>
|
|
82
|
+
<script>
|
|
83
|
+
import {treeScolly} from '@base/utils/global.js';
|
|
84
|
+
import itemEditView from './itemEdit_form.vue';
|
|
85
|
+
|
|
86
|
+
import userDialog from '../../../../views/user/user/dialog.vue';
|
|
87
|
+
import positionDialog from '../../../../views/user/position/dialog.vue';
|
|
88
|
+
|
|
89
|
+
// import formTemplateDialog from '../../../../views/user/form/form_template/dialog'
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
export default {
|
|
93
|
+
name: 'wf_obj_config:list',
|
|
94
|
+
components: {
|
|
95
|
+
itemEditView,
|
|
96
|
+
userDialog,
|
|
97
|
+
positionDialog,
|
|
98
|
+
// formTemplateDialog
|
|
99
|
+
},
|
|
100
|
+
created() {
|
|
101
|
+
},
|
|
102
|
+
mounted() {
|
|
103
|
+
treeScolly({target: this, type: 'default'});
|
|
104
|
+
// this.initTableList();
|
|
105
|
+
this.initTableM2();
|
|
106
|
+
|
|
107
|
+
this.ph = this.$root.$el.clientHeight;
|
|
108
|
+
this.initWfWinParam();
|
|
109
|
+
},
|
|
110
|
+
data() {
|
|
111
|
+
return {
|
|
112
|
+
dataId: 0,
|
|
113
|
+
showEdit: false,
|
|
114
|
+
showItemEdit: false,
|
|
115
|
+
vxeOption: {},
|
|
116
|
+
vxeOption1: {},
|
|
117
|
+
formData: {},
|
|
118
|
+
editId: '',
|
|
119
|
+
itemEditId: '',
|
|
120
|
+
pRow: '',
|
|
121
|
+
activeName: 'second',
|
|
122
|
+
currentRow: {},
|
|
123
|
+
serviceId: null,
|
|
124
|
+
itemServiceId: null,
|
|
125
|
+
|
|
126
|
+
showWfDialog: false,
|
|
127
|
+
wfUrl: '',
|
|
128
|
+
ph: '',
|
|
129
|
+
dialogActiveName: 'first',
|
|
130
|
+
showFunctionScriptList: false,
|
|
131
|
+
showUserDialog: false,
|
|
132
|
+
wfAssignData: [],
|
|
133
|
+
wfAssignCallback: null,
|
|
134
|
+
wfAssignMulti: true,
|
|
135
|
+
|
|
136
|
+
showPositionDialog: false,
|
|
137
|
+
wfAssignPositionData: [],
|
|
138
|
+
wfAssignPositionCallback: null,
|
|
139
|
+
|
|
140
|
+
showFormTemplateDialog: false,
|
|
141
|
+
wfAssignFormTemplateCallback: null,
|
|
142
|
+
};
|
|
143
|
+
},
|
|
144
|
+
watch: {
|
|
145
|
+
dialogActiveName(val) {
|
|
146
|
+
if (val == 'second') {
|
|
147
|
+
this.showFunctionScriptList = true;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
methods: {
|
|
152
|
+
searchEvent() {
|
|
153
|
+
this.$refs['table-m2'].commitProxy('reload');
|
|
154
|
+
},
|
|
155
|
+
resetEvent() {
|
|
156
|
+
this.formData = {};
|
|
157
|
+
this.$refs['table-m2'].commitProxy('reload');
|
|
158
|
+
},
|
|
159
|
+
openEditDialog(id) {
|
|
160
|
+
this.dataId = !id || typeof id == 'object' ? 0 : id;
|
|
161
|
+
this.activeName = 'first';
|
|
162
|
+
this.$openEditView('showItemEdit');
|
|
163
|
+
},
|
|
164
|
+
initTableM2() {
|
|
165
|
+
var that = this;
|
|
166
|
+
let tableOption1 = {
|
|
167
|
+
vue: that,
|
|
168
|
+
tableRef: 'table-m2',
|
|
169
|
+
tableName: 'user_wf_obj_config_item_list_form-m2',
|
|
170
|
+
path: USER_PREFIX + '/wf_obj_config_item/list',
|
|
171
|
+
param: () => {
|
|
172
|
+
return {
|
|
173
|
+
...this.formData,
|
|
174
|
+
objConfigId: 0
|
|
175
|
+
};
|
|
176
|
+
},
|
|
177
|
+
config: {
|
|
178
|
+
proxyConfig: {
|
|
179
|
+
props: {
|
|
180
|
+
result: 'objx', // 配置响应结果列表字段
|
|
181
|
+
total: 'objx.length' // 配置响应结果总页数字段
|
|
182
|
+
},
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
columns: [
|
|
186
|
+
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
187
|
+
{
|
|
188
|
+
title: this.$t1('流程模版名称'),
|
|
189
|
+
field: 'modelName',
|
|
190
|
+
width: 150,
|
|
191
|
+
fixed: 'left'
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
title: this.$t1('流程模版KEY'),
|
|
195
|
+
field: 'modelKey',
|
|
196
|
+
width: 150
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
title: this.$t1('单据类型编码'),
|
|
200
|
+
field: 'objTypeCode',
|
|
201
|
+
width: 150
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
title: 'modelId',
|
|
205
|
+
field: 'modelId',
|
|
206
|
+
width: 150
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
field: 'createDate',
|
|
210
|
+
title: this.$t1('创建时间'),
|
|
211
|
+
width: 200
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
width: 150,
|
|
215
|
+
fixed: 'right',
|
|
216
|
+
sortable: false,
|
|
217
|
+
title: '',
|
|
218
|
+
slots: {
|
|
219
|
+
default: ({row}) => {
|
|
220
|
+
return [
|
|
221
|
+
<a
|
|
222
|
+
href="javascript:void(0);"
|
|
223
|
+
class="a-link"
|
|
224
|
+
onclick={() => {
|
|
225
|
+
this.openEditDialog(row.id);
|
|
226
|
+
}}
|
|
227
|
+
>
|
|
228
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
229
|
+
popper-class="tooltip-skin">
|
|
230
|
+
<i class="el-icon-edit"/>
|
|
231
|
+
</el-tooltip>
|
|
232
|
+
</a>,
|
|
233
|
+
<a
|
|
234
|
+
href="javascript:void(0);"
|
|
235
|
+
onClick={() => {
|
|
236
|
+
this.wfEdit(row.modelId);
|
|
237
|
+
}}
|
|
238
|
+
class="a-link"
|
|
239
|
+
>
|
|
240
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('流程设计')} placement="top"
|
|
241
|
+
popper-class="tooltip-skin">
|
|
242
|
+
<i class="iconfont icon-liuchengguanli-shejiqi_liucheng"/>
|
|
243
|
+
</el-tooltip>
|
|
244
|
+
</a>,
|
|
245
|
+
<a
|
|
246
|
+
href="javascript:void(0);"
|
|
247
|
+
class="a-link"
|
|
248
|
+
onClick={() => {
|
|
249
|
+
this.deleteItem(row);
|
|
250
|
+
}}
|
|
251
|
+
>
|
|
252
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('删除')} placement="top"
|
|
253
|
+
popper-class="tooltip-skin">
|
|
254
|
+
<i class="el-icon-delete"/>
|
|
255
|
+
</el-tooltip>
|
|
256
|
+
</a>
|
|
257
|
+
];
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
]
|
|
262
|
+
};
|
|
263
|
+
this.$vxeTableUtil.initVxeTable(tableOption1).then(opts => {
|
|
264
|
+
that.vxeOption1 = opts;
|
|
265
|
+
});
|
|
266
|
+
},
|
|
267
|
+
chooseCellM1({row}) {
|
|
268
|
+
if (row && row.id) {
|
|
269
|
+
let $table1 = this.$refs['table-m1'];
|
|
270
|
+
this.$nextTick(() => {
|
|
271
|
+
$table1.clearCheckboxRow();
|
|
272
|
+
$table1.setCheckboxRow(row, true);
|
|
273
|
+
});
|
|
274
|
+
this.currentRow = row;
|
|
275
|
+
this.$http({
|
|
276
|
+
method: 'post',
|
|
277
|
+
url: USER_PREFIX + '/wf_obj_config_item/list',
|
|
278
|
+
data: {objConfigId: row.id || ''},
|
|
279
|
+
success: res => {
|
|
280
|
+
let rows = res.objx || [];
|
|
281
|
+
/* rows.forEach(function(item) {
|
|
282
|
+
item.name = row.name;
|
|
283
|
+
}); */
|
|
284
|
+
this.$refs['table-m2'].loadData(rows);
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
} else {
|
|
288
|
+
this.$refs['table-m2'].loadData([]);
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
|
|
292
|
+
wfEdit(actModelId) {
|
|
293
|
+
let serviceId = 'sf-cloud-user';
|
|
294
|
+
//wfType 0:单据流程,1:场景流程
|
|
295
|
+
this.wfUrl = WEB_PREFIX + '/activiti-explorer/modeler.html?wfType=1&serviceId=' + serviceId + '&modelId=' + actModelId;
|
|
296
|
+
this.dialogActiveName = 'first';
|
|
297
|
+
this.showWfDialog = true;
|
|
298
|
+
},
|
|
299
|
+
closeDesignwinEvent(done) {
|
|
300
|
+
this.$baseConfirm(this.$t1('请确认"已保存"流程模板,是否继续关闭?')).then(() => {
|
|
301
|
+
this.showWfDialog = false;
|
|
302
|
+
});
|
|
303
|
+
},
|
|
304
|
+
initWfWinParam() {
|
|
305
|
+
this.initCloseWfDesignWin();
|
|
306
|
+
this.initWinUserDialog();
|
|
307
|
+
this.initWinPositionDialog();
|
|
308
|
+
this.initSysParamForWf();
|
|
309
|
+
this.initWinFormTemplateDialog();
|
|
310
|
+
},
|
|
311
|
+
initCloseWfDesignWin() {
|
|
312
|
+
window.closeWfDesignWin = () => {
|
|
313
|
+
this.showWfDialog = false;
|
|
314
|
+
};
|
|
315
|
+
},
|
|
316
|
+
initWinUserDialog() {
|
|
317
|
+
window.openAssignUserDialog = opts => {
|
|
318
|
+
this.wfAssignMulti = opts.multi;
|
|
319
|
+
this.wfAssignData = opts.data || [];
|
|
320
|
+
this.wfAssignCallback = opts.callback;
|
|
321
|
+
this.showUserDialog = true;
|
|
322
|
+
};
|
|
323
|
+
},
|
|
324
|
+
confirmUser(rows) {
|
|
325
|
+
this.wfAssignCallback(rows);
|
|
326
|
+
},
|
|
327
|
+
initWinPositionDialog() {
|
|
328
|
+
window.openAssignPositionDialog = opts => {
|
|
329
|
+
this.wfAssignPositionData = opts.data || [];
|
|
330
|
+
this.wfAssignPositionCallback = opts.callback;
|
|
331
|
+
this.showPositionDialog = true;
|
|
332
|
+
};
|
|
333
|
+
},
|
|
334
|
+
initSysParamForWf() {
|
|
335
|
+
let webPrefix = WEB_PREFIX;
|
|
336
|
+
let baseApi = process.env.VUE_APP_BASE_API;
|
|
337
|
+
window.sysParamForWf = {
|
|
338
|
+
webPrefix,
|
|
339
|
+
baseApi
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
confirmPosition(rows) {
|
|
343
|
+
this.wfAssignPositionCallback(rows);
|
|
344
|
+
},
|
|
345
|
+
deleteItem(row) {
|
|
346
|
+
this.$baseConfirm(this.$t1('您确定要删除吗?')).then(() => {
|
|
347
|
+
this.$http({
|
|
348
|
+
method: 'post',
|
|
349
|
+
url: USER_PREFIX + '/wf_obj_config_item/delete',
|
|
350
|
+
data: {id: row.id},
|
|
351
|
+
success: res => {
|
|
352
|
+
this.$message({
|
|
353
|
+
message: res.content,
|
|
354
|
+
type: 'success',
|
|
355
|
+
duration: 500,
|
|
356
|
+
});
|
|
357
|
+
this.$refs['table-m2'].remove(row);
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
});
|
|
361
|
+
},
|
|
362
|
+
initWinFormTemplateDialog() {
|
|
363
|
+
window.openAssignFormTemplateDialog = opts => {
|
|
364
|
+
this.wfAssignFormTemplateCallback = opts.callback;
|
|
365
|
+
this.showFormTemplateDialog = true;
|
|
366
|
+
};
|
|
367
|
+
},
|
|
368
|
+
confirmFormTemplate(rows) {
|
|
369
|
+
this.wfAssignFormTemplateCallback(rows);
|
|
370
|
+
},
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
</script>
|