n20-common-lib 2.17.6 → 2.17.8

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.17.6",
3
+ "version": "2.17.8",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -226,7 +226,7 @@ export default {
226
226
  appNoType: 'add',
227
227
  suggestion: '',
228
228
  key: this.tableDataA.length,
229
- isAll: '0',
229
+ isAll: '2',
230
230
  isEnable: '1',
231
231
  belongUserno: sessionStorage.getItem('userNo')
232
232
  })
@@ -284,13 +284,13 @@ export default {
284
284
  getData() {
285
285
  if (this.andUser) {
286
286
  axios.post('/bems/activiti/actAppOpi/queryAppOpiAndUser', null, { loading: false }).then(({ data }) => {
287
- this.tableDataA = this.getOnlyData(JSON.parse(JSON.stringify(data)))?.filter((item) => item.isAll === '0')
287
+ this.tableDataA = this.getOnlyData(JSON.parse(JSON.stringify(data)))?.filter((item) => item.isAll !== '1')
288
288
  this.tableData = this.getOnlyData(data)
289
289
  })
290
290
  } else {
291
291
  axios.post('/bems/activiti/actAppOpi/queryAppOpi', null, { loading: false }).then(({ data }) => {
292
292
  this.tableDataA = this.getOnlyData(JSON.parse(JSON.stringify(data.list || [])))?.filter(
293
- (item) => item.isAll === '0'
293
+ (item) => item.isAll !== '1'
294
294
  )
295
295
  this.tableData = this.getOnlyData(data.list || [])
296
296
  })
@@ -468,11 +468,15 @@ export default {
468
468
  resultName = resultName.split('-')
469
469
  resultName = resultName[resultName.length - 1]
470
470
  _item.resultName = resultName === $lc('推进') ? $lc('批准') : resultName
471
+ _item.resultNameA = resultName === $lc('推进') ? $lc('批准') : resultName
472
+ if (item.optName) {
473
+ _item.resultName = item.optName
474
+ }
471
475
  if (item.taskName === $lc('开始')) {
472
476
  _item.result = 1
473
- } else if (_item.resultName === $lc('加签推进')) {
477
+ } else if (_item.resultNameA === $lc('加签推进')) {
474
478
  _item.result = 2
475
- } else if (_item.resultName === $lc('作废')) {
479
+ } else if (_item.resultNameA === $lc('作废')) {
476
480
  _item.result = 4
477
481
  } else if (item.taskName === $lc('结束')) {
478
482
  _item.result = 5