ydb-components-material 0.1.132 → 0.1.133

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.
@@ -480,12 +480,17 @@ var FileItem = function FileItem(_ref) {
480
480
  };
481
481
  }();
482
482
  var signAndSeal = function signAndSeal() {
483
- // const notNeedSelfSign = !signatureSelfRole.includes(SELF) && !signatureAgentRole.includes(SELF) && !signSelfRole.includes(SELF) && !signAgentRole.includes(SELF)
484
- // // 如果不需要自己签署 只需要别人签署 就直接打开维护签署人信息
485
- // if (notNeedSelfSign && needOtherSign) {
486
- // setShowSignerInfo(true)
487
- // return
488
- // }
483
+ // 当前是个人 不需要签批。需要签他人签署 就直接打开维护签署人信息
484
+ if (userInfo.acctType !== '20' && !signatureEnable && needOtherSign) {
485
+ setShowSignerInfo(true);
486
+ return;
487
+ }
488
+ var notNeedSelfSign = !signatureSelfRole.includes(SELF) && !signatureAgentRole.includes(SELF) && !signSelfRole.includes(SELF) && !signAgentRole.includes(SELF);
489
+ // 如果不需要自己签署 只需要别人签署 就直接打开维护签署人信息
490
+ if (notNeedSelfSign && needOtherSign) {
491
+ setShowSignerInfo(true);
492
+ return;
493
+ }
489
494
  // 如果不能签章就直接签批
490
495
  if (!(userInfo.acctType === '20' && signEnable)) {
491
496
  sign();
@@ -486,12 +486,17 @@ var FileItem = function FileItem(_ref) {
486
486
  };
487
487
  }();
488
488
  var signAndSeal = function signAndSeal() {
489
- // const notNeedSelfSign = !signatureSelfRole.includes(SELF) && !signatureAgentRole.includes(SELF) && !signSelfRole.includes(SELF) && !signAgentRole.includes(SELF)
490
- // // 如果不需要自己签署 只需要别人签署 就直接打开维护签署人信息
491
- // if (notNeedSelfSign && needOtherSign) {
492
- // setShowSignerInfo(true)
493
- // return
494
- // }
489
+ // 当前是个人 不需要签批。需要签他人签署 就直接打开维护签署人信息
490
+ if (userInfo.acctType !== '20' && !signatureEnable && needOtherSign) {
491
+ setShowSignerInfo(true);
492
+ return;
493
+ }
494
+ var notNeedSelfSign = !signatureSelfRole.includes(SELF) && !signatureAgentRole.includes(SELF) && !signSelfRole.includes(SELF) && !signAgentRole.includes(SELF);
495
+ // 如果不需要自己签署 只需要别人签署 就直接打开维护签署人信息
496
+ if (notNeedSelfSign && needOtherSign) {
497
+ setShowSignerInfo(true);
498
+ return;
499
+ }
495
500
  // 如果不能签章就直接签批
496
501
  if (!(userInfo.acctType === '20' && signEnable)) {
497
502
  sign();
@@ -98,7 +98,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
98
98
  packageName = 'ydb-components-material';
99
99
  }
100
100
  if (version === void 0) {
101
- version = '0.1.132';
101
+ version = '0.1.133';
102
102
  }
103
103
  if (basicLibraryVersion === void 0) {
104
104
  basicLibraryVersion = {
@@ -103,7 +103,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
103
103
  packageName = 'ydb-components-material';
104
104
  }
105
105
  if (version === void 0) {
106
- version = '0.1.132';
106
+ version = '0.1.133';
107
107
  }
108
108
  if (basicLibraryVersion === void 0) {
109
109
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-components-material",
3
- "version": "0.1.132",
3
+ "version": "0.1.133",
4
4
  "description": "ydb-components-material",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -102,10 +102,10 @@
102
102
  },
103
103
  "componentConfig": {
104
104
  "isComponentLibrary": true,
105
- "materialSchema": "https://unpkg.com/ydb-components-material@0.1.132/build/lowcode/assets-prod.json"
105
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.133/build/lowcode/assets-prod.json"
106
106
  },
107
107
  "lcMeta": {
108
108
  "type": "component"
109
109
  },
110
- "homepage": "https://unpkg.com/ydb-components-material@0.1.132/build/index.html"
110
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.133/build/index.html"
111
111
  }