ui-process-h5 2.1.0-beta → 2.1.1-beta

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.
Files changed (91) hide show
  1. package/README.md +204 -11
  2. package/package.json +25 -56
  3. package/v2/style.css +1 -0
  4. package/v2/ui-process-h5.js +9926 -0
  5. package/v2/ui-process-h5.umd.cjs +18 -0
  6. package/v2.7/style.css +1 -0
  7. package/v2.7/ui-process-h5.js +9303 -0
  8. package/v2.7/ui-process-h5.umd.cjs +18 -0
  9. package/v3/style.css +1 -0
  10. package/v3/ui-process-h5.js +6819 -0
  11. package/v3/ui-process-h5.umd.cjs +6 -0
  12. package/build/configure/README.md +0 -211
  13. package/build/configure/package.json +0 -32
  14. package/debug.js +0 -9
  15. package/index.html +0 -12
  16. package/src/App.vue +0 -233
  17. package/src/assets/font-icon/iconfont.scss +0 -57
  18. package/src/assets/font-icon/iconfont.ttf +0 -0
  19. package/src/assets/img/add-file.png +0 -0
  20. package/src/assets/img/arrow-right.png +0 -0
  21. package/src/assets/img/arrow.png +0 -0
  22. package/src/assets/img/check.png +0 -0
  23. package/src/assets/img/del.png +0 -0
  24. package/src/assets/img/doc.png +0 -0
  25. package/src/assets/img/file.png +0 -0
  26. package/src/assets/img/image.png +0 -0
  27. package/src/assets/img/pdf.png +0 -0
  28. package/src/assets/img/process.png +0 -0
  29. package/src/assets/img/xls.png +0 -0
  30. package/src/assets/img/zip.png +0 -0
  31. package/src/assets/js/auth.js +0 -65
  32. package/src/assets/js/errorCode.js +0 -6
  33. package/src/assets/js/message.js +0 -352
  34. package/src/assets/js/request.js +0 -99
  35. package/src/assets/js/toast.js +0 -239
  36. package/src/assets/js/top.js +0 -229
  37. package/src/assets/js/utils.js +0 -83
  38. package/src/assets/js/vuePopper.js +0 -123
  39. package/src/assets/query.png +0 -0
  40. package/src/assets/status/check.png +0 -0
  41. package/src/assets/status/del.png +0 -0
  42. package/src/assets/status/error.png +0 -0
  43. package/src/assets/status/loading.png +0 -0
  44. package/src/assets/status/success.png +0 -0
  45. package/src/main.js +0 -17
  46. package/src/packages/attchUpload/index.js +0 -375
  47. package/src/packages/attchUpload/index.scss +0 -143
  48. package/src/packages/attchUpload/index.vue +0 -173
  49. package/src/packages/downSelect/index.js +0 -119
  50. package/src/packages/downSelect/index.scss +0 -88
  51. package/src/packages/downSelect/index.vue +0 -62
  52. package/src/packages/index.js +0 -6
  53. package/src/packages/popup/index.js +0 -125
  54. package/src/packages/popup/index.scss +0 -178
  55. package/src/packages/popup/index.vue +0 -80
  56. package/src/packages/preview/index.js +0 -40
  57. package/src/packages/preview/index.vue +0 -15
  58. package/src/packages/previewImage/index.js +0 -286
  59. package/src/packages/previewImage/index.scss +0 -76
  60. package/src/packages/previewImage/index.vue +0 -53
  61. package/src/packages/process/index.js +0 -1016
  62. package/src/packages/process/index.scss +0 -188
  63. package/src/packages/process/index.vue +0 -291
  64. package/src/packages/process/operation/backNode.vue +0 -396
  65. package/src/packages/process/operation/cancel.vue +0 -425
  66. package/src/packages/process/operation/ccTask.vue +0 -256
  67. package/src/packages/process/operation/complete.vue +0 -1384
  68. package/src/packages/process/operation/counterSign.vue +0 -498
  69. package/src/packages/process/operation/delegateTask.vue +0 -493
  70. package/src/packages/process/operation/index.js +0 -8
  71. package/src/packages/process/operation/index.scss +0 -212
  72. package/src/packages/process/operation/msgList.vue +0 -174
  73. package/src/packages/process/operation/treeNode.vue +0 -901
  74. package/src/packages/process/operation/treePerson.vue +0 -304
  75. package/src/packages/submitPopup/index.js +0 -708
  76. package/src/packages/submitPopup/index.scss +0 -190
  77. package/src/packages/submitPopup/index.vue +0 -125
  78. package/src/packages/tab/index.js +0 -236
  79. package/src/packages/tab/index.scss +0 -177
  80. package/src/packages/tab/index.vue +0 -155
  81. package/src/packages/tip/index.js +0 -80
  82. package/src/packages/tip/index.scss +0 -121
  83. package/src/packages/tip/index.vue +0 -57
  84. package/src/packages/viewAttchList/index.js +0 -138
  85. package/src/packages/viewAttchList/index.scss +0 -76
  86. package/src/packages/viewAttchList/index.vue +0 -121
  87. package/src/style.css +0 -80
  88. package/vite.config.ts +0 -118
  89. /package/{build/scripts → scripts}/postinstall.mjs +0 -0
  90. /package/{build/scripts → scripts}/switch-cli.mjs +0 -0
  91. /package/{build/scripts → scripts}/utils.mjs +0 -0
@@ -1,425 +0,0 @@
1
- <template>
2
- <div class="process-popup-content">
3
- <div class="process-popup-content-msg">
4
- <div v-if="param.isMsg">
5
- <div
6
- class="process-radio-item"
7
- @click="handleOpenMsg()"
8
- style="color: #1389ff; font-size: 14px;"
9
- >
10
- 常用意见
11
- </div>
12
- </div>
13
- <div class="process-pc-label">
14
- 拒绝理由: <span class="process-pc-label--re">*</span>
15
- </div>
16
- <div class="process-pc-value">
17
- <div class="process-popup-textarea">
18
- <textarea
19
- v-model="commentMsg"
20
- class="textarea-item"
21
- name="description"
22
- cols="40"
23
- placeholder="请输入审批意见(200字以内)"
24
- maxlength="200"
25
- onkeyup="this.value=this.value.replace(/[\uD800-\uDFFF]/g,'')"
26
- ></textarea>
27
- <div class="process-popup-textarea-num">
28
- {{ commentMsg.length }}/200
29
- </div>
30
- </div>
31
- <div class="msg-btn" v-if="param.isMsg">
32
- <span class="msg-btn-click" @click="handleMakeMsg()"
33
- >设置为常用意见</span
34
- >
35
- </div>
36
- </div>
37
- </div>
38
- <div
39
- class="process-popup-content-person"
40
- v-if="taskNode && taskNode.length > 0 && taskNode[0].taskState != 4"
41
- >
42
- <template v-if="nextNodeData.length">
43
- <template v-for="item in nextNodeData">
44
- <template
45
- v-if="
46
- isOption(
47
- item?.userTaskModelDTO?.humanPerformer?.name
48
- )
49
- "
50
- >
51
- <div>
52
- {{ item.userTaskModelDTO.name }}
53
- <br />
54
- 审批人
55
- <span class="process-pc-label--re">*</span>
56
- </div>
57
- <div
58
- class="process-pc-value"
59
- @click="handleOpenPopup(item.id)"
60
- >
61
- <div class="process-pc-value--people">
62
- <div
63
- class="process-pc-value--data"
64
- v-if="
65
- partNode[item.id] &&
66
- partNode[item.id].length
67
- "
68
- >
69
- <span v-for="(v, i) in partNode[item.id]">
70
- {{ i == 0 ? v : `,${v}` }}
71
- </span>
72
- </div>
73
- <div
74
- v-else
75
- class="process-pc-value--data"
76
- style="color: #888;"
77
- >
78
- <span>
79
- 请选择审批人
80
- </span>
81
- </div>
82
- </div>
83
- </div>
84
- </template>
85
- </template>
86
- </template>
87
-
88
- <template v-else-if="outGatewayUserTaskModel.length">
89
- <template v-for="item in outGatewayUserTaskModel">
90
- <template v-if="isOption(item.humanPerformerName)">
91
- <div style="font-size: 15px;">
92
- {{ item.name }}
93
- </div>
94
- <div class="process-pc-label">
95
- 审批人
96
- <span class="process-pc-label--re">*</span>
97
- </div>
98
- <div class="process-pc-value" @click="handleOpenPopup">
99
- <div class="process-pc-value--people">
100
- {{ 234 }}
101
- </div>
102
- </div>
103
- </template>
104
- </template>
105
- </template>
106
- </div>
107
- <TopTips
108
- ref="topTips"
109
- :text="textTips"
110
- :statusTips="statusTips"
111
- :type="typeTips"
112
- />
113
- <TopPopup
114
- v-bind:visible="visible"
115
- v-on:update:visible="(val) => (visible = val)"
116
- ref="TopPopup"
117
- titleText="选人"
118
- :isDrawer="true"
119
- >
120
- <div style="height: 100%;">
121
- <departPerson
122
- :isTitle="false"
123
- v-if="visible"
124
- :visible.sync="visible"
125
- :request="param.request"
126
- v-bind="entity"
127
- @callback="handleCallback"
128
- @cancel="handleCancel"
129
- >
130
- </departPerson>
131
- </div>
132
- <!-- 初始测试啊啊啊啊啊啊 -->
133
- </TopPopup>
134
-
135
- <attchViews
136
- v-if="labels == '拒绝'"
137
- :limit="limit ? limit : -1"
138
- :requires="requires"
139
- :request="param.request"
140
- :linkUrl="param.linkUrl"
141
- @getValue="getValues"
142
- />
143
-
144
- <TopPopup
145
- v-bind:visible="visibleListMsg"
146
- v-on:update:visible="(val) => (visibleListMsg = val)"
147
- ref="TopPopup"
148
- titleText="常用意见"
149
- :isDrawer="true"
150
- >
151
- <MsgList
152
- :visible="visibleListMsg"
153
- :request="param.request"
154
- :useInfo="param.userInfo"
155
- @handleTips="handleTips"
156
- @handleMsg="handleMsg"
157
- ></MsgList>
158
- </TopPopup>
159
-
160
- <TopPopup
161
- titleText="操作消息提示"
162
- :isTips="true"
163
- :context="`将${commentMsg}设置为常用意见`"
164
- :cancel="handleTipsCancel"
165
- :comfig="handleTipsComfig"
166
- v-bind:visible="visibleMsgComfig"
167
- v-on:update:visible="(val) => (visibleMsgComfig = val)"
168
- >
169
- </TopPopup>
170
- </div>
171
- </template>
172
- <script>
173
- import TopTips from "../../tip/index.vue";
174
- import attchViews from "../../attchUpload/index.vue";
175
- import TopPopup from "../../popup/index.vue";
176
- import { departPerson } from "checked-pick-app";
177
- import MsgList from "./msgList.vue";
178
- export default {
179
- name: "cancel",
180
- props: {
181
- param: {
182
- type: Object,
183
- defalut: () => {},
184
- },
185
- },
186
- components: {
187
- TopTips,
188
- attchViews,
189
- TopPopup,
190
- departPerson,
191
- MsgList,
192
- },
193
- watch: {
194
- param: {
195
- async handler(val, preVal) {
196
- this.entity.checkedArray = [];
197
- this.actionName = val.actionName;
198
- },
199
- immediate: true,
200
- deep: true,
201
- },
202
- },
203
- data() {
204
- return {
205
- commentMsg: "",
206
- actionName: "",
207
- style: {
208
- color: "#333",
209
- disableColor: "#F7F6F6",
210
- },
211
- textTips: "",
212
- statusTips: false,
213
- typeTips: "success",
214
- // annex 附件属性
215
- limit: "",
216
- requires: "",
217
- labels: "",
218
- otherList: "",
219
- attchLists: [],
220
- // next
221
- nextNodeData: [],
222
- taskNode: [],
223
-
224
- outGatewayUserTaskModel: [],
225
- formData: {},
226
-
227
- // 选人组件
228
- visible: false,
229
- entity: {
230
- source: "0",
231
- type: this.param.isCheckType || "0",
232
- orgType: this.param.isOrgType || [770],
233
- request: this.param.request, //'http://59.53.91.231:2100' 0002
234
- codeType: this.param.isCodeType || [3], // 可选类型 1-主体 2-部门 3-人员
235
- multiple: true, // 是否多选
236
- checkedArray: [],
237
- },
238
- /* {
239
- source: "0",
240
- type: "0",
241
- request: this.param.request, //'http://59.53.91.231:2100' 0002
242
- businessId: "6a9aaf5742572e82b5d89d6f7e52e2f2",
243
- codeType: [3], // 可选类型 1-主体 2-部门 3-人员
244
- multiple: true, // 是否多选
245
- } */
246
- // 存储选人信息
247
- multiNodeParticipant: {},
248
- // 当前评估对象
249
- partObjId: [],
250
- // 选中人员信息
251
- partNode: {},
252
-
253
- visibleListMsg: false,
254
- visibleMsgComfig: false,
255
- };
256
- },
257
- created() {
258
- // console.log("isVue2", this.param);
259
- this.makeDelegateTaskButtonAnnex();
260
- },
261
- methods: {
262
- // 设置msg
263
- handleMakeMsg() {
264
- if (this.commentMsg == "" && !this.commentMsg.length) {
265
- this.handleTips("请输入审批意见!", false, "success");
266
- this.visibleMsgComfig = false;
267
- } else {
268
- this.visibleMsgComfig = true;
269
- }
270
- },
271
- handleOpenMsg() {
272
- this.visibleListMsg = true;
273
- },
274
- handleTipsCancel() {
275
- this.visibleMsgComfig = false;
276
- },
277
- handleTipsComfig() {
278
- this.handleTips("", true, "loading");
279
- this.visibleMsgComfig = false;
280
- this.param.request
281
- .post("/auth//user/opinion/save", {
282
- opinionName: this.commentMsg,
283
- })
284
- .then((res) => {
285
- if (res.code === 200) {
286
- this.handleTips("设置成功!", true, "success");
287
- } else {
288
- this.handleTips(res.msg, true, "error");
289
- }
290
- })
291
- .catch((error) => {
292
- this.handleTips(error.msg, true, "error");
293
- });
294
- },
295
- handleMsg(val) {
296
- this.commentMsg = val;
297
- this.visibleListMsg = false;
298
- },
299
- handleOpenPopup(id) {
300
- this.visible = true;
301
- this.partObjId = id;
302
- },
303
- async confirm() {
304
- if (!this.commentMsg) {
305
- this.handleTips("请输入拒绝理由!", false, "success");
306
- return false;
307
- }
308
- this.handleTips("", true, "loading");
309
- await this.param.request
310
- .post("/aws/tis/reject", {
311
- commentMsg: this.commentMsg,
312
- taskInstId: this.param.taskInstId,
313
- })
314
- .then((res) => {
315
- if (res.code == 200) {
316
- this.$emit("handleClosePopup1");
317
- this.handleTips("提交成功!", false, "success");
318
- this.handleFinal();
319
- this.commentMsg = "";
320
- } else {
321
- this.handleTips(res.msg, true, "error");
322
- }
323
- });
324
- },
325
- makeDelegateTaskButtonAnnex() {
326
- if (this.param.annex && this.param.annex.length) {
327
- this.otherList = this.param.annex;
328
- let str = this.otherList.split(";");
329
- this.limit = str[2];
330
- this.requires = JSON.parse(str[1]);
331
- this.labels = str[0];
332
- /* console.log(
333
- "makeDelegateTaskButtonAnnex",
334
- this.otherList,
335
- this.limit,
336
- this.requires,
337
- this.labels
338
- ); */
339
- }
340
- },
341
-
342
- handleCallback(res) {
343
- this.visible = false;
344
- this.multiNodeParticipant[this.partObjId] = [];
345
- this.partNode[this.partObjId] = [];
346
- res.map((v, i) => {
347
- this.multiNodeParticipant[this.partObjId].push(v.uid);
348
- this.partNode[this.partObjId].push(v.name);
349
- this.entity.checkedArray.push({
350
- type: 3,
351
- uid: v.uid,
352
- });
353
- });
354
- // console.log("callback_OK", res, this.multiNodeParticipant);
355
- },
356
- handleCancel() {
357
- // console.log("cancel_No");
358
- },
359
-
360
- getValues(data) {
361
- // console.log("获取当前附件信息::::", data);
362
- this.attchLists = data;
363
- },
364
-
365
- async uploadAttch() {
366
- if (this.attchLists.length > 0) {
367
- this.attchLists.map((v, i) => {
368
- v.size = v.fileSize;
369
- v.format = v.originFileName.substring(
370
- v.originFileName.lastIndexOf(".") + 1
371
- );
372
- v.uploadTime = v.createTime;
373
- v.processInstId = this.param.processInstId;
374
- v.taskInstId = this.param.taskInstId;
375
- v.name = v.originFileName;
376
- });
377
-
378
- let param = this.attchLists;
379
- const ress = await this.param.request.post(
380
- "/aws/meta/annex/patchSave",
381
- {
382
- saveMetaAnnexCmdList: param,
383
- }
384
- );
385
- // console.log("asd", ress);
386
- if (ress.success) {
387
- this.$emit("handleClosePopup1");
388
- this.handleTips("提交成功!", false, "success");
389
- this.handleFinal();
390
- this.commentMsg = "";
391
- } else {
392
- this.handleTips("上传失败", true, "error");
393
- }
394
- }
395
- },
396
-
397
- isOption(humanPerformer) {
398
- return (
399
- humanPerformer == "任意指定" ||
400
- humanPerformer == "固定部门" ||
401
- humanPerformer == "固定单位" ||
402
- humanPerformer == "与流程申请人所在组织结构的位置相关" ||
403
- humanPerformer == "固定群组"
404
- );
405
- },
406
-
407
- handleTips(text, status, type) {
408
- this.textTips = text;
409
- this.statusTips = status;
410
- this.typeTips = type;
411
- this.$refs.topTips.handleOpen();
412
- },
413
-
414
- handleFinal() {
415
- if (this.param.endFunction) {
416
- window.top && window.top.postMessage('success', '*')
417
- this.param.endFunction("拒绝");
418
- }
419
- },
420
- },
421
- };
422
- </script>
423
- <style scoped>
424
- @import "./index.scss";
425
- </style>
@@ -1,256 +0,0 @@
1
- <template>
2
- <div style="height: 100%;">
3
- <departPerson
4
- v-if="param.visible"
5
- :isTitle="false"
6
- :request="param.request"
7
- v-bind="entity"
8
- @callback="handleCallback"
9
- @cancel="handleCancel"
10
- >
11
- </departPerson>
12
- <TopTips
13
- ref="topTips"
14
- :text="textTips"
15
- :statusTips="statusTips"
16
- :type="typeTips"
17
- />
18
- </div>
19
- </template>
20
- <script>
21
- import TopTips from "../../tip/index.vue";
22
- import { departPerson } from "checked-pick-app";
23
- export default {
24
- name: "ccTask",
25
- props: {
26
- param: {
27
- type: Object,
28
- defalut: () => {},
29
- },
30
- },
31
- components: {
32
- TopTips,
33
- departPerson,
34
- },
35
- data() {
36
- return {
37
- commentMsg: "",
38
- style: {
39
- color: "#333",
40
- disableColor: "#F7F6F6",
41
- },
42
- textTips: "",
43
- statusTips: false,
44
- typeTips: "success",
45
- // annex 附件属性
46
- limit: "",
47
- requires: "",
48
- labels: "",
49
- otherList: "",
50
- attchLists: [],
51
- // next
52
- nextNodeData: [],
53
- taskNode: [],
54
-
55
- outGatewayUserTaskModel: [],
56
- formData: {},
57
-
58
- // 选人组件
59
- visible: false,
60
- entity: {
61
- source: "0",
62
- type: this.param.isCheckType || "0",
63
- orgType: this.param.isOrgType || [0],
64
- request: this.param.request, //'http://59.53.91.231:2100' 0002
65
- codeType: this.param.isCodeType || [3], // 可选类型 1-主体 2-部门 3-人员
66
- multiple: true, // 是否多选
67
- checkedArray: [],
68
- },
69
- /* {
70
- source: "0",
71
- type: "0",
72
- request: this.param.request, //'http://59.53.91.231:2100' 0002
73
- businessId: "6a9aaf5742572e82b5d89d6f7e52e2f2",
74
- codeType: [3], // 可选类型 1-主体 2-部门 3-人员
75
- multiple: true, // 是否多选
76
- } */
77
- // 存储选人信息
78
- multiNodeParticipant: {},
79
- // 当前评估对象
80
- partObjId: [],
81
- // 选中人员信息
82
- partNode: {},
83
- actionName: "",
84
- };
85
- },
86
- watch: {
87
- param: {
88
- handler(val, preVal) {
89
- this.nextNodeData = val.nextNodeData;
90
- this.taskNode = val.taskNode;
91
- this.outGatewayUserTaskModel = val.outGatewayUserTaskModel;
92
- this.actionName = val.actionName;
93
- if (val.nextNodeData.length) {
94
- // console.log("handler::::", this.nextNodeData[0]);
95
- if (
96
- this.nextNodeData[0].type == "userTask" ||
97
- this.nextNodeData[0].type == "UserTaskModel"
98
- ) {
99
- this.entity.multiple = true;
100
- this.entity.codeType = this.param.isCodeType || [3];
101
- this.entity.source = "1";
102
- this.entity.checkedArray = [];
103
- this.entity.type = this.param.isCheckType || "0";
104
- this.entity.orgType = this.param.isOrgType || [0];
105
- } else if (
106
- this.nextNodeData[0].type == "ExclusiveGatewayModel"
107
- ) {
108
- } else if (
109
- this.nextNodeData[0].type == "InclusiveGatewayModel"
110
- ) {
111
- }
112
- } else if (val.outGatewayUserTaskModel.length) {
113
- if (val.outGatewayUserTaskModel[0].type == "userTask") {
114
- this.entity.multiple = true;
115
- this.entity.codeType = this.param.isCodeType || [3];
116
- this.entity.source = "1";
117
- this.entity.checkedArray = [];
118
- this.entity.type = this.param.isCheckType || "0";
119
- this.entity.orgType = this.param.isOrgType || [0];
120
- } else if (
121
- val.outGatewayUserTaskModel[0].type ==
122
- "ExclusiveGatewayModel"
123
- ) {
124
- } else if (
125
- val.outGatewayUserTaskModel[0].type ==
126
- "InclusiveGatewayModel"
127
- ) {
128
- } else if (
129
- val.outGatewayUserTaskModel[0].type == "UserTaskModel"
130
- ) {
131
- this.entity.multiple = true;
132
- this.entity.codeType = this.param.isCodeType || [3];
133
- this.entity.checkedArray = [];
134
- this.entity.source = "1";
135
- this.entity.type = this.param.isCheckType || "0";
136
- this.entity.orgType = this.param.isOrgType || [0];
137
- }
138
- }
139
- },
140
- immediate: true,
141
- deep: true,
142
- },
143
- },
144
- created() {
145
- // console.log("isVue2", this.param);
146
- this.makeDelegateTaskButtonAnnex();
147
- },
148
- methods: {
149
- handleOpenPopup(id) {
150
- this.visible = true;
151
- this.partObjId = id;
152
- },
153
- async confirm() {
154
- // this.handleTips("", true, "loading");
155
- let arr = "";
156
- this.multiNodeParticipant[this.partObjId].map((v, i) => {
157
- if (i == 0) {
158
- arr = v;
159
- } else {
160
- arr = `${arr} ${v}`;
161
- }
162
- });
163
- await this.param.request
164
- .post("/aws/tis/createCCTask", {
165
- processInstId: this.param.processInstId,
166
- title:
167
- this.param.formData.title ||
168
- this.param.formData.reason ||
169
- this.param.formData.meetingTheme,
170
- parentTaskInstId: this.param.taskInstId,
171
- participant: arr,
172
- })
173
- .then((res) => {
174
- if (res.code == 200) {
175
- this.$emit("handleClosecctaskTopPopup");
176
- this.handleTips("提交成功!", false, "success");
177
- this.handleFinal();
178
- } else {
179
- this.handleTips(res.msg, true, "error");
180
- }
181
- });
182
- },
183
- makeDelegateTaskButtonAnnex() {
184
- if (this.param.annex && this.param.annex.length) {
185
- this.otherList = this.param.annex;
186
- let str = this.otherList.split(";");
187
- this.limit = str[2];
188
- this.requires = JSON.parse(str[1]);
189
- this.labels = str[0];
190
- /* console.log(
191
- "makeDelegateTaskButtonAnnex",
192
- this.otherList,
193
- this.limit,
194
- this.requires,
195
- this.labels
196
- ); */
197
- }
198
- },
199
-
200
- handleCallback(res) {
201
- this.visible = false;
202
- this.multiNodeParticipant[this.partObjId] = [];
203
- this.partNode[this.partObjId] = [];
204
- res.map((v, i) => {
205
- this.multiNodeParticipant[this.partObjId].push(v.uid);
206
- this.partNode[this.partObjId].push(v.name);
207
- this.entity.checkedArray.push({
208
- type: 3,
209
- uid: v.uid,
210
- });
211
- });
212
- if (res && res.length) {
213
- this.confirm();
214
- }
215
- },
216
- handleCancel() {
217
- // console.log("cancel_No");
218
- },
219
-
220
- getValues(data) {
221
- // console.log("获取当前附件信息::::", data);
222
- this.attchLists = data;
223
- },
224
-
225
- isOption(humanPerformer) {
226
- return (
227
- humanPerformer == "任意指定" ||
228
- humanPerformer == "固定部门" ||
229
- humanPerformer == "固定单位" ||
230
- humanPerformer == "与流程申请人所在组织结构的位置相关" ||
231
- humanPerformer == "固定群组"
232
- );
233
- },
234
-
235
- handleTips(text, status, type) {
236
- this.textTips = text;
237
- this.statusTips = status;
238
- this.typeTips = type;
239
- this.$refs.topTips.handleOpen();
240
- },
241
-
242
- handleFinal() {
243
- if (this.param.endFunction) {
244
- window.top && window.top.postMessage('success', '*')
245
- this.param.endFunction("ccTask");
246
- }
247
- },
248
- },
249
- };
250
- </script>
251
- <style>
252
- @import "./index.scss";
253
- page{
254
- height: 100% !important;
255
- }
256
- </style>