cloud-web-corejs 1.1.0-dev.6 → 1.1.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/VabUpload/view.vue +27 -26
- package/src/components/excelImport/index.vue +156 -156
- package/src/components/mobile/wf/addTaskUserdialog.vue +23 -3
- package/src/components/mobile/wf/content.vue +110 -67
- package/src/components/mobile/wf/deleteTaskUserDialog.vue +22 -3
- package/src/components/mobile/wf/selectUserDialog.vue +122 -0
- package/src/components/mobile/wf/setCandidateDialog.vue +25 -4
- package/src/components/mobile/wf/urgingDialog.vue +26 -3
- package/src/components/mobile/wf/wfModifyDialog.vue +4 -0
- package/src/components/xform/form-designer/designer.js +36 -52
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +185 -185
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +2 -2
- package/src/components/xform/form-designer/indexMixin.js +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +833 -860
- package/src/components/xform/form-designer/toolbar-panel/index.vue +874 -874
- package/src/components/xform/form-designer/widget-panel/index.vue +11 -7
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +15 -2
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +53 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +154 -27
- package/src/components/xform/form-render/indexMixin.js +23 -3
- package/src/components/xform/styles/h5.scss +775 -588
- package/src/directive/append-to-body/index.js +48 -0
- package/src/index.js +4 -0
- package/src/layout/components/Sidebar/default.vue +1655 -1655
- package/src/router/index.js +48 -48
- package/src/utils/vab.js +1283 -1283
- package/src/views/bd/setting/form_template/edit.vue +378 -356
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +6 -0
- package/src/views/bd/setting/form_template/formTemplateType.js +43 -0
- package/src/views/bd/setting/form_template/list.vue +304 -303
- package/src/views/bd/setting/form_template/mixins/edit.js +344 -280
- package/src/views/bd/setting/form_template/mixins/list.js +748 -721
- package/src/views/user/file_view_ins/list.vue +970 -970
- package/src/views/user/form/vform/designer.vue +823 -821
- package/src/views/user/home/default.vue +1117 -1117
- package/src/views/user/home/index.vue +103 -103
- package/src/views/user/notify_message/dialog.vue +139 -139
- package/src/views/user/outLink/form_view.vue +202 -202
- package/src/views/user/outLink/index.vue +110 -110
- package/src/views/user/wf/iframe/index.vue +51 -51
- package/src/views/user/wf/iframe/index2.vue +64 -64
- package/src/views/user/wf/wf_manage/list2.vue +871 -871
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +134 -134
|
@@ -1,303 +1,304 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="containt">
|
|
3
|
-
<x-tabs ref="xTabs" v-model="activeName" class="tab-box" paneKeyName="id">
|
|
4
|
-
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
-
<editView
|
|
6
|
-
v-if="showEdit"
|
|
7
|
-
visible-key="showEdit"
|
|
8
|
-
:_dataId.sync="dataId"
|
|
9
|
-
:currentFormType="currentFormType"
|
|
10
|
-
:parent-target="_self"
|
|
11
|
-
@reload="$reloadHandle"
|
|
12
|
-
@openDesignDialog="openDesingerDialogByChild"
|
|
13
|
-
:otherFlag="otherFlag"
|
|
14
|
-
></editView>
|
|
15
|
-
</el-tab-pane>
|
|
16
|
-
<el-tab-pane :label="$t1('列表')" name="second">
|
|
17
|
-
<div class="tree-box fl">
|
|
18
|
-
<slot name="treeTop"></slot>
|
|
19
|
-
<div class="tit">
|
|
20
|
-
<b>{{ $t1("表单分类") }}</b>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="tree-btns" style="margin-top: 10px"></div>
|
|
23
|
-
<el-tree
|
|
24
|
-
v-if="showTree"
|
|
25
|
-
:props="defaultProps"
|
|
26
|
-
:load="loadNode"
|
|
27
|
-
node-key="id"
|
|
28
|
-
ref="tree"
|
|
29
|
-
highlight-current
|
|
30
|
-
lazy
|
|
31
|
-
:expand-on-click-node="false"
|
|
32
|
-
@node-click="handleNodeClick"
|
|
33
|
-
class="tree-list"
|
|
34
|
-
icon-class="el-icon-arrow-down"
|
|
35
|
-
></el-tree>
|
|
36
|
-
</div>
|
|
37
|
-
<label id="labBtn">
|
|
38
|
-
<div class="icon">
|
|
39
|
-
<i class="el-icon-more"></i>
|
|
40
|
-
<i class="el-icon-more"></i>
|
|
41
|
-
</div>
|
|
42
|
-
</label>
|
|
43
|
-
<div class="main-right fr" style="padding-left: 6px">
|
|
44
|
-
<div class="grid-height">
|
|
45
|
-
<vxe-grid
|
|
46
|
-
ref="table-m1"
|
|
47
|
-
v-bind="vxeOption"
|
|
48
|
-
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
49
|
-
@custom="$vxeTableUtil.customHandle"
|
|
50
|
-
>
|
|
51
|
-
<template #form>
|
|
52
|
-
<tableForm
|
|
53
|
-
:formData.sync="formData"
|
|
54
|
-
@searchEvent="searchEvent"
|
|
55
|
-
@resetEvent="resetEvent"
|
|
56
|
-
>
|
|
57
|
-
<template #buttonLeft>
|
|
58
|
-
<vxe-button
|
|
59
|
-
status="primary"
|
|
60
|
-
class="button-sty"
|
|
61
|
-
icon="el-icon-plus"
|
|
62
|
-
@click="openEditDialog()"
|
|
63
|
-
v-if="isDev && currentFormType.addAuth === 1"
|
|
64
|
-
>{{ $t1("新增") }}
|
|
65
|
-
</vxe-button>
|
|
66
|
-
<vxe-button
|
|
67
|
-
status="success"
|
|
68
|
-
class="button-sty"
|
|
69
|
-
icon="el-icon-download"
|
|
70
|
-
@click="jsonImport"
|
|
71
|
-
>{{ $t1("导入发布") }}
|
|
72
|
-
</vxe-button>
|
|
73
|
-
<vxe-button
|
|
74
|
-
status="success"
|
|
75
|
-
class="button-sty"
|
|
76
|
-
icon="el-icon-upload2"
|
|
77
|
-
@click="jsonExport"
|
|
78
|
-
v-if="isDev && currentFormType.exportAuth === 1"
|
|
79
|
-
>{{ $t1("导出发布") }}
|
|
80
|
-
</vxe-button>
|
|
81
|
-
<projectTagAddButton
|
|
82
|
-
:option="addProjectTagOption"
|
|
83
|
-
v-if="isDev && (currentFormType.editAuth === 1 || otherFlag)"
|
|
84
|
-
></projectTagAddButton>
|
|
85
|
-
<projectTagDeleteButton
|
|
86
|
-
:option="deleteProjectTagOption"
|
|
87
|
-
v-if="isDev && (currentFormType.editAuth === 1 || otherFlag)"
|
|
88
|
-
></projectTagDeleteButton>
|
|
89
|
-
</template>
|
|
90
|
-
<template #buttonRight>
|
|
91
|
-
<vxe-button
|
|
92
|
-
icon="el-icon-brush"
|
|
93
|
-
class="button-sty"
|
|
94
|
-
@click="resetEvent"
|
|
95
|
-
type="text"
|
|
96
|
-
status="primary"
|
|
97
|
-
plain
|
|
98
|
-
>{{ $t1("刷新") }}
|
|
99
|
-
</vxe-button>
|
|
100
|
-
<vxe-button
|
|
101
|
-
status="warning"
|
|
102
|
-
icon="el-icon-search"
|
|
103
|
-
class="button-sty"
|
|
104
|
-
@click="searchEvent"
|
|
105
|
-
>
|
|
106
|
-
{{ $t1("搜索") }}
|
|
107
|
-
</vxe-button>
|
|
108
|
-
</template>
|
|
109
|
-
<template #menuKindName>
|
|
110
|
-
<vxe-form-item :title="$t1('表单分类') + ':'" field="tag">
|
|
111
|
-
<template v-slot>
|
|
112
|
-
<el-input v-model="currentMenuKindName" disabled></el-input>
|
|
113
|
-
</template>
|
|
114
|
-
</vxe-form-item>
|
|
115
|
-
</template>
|
|
116
|
-
<template #tag>
|
|
117
|
-
<vxe-form-item :title="$t1('项目标签') + ':'" field="tag">
|
|
118
|
-
<template v-slot>
|
|
119
|
-
<el-input
|
|
120
|
-
class="search-input"
|
|
121
|
-
max="200"
|
|
122
|
-
:value="getTabNames()"
|
|
123
|
-
@clear="checkTags = []"
|
|
124
|
-
v-el-readonly
|
|
125
|
-
clearable
|
|
126
|
-
>
|
|
127
|
-
<i
|
|
128
|
-
slot="suffix"
|
|
129
|
-
class="el-input__icon el-icon-search"
|
|
130
|
-
@click="openProjectTagDialog3"
|
|
131
|
-
></i>
|
|
132
|
-
</el-input>
|
|
133
|
-
</template>
|
|
134
|
-
</vxe-form-item>
|
|
135
|
-
</template>
|
|
136
|
-
</tableForm>
|
|
137
|
-
</template>
|
|
138
|
-
<template #tag="{ row }">
|
|
139
|
-
<projectTagView
|
|
140
|
-
v-model="row.formTemplateTagDTOs"
|
|
141
|
-
:readonly="true"
|
|
142
|
-
></projectTagView>
|
|
143
|
-
</template>
|
|
144
|
-
<template #operation="{ row }">
|
|
145
|
-
<a
|
|
146
|
-
href="javascript:void(0);"
|
|
147
|
-
class="a-link"
|
|
148
|
-
@click="openDesingerDialogByAuth(row)"
|
|
149
|
-
>
|
|
150
|
-
<el-tooltip
|
|
151
|
-
:enterable="false"
|
|
152
|
-
effect="dark"
|
|
153
|
-
:content="$t1('表单设计')"
|
|
154
|
-
placement="top"
|
|
155
|
-
popper-class="tooltip-skin"
|
|
156
|
-
>
|
|
157
|
-
<i class="iconfont icon-liuchengguanli-shejiqi_liucheng" />
|
|
158
|
-
</el-tooltip>
|
|
159
|
-
</a>
|
|
160
|
-
<formVersionButton
|
|
161
|
-
objType="FormTemplate"
|
|
162
|
-
:objCode="row.formCode"
|
|
163
|
-
:sid="row.sid"
|
|
164
|
-
@reverCallback="searchEvent"
|
|
165
|
-
></formVersionButton>
|
|
166
|
-
<a
|
|
167
|
-
v-if="exportArchiveEnabled"
|
|
168
|
-
href="javascript:void(0);"
|
|
169
|
-
class="a-link"
|
|
170
|
-
@click="jsonExportArchive(row)"
|
|
171
|
-
>
|
|
172
|
-
<el-tooltip
|
|
173
|
-
:enterable="false"
|
|
174
|
-
effect="dark"
|
|
175
|
-
:content="$t1('导出归档')"
|
|
176
|
-
placement="top"
|
|
177
|
-
popper-class="tooltip-skin"
|
|
178
|
-
>
|
|
179
|
-
<i class="el-icon-upload2" />
|
|
180
|
-
</el-tooltip>
|
|
181
|
-
</a>
|
|
182
|
-
</template>
|
|
183
|
-
</vxe-grid>
|
|
184
|
-
<el-drawer
|
|
185
|
-
:title="$t1('流程模板')"
|
|
186
|
-
:visible.sync="showItemView"
|
|
187
|
-
:modal="false"
|
|
188
|
-
:wrapperClosable="false"
|
|
189
|
-
:destroy-on-close="true"
|
|
190
|
-
size="90%"
|
|
191
|
-
direction="btt"
|
|
192
|
-
>
|
|
193
|
-
<itemList
|
|
194
|
-
v-if="showItemView"
|
|
195
|
-
:formTemplate="currentRow"
|
|
196
|
-
@openWfDesignDialog="openWfDesignDialog"
|
|
197
|
-
></itemList>
|
|
198
|
-
</el-drawer>
|
|
199
|
-
</div>
|
|
200
|
-
</div>
|
|
201
|
-
</el-tab-pane>
|
|
202
|
-
<template #editTab="{ tab, index, reloadTabContent }">
|
|
203
|
-
<el-tab-pane
|
|
204
|
-
:key="tab.data.id"
|
|
205
|
-
:label.sync="tab.data.formName"
|
|
206
|
-
:name="tab.data.id + ''"
|
|
207
|
-
:closable="true"
|
|
208
|
-
>
|
|
209
|
-
<editView
|
|
210
|
-
v-if="tab.showContent"
|
|
211
|
-
:_dataId="tab.dataId"
|
|
212
|
-
:currentFormType="currentFormType"
|
|
213
|
-
:parent-target="_self"
|
|
214
|
-
@reload="reloadTabContent"
|
|
215
|
-
@openDesignDialog="openDesingerDialogByChild"
|
|
216
|
-
:otherFlag="otherFlag"
|
|
217
|
-
></editView>
|
|
218
|
-
</el-tab-pane>
|
|
219
|
-
</template>
|
|
220
|
-
</x-tabs>
|
|
221
|
-
<formDesignerDialog
|
|
222
|
-
ref="formDesignerDialog"
|
|
223
|
-
v-if="showDesingerDialog"
|
|
224
|
-
:visiable.sync="showDesingerDialog"
|
|
225
|
-
:formName="formName"
|
|
226
|
-
:formCode="formCode"
|
|
227
|
-
@reflushTemplateList="reflushTemplateList"
|
|
228
|
-
:readonly="designerReadonly"
|
|
229
|
-
:formTemplate="currentFormTemplate"
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
:
|
|
234
|
-
:
|
|
235
|
-
:
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
:
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
:
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
:
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
:
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
:
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
</
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div id="containt">
|
|
3
|
+
<x-tabs ref="xTabs" v-model="activeName" class="tab-box" paneKeyName="id">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
+
<editView
|
|
6
|
+
v-if="showEdit"
|
|
7
|
+
visible-key="showEdit"
|
|
8
|
+
:_dataId.sync="dataId"
|
|
9
|
+
:currentFormType="currentFormType"
|
|
10
|
+
:parent-target="_self"
|
|
11
|
+
@reload="$reloadHandle"
|
|
12
|
+
@openDesignDialog="openDesingerDialogByChild"
|
|
13
|
+
:otherFlag="otherFlag"
|
|
14
|
+
></editView>
|
|
15
|
+
</el-tab-pane>
|
|
16
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
17
|
+
<div class="tree-box fl">
|
|
18
|
+
<slot name="treeTop"></slot>
|
|
19
|
+
<div class="tit">
|
|
20
|
+
<b>{{ $t1("表单分类") }}</b>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="tree-btns" style="margin-top: 10px"></div>
|
|
23
|
+
<el-tree
|
|
24
|
+
v-if="showTree"
|
|
25
|
+
:props="defaultProps"
|
|
26
|
+
:load="loadNode"
|
|
27
|
+
node-key="id"
|
|
28
|
+
ref="tree"
|
|
29
|
+
highlight-current
|
|
30
|
+
lazy
|
|
31
|
+
:expand-on-click-node="false"
|
|
32
|
+
@node-click="handleNodeClick"
|
|
33
|
+
class="tree-list"
|
|
34
|
+
icon-class="el-icon-arrow-down"
|
|
35
|
+
></el-tree>
|
|
36
|
+
</div>
|
|
37
|
+
<label id="labBtn">
|
|
38
|
+
<div class="icon">
|
|
39
|
+
<i class="el-icon-more"></i>
|
|
40
|
+
<i class="el-icon-more"></i>
|
|
41
|
+
</div>
|
|
42
|
+
</label>
|
|
43
|
+
<div class="main-right fr" style="padding-left: 6px">
|
|
44
|
+
<div class="grid-height">
|
|
45
|
+
<vxe-grid
|
|
46
|
+
ref="table-m1"
|
|
47
|
+
v-bind="vxeOption"
|
|
48
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
49
|
+
@custom="$vxeTableUtil.customHandle"
|
|
50
|
+
>
|
|
51
|
+
<template #form>
|
|
52
|
+
<tableForm
|
|
53
|
+
:formData.sync="formData"
|
|
54
|
+
@searchEvent="searchEvent"
|
|
55
|
+
@resetEvent="resetEvent"
|
|
56
|
+
>
|
|
57
|
+
<template #buttonLeft>
|
|
58
|
+
<vxe-button
|
|
59
|
+
status="primary"
|
|
60
|
+
class="button-sty"
|
|
61
|
+
icon="el-icon-plus"
|
|
62
|
+
@click="openEditDialog()"
|
|
63
|
+
v-if="isDev && currentFormType.addAuth === 1"
|
|
64
|
+
>{{ $t1("新增") }}
|
|
65
|
+
</vxe-button>
|
|
66
|
+
<vxe-button
|
|
67
|
+
status="success"
|
|
68
|
+
class="button-sty"
|
|
69
|
+
icon="el-icon-download"
|
|
70
|
+
@click="jsonImport"
|
|
71
|
+
>{{ $t1("导入发布") }}
|
|
72
|
+
</vxe-button>
|
|
73
|
+
<vxe-button
|
|
74
|
+
status="success"
|
|
75
|
+
class="button-sty"
|
|
76
|
+
icon="el-icon-upload2"
|
|
77
|
+
@click="jsonExport"
|
|
78
|
+
v-if="isDev && currentFormType.exportAuth === 1"
|
|
79
|
+
>{{ $t1("导出发布") }}
|
|
80
|
+
</vxe-button>
|
|
81
|
+
<projectTagAddButton
|
|
82
|
+
:option="addProjectTagOption"
|
|
83
|
+
v-if="isDev && (currentFormType.editAuth === 1 || otherFlag)"
|
|
84
|
+
></projectTagAddButton>
|
|
85
|
+
<projectTagDeleteButton
|
|
86
|
+
:option="deleteProjectTagOption"
|
|
87
|
+
v-if="isDev && (currentFormType.editAuth === 1 || otherFlag)"
|
|
88
|
+
></projectTagDeleteButton>
|
|
89
|
+
</template>
|
|
90
|
+
<template #buttonRight>
|
|
91
|
+
<vxe-button
|
|
92
|
+
icon="el-icon-brush"
|
|
93
|
+
class="button-sty"
|
|
94
|
+
@click="resetEvent"
|
|
95
|
+
type="text"
|
|
96
|
+
status="primary"
|
|
97
|
+
plain
|
|
98
|
+
>{{ $t1("刷新") }}
|
|
99
|
+
</vxe-button>
|
|
100
|
+
<vxe-button
|
|
101
|
+
status="warning"
|
|
102
|
+
icon="el-icon-search"
|
|
103
|
+
class="button-sty"
|
|
104
|
+
@click="searchEvent"
|
|
105
|
+
>
|
|
106
|
+
{{ $t1("搜索") }}
|
|
107
|
+
</vxe-button>
|
|
108
|
+
</template>
|
|
109
|
+
<template #menuKindName>
|
|
110
|
+
<vxe-form-item :title="$t1('表单分类') + ':'" field="tag">
|
|
111
|
+
<template v-slot>
|
|
112
|
+
<el-input v-model="currentMenuKindName" disabled></el-input>
|
|
113
|
+
</template>
|
|
114
|
+
</vxe-form-item>
|
|
115
|
+
</template>
|
|
116
|
+
<template #tag>
|
|
117
|
+
<vxe-form-item :title="$t1('项目标签') + ':'" field="tag">
|
|
118
|
+
<template v-slot>
|
|
119
|
+
<el-input
|
|
120
|
+
class="search-input"
|
|
121
|
+
max="200"
|
|
122
|
+
:value="getTabNames()"
|
|
123
|
+
@clear="checkTags = []"
|
|
124
|
+
v-el-readonly
|
|
125
|
+
clearable
|
|
126
|
+
>
|
|
127
|
+
<i
|
|
128
|
+
slot="suffix"
|
|
129
|
+
class="el-input__icon el-icon-search"
|
|
130
|
+
@click="openProjectTagDialog3"
|
|
131
|
+
></i>
|
|
132
|
+
</el-input>
|
|
133
|
+
</template>
|
|
134
|
+
</vxe-form-item>
|
|
135
|
+
</template>
|
|
136
|
+
</tableForm>
|
|
137
|
+
</template>
|
|
138
|
+
<template #tag="{ row }">
|
|
139
|
+
<projectTagView
|
|
140
|
+
v-model="row.formTemplateTagDTOs"
|
|
141
|
+
:readonly="true"
|
|
142
|
+
></projectTagView>
|
|
143
|
+
</template>
|
|
144
|
+
<template #operation="{ row }">
|
|
145
|
+
<a
|
|
146
|
+
href="javascript:void(0);"
|
|
147
|
+
class="a-link"
|
|
148
|
+
@click="openDesingerDialogByAuth(row)"
|
|
149
|
+
>
|
|
150
|
+
<el-tooltip
|
|
151
|
+
:enterable="false"
|
|
152
|
+
effect="dark"
|
|
153
|
+
:content="$t1('表单设计')"
|
|
154
|
+
placement="top"
|
|
155
|
+
popper-class="tooltip-skin"
|
|
156
|
+
>
|
|
157
|
+
<i class="iconfont icon-liuchengguanli-shejiqi_liucheng" />
|
|
158
|
+
</el-tooltip>
|
|
159
|
+
</a>
|
|
160
|
+
<formVersionButton
|
|
161
|
+
objType="FormTemplate"
|
|
162
|
+
:objCode="row.formCode"
|
|
163
|
+
:sid="row.sid"
|
|
164
|
+
@reverCallback="searchEvent"
|
|
165
|
+
></formVersionButton>
|
|
166
|
+
<a
|
|
167
|
+
v-if="exportArchiveEnabled"
|
|
168
|
+
href="javascript:void(0);"
|
|
169
|
+
class="a-link"
|
|
170
|
+
@click="jsonExportArchive(row)"
|
|
171
|
+
>
|
|
172
|
+
<el-tooltip
|
|
173
|
+
:enterable="false"
|
|
174
|
+
effect="dark"
|
|
175
|
+
:content="$t1('导出归档')"
|
|
176
|
+
placement="top"
|
|
177
|
+
popper-class="tooltip-skin"
|
|
178
|
+
>
|
|
179
|
+
<i class="el-icon-upload2" />
|
|
180
|
+
</el-tooltip>
|
|
181
|
+
</a>
|
|
182
|
+
</template>
|
|
183
|
+
</vxe-grid>
|
|
184
|
+
<el-drawer
|
|
185
|
+
:title="$t1('流程模板')"
|
|
186
|
+
:visible.sync="showItemView"
|
|
187
|
+
:modal="false"
|
|
188
|
+
:wrapperClosable="false"
|
|
189
|
+
:destroy-on-close="true"
|
|
190
|
+
size="90%"
|
|
191
|
+
direction="btt"
|
|
192
|
+
>
|
|
193
|
+
<itemList
|
|
194
|
+
v-if="showItemView"
|
|
195
|
+
:formTemplate="currentRow"
|
|
196
|
+
@openWfDesignDialog="openWfDesignDialog"
|
|
197
|
+
></itemList>
|
|
198
|
+
</el-drawer>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
</el-tab-pane>
|
|
202
|
+
<template #editTab="{ tab, index, reloadTabContent }">
|
|
203
|
+
<el-tab-pane
|
|
204
|
+
:key="tab.data.id"
|
|
205
|
+
:label.sync="tab.data.formName"
|
|
206
|
+
:name="tab.data.id + ''"
|
|
207
|
+
:closable="true"
|
|
208
|
+
>
|
|
209
|
+
<editView
|
|
210
|
+
v-if="tab.showContent"
|
|
211
|
+
:_dataId="tab.dataId"
|
|
212
|
+
:currentFormType="currentFormType"
|
|
213
|
+
:parent-target="_self"
|
|
214
|
+
@reload="reloadTabContent"
|
|
215
|
+
@openDesignDialog="openDesingerDialogByChild"
|
|
216
|
+
:otherFlag="otherFlag"
|
|
217
|
+
></editView>
|
|
218
|
+
</el-tab-pane>
|
|
219
|
+
</template>
|
|
220
|
+
</x-tabs>
|
|
221
|
+
<formDesignerDialog
|
|
222
|
+
ref="formDesignerDialog"
|
|
223
|
+
v-if="showDesingerDialog"
|
|
224
|
+
:visiable.sync="showDesingerDialog"
|
|
225
|
+
:formName="formName"
|
|
226
|
+
:formCode="formCode"
|
|
227
|
+
@reflushTemplateList="reflushTemplateList"
|
|
228
|
+
:readonly="designerReadonly"
|
|
229
|
+
:formTemplate="currentFormTemplate"
|
|
230
|
+
:defaultLayoutType="designerLayoutType"
|
|
231
|
+
></formDesignerDialog>
|
|
232
|
+
<el-dialog
|
|
233
|
+
:title="$t1('流程设计')"
|
|
234
|
+
:append-to-body="true"
|
|
235
|
+
:modal-append-to-body="true"
|
|
236
|
+
:close-on-click-modal="false"
|
|
237
|
+
v-if="showWfDialog"
|
|
238
|
+
:visible.sync="showWfDialog"
|
|
239
|
+
:modal="false"
|
|
240
|
+
custom-class="dialog-style designer-dialog"
|
|
241
|
+
width="100%"
|
|
242
|
+
height="100%"
|
|
243
|
+
top="0px"
|
|
244
|
+
bottom="0px"
|
|
245
|
+
:before-close="closeDesignwinEvent"
|
|
246
|
+
:destroy-on-close="true"
|
|
247
|
+
v-el-drag-dialog
|
|
248
|
+
>
|
|
249
|
+
<iframe
|
|
250
|
+
:src="wfUrl"
|
|
251
|
+
:style="'width:100%;height:' + ($root.$el.clientHeight - 30 - 12) + 'px'"
|
|
252
|
+
></iframe>
|
|
253
|
+
</el-dialog>
|
|
254
|
+
|
|
255
|
+
<userDialog
|
|
256
|
+
v-if="showUserDialog"
|
|
257
|
+
:visiable.sync="showUserDialog"
|
|
258
|
+
@confirm="confirmUser"
|
|
259
|
+
:multi.sync="wfAssignMulti"
|
|
260
|
+
/>
|
|
261
|
+
<positionDialog
|
|
262
|
+
v-if="showPositionDialog"
|
|
263
|
+
:visiable.sync="showPositionDialog"
|
|
264
|
+
@confirm="confirmPosition"
|
|
265
|
+
/>
|
|
266
|
+
<scriptDescriptionDialog
|
|
267
|
+
path="static/readme/Wf.txt"
|
|
268
|
+
v-if="showScriptDescriptionDialog"
|
|
269
|
+
:visiable.sync="showScriptDescriptionDialog"
|
|
270
|
+
></scriptDescriptionDialog>
|
|
271
|
+
|
|
272
|
+
<formTypeEditDialog
|
|
273
|
+
v-if="showFormTypeDialog"
|
|
274
|
+
:visiable.sync="showFormTypeDialog"
|
|
275
|
+
:_dataId.sync="editFormTypeId"
|
|
276
|
+
@confirm="confirmFormTypeEditDialog"
|
|
277
|
+
></formTypeEditDialog>
|
|
278
|
+
|
|
279
|
+
<ftHistoryDialog
|
|
280
|
+
v-if="showFtHistoryDialog"
|
|
281
|
+
:visiable.sync="showFtHistoryDialog"
|
|
282
|
+
:formCode.sync="operateFtHistory.formCode"
|
|
283
|
+
@confirm="confirmFtHistoryDialog"
|
|
284
|
+
:multi="false"
|
|
285
|
+
/>
|
|
286
|
+
<projectTagDialog
|
|
287
|
+
v-if="showProjectTagDialog3"
|
|
288
|
+
:visiable.sync="showProjectTagDialog3"
|
|
289
|
+
@confirm="confirmProjectTagDialog3"
|
|
290
|
+
:rows="checkTags"
|
|
291
|
+
:multi="true"
|
|
292
|
+
></projectTagDialog>
|
|
293
|
+
</div>
|
|
294
|
+
</template>
|
|
295
|
+
|
|
296
|
+
<script>
|
|
297
|
+
import mixin from "./mixins/list";
|
|
298
|
+
|
|
299
|
+
export default {
|
|
300
|
+
name: "bd_form_template:list",
|
|
301
|
+
mixins: [mixin],
|
|
302
|
+
};
|
|
303
|
+
</script>
|
|
304
|
+
<style scoped lang="scss"></style>
|