ydb-components-material 0.1.70 → 0.1.72

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.
@@ -0,0 +1,290 @@
1
+ {
2
+ "id": "a90d9373-5f63-46ae-abf4-c22f9c7d45bc",
3
+ "pid": "0",
4
+ "groupId": "cee59c5a315b4e708a4dc1d10df513ce",
5
+ "title": "无前置",
6
+ "nodeType": 1,
7
+ "isMultipleChoice": "1",
8
+ "options": [
9
+ {
10
+ "id": "2d0d976d-1d83-44fa-a760-6c7478e5f295",
11
+ "pid": "a90d9373-5f63-46ae-abf4-c22f9c7d45bc",
12
+ "groupId": "855def327d9e4a9f891866d634412557",
13
+ "name": "测试1",
14
+ "nodeType": 2,
15
+ "canBeDeclared": "1",
16
+ "mutuallyExclusive": "1",
17
+ "children": [
18
+ {
19
+ "id": "8ec4db42-53e6-4a63-9ad6-43b313d98e69",
20
+ "pid": "2d0d976d-1d83-44fa-a760-6c7478e5f295",
21
+ "groupId": "d9b460bde56a4a39a1ea7810672c6d2e",
22
+ "title": "问题1",
23
+ "nodeType": 1,
24
+ "isMultipleChoice": "0",
25
+ "options": [
26
+ {
27
+ "id": "92c65e2e-7367-4545-bc3d-666f97c4fffd",
28
+ "pid": "8ec4db42-53e6-4a63-9ad6-43b313d98e69",
29
+ "groupId": "bec0c7182ddf44f68e845f73b163286c",
30
+ "name": "测试添加",
31
+ "nodeType": 2,
32
+ "canBeDeclared": "0",
33
+ "children": [
34
+ {
35
+ "id": "d3b52547-e06b-4dba-94f2-e5f259326bfd",
36
+ "pid": "92c65e2e-7367-4545-bc3d-666f97c4fffd",
37
+ "groupId": "bab95a057b1448c19aa1a320d4b0b967",
38
+ "title": "问题2",
39
+ "nodeType": 1,
40
+ "isMultipleChoice": "1",
41
+ "options": [
42
+ {
43
+ "id": "9636f9d2-62d6-4d7e-92cc-bcc2e9c17386",
44
+ "pid": "d3b52547-e06b-4dba-94f2-e5f259326bfd",
45
+ "groupId": "879bff9f07454fa49f687e1ef115e36f",
46
+ "name": "2",
47
+ "nodeType": 2,
48
+ "canBeDeclared": "1",
49
+ "mutuallyExclusive": "1",
50
+ "materials": []
51
+ },
52
+ {
53
+ "id": "a2172d5c-fd5c-4c19-871d-bfd6a5ef6e79",
54
+ "pid": "d3b52547-e06b-4dba-94f2-e5f259326bfd",
55
+ "groupId": "e547e69411d047959d3c87ea25543032",
56
+ "name": "3",
57
+ "nodeType": 2,
58
+ "canBeDeclared": "1",
59
+ "mutuallyExclusive": "1",
60
+ "materials": []
61
+ }
62
+ ]
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "id": "3f62e455-cc6c-4c45-b292-5d2979d18569",
68
+ "pid": "8ec4db42-53e6-4a63-9ad6-43b313d98e69",
69
+ "groupId": "bd2b56e6915f41d3bc3dac1642180063",
70
+ "name": "性别21",
71
+ "nodeType": 2,
72
+ "canBeDeclared": "1",
73
+ "children": [
74
+ {
75
+ "id": "dc851ed8-7f43-4c89-9c9a-6d8ca0ba23e0",
76
+ "pid": "3f62e455-cc6c-4c45-b292-5d2979d18569",
77
+ "groupId": "00f91fd8d24944c5ab335d9797924795",
78
+ "title": "热热",
79
+ "nodeType": 1,
80
+ "isMultipleChoice": "0",
81
+ "options": [
82
+ {
83
+ "id": "4ccebeb3-6273-40e6-bfa2-8f900c4dce36",
84
+ "pid": "dc851ed8-7f43-4c89-9c9a-6d8ca0ba23e0",
85
+ "groupId": "dd102ef1cfac49809e555f649acb2087",
86
+ "name": "1",
87
+ "nodeType": 2,
88
+ "canBeDeclared": "0",
89
+ "mutuallyExclusive": "0",
90
+ "materials": []
91
+ },
92
+ {
93
+ "id": "b33900e8-db59-4ebc-9682-2757a692df50",
94
+ "pid": "dc851ed8-7f43-4c89-9c9a-6d8ca0ba23e0",
95
+ "groupId": "bf397301628d4e4787a872c4f66fc958",
96
+ "name": "2",
97
+ "nodeType": 2,
98
+ "canBeDeclared": "0",
99
+ "mutuallyExclusive": "0",
100
+ "materials": []
101
+ },
102
+ {
103
+ "id": "47c01386-2398-42b6-b7a8-3f6a9e6c50c1",
104
+ "pid": "dc851ed8-7f43-4c89-9c9a-6d8ca0ba23e0",
105
+ "groupId": "237e822d784b4e92aa7719097ec83006",
106
+ "name": "3",
107
+ "nodeType": 2,
108
+ "canBeDeclared": "0",
109
+ "mutuallyExclusive": "0",
110
+ "materials": []
111
+ }
112
+ ]
113
+ }
114
+ ]
115
+ },
116
+ {
117
+ "id": "b82017d9-96d8-4120-9284-b58d169a9fb1",
118
+ "pid": "8ec4db42-53e6-4a63-9ad6-43b313d98e69",
119
+ "groupId": "f341b9e038f44949a3fef2cd93a06c31",
120
+ "name": "测试添加111",
121
+ "nodeType": 2,
122
+ "canBeDeclared": "0",
123
+ "children": [
124
+ {
125
+ "id": "cb7fd605-f840-4afc-a44b-87f43fa04330",
126
+ "pid": "b82017d9-96d8-4120-9284-b58d169a9fb1",
127
+ "groupId": "bab95a057b1448c19aa1a320d4b0b967",
128
+ "title": "问题2",
129
+ "nodeType": 1,
130
+ "isMultipleChoice": "1",
131
+ "options": [
132
+ {
133
+ "id": "2c6670dd-e462-4546-b6ea-0965ce7b7c76",
134
+ "pid": "cb7fd605-f840-4afc-a44b-87f43fa04330",
135
+ "groupId": "879bff9f07454fa49f687e1ef115e36f",
136
+ "name": "2",
137
+ "nodeType": 2,
138
+ "canBeDeclared": "1",
139
+ "mutuallyExclusive": "1",
140
+ "materials": []
141
+ },
142
+ {
143
+ "id": "b5766f37-58e3-4d15-9ba5-b9d5cb2683cb",
144
+ "pid": "cb7fd605-f840-4afc-a44b-87f43fa04330",
145
+ "groupId": "e547e69411d047959d3c87ea25543032",
146
+ "name": "3",
147
+ "nodeType": 2,
148
+ "canBeDeclared": "1",
149
+ "mutuallyExclusive": "1",
150
+ "materials": []
151
+ }
152
+ ]
153
+ }
154
+ ]
155
+ }
156
+ ]
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "id": "fd8bbaa7-5696-4bf0-adff-3771259e098f",
162
+ "pid": "a90d9373-5f63-46ae-abf4-c22f9c7d45bc",
163
+ "groupId": "4fb591bdc3f4423cb7109ad80d25fc9d",
164
+ "name": "测试2",
165
+ "nodeType": 2,
166
+ "canBeDeclared": "1",
167
+ "mutuallyExclusive": "1",
168
+ "children": [
169
+ {
170
+ "id": "f515da81-38b6-44b8-a49f-ff4790b9944f",
171
+ "pid": "fd8bbaa7-5696-4bf0-adff-3771259e098f",
172
+ "groupId": "d9b460bde56a4a39a1ea7810672c6d2e",
173
+ "title": "问题1",
174
+ "nodeType": 1,
175
+ "isMultipleChoice": "0",
176
+ "options": [
177
+ {
178
+ "id": "dcd0c7ec-cca5-4063-90b8-740be6b1af74",
179
+ "pid": "f515da81-38b6-44b8-a49f-ff4790b9944f",
180
+ "groupId": "bec0c7182ddf44f68e845f73b163286c",
181
+ "name": "测试添加",
182
+ "nodeType": 2,
183
+ "canBeDeclared": "0",
184
+ "children": [
185
+ {
186
+ "id": "8e63c350-dbff-4ee7-ae66-755432ea909b",
187
+ "pid": "dcd0c7ec-cca5-4063-90b8-740be6b1af74",
188
+ "groupId": "4cf74c63f51041c9937445493511d754",
189
+ "title": "问题3",
190
+ "nodeType": 1,
191
+ "isMultipleChoice": "0",
192
+ "options": [
193
+ {
194
+ "id": "e23e4b72-f3c6-433e-b169-30fd4be9e89a",
195
+ "pid": "8e63c350-dbff-4ee7-ae66-755432ea909b",
196
+ "groupId": "2e8a04757bc343f1a367bf5b314818ea",
197
+ "name": "问题3",
198
+ "nodeType": 2,
199
+ "canBeDeclared": "1",
200
+ "materials": []
201
+ }
202
+ ]
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "id": "d345e45a-db01-42e6-b158-62dcb6b504cd",
208
+ "pid": "f515da81-38b6-44b8-a49f-ff4790b9944f",
209
+ "groupId": "bd2b56e6915f41d3bc3dac1642180063",
210
+ "name": "性别21",
211
+ "nodeType": 2,
212
+ "canBeDeclared": "1",
213
+ "children": [
214
+ {
215
+ "id": "2d15efed-43aa-4a4f-a17e-eb1e99857c3e",
216
+ "pid": "d345e45a-db01-42e6-b158-62dcb6b504cd",
217
+ "groupId": "00f91fd8d24944c5ab335d9797924795",
218
+ "title": "热热",
219
+ "nodeType": 1,
220
+ "isMultipleChoice": "0",
221
+ "options": [
222
+ {
223
+ "id": "f26a4bf4-ca14-46ad-86d8-0fa5f6815ea1",
224
+ "pid": "2d15efed-43aa-4a4f-a17e-eb1e99857c3e",
225
+ "groupId": "dd102ef1cfac49809e555f649acb2087",
226
+ "name": "1",
227
+ "nodeType": 2,
228
+ "canBeDeclared": "0",
229
+ "mutuallyExclusive": "0",
230
+ "materials": []
231
+ },
232
+ {
233
+ "id": "370bfa53-8349-41e7-a854-fbf184aa917f",
234
+ "pid": "2d15efed-43aa-4a4f-a17e-eb1e99857c3e",
235
+ "groupId": "bf397301628d4e4787a872c4f66fc958",
236
+ "name": "2",
237
+ "nodeType": 2,
238
+ "canBeDeclared": "0",
239
+ "mutuallyExclusive": "0",
240
+ "materials": []
241
+ },
242
+ {
243
+ "id": "260aa986-aeeb-4839-b221-62d1f67cadf4",
244
+ "pid": "2d15efed-43aa-4a4f-a17e-eb1e99857c3e",
245
+ "groupId": "237e822d784b4e92aa7719097ec83006",
246
+ "name": "3",
247
+ "nodeType": 2,
248
+ "canBeDeclared": "0",
249
+ "mutuallyExclusive": "0",
250
+ "materials": []
251
+ }
252
+ ]
253
+ }
254
+ ]
255
+ },
256
+ {
257
+ "id": "84141633-3e77-4a45-9139-14dbda3b129e",
258
+ "pid": "f515da81-38b6-44b8-a49f-ff4790b9944f",
259
+ "groupId": "f341b9e038f44949a3fef2cd93a06c31",
260
+ "name": "测试添加111",
261
+ "nodeType": 2,
262
+ "canBeDeclared": "0",
263
+ "children": [
264
+ {
265
+ "id": "657aed86-bfe2-4551-883b-26aa8a0a3859",
266
+ "pid": "84141633-3e77-4a45-9139-14dbda3b129e",
267
+ "groupId": "01b235b902df4e2aa03f15568d802615",
268
+ "title": "不给发货",
269
+ "nodeType": 1,
270
+ "isMultipleChoice": "0",
271
+ "options": [
272
+ {
273
+ "id": "7a88d912-c2a9-43d1-b978-ad3a18ea0762",
274
+ "pid": "657aed86-bfe2-4551-883b-26aa8a0a3859",
275
+ "groupId": "f8cf29fd60944ecb96f2ab1da3320d5d",
276
+ "name": "不会放过",
277
+ "nodeType": 2,
278
+ "canBeDeclared": "1",
279
+ "materials": []
280
+ }
281
+ ]
282
+ }
283
+ ]
284
+ }
285
+ ]
286
+ }
287
+ ]
288
+ }
289
+ ]
290
+ }
@@ -88,35 +88,7 @@ var FileItem = function FileItem(_ref) {
88
88
  var _useState1 = (0, _react.useState)(false),
89
89
  isShowMaterialPreview = _useState1[0],
90
90
  setIsShowMaterialPreview = _useState1[1];
91
- var _useState10 = (0, _react.useState)([{
92
- "fileId": "1753419199903092737",
93
- "fileName": "javaScript.jpg",
94
- "uploadTime": "2024-02-03 17:09:34",
95
- "type": 0,
96
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419199903092737/javaScript.jpg",
97
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419199903092737/javaScript.jpg"
98
- }, {
99
- "fileId": "1753419376331853826",
100
- "fileName": "LQ_z-fynmzrs7874917.jpg",
101
- "uploadTime": "2024-02-03 17:09:34",
102
- "type": 0,
103
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419376331853826/LQ_z-fynmzrs7874917.jpg",
104
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419376331853826/LQ_z-fynmzrs7874917.jpg"
105
- }, {
106
- "fileId": "1753419180202446850",
107
- "fileName": "mayun.jpg",
108
- "uploadTime": "2024-02-03 17:09:34",
109
- "type": 0,
110
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419180202446850/mayun.jpg",
111
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419180202446850/mayun.jpg"
112
- }, {
113
- "fileId": "1753419356975140866",
114
- "fileName": "find.png",
115
- "uploadTime": "2024-02-03 17:09:33",
116
- "type": 0,
117
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419356975140866/find.png",
118
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419356975140866/find.png"
119
- }]),
91
+ var _useState10 = (0, _react.useState)([]),
120
92
  materialLib = _useState10[0],
121
93
  setMaterialLib = _useState10[1];
122
94
  // const [materialLib, setMaterialLib] = useState([]);
@@ -129,10 +101,6 @@ var FileItem = function FileItem(_ref) {
129
101
  var _useState13 = (0, _react.useState)(null),
130
102
  checkPointData = _useState13[0],
131
103
  setCheckPointData = _useState13[1];
132
- var showViewImg = function showViewImg(url) {
133
- setIsShowView(true);
134
- setViewImg(url);
135
- };
136
104
  var upload = function upload() {
137
105
  if (disabled) return;
138
106
  var inputEl = document.createElement('input');
@@ -405,7 +373,7 @@ var FileItem = function FileItem(_ref) {
405
373
  className: "upload",
406
374
  src: _upload["default"],
407
375
  alt: ""
408
- }), "\u4E0A\u4F20\u6750\u6599"), isPC && (isSigned || isSealed) && /*#__PURE__*/_react["default"].createElement("div", {
376
+ }), "\u4E0A\u4F20\u6750\u6599"), !isPC && (isSigned || isSealed) && /*#__PURE__*/_react["default"].createElement("div", {
409
377
  className: "mask"
410
378
  }, /*#__PURE__*/_react["default"].createElement("div", {
411
379
  className: "center"
@@ -9,6 +9,8 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
9
9
  var _file = require("./file");
10
10
  var _api = require("../../api");
11
11
  var categoryId = '3354397552669692408';
12
+ // 预发
13
+ var categoryIdRelease = '3291682531601133765'; // 手写签批id
12
14
  var documentId = ''; // 手写签批生成的文件id
13
15
  var contractId = ''; // 合同id
14
16
 
@@ -124,7 +126,7 @@ function _uploadSignFile() {
124
126
  headers: {
125
127
  Authorization: window.token
126
128
  },
127
- action: "\nhttps://zwfwpt.sxzwfw.gov.cn" + (window.env === 'release' ? ':10010' : '') + "/DeclarationAPI/declaration/center/signapproval/api/createbyfile",
129
+ action: "\nhttps://zwfwpt.sxzwfw.gov.cn" + (window.env === 'release' ? ':10010' : '') + "/declaration/center/signapproval/api/createbyfile",
128
130
  // 上传文件的地址
129
131
  onError: function onError(e) {
130
132
  // uni.$u.toast(e.msg || '手写签批上传文件异常');
@@ -151,7 +153,7 @@ function createbycategoryFun(fileName, documentIdVal) {
151
153
  var params = {
152
154
  subject: fileName,
153
155
  documents: [documentIdVal],
154
- categoryId: categoryId,
156
+ categoryId: window.env === 'release' ? categoryIdRelease : categoryId,
155
157
  send: true,
156
158
  tenantName: '山西省行政审批服务管理局'
157
159
  };
@@ -89,7 +89,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
89
89
  packageName = 'ydb-components-material';
90
90
  }
91
91
  if (version === void 0) {
92
- version = '0.1.70';
92
+ version = '0.1.72';
93
93
  }
94
94
  if (basicLibraryVersion === void 0) {
95
95
  basicLibraryVersion = {
@@ -94,7 +94,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
94
94
  packageName = 'ydb-components-material';
95
95
  }
96
96
  if (version === void 0) {
97
- version = '0.1.70';
97
+ version = '0.1.72';
98
98
  }
99
99
  if (basicLibraryVersion === void 0) {
100
100
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-components-material",
3
- "version": "0.1.70",
3
+ "version": "0.1.72",
4
4
  "description": "ydb-components-material",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -97,10 +97,10 @@
97
97
  },
98
98
  "componentConfig": {
99
99
  "isComponentLibrary": true,
100
- "materialSchema": "https://unpkg.com/ydb-components-material@0.1.70/build/lowcode/assets-prod.json"
100
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.72/build/lowcode/assets-prod.json"
101
101
  },
102
102
  "lcMeta": {
103
103
  "type": "component"
104
104
  },
105
- "homepage": "https://unpkg.com/ydb-components-material@0.1.70/build/index.html"
105
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.72/build/index.html"
106
106
  }