n20-common-lib 2.6.76 → 2.6.78
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
CHANGED
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
:placeholder="'请选择加签类型' | $lc"
|
|
37
37
|
style="width: 10em"
|
|
38
38
|
>
|
|
39
|
-
<el-option v-if="addTaskModel === '1'" :label="'向后加签' | $lc" value="1" />
|
|
40
|
-
<template
|
|
39
|
+
<!-- <el-option v-if="addTaskModel === '1'" :label="'向后加签' | $lc" value="1" /> -->
|
|
40
|
+
<template>
|
|
41
41
|
<el-option
|
|
42
42
|
v-if="authList.includes('isAddForwardTask') || preAddTask"
|
|
43
43
|
:label="'向前加签' | $lc"
|
|
@@ -265,13 +265,15 @@ export default {
|
|
|
265
265
|
this.addTaskV = false
|
|
266
266
|
},
|
|
267
267
|
setPendingUserInfo(data) {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
268
|
+
if (data) {
|
|
269
|
+
Object.keys(data).forEach((id) => {
|
|
270
|
+
let task = this.svgW.querySelector(`[data-element-id="${id}"]`)
|
|
271
|
+
if (task) {
|
|
272
|
+
console.log('setPendingUserInfo:', data[id])
|
|
273
|
+
this.addEvent(task, { taskCandidate: data[id] }, 'unApply')
|
|
274
|
+
}
|
|
275
|
+
})
|
|
276
|
+
}
|
|
275
277
|
},
|
|
276
278
|
setSvgAttrs(str) {
|
|
277
279
|
this.svgW.innerHTML = str
|