ydb-components-material 0.1.120 → 0.1.121

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.
@@ -5,6 +5,8 @@ import { createbycategory, contractSignUrl, signurl, checkSignState, contractFin
5
5
  var categoryId = '3354397552669692408';
6
6
  // 预发
7
7
  var categoryIdRelease = '3291682531601133765'; // 手写签批id
8
+
9
+ var categoryIdProduct = '3431831847619146181';
8
10
  var documentId = ''; // 手写签批生成的文件id
9
11
  var contractId = ''; // 合同id
10
12
 
@@ -144,10 +146,16 @@ function _uploadSignFile() {
144
146
  function createbycategoryFun(fileName, documentIdVal, config) {
145
147
  // uni.showLoading({ title: '加载中' })
146
148
  console.log('env---', config.env);
149
+ var categoryIdVal;
150
+ if (config.env === 'releaseHLW') {
151
+ categoryIdVal = categoryIdRelease;
152
+ } else {
153
+ categoryIdVal = categoryIdProduct;
154
+ }
147
155
  var params = {
148
156
  subject: fileName,
149
157
  documents: [documentIdVal],
150
- categoryId: config.env === 'releaseHLW' ? categoryIdRelease : categoryId,
158
+ categoryId: categoryIdVal,
151
159
  send: true,
152
160
  tenantName: '山西省行政审批服务管理局'
153
161
  };
@@ -11,6 +11,8 @@ var _api = require("../../api");
11
11
  var categoryId = '3354397552669692408';
12
12
  // 预发
13
13
  var categoryIdRelease = '3291682531601133765'; // 手写签批id
14
+
15
+ var categoryIdProduct = '3431831847619146181';
14
16
  var documentId = ''; // 手写签批生成的文件id
15
17
  var contractId = ''; // 合同id
16
18
 
@@ -148,10 +150,16 @@ function _uploadSignFile() {
148
150
  function createbycategoryFun(fileName, documentIdVal, config) {
149
151
  // uni.showLoading({ title: '加载中' })
150
152
  console.log('env---', config.env);
153
+ var categoryIdVal;
154
+ if (config.env === 'releaseHLW') {
155
+ categoryIdVal = categoryIdRelease;
156
+ } else {
157
+ categoryIdVal = categoryIdProduct;
158
+ }
151
159
  var params = {
152
160
  subject: fileName,
153
161
  documents: [documentIdVal],
154
- categoryId: config.env === 'releaseHLW' ? categoryIdRelease : categoryId,
162
+ categoryId: categoryIdVal,
155
163
  send: true,
156
164
  tenantName: '山西省行政审批服务管理局'
157
165
  };
@@ -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.120';
101
+ version = '0.1.121';
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.120';
106
+ version = '0.1.121';
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.120",
3
+ "version": "0.1.121",
4
4
  "description": "ydb-components-material",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -101,10 +101,10 @@
101
101
  },
102
102
  "componentConfig": {
103
103
  "isComponentLibrary": true,
104
- "materialSchema": "https://unpkg.com/ydb-components-material@0.1.120/build/lowcode/assets-prod.json"
104
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.121/build/lowcode/assets-prod.json"
105
105
  },
106
106
  "lcMeta": {
107
107
  "type": "component"
108
108
  },
109
- "homepage": "https://unpkg.com/ydb-components-material@0.1.120/build/index.html"
109
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.121/build/index.html"
110
110
  }