@zscreate/zhxy-app-component 1.0.139 → 1.0.140

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.
@@ -322,6 +322,7 @@ export default {
322
322
  this.models[this.verifyNode].operation = this.suggestType = this.suggest[0]
323
323
  ? this.suggest[0].value
324
324
  : "";
325
+ this.fillVerifySignSeal(item)
325
326
  }
326
327
  },
327
328
  // linkage:{
@@ -422,22 +423,26 @@ export default {
422
423
  this.models[model].operation = val.label;
423
424
  })
424
425
  this.suggestType = this.models[model].operation
425
- if (type === 'hnkj-verify') {
426
- const select = this.selectList.find(item => item.label === this.suggestType)
427
- const { enableSign , enableSeal } = options
428
- if (select.description === 'TIJIAO') {
429
- this.$u.get('workhall/userseal/queryById').then(res => {
430
- if (res.success) {
431
- this.models[model].userSign = enableSign ? res.result.userSign : ''
432
- this.models[model].userSeal = enableSeal ? res.result.userSeal : ''
433
- }
434
- })
435
- } else {
436
- this.models[model].userSign = ''
437
- this.models[model].userSeal = ''
426
+ this.fillVerifySignSeal(item)
427
+
428
+ },
429
+ fillVerifySignSeal(widget) {
430
+ const { model, options, type } = widget
431
+ if (type === 'hnkj-verify') {
432
+ const select = this.selectList.find(item => item.label === this.suggestType)
433
+ const { enableSign , enableSeal } = options
434
+ if (select.description === 'TIJIAO') {
435
+ this.$u.get('workhall/userseal/queryById').then(res => {
436
+ if (res.success) {
437
+ this.models[model].userSign = enableSign ? res.result.userSign : ''
438
+ this.models[model].userSeal = enableSeal ? res.result.userSeal : ''
438
439
  }
440
+ })
441
+ } else {
442
+ this.models[model].userSign = ''
443
+ this.models[model].userSeal = ''
439
444
  }
440
-
445
+ }
441
446
  },
442
447
  scrollToTop(top) {
443
448
  const _this = this
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.139",
3
+ "version": "1.0.140",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",