n20-common-lib 3.2.36 → 3.2.37

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": "3.2.36",
3
+ "version": "3.2.37",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -133,6 +133,7 @@
133
133
  <script>
134
134
  import { $lc } from '../../../utils/i18n/index'
135
135
  import importG from '../../../utils/importGlobal.js'
136
+
136
137
  export default {
137
138
  filters: {
138
139
  zoomFormat(val) {
@@ -218,6 +219,20 @@ export default {
218
219
  }
219
220
  }
220
221
  })
222
+ for (let k in currAssMap) {
223
+ let submitter = currAssMap[k]
224
+ if (
225
+ !currentActivityIdList.includes(k) &&
226
+ !k.includes('@addTaskType') &&
227
+ typeof submitter === 'string' &&
228
+ submitter.trim()
229
+ ) {
230
+ let taskK = this.svgW.querySelector(`[data-element-id="${k}"]`)
231
+ if (taskK) {
232
+ this.addEvent(taskK, { assignee: `${$lc('发起人')}:${submitter.trim()}` }, 'pending')
233
+ }
234
+ }
235
+ }
221
236
  for (let k in taskDefIdMap) {
222
237
  if (!currentActivityIdList.includes(k)) {
223
238
  let taskK = this.svgW.querySelector(`[data-element-id="${k}"]`)
@@ -161,10 +161,12 @@
161
161
  </template>
162
162
 
163
163
  <script>
164
+ import child from './child.vue'
165
+
164
166
  import axios from '../../../utils/axios.js'
165
167
  import { $lc } from '../../../utils/i18n/index'
166
168
  import importG from '../../../utils/importGlobal.js'
167
- import child from './child.vue'
169
+
168
170
  export default {
169
171
  components: {
170
172
  child
@@ -256,6 +258,20 @@ export default {
256
258
  }
257
259
  }
258
260
  })
261
+ for (let k in currAssMap) {
262
+ let submitter = currAssMap[k]
263
+ if (
264
+ !currentActivityIdList.includes(k) &&
265
+ !k.includes('@addTaskType') &&
266
+ typeof submitter === 'string' &&
267
+ submitter.trim()
268
+ ) {
269
+ let taskK = this.svgW.querySelector(`[data-element-id="${k}"]`)
270
+ if (taskK) {
271
+ this.addEvent(taskK, { assignee: `${$lc('发起人')}:${submitter.trim()}` }, 'pending')
272
+ }
273
+ }
274
+ }
259
275
  for (let k in taskDefIdMap) {
260
276
  if (!currentActivityIdList.includes(k)) {
261
277
  let taskK = this.svgW.querySelector(`[data-element-id="${k}"]`)