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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.6.76",
3
+ "version": "2.6.78",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -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 v-else>
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
- Object.keys(data).forEach((id) => {
269
- let task = this.svgW.querySelector(`[data-element-id="${id}"]`)
270
- if (task) {
271
- console.log('setPendingUserInfo:', data[id])
272
- this.addEvent(task, { taskCandidate: data[id] }, 'unApply')
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