cloud-web-corejs 1.0.128 → 1.0.130
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 +138 -55
- package/src/components/baseInputExport/mixins.js +1 -1
- package/src/components/errorMsg/mixins.js +1 -2
- package/src/components/excelImport/mixins.js +2 -1
- package/src/components/jsonImport/mixins.js +2 -1
- package/src/components/langImport/mixins.js +17 -16
- package/src/components/wf/content.vue +772 -411
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +3 -0
- package/src/components/wf/wf.js +1 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
- package/src/components/xform/form-designer/designer.js +3 -2
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -9
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +3 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +17 -4
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +4 -0
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +185 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +108 -0
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +13 -4
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +725 -0
- package/src/components/xform/form-designer/indexMixin.js +3 -2
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +376 -366
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +0 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +372 -253
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +9 -43
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +7 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +8 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +91 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +37 -30
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +62 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +19 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +5 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -19
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +132 -0
- package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +13 -10
- package/src/components/xform/form-render/container-item/data-table-mixin.js +5 -4
- package/src/components/xform/form-render/indexMixin.js +3 -2
- package/src/components/xform/lang/zh-CN.js +3 -0
- package/src/components/xform/utils/util.js +1 -1451
- package/src/utils/request.js +1 -1
- package/src/utils/vab.js +1 -1
- package/src/views/user/notify_message/dialog.vue +24 -19
- package/src/views/user/outLink/form_view.vue +211 -211
- package/src/views/user/wf/wfReport/index.vue +448 -0
- package/src/views/user/wf/wf_manage/list.vue +344 -251
- package/src/views/user/wf/wf_transfer_setting/edit.vue +229 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +308 -0
@@ -1,137 +1,277 @@
|
|
1
1
|
<template>
|
2
|
-
<baseTabPane
|
3
|
-
|
2
|
+
<baseTabPane
|
3
|
+
:label="$t2('流程信息', 'components.wf.wfInfo')"
|
4
|
+
:showFold="showWfFold"
|
5
|
+
:defaultShowContent="showWfContent"
|
6
|
+
v-if="!isHideWf"
|
7
|
+
>
|
4
8
|
<template #default>
|
5
|
-
<div
|
6
|
-
|
7
|
-
|
9
|
+
<div
|
10
|
+
style="margin: -36px 0 8px 124px; position: relative; z-index: 2; height: 28px"
|
11
|
+
>
|
12
|
+
<el-button
|
13
|
+
type="success"
|
14
|
+
class="button-sty"
|
15
|
+
@click="openAgreeDialog"
|
16
|
+
v-show="wfInfo.toSubmit"
|
17
|
+
icon="iconfont icon-tongguo"
|
18
|
+
>{{ $t2("通过", "components.wf.agree") }}
|
19
|
+
</el-button>
|
20
|
+
<el-button
|
21
|
+
type="warning"
|
22
|
+
class="button-sty"
|
23
|
+
@click="openManualDialog"
|
24
|
+
v-show="wfInfo.toInterrupt"
|
25
|
+
icon="iconfont icon-caozuozhongduan"
|
26
|
+
>{{ $t2("中断", "components.wf.manual") }}
|
8
27
|
</el-button>
|
9
|
-
<el-button
|
10
|
-
|
28
|
+
<el-button
|
29
|
+
type="danger"
|
30
|
+
class="button-sty"
|
31
|
+
@click="rejectWfTask"
|
32
|
+
v-show="wfInfo.toReject"
|
33
|
+
icon="iconfont icon-a-bohui1"
|
34
|
+
>{{ $t2("驳回", "components.wf.reject") }}
|
11
35
|
</el-button>
|
12
|
-
<el-button
|
13
|
-
|
36
|
+
<el-button
|
37
|
+
type="primary"
|
38
|
+
class="button-sty"
|
39
|
+
@click="openChangeWfForm"
|
40
|
+
v-show="
|
41
|
+
wfInfo.toTransfer === null || wfInfo.toTransfer === undefined
|
42
|
+
? wfInfo.toSubmit
|
43
|
+
: wfInfo.toTransfer
|
44
|
+
"
|
45
|
+
icon="iconfont icon-zhuanban"
|
46
|
+
>{{ $t2("转办", "components.wf.transfer") }}
|
14
47
|
</el-button>
|
15
|
-
<el-button
|
16
|
-
|
17
|
-
|
48
|
+
<el-button
|
49
|
+
type="primary"
|
50
|
+
class="button-sty"
|
51
|
+
@click="openUrgingDialog"
|
52
|
+
v-show="wfInfo.toInterrupt"
|
53
|
+
icon="iconfont icon-cuiban"
|
54
|
+
>{{ $t2("催办", "components.wf.urging") }}
|
18
55
|
</el-button>
|
19
|
-
<el-button
|
20
|
-
|
56
|
+
<el-button
|
57
|
+
type="primary"
|
58
|
+
class="button-sty"
|
59
|
+
@click="openAddIncreaseSign"
|
60
|
+
v-show="wfInfo.toAddIncreaseSign"
|
61
|
+
icon="el-icon-plus"
|
62
|
+
>{{ $t2("加签", "components.wf.addIncreaseSign") }}
|
21
63
|
</el-button>
|
22
|
-
<el-button
|
23
|
-
|
64
|
+
<el-button
|
65
|
+
type="primary"
|
66
|
+
class="button-sty"
|
67
|
+
@click="openDeleteTaskUserDialog"
|
68
|
+
v-show="wfInfo.toDeleteIncreaseSign"
|
69
|
+
icon="el-icon-delete"
|
70
|
+
>{{ $t2("减签", "components.wf.deleteIncreaseSign") }}
|
24
71
|
</el-button>
|
25
|
-
<el-button
|
26
|
-
|
27
|
-
|
72
|
+
<el-button
|
73
|
+
type="primary"
|
74
|
+
class="button-sty"
|
75
|
+
@click="openTalkDialog()"
|
76
|
+
icon="el-icon-chat-dot-square"
|
77
|
+
v-if="toTalk && wfInfo.toLinkup"
|
78
|
+
>
|
79
|
+
{{ $t2("沟通", "components.wf.talk") }}
|
28
80
|
</el-button>
|
29
|
-
<el-button
|
30
|
-
|
31
|
-
|
81
|
+
<el-button
|
82
|
+
type="primary"
|
83
|
+
class="button-sty"
|
84
|
+
@click="openSetCandidateDialog(null)"
|
85
|
+
v-show="wfInfo.toSetCandidate"
|
86
|
+
icon="el-icon-user"
|
87
|
+
>{{ $t2("修改候选人", "components.wf.setCandidate") }}
|
32
88
|
</el-button>
|
33
|
-
<el-button
|
34
|
-
|
35
|
-
|
89
|
+
<el-button
|
90
|
+
type="danger"
|
91
|
+
class="button-sty"
|
92
|
+
@click="openRevokeDialog(null)"
|
93
|
+
v-show="wfInfo.toRevoke"
|
94
|
+
icon="el-icon-document-delete"
|
95
|
+
>{{ $t2("撤回", "components.wf.revoke") }}
|
36
96
|
</el-button>
|
37
|
-
<
|
38
|
-
|
39
|
-
|
97
|
+
<addOpinionButton
|
98
|
+
v-if="showAddOpinionButton"
|
99
|
+
@confirm="reloadContent()"
|
100
|
+
:wfInfo="wfInfo"
|
101
|
+
:wfSendTaskId="wfSendTaskId"
|
102
|
+
:current_prefix="current_prefix"
|
103
|
+
></addOpinionButton>
|
104
|
+
<el-button
|
105
|
+
type="primary"
|
106
|
+
class="button-sty"
|
107
|
+
@click="openWfFlowEleScriptDialog"
|
108
|
+
v-if="wfInfo.wfAdmin"
|
109
|
+
icon="el-icon-edit"
|
110
|
+
>{{ $t1("修改脚本") }}
|
40
111
|
</el-button>
|
41
|
-
<addOpinionButton v-if="showAddOpinionButton" @confirm="reloadContent()" :wfInfo="wfInfo" :wfSendTaskId="wfSendTaskId" :current_prefix="current_prefix"></addOpinionButton>
|
42
112
|
</div>
|
43
113
|
<div class="title-name">
|
44
114
|
<b>
|
45
|
-
<em>{{ $t2(
|
115
|
+
<em>{{ $t2("流程主题", "components.wf.theme") }}:</em>
|
46
116
|
{{ wfInfo.name }}
|
47
117
|
</b>
|
48
118
|
<span v-html="wfInfo.statusStr" class="status"></span>
|
49
119
|
</div>
|
50
|
-
<div
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
120
|
+
<div
|
121
|
+
class="title-second"
|
122
|
+
@click="showFlowImg = !showFlowImg"
|
123
|
+
style="margin: 14px 0 24px; line-height: 29px; cursor: pointer"
|
124
|
+
>
|
125
|
+
<b>{{ $t2("流程图", "components.wf.wfImage") }}</b>
|
126
|
+
<div class="fr" v-if="showFlowImg == true" style="font-weight: 400">
|
127
|
+
<span>{{ $t2("收起", "components.wf.collapse") }}</span>
|
55
128
|
<i class="el-icon-arrow-up"></i>
|
56
129
|
</div>
|
57
|
-
<div class="fr" v-else style="font-weight: 400
|
58
|
-
<span>{{ $t2(
|
130
|
+
<div class="fr" v-else style="font-weight: 400">
|
131
|
+
<span>{{ $t2("展开", "components.wf.expand") }}</span>
|
59
132
|
<i class="el-icon-arrow-down"></i>
|
60
133
|
</div>
|
61
134
|
</div>
|
62
|
-
<div class="flow-tree" style="padding-right:0" v-show="showFlowImg == true">
|
135
|
+
<div class="flow-tree" style="padding-right: 0" v-show="showFlowImg == true">
|
63
136
|
<div class="flow-box">
|
64
|
-
<img :src="wfImage"/>
|
65
|
-
<el-tooltip
|
66
|
-
|
67
|
-
|
137
|
+
<img :src="wfImage" />
|
138
|
+
<el-tooltip
|
139
|
+
:enterable="false"
|
140
|
+
class="item"
|
141
|
+
effect="dark"
|
142
|
+
:content="$t2('放大', 'components.wf.enlarge')"
|
143
|
+
placement="bottom"
|
144
|
+
>
|
145
|
+
<i
|
146
|
+
class="el-icon-zoom-in btn-magnifier"
|
147
|
+
@click="$window.open(wfImage)"
|
148
|
+
style="right: 0"
|
149
|
+
></i>
|
68
150
|
</el-tooltip>
|
69
151
|
</div>
|
70
152
|
</div>
|
71
153
|
<div v-show="showWfInfoTab">
|
72
154
|
<div class="title-tab">
|
73
155
|
<div>
|
74
|
-
<b :class="{on:tabIndex=='1'}" @click="tabIndex='1'">{{
|
75
|
-
|
76
|
-
|
77
|
-
<b :class="{on:tabIndex=='
|
156
|
+
<b :class="{ on: tabIndex == '1' }" @click="tabIndex = '1'">{{
|
157
|
+
$t2("任务情况", "components.wf.taskInfo")
|
158
|
+
}}</b>
|
159
|
+
<b :class="{ on: tabIndex == '2' }" @click="tabIndex = '2'" v-if="toTalk">{{
|
160
|
+
$t2("流程沟通", "components.wf.wfTalk")
|
161
|
+
}}</b>
|
162
|
+
<b
|
163
|
+
:class="{ on: tabIndex == '4' }"
|
164
|
+
@click="tabIndex = '4'"
|
165
|
+
v-if="showCandidate"
|
166
|
+
>{{ $t1("节点候选人") }}</b
|
167
|
+
>
|
168
|
+
<b
|
169
|
+
:class="{ on: tabIndex == '3' }"
|
170
|
+
@click="tabIndex = '3'"
|
171
|
+
v-if="showAllWfOpinon"
|
172
|
+
>{{ $t2("全部任务情况", "components.wf.allTaskInfo") }}</b
|
173
|
+
>
|
78
174
|
</div>
|
79
175
|
</div>
|
80
|
-
<div v-show="tabIndex=='1'">
|
176
|
+
<div v-show="tabIndex == '1'">
|
81
177
|
<div class="title-five"><b>任务流程</b></div>
|
82
|
-
<div class="task-situation" style="padding-left: 14px
|
83
|
-
<div
|
178
|
+
<div class="task-situation" style="padding-left: 14px">
|
179
|
+
<div
|
180
|
+
class="item"
|
181
|
+
v-for="wftaskLineData in wftaskData"
|
182
|
+
:key="wftaskLineData.id"
|
183
|
+
>
|
84
184
|
<div class="time">
|
85
|
-
{{
|
86
|
-
|
87
|
-
|
185
|
+
{{
|
186
|
+
wftaskLineData.approveTime
|
187
|
+
? wftaskLineData.approveTime.substring(0, 10)
|
188
|
+
: ""
|
189
|
+
}}
|
190
|
+
<br />
|
191
|
+
{{
|
192
|
+
wftaskLineData.approveTime
|
193
|
+
? wftaskLineData.approveTime.substring(11)
|
194
|
+
: ""
|
195
|
+
}}
|
88
196
|
</div>
|
89
|
-
<div
|
90
|
-
|
197
|
+
<div
|
198
|
+
class="status"
|
199
|
+
:class="
|
200
|
+
taskStatuses[wftaskLineData.type]
|
201
|
+
? taskStatuses[wftaskLineData.type].class
|
202
|
+
: ''
|
203
|
+
"
|
204
|
+
>
|
205
|
+
{{
|
206
|
+
taskStatuses[wftaskLineData.type]
|
207
|
+
? taskStatuses[wftaskLineData.type].value
|
208
|
+
: null
|
209
|
+
}}
|
91
210
|
</div>
|
92
211
|
<i class="circle"></i>
|
93
212
|
<div class="info">
|
94
213
|
<p>
|
95
214
|
<span class="name">{{ wftaskLineData.taskName }}</span>
|
96
|
-
<span
|
215
|
+
<span
|
216
|
+
>{{ $t2("执行人", "components.wf.approverName") }}:{{
|
217
|
+
wftaskLineData.approverName
|
218
|
+
}}</span
|
219
|
+
>
|
97
220
|
<span>
|
98
|
-
{{ $t2(
|
221
|
+
{{ $t2("候选人", "components.wf.candidateName") }}:
|
99
222
|
<span>
|
100
|
-
<span style="float:left;width:auto;margin-right:10px
|
223
|
+
<span style="float: left; width: auto; margin-right: 10px">{{
|
224
|
+
wftaskLineData.candidateNames
|
225
|
+
}}</span>
|
101
226
|
<setCandidateButton
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
227
|
+
v-if="wftaskLineData.flag == 1"
|
228
|
+
style="float: left; width: auto"
|
229
|
+
:current_prefix="current_prefix"
|
230
|
+
:wfInfo="wfInfo"
|
231
|
+
:checkRow="wftaskLineData"
|
232
|
+
@confirm="reloadContent()"
|
108
233
|
></setCandidateButton>
|
234
|
+
</span>
|
109
235
|
</span>
|
110
|
-
|
111
|
-
</span>
|
112
236
|
</p>
|
113
|
-
<p class="t"
|
114
|
-
|
115
|
-
}}</span
|
237
|
+
<p class="t">
|
238
|
+
<span class="t1">{{ $t2("备注/意见", "components.wf.opinion") }}:</span
|
239
|
+
><span>{{ wftaskLineData.opinion }}</span>
|
240
|
+
</p>
|
116
241
|
</div>
|
117
242
|
</div>
|
118
|
-
|
119
243
|
</div>
|
120
244
|
<div class="title-five" v-if="showWfMemo">
|
121
|
-
<b>{{$t1("发起人附言")}}</b>
|
122
|
-
<el-button
|
245
|
+
<b>{{ $t1("发起人附言") }}</b>
|
246
|
+
<el-button
|
247
|
+
v-if="wfInfo.toAddMemo"
|
248
|
+
class="button-sty"
|
249
|
+
icon="el-icon-plus"
|
250
|
+
@click="openWfMemoDialog()"
|
251
|
+
type="primary"
|
252
|
+
>{{ $t1("新增") }}</el-button
|
253
|
+
>
|
123
254
|
</div>
|
124
255
|
<div class="postscript-box">
|
125
|
-
<div class=
|
126
|
-
<div class="txt" style="white-space: pre-wrap
|
127
|
-
<div
|
128
|
-
|
256
|
+
<div class="item" v-for="(item, index) in wfMemoData" :key="index">
|
257
|
+
<div class="txt" style="white-space: pre-wrap">{{ item.content }}</div>
|
258
|
+
<div
|
259
|
+
class="attach-box"
|
260
|
+
v-if="item.attachmentDTOs && item.attachmentDTOs.length"
|
261
|
+
>
|
262
|
+
<baseUpload
|
263
|
+
accept="file"
|
264
|
+
multi="true"
|
265
|
+
:edit="false"
|
266
|
+
:widgetSize="1"
|
267
|
+
:file.sync="item.attachmentDTOs"
|
268
|
+
></baseUpload>
|
129
269
|
</div>
|
130
|
-
<div class="time">{{item.createDate}}</div>
|
270
|
+
<div class="time">{{ item.createDate }}</div>
|
131
271
|
</div>
|
132
272
|
</div>
|
133
273
|
</div>
|
134
|
-
<div class="task-situation" v-show="toTalk && tabIndex=='2'">
|
274
|
+
<div class="task-situation" v-show="toTalk && tabIndex == '2'">
|
135
275
|
<vxe-grid
|
136
276
|
ref="table-linkup"
|
137
277
|
:auto-resize="true"
|
@@ -140,10 +280,15 @@
|
|
140
280
|
@custom="$vxeTableUtil.customHandle"
|
141
281
|
>
|
142
282
|
<template #form>
|
143
|
-
<div style="margin-bottom: 8px
|
283
|
+
<div style="margin-bottom: 8px" class="clearfix">
|
144
284
|
<div class="fl">
|
145
|
-
<el-button
|
146
|
-
|
285
|
+
<el-button
|
286
|
+
type="primary"
|
287
|
+
class="button-sty"
|
288
|
+
@click="openTalkDialog()"
|
289
|
+
icon="el-icon-chat-dot-square"
|
290
|
+
v-if="wfInfo.toLinkup"
|
291
|
+
>{{ $t2("沟通", "components.wf.talk") }}
|
147
292
|
</el-button>
|
148
293
|
</div>
|
149
294
|
<div class="fr">
|
@@ -152,15 +297,20 @@
|
|
152
297
|
</div>
|
153
298
|
</div>
|
154
299
|
</template>
|
155
|
-
<template #sender="{row}">
|
300
|
+
<template #sender="{ row }">
|
156
301
|
<a
|
157
302
|
href="javascript:void(0);"
|
158
303
|
class="a-link"
|
159
|
-
@click="openTalkDialog(row.sender,row.senderName,null,null,row.id)"
|
304
|
+
@click="openTalkDialog(row.sender, row.senderName, null, null, row.id)"
|
160
305
|
v-if="row.replyToSender"
|
161
306
|
>
|
162
|
-
<el-tooltip
|
163
|
-
|
307
|
+
<el-tooltip
|
308
|
+
:enterable="false"
|
309
|
+
effect="dark"
|
310
|
+
:content="$t2('沟通', 'components.wf.talk')"
|
311
|
+
placement="top"
|
312
|
+
popper-class="tooltip-skin"
|
313
|
+
>
|
164
314
|
<div>
|
165
315
|
<i class="el-icon-chat-dot-square"></i>
|
166
316
|
<span>{{ row.senderName }}</span>
|
@@ -169,15 +319,22 @@
|
|
169
319
|
</a>
|
170
320
|
<span v-else>{{ row.senderName }}</span>
|
171
321
|
</template>
|
172
|
-
<template #receiver="{row}">
|
322
|
+
<template #receiver="{ row }">
|
173
323
|
<a
|
174
324
|
href="javascript:void(0);"
|
175
325
|
class="a-link"
|
176
|
-
@click="
|
326
|
+
@click="
|
327
|
+
openTalkDialog(row.receiver, row.receiverName, null, null, row.id)
|
328
|
+
"
|
177
329
|
v-if="row.replyToReceiver"
|
178
330
|
>
|
179
|
-
<el-tooltip
|
180
|
-
|
331
|
+
<el-tooltip
|
332
|
+
:enterable="false"
|
333
|
+
effect="dark"
|
334
|
+
:content="$t2('沟通', 'components.wf.talk')"
|
335
|
+
placement="top"
|
336
|
+
popper-class="tooltip-skin"
|
337
|
+
>
|
181
338
|
<div>
|
182
339
|
<i class="el-icon-chat-dot-square"></i>
|
183
340
|
<span>{{ row.receiverName }}</span>
|
@@ -186,67 +343,99 @@
|
|
186
343
|
</a>
|
187
344
|
<span v-else>{{ row.receiverName }}</span>
|
188
345
|
</template>
|
189
|
-
<template #operate="{row}">
|
346
|
+
<template #operate="{ row }">
|
190
347
|
<a
|
191
348
|
href="javascript:void(0);"
|
192
349
|
class="a-link"
|
193
|
-
style="font-weight: bold; text-decoration: underline
|
350
|
+
style="font-weight: bold; text-decoration: underline"
|
194
351
|
@click="cancelTalk(row)"
|
195
352
|
v-if="row.toCancel"
|
196
353
|
>
|
197
|
-
<el-tooltip
|
198
|
-
|
199
|
-
|
354
|
+
<el-tooltip
|
355
|
+
:enterable="false"
|
356
|
+
effect="dark"
|
357
|
+
:content="$t2('取消', 'system.button.cancel')"
|
358
|
+
placement="top"
|
359
|
+
popper-class="tooltip-skin"
|
360
|
+
>
|
200
361
|
<div class="vxe-grid">
|
201
362
|
<i class="el-icon-document-delete"></i>
|
202
|
-
<span>{{ $t2(
|
363
|
+
<span>{{ $t2("取消", "system.button.cancel") }}</span>
|
203
364
|
</div>
|
204
365
|
</el-tooltip>
|
205
366
|
</a>
|
206
367
|
</template>
|
207
368
|
</vxe-grid>
|
208
369
|
</div>
|
209
|
-
<div
|
210
|
-
|
211
|
-
|
370
|
+
<div
|
371
|
+
class="task-situation"
|
372
|
+
v-show="showAllWfOpinon && tabIndex == '3'"
|
373
|
+
style="max-height: 500px; overflow: hidden auto"
|
374
|
+
>
|
375
|
+
<div
|
376
|
+
class="item"
|
377
|
+
v-for="wftaskLineData in allWfTaskOpinions"
|
378
|
+
:key="'allWfTaskOpinions' + wftaskLineData.id"
|
379
|
+
>
|
212
380
|
<div class="time">
|
213
|
-
{{
|
214
|
-
|
215
|
-
|
381
|
+
{{
|
382
|
+
wftaskLineData.approveTime
|
383
|
+
? wftaskLineData.approveTime.substring(0, 10)
|
384
|
+
: ""
|
385
|
+
}}
|
386
|
+
<br />
|
387
|
+
{{
|
388
|
+
wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(11) : ""
|
389
|
+
}}
|
216
390
|
</div>
|
217
|
-
<div
|
218
|
-
|
391
|
+
<div
|
392
|
+
class="status"
|
393
|
+
:class="
|
394
|
+
taskStatuses[wftaskLineData.type]
|
395
|
+
? taskStatuses[wftaskLineData.type].class
|
396
|
+
: ''
|
397
|
+
"
|
398
|
+
>
|
399
|
+
{{
|
400
|
+
taskStatuses[wftaskLineData.type]
|
401
|
+
? taskStatuses[wftaskLineData.type].value
|
402
|
+
: null
|
403
|
+
}}
|
219
404
|
</div>
|
220
405
|
<i class="circle"></i>
|
221
406
|
<div class="info">
|
222
407
|
<p>
|
223
408
|
<span class="name">{{ wftaskLineData.taskName }}</span>
|
224
|
-
<span
|
409
|
+
<span
|
410
|
+
>{{ $t2("执行人", "components.wf.approverName") }}:{{
|
411
|
+
wftaskLineData.approverName
|
412
|
+
}}</span
|
413
|
+
>
|
225
414
|
<span>
|
226
|
-
|
227
|
-
|
228
|
-
|
415
|
+
{{ $t2("候选人", "components.wf.candidateName") }}:
|
416
|
+
<span class="">{{ wftaskLineData.candidateNames }}</span>
|
417
|
+
</span>
|
418
|
+
</p>
|
419
|
+
<p class="t">
|
420
|
+
<span class="t1">{{ $t2("备注/意见", "components.wf.opinion") }}:</span
|
421
|
+
><span>{{ wftaskLineData.opinion }}</span>
|
229
422
|
</p>
|
230
|
-
<p class="t"><span class="t1">{{ $t2('备注/意见', 'components.wf.opinion') }}:</span><span>{{
|
231
|
-
wftaskLineData.opinion
|
232
|
-
}}</span></p>
|
233
423
|
</div>
|
234
424
|
</div>
|
235
425
|
</div>
|
236
426
|
<template v-if="showCandidate">
|
237
|
-
<div v-show="tabIndex=='4'">
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
427
|
+
<div v-show="tabIndex == '4'">
|
428
|
+
<div style="width: 800px">
|
429
|
+
<vxe-grid
|
430
|
+
ref="table-candidate"
|
431
|
+
v-bind="candidateOption"
|
432
|
+
:data="candidateDatas"
|
433
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
434
|
+
@custom="$vxeTableUtil.customHandle"
|
435
|
+
></vxe-grid>
|
436
|
+
</div>
|
247
437
|
</div>
|
248
438
|
</template>
|
249
|
-
|
250
439
|
</div>
|
251
440
|
<!--沟通-->
|
252
441
|
<el-dialog
|
@@ -261,79 +450,99 @@
|
|
261
450
|
v-el-dialog-center
|
262
451
|
>
|
263
452
|
<template #title>
|
264
|
-
<span class="el-dialog__title"
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
453
|
+
<span class="el-dialog__title"
|
454
|
+
>{{ $t2("沟通", "components.wf.talk")
|
455
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
456
|
+
><b class="f-red" style="font-size: 12px"
|
457
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
458
|
+
></span
|
459
|
+
>
|
269
460
|
</template>
|
270
461
|
<el-form :model="talkForm">
|
271
|
-
<div id="containt" style="height: 500px
|
462
|
+
<div id="containt" style="height: 500px">
|
272
463
|
<table class="table-detail">
|
273
464
|
<tbody>
|
274
|
-
|
275
|
-
|
465
|
+
<tr>
|
466
|
+
<th>
|
276
467
|
<span class="t">
|
277
|
-
{{ $t2(
|
468
|
+
{{ $t2("接收人", "components.wf.receiverName") }}
|
278
469
|
</span>
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
470
|
+
</th>
|
471
|
+
<td>
|
472
|
+
<el-form-item field="receiverName">
|
473
|
+
<el-input
|
474
|
+
class="search-input"
|
475
|
+
max="200"
|
476
|
+
v-model="talkForm.receiverName"
|
477
|
+
@clear="
|
287
478
|
talkForm.receiver = null;
|
288
479
|
talkForm.replyId = null;
|
289
480
|
$forceUpdate();
|
290
481
|
"
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
482
|
+
:placeholder="$t2('接收人', 'components.wf.receiverName')"
|
483
|
+
v-el-readonly
|
484
|
+
clearable
|
485
|
+
:disabled="!!talkForm.replyId"
|
486
|
+
>
|
487
|
+
<i
|
488
|
+
slot="suffix"
|
489
|
+
class="el-input__icon el-icon-search"
|
490
|
+
@click="openTalkUserDialog"
|
491
|
+
></i>
|
492
|
+
</el-input>
|
493
|
+
</el-form-item>
|
494
|
+
</td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<th>
|
303
498
|
<span class="t">
|
304
|
-
{{ $t2(
|
499
|
+
{{ $t2("沟通内容", "components.wf.talkContent") }}
|
305
500
|
</span>
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
501
|
+
</th>
|
502
|
+
<td>
|
503
|
+
<el-form-item field="content">
|
504
|
+
<el-input
|
505
|
+
type="textarea"
|
506
|
+
:rows="8"
|
507
|
+
:placeholder="
|
508
|
+
$t2('沟通内容', 'components.wf.talkContentPlaceholder')
|
509
|
+
"
|
510
|
+
v-model="talkForm.content"
|
511
|
+
></el-input>
|
512
|
+
</el-form-item>
|
513
|
+
</td>
|
514
|
+
</tr>
|
515
|
+
<tr>
|
516
|
+
<th>
|
317
517
|
<span class="t">
|
318
|
-
{{ $t2(
|
518
|
+
{{ $t2("沟通资料", "components.wf.talkAttachment") }}
|
319
519
|
</span>
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
520
|
+
</th>
|
521
|
+
<td>
|
522
|
+
<baseUpload
|
523
|
+
accept="file"
|
524
|
+
multi="true"
|
525
|
+
:file.sync="talkForm.attachmentDTOs"
|
526
|
+
></baseUpload>
|
527
|
+
</td>
|
528
|
+
</tr>
|
325
529
|
</tbody>
|
326
530
|
</table>
|
327
531
|
</div>
|
328
532
|
</el-form>
|
329
533
|
<span slot="footer" class="dialog-footer">
|
330
|
-
<el-button
|
534
|
+
<el-button
|
535
|
+
type="primary"
|
536
|
+
plain
|
537
|
+
class="button-sty"
|
538
|
+
@click="showTalkDialog = false"
|
539
|
+
>
|
331
540
|
<i class="el-icon-close el-icon"></i>
|
332
|
-
{{ $t2(
|
541
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
333
542
|
</el-button>
|
334
543
|
<el-button type="primary" @click="submitTalkForm" class="button-sty">
|
335
544
|
<i class="el-icon-check el-icon"></i>
|
336
|
-
{{ $t2(
|
545
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
337
546
|
</el-button>
|
338
547
|
</span>
|
339
548
|
</el-dialog>
|
@@ -351,52 +560,66 @@
|
|
351
560
|
v-el-dialog-center
|
352
561
|
>
|
353
562
|
<template #title>
|
354
|
-
<span class="el-dialog__title"
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
563
|
+
<span class="el-dialog__title"
|
564
|
+
>{{ $t1("发起人附言")
|
565
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
566
|
+
><b class="f-red" style="font-size: 12px"
|
567
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
568
|
+
></span
|
569
|
+
>
|
359
570
|
</template>
|
360
571
|
<el-form :model="wfMemoForm">
|
361
|
-
<div id="containt" style="height: 500px
|
572
|
+
<div id="containt" style="height: 500px">
|
362
573
|
<table class="table-detail">
|
363
574
|
<tbody>
|
364
|
-
|
365
|
-
|
575
|
+
<tr>
|
576
|
+
<th>
|
366
577
|
<span class="t">
|
367
|
-
{{ $t1(
|
578
|
+
{{ $t1("内容") }}
|
368
579
|
</span>
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
580
|
+
</th>
|
581
|
+
<td>
|
582
|
+
<el-form-item field="content">
|
583
|
+
<el-input
|
584
|
+
type="textarea"
|
585
|
+
:rows="8"
|
586
|
+
:placeholder="$t1('内容')"
|
587
|
+
v-model="wfMemoForm.content"
|
588
|
+
></el-input>
|
589
|
+
</el-form-item>
|
590
|
+
</td>
|
591
|
+
</tr>
|
592
|
+
<tr>
|
593
|
+
<th>
|
380
594
|
<span class="t">
|
381
|
-
{{ $t1(
|
595
|
+
{{ $t1("附件") }}
|
382
596
|
</span>
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
597
|
+
</th>
|
598
|
+
<td>
|
599
|
+
<baseUpload
|
600
|
+
accept="file"
|
601
|
+
multi="true"
|
602
|
+
:file.sync="wfMemoForm.attachmentDTOs"
|
603
|
+
></baseUpload>
|
604
|
+
</td>
|
605
|
+
</tr>
|
388
606
|
</tbody>
|
389
607
|
</table>
|
390
608
|
</div>
|
391
609
|
</el-form>
|
392
610
|
<span slot="footer" class="dialog-footer">
|
393
|
-
<el-button
|
611
|
+
<el-button
|
612
|
+
type="primary"
|
613
|
+
plain
|
614
|
+
class="button-sty"
|
615
|
+
@click="showWfMemoDialog = false"
|
616
|
+
>
|
394
617
|
<i class="el-icon-close el-icon"></i>
|
395
|
-
{{ $t2(
|
618
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
396
619
|
</el-button>
|
397
620
|
<el-button type="primary" @click="submitWfMemoForm" class="button-sty">
|
398
621
|
<i class="el-icon-check el-icon"></i>
|
399
|
-
{{ $t2(
|
622
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
400
623
|
</el-button>
|
401
624
|
</span>
|
402
625
|
</el-dialog>
|
@@ -412,58 +635,78 @@
|
|
412
635
|
v-el-dialog-center
|
413
636
|
>
|
414
637
|
<template #title>
|
415
|
-
<span class="el-dialog__title"
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
638
|
+
<span class="el-dialog__title"
|
639
|
+
>{{ $t2("流程驳回", "components.wf.wfReject")
|
640
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
641
|
+
><b class="f-red" style="font-size: 12px"
|
642
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
643
|
+
></span
|
644
|
+
>
|
420
645
|
</template>
|
421
646
|
<el-form :model="rejectForm">
|
422
647
|
<div id="containt">
|
423
648
|
<table class="table-detail">
|
424
649
|
<tbody>
|
425
|
-
|
426
|
-
|
650
|
+
<tr>
|
651
|
+
<th>
|
427
652
|
<span class="t">
|
428
|
-
{{ $t2(
|
653
|
+
{{ $t2("驳回节点", "components.wf.rejectNode") }}
|
429
654
|
</span>
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
655
|
+
</th>
|
656
|
+
<td>
|
657
|
+
<el-form-item label="" field="nodeId">
|
658
|
+
<el-select
|
659
|
+
v-model="rejectForm.nodeId"
|
660
|
+
:placeholder="
|
661
|
+
$t2('请选择驳回节点', 'components.wf.rejectNodePlaceholder')
|
662
|
+
"
|
663
|
+
>
|
664
|
+
<el-option
|
665
|
+
v-for="(rejectNode, index) in rejectNodes"
|
666
|
+
:label="rejectNode.nodeName"
|
667
|
+
:value="rejectNode.nodeId"
|
668
|
+
:key="index"
|
669
|
+
></el-option>
|
670
|
+
</el-select>
|
671
|
+
</el-form-item>
|
672
|
+
</td>
|
673
|
+
</tr>
|
674
|
+
<tr>
|
675
|
+
<th>
|
443
676
|
<span class="t">
|
444
|
-
{{ $t2(
|
677
|
+
{{ $t2("驳回意见", "components.wf.rejectOpinion") }}
|
445
678
|
</span>
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
679
|
+
</th>
|
680
|
+
<td>
|
681
|
+
<el-form-item label="" field="opinion">
|
682
|
+
<el-input
|
683
|
+
type="textarea"
|
684
|
+
:rows="8"
|
685
|
+
:placeholder="
|
686
|
+
$t2('请输入内容', 'components.wf.rejectOpinionPlaceholder')
|
687
|
+
"
|
688
|
+
v-model="rejectForm.opinion"
|
689
|
+
></el-input>
|
690
|
+
</el-form-item>
|
691
|
+
</td>
|
692
|
+
</tr>
|
455
693
|
</tbody>
|
456
694
|
</table>
|
457
695
|
</div>
|
458
696
|
</el-form>
|
459
697
|
<span slot="footer" class="dialog-footer">
|
460
|
-
<el-button
|
698
|
+
<el-button
|
699
|
+
type="primary"
|
700
|
+
plain
|
701
|
+
class="button-sty"
|
702
|
+
@click="rejectDialogVisible = false"
|
703
|
+
>
|
461
704
|
<i class="el-icon-close el-icon"></i>
|
462
|
-
{{ $t2(
|
705
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
463
706
|
</el-button>
|
464
707
|
<el-button type="primary" @click="subRejectForm" class="button-sty">
|
465
708
|
<i class="el-icon-check el-icon"></i>
|
466
|
-
{{ $t2(
|
709
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
467
710
|
</el-button>
|
468
711
|
</span>
|
469
712
|
</el-dialog>
|
@@ -478,59 +721,84 @@
|
|
478
721
|
v-el-dialog-center
|
479
722
|
>
|
480
723
|
<template #title>
|
481
|
-
<span class="el-dialog__title"
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
724
|
+
<span class="el-dialog__title"
|
725
|
+
>{{ $t2("流程通过", "components.wf.wfAgree")
|
726
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
727
|
+
><b class="f-red" style="font-size: 12px"
|
728
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
729
|
+
></span
|
730
|
+
>
|
486
731
|
</template>
|
487
732
|
<el-form :model="agreeForm">
|
488
733
|
<div id="containt">
|
489
734
|
<table class="table-detail">
|
490
735
|
<tbody>
|
491
|
-
|
492
|
-
|
736
|
+
<tr v-if="agreeNodes.length > 0">
|
737
|
+
<th>
|
493
738
|
<span class="t">
|
494
|
-
{{ $t2(
|
739
|
+
{{ $t2("通过节点", "components.wf.agreeNode") }}
|
495
740
|
</span>
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
741
|
+
</th>
|
742
|
+
<td>
|
743
|
+
<el-form-item label="" field="nodeId">
|
744
|
+
<el-select
|
745
|
+
v-model="agreeForm.nodeId"
|
746
|
+
:placeholder="
|
747
|
+
$t2('请选择通过节点', 'components.wf.agreeNodePlaceholder')
|
748
|
+
"
|
749
|
+
>
|
750
|
+
<el-option
|
751
|
+
v-for="(node, index) in agreeNodes"
|
752
|
+
:label="node.nodeName"
|
753
|
+
:value="node.nodeId"
|
754
|
+
:key="index"
|
755
|
+
></el-option>
|
756
|
+
</el-select>
|
757
|
+
</el-form-item>
|
758
|
+
</td>
|
759
|
+
</tr>
|
760
|
+
<tr>
|
761
|
+
<th>
|
509
762
|
<span class="t">
|
510
|
-
{{ $t2(
|
763
|
+
{{ $t2("通过意见", "components.wf.agreeOpinion") }}
|
511
764
|
</span>
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
765
|
+
</th>
|
766
|
+
<td>
|
767
|
+
<el-form-item label="" field="opinion">
|
768
|
+
<el-input
|
769
|
+
type="textarea"
|
770
|
+
:rows="8"
|
771
|
+
:placeholder="
|
772
|
+
$t2(
|
773
|
+
`请填写您的意见~
|
516
774
|
注:
|
517
775
|
通过默认意见为“同意”
|
518
|
-
`,
|
519
|
-
|
520
|
-
|
521
|
-
|
776
|
+
`,
|
777
|
+
'components.wf.agreeOpinionPlaceholder'
|
778
|
+
)
|
779
|
+
"
|
780
|
+
v-model="agreeForm.opinion"
|
781
|
+
></el-input>
|
782
|
+
</el-form-item>
|
783
|
+
</td>
|
784
|
+
</tr>
|
522
785
|
</tbody>
|
523
786
|
</table>
|
524
787
|
</div>
|
525
788
|
</el-form>
|
526
789
|
<span slot="footer" class="dialog-footer">
|
527
|
-
<el-button
|
790
|
+
<el-button
|
791
|
+
type="primary"
|
792
|
+
plain
|
793
|
+
class="button-sty"
|
794
|
+
@click="agreeDialogVisible = false"
|
795
|
+
>
|
528
796
|
<i class="el-icon-close el-icon"></i>
|
529
|
-
{{ $t2(
|
797
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
530
798
|
</el-button>
|
531
799
|
<el-button type="primary" @click="subAgreeForm" class="button-sty">
|
532
800
|
<i class="el-icon-check el-icon"></i>
|
533
|
-
{{ $t2(
|
801
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
534
802
|
</el-button>
|
535
803
|
</span>
|
536
804
|
</el-dialog>
|
@@ -546,67 +814,83 @@
|
|
546
814
|
:append-to-body="true"
|
547
815
|
>
|
548
816
|
<template #title>
|
549
|
-
<span class="el-dialog__title"
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
817
|
+
<span class="el-dialog__title"
|
818
|
+
>{{ $t2("流程转办", "components.wf.wfTransfer")
|
819
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
820
|
+
><b class="f-red" style="font-size: 12px"
|
821
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
822
|
+
></span
|
823
|
+
>
|
554
824
|
</template>
|
555
825
|
<el-form :model="changeWfForm">
|
556
826
|
<div id="containt">
|
557
827
|
<table class="table-detail">
|
558
828
|
<tbody>
|
559
|
-
|
560
|
-
|
829
|
+
<tr>
|
830
|
+
<th>
|
561
831
|
<span class="t">
|
562
|
-
{{ $t2(
|
832
|
+
{{ $t2("转办人", "components.wf.transferUser") }}
|
563
833
|
</span>
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
834
|
+
</th>
|
835
|
+
<td>
|
836
|
+
<el-form-item label="" field="nodeId">
|
837
|
+
<el-input
|
838
|
+
class="search-input"
|
839
|
+
max="200"
|
840
|
+
v-model="changeWfForm.userNickNames"
|
841
|
+
@clear="
|
572
842
|
changeWfForm.userIds = '';
|
573
843
|
changeUserRows = [];
|
574
844
|
$forceUpdate();
|
575
845
|
"
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
846
|
+
v-el-readonly
|
847
|
+
clearable
|
848
|
+
>
|
849
|
+
<i
|
850
|
+
slot="suffix"
|
851
|
+
class="el-input__icon el-icon-search"
|
852
|
+
@click="showUserDialog = true"
|
853
|
+
></i>
|
854
|
+
</el-input>
|
855
|
+
</el-form-item>
|
856
|
+
</td>
|
857
|
+
</tr>
|
858
|
+
<tr>
|
859
|
+
<th>
|
586
860
|
<span class="t">
|
587
|
-
{{ $t2(
|
861
|
+
{{ $t2("转办意见", "components.wf.transferOpinion") }}
|
588
862
|
</span>
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
863
|
+
</th>
|
864
|
+
<td>
|
865
|
+
<el-form-item label="" field="opinion">
|
866
|
+
<el-input
|
867
|
+
type="textarea"
|
868
|
+
:rows="8"
|
869
|
+
:placeholder="
|
870
|
+
$t2('请输入内容', 'components.wf.transferOpinionPlaceholder')
|
871
|
+
"
|
872
|
+
v-model="changeWfForm.opinion"
|
873
|
+
></el-input>
|
874
|
+
</el-form-item>
|
875
|
+
</td>
|
876
|
+
</tr>
|
598
877
|
</tbody>
|
599
878
|
</table>
|
600
879
|
</div>
|
601
880
|
</el-form>
|
602
881
|
<span slot="footer" class="dialog-footer">
|
603
|
-
<el-button
|
882
|
+
<el-button
|
883
|
+
type="primary"
|
884
|
+
plain
|
885
|
+
class="button-sty"
|
886
|
+
@click="changeWfDialogVisible = false"
|
887
|
+
>
|
604
888
|
<i class="el-icon-close el-icon"></i>
|
605
|
-
{{ $t2(
|
889
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
606
890
|
</el-button>
|
607
891
|
<el-button type="primary" @click="subChangeWfForm" class="button-sty">
|
608
892
|
<i class="el-icon-check el-icon"></i>
|
609
|
-
{{ $t2(
|
893
|
+
{{ $t2("确认转办", "components.wf.confirmTransfer") }}
|
610
894
|
</el-button>
|
611
895
|
</span>
|
612
896
|
</el-dialog>
|
@@ -624,21 +908,31 @@
|
|
624
908
|
v-el-dialog-center
|
625
909
|
>
|
626
910
|
<template #title>
|
627
|
-
<span class="el-dialog__title"
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
911
|
+
<span class="el-dialog__title"
|
912
|
+
>{{ $t2("流程中断", "components.wf.wfManual")
|
913
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
914
|
+
><b class="f-red" style="font-size: 12px"
|
915
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
916
|
+
></span
|
917
|
+
>
|
632
918
|
</template>
|
633
919
|
<div class="cont">
|
634
|
-
{{ $t2(
|
920
|
+
{{ $t2("您确定要中断流程吗?", "components.wf.manualTip") }}
|
635
921
|
</div>
|
636
922
|
<span slot="footer" class="dialog-footer">
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
923
|
+
<el-button
|
924
|
+
type="primary"
|
925
|
+
plain
|
926
|
+
class="button-sty"
|
927
|
+
@click="showWfManualDialog = false"
|
928
|
+
><i class="el-icon-close el-icon"></i
|
929
|
+
>{{ $t2("取 消", "system.button.cancel2") }}</el-button
|
930
|
+
>
|
931
|
+
<el-button type="primary" @click="manualEndWf" class="button-sty"
|
932
|
+
><i class="el-icon-check el-icon"></i
|
933
|
+
>{{ $t2("确 定", "system.button.confirm2") }}</el-button
|
934
|
+
>
|
935
|
+
</span>
|
642
936
|
</el-dialog>
|
643
937
|
<el-dialog
|
644
938
|
v-if="revokeDialogVisible"
|
@@ -651,42 +945,54 @@
|
|
651
945
|
v-el-dialog-center
|
652
946
|
>
|
653
947
|
<template #title>
|
654
|
-
<span class="el-dialog__title"
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
948
|
+
<span class="el-dialog__title"
|
949
|
+
>{{ $t2("流程撤回", "components.wf.wfRevoke")
|
950
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
951
|
+
><b class="f-red" style="font-size: 12px"
|
952
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
953
|
+
></span
|
954
|
+
>
|
659
955
|
</template>
|
660
956
|
<el-form :model="revokeForm">
|
661
957
|
<div id="containt">
|
662
958
|
<table class="table-detail">
|
663
959
|
<tbody>
|
664
|
-
|
665
|
-
|
960
|
+
<tr>
|
961
|
+
<th>
|
666
962
|
<span class="t">
|
667
|
-
{{ $t2(
|
963
|
+
{{ $t2("撤回意见", "components.wf.revokeOpinion") }}
|
668
964
|
</span>
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
965
|
+
</th>
|
966
|
+
<td>
|
967
|
+
<el-form-item label="" field="opinion">
|
968
|
+
<el-input
|
969
|
+
type="textarea"
|
970
|
+
:rows="8"
|
971
|
+
:placeholder="
|
972
|
+
$t2('请输入内容', 'components.wf.revokeOpinionPlaceholder')
|
973
|
+
"
|
974
|
+
v-model="revokeForm.opinion"
|
975
|
+
></el-input>
|
976
|
+
</el-form-item>
|
977
|
+
</td>
|
978
|
+
</tr>
|
678
979
|
</tbody>
|
679
980
|
</table>
|
680
981
|
</div>
|
681
982
|
</el-form>
|
682
983
|
<span slot="footer" class="dialog-footer">
|
683
|
-
<el-button
|
984
|
+
<el-button
|
985
|
+
type="primary"
|
986
|
+
plain
|
987
|
+
class="button-sty"
|
988
|
+
@click="revokeDialogVisible = false"
|
989
|
+
>
|
684
990
|
<i class="el-icon-close el-icon"></i>
|
685
|
-
{{ $t2(
|
991
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
686
992
|
</el-button>
|
687
993
|
<el-button type="primary" @click="subRevokeForm(0)" class="button-sty">
|
688
994
|
<i class="el-icon-check el-icon"></i>
|
689
|
-
{{ $t2(
|
995
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
690
996
|
</el-button>
|
691
997
|
</span>
|
692
998
|
</el-dialog>
|
@@ -702,111 +1008,166 @@
|
|
702
1008
|
:append-to-body="true"
|
703
1009
|
>
|
704
1010
|
<template #title>
|
705
|
-
<span class="el-dialog__title"
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
1011
|
+
<span class="el-dialog__title"
|
1012
|
+
>{{ $t2("流程加签", "components.wf.wfAddIncreaseSign")
|
1013
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
1014
|
+
><b class="f-red" style="font-size: 12px"
|
1015
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
1016
|
+
></span
|
1017
|
+
>
|
710
1018
|
</template>
|
711
1019
|
<el-form :model="addIncreaseSignForm">
|
712
1020
|
<div id="containt">
|
713
1021
|
<table class="table-detail">
|
714
1022
|
<tbody>
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
1023
|
+
<tr>
|
1024
|
+
<th>
|
1025
|
+
<span class="t">
|
1026
|
+
{{ $t2("候选人", "components.wf.addIncreaseSignUser") }}
|
1027
|
+
</span>
|
1028
|
+
</th>
|
1029
|
+
<td>
|
1030
|
+
<el-form-item field="receiverName">
|
1031
|
+
<el-input
|
1032
|
+
class="search-input"
|
1033
|
+
max="200"
|
1034
|
+
v-model="addIncreaseSignForm.userNickNames"
|
1035
|
+
@clear="
|
1036
|
+
addIncreaseSignUsers = [];
|
1037
|
+
$forceUpdate();
|
1038
|
+
"
|
1039
|
+
:placeholder="$t2('候选人', 'components.wf.addIncreaseSignUser')"
|
1040
|
+
v-el-readonly
|
1041
|
+
clearable
|
1042
|
+
>
|
1043
|
+
<i
|
1044
|
+
slot="suffix"
|
1045
|
+
class="el-input__icon el-icon-search"
|
1046
|
+
@click="showAddTaskUserDialog = true"
|
1047
|
+
></i>
|
1048
|
+
</el-input>
|
1049
|
+
</el-form-item>
|
1050
|
+
</td>
|
1051
|
+
</tr>
|
1052
|
+
<tr>
|
1053
|
+
<th>
|
743
1054
|
<span class="t">
|
744
|
-
{{ $t2(
|
1055
|
+
{{ $t2("加签意见", "components.wf.addIncreaseSignOpinion") }}
|
745
1056
|
</span>
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
1057
|
+
</th>
|
1058
|
+
<td colspan="3">
|
1059
|
+
<el-form-item field="opinion">
|
1060
|
+
<el-input
|
1061
|
+
type="textarea"
|
1062
|
+
:rows="8"
|
1063
|
+
:placeholder="
|
1064
|
+
$t2(
|
1065
|
+
'请输入内容',
|
1066
|
+
'components.wf.addIncreaseSignOpinionPlaceholder'
|
1067
|
+
)
|
1068
|
+
"
|
1069
|
+
v-model="addIncreaseSignForm.opinion"
|
1070
|
+
></el-input>
|
1071
|
+
</el-form-item>
|
1072
|
+
</td>
|
1073
|
+
</tr>
|
755
1074
|
</tbody>
|
756
1075
|
</table>
|
757
1076
|
</div>
|
758
1077
|
</el-form>
|
759
1078
|
<span slot="footer" class="dialog-footer">
|
760
|
-
<el-button
|
1079
|
+
<el-button
|
1080
|
+
type="primary"
|
1081
|
+
plain
|
1082
|
+
class="button-sty"
|
1083
|
+
@click="showAddIncreaseSignDialog = false"
|
1084
|
+
>
|
761
1085
|
<i class="el-icon-close el-icon"></i>
|
762
|
-
{{ $t2(
|
1086
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
763
1087
|
</el-button>
|
764
1088
|
<el-button type="primary" @click="submitAddTaskUserForm(0)" class="button-sty">
|
765
1089
|
<i class="el-icon-check el-icon"></i>
|
766
|
-
{{ $t2(
|
1090
|
+
{{ $t2("确认加签", "components.wf.confirmAddIncreaseSign") }}
|
767
1091
|
</el-button>
|
768
1092
|
</span>
|
769
1093
|
</el-dialog>
|
770
|
-
<user-dialog
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
@confirm="reloadContent" multi="true"></deleteTaskUserDialog>
|
1094
|
+
<user-dialog
|
1095
|
+
v-if="showUserDialog"
|
1096
|
+
:visiable.sync="showUserDialog"
|
1097
|
+
@close="showUserDialog = false"
|
1098
|
+
@confirm="userConfirm"
|
1099
|
+
multi="true"
|
1100
|
+
:param.sync="wfUserParamForTransfer"
|
1101
|
+
:rows="changeUserRows"
|
1102
|
+
></user-dialog>
|
780
1103
|
|
1104
|
+
<urgingDialog
|
1105
|
+
v-if="urgingDialogVisible"
|
1106
|
+
:visiable.sync="urgingDialogVisible"
|
1107
|
+
:wfInfo="wfInfo"
|
1108
|
+
:current_prefix="current_prefix"
|
1109
|
+
@confirm="reloadContent"
|
1110
|
+
multi="true"
|
1111
|
+
></urgingDialog>
|
1112
|
+
<deleteTaskUserDialog
|
1113
|
+
v-if="showDeleteTaskUserDialog"
|
1114
|
+
:visiable.sync="showDeleteTaskUserDialog"
|
1115
|
+
:wfInfo="wfInfo"
|
1116
|
+
:current_prefix="current_prefix"
|
1117
|
+
@confirm="reloadContent"
|
1118
|
+
multi="true"
|
1119
|
+
></deleteTaskUserDialog>
|
781
1120
|
|
782
|
-
<addTaskUserdialog
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
1121
|
+
<addTaskUserdialog
|
1122
|
+
v-if="showAddTaskUserDialog"
|
1123
|
+
:visiable.sync="showAddTaskUserDialog"
|
1124
|
+
:wfInfo="wfInfo"
|
1125
|
+
:current_prefix="current_prefix"
|
1126
|
+
:rows.sync="addIncreaseSignUsers"
|
1127
|
+
@confirm="confirmAddTaskUser"
|
1128
|
+
multi="true"
|
1129
|
+
:param.sync="wfUserParamForAddSign"
|
1130
|
+
></addTaskUserdialog>
|
1131
|
+
<user-dialog
|
1132
|
+
v-if="showTalkUserDialog"
|
1133
|
+
:visiable.sync="showTalkUserDialog"
|
1134
|
+
@close="showTalkUserDialog = false"
|
1135
|
+
@confirm="confirmTalkUserDialog"
|
1136
|
+
multi="false"
|
1137
|
+
:param.sync="wfUserParamForTalk"
|
1138
|
+
></user-dialog>
|
1139
|
+
<setCandidateDialog
|
1140
|
+
v-if="showSetCandidateDialog"
|
1141
|
+
:visiable.sync="showSetCandidateDialog"
|
1142
|
+
@close="closeSetCandidateDialog"
|
1143
|
+
:wfInfo="wfInfo"
|
1144
|
+
:current_prefix="current_prefix"
|
1145
|
+
></setCandidateDialog>
|
1146
|
+
<wfFlowEleScriptDialog
|
1147
|
+
v-if="showWfFlowEleScriptDialog"
|
1148
|
+
:visiable.sync="showWfFlowEleScriptDialog"
|
1149
|
+
:wfInfo="wfInfo"
|
1150
|
+
:current_prefix="current_prefix"
|
1151
|
+
></wfFlowEleScriptDialog>
|
792
1152
|
</template>
|
793
1153
|
</baseTabPane>
|
794
1154
|
<div v-else></div>
|
795
1155
|
</template>
|
796
1156
|
|
797
1157
|
<script>
|
798
|
-
import {wfContentMixin} from
|
1158
|
+
import { wfContentMixin } from "./wf.js";
|
799
1159
|
|
800
1160
|
export default {
|
801
1161
|
components: {
|
802
|
-
UserDialog: () => import(
|
803
|
-
urgingDialog: () => import(
|
804
|
-
deleteTaskUserDialog: () => import(
|
805
|
-
addTaskUserdialog: () => import(
|
806
|
-
setCandidateDialog: () => import(
|
807
|
-
setCandidateButton: () => import(
|
808
|
-
addOpinionButton: () => import(
|
1162
|
+
UserDialog: () => import("../../views/user/user/dialog.vue"),
|
1163
|
+
urgingDialog: () => import("./urgingDialog"),
|
1164
|
+
deleteTaskUserDialog: () => import("./deleteTaskUserDialog"),
|
1165
|
+
addTaskUserdialog: () => import("./addTaskUserdialog"),
|
1166
|
+
setCandidateDialog: () => import("./setCandidateDialog"),
|
1167
|
+
setCandidateButton: () => import("./setCandidateButton"),
|
1168
|
+
addOpinionButton: () => import("./addOpinionButton"),
|
1169
|
+
wfFlowEleScriptDialog: () => import("./wfFlowEleScriptDialog"),
|
809
1170
|
},
|
810
|
-
mixins: [wfContentMixin]
|
1171
|
+
mixins: [wfContentMixin],
|
811
1172
|
};
|
812
1173
|
</script>
|