ydb-components-material 0.1.170 → 0.1.171
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/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/{umi.be8de605.js → umi.cd0caf82.js} +1 -1
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.js +1 -1
- package/dist/BizComps.js.map +1 -1
- package/es/components/file-list/item.js +2 -1
- package/es/components/file-list/signerInfo.js +8 -3
- package/es/components/sign-file/index.js +1 -1
- package/lib/components/file-list/item.js +2 -1
- package/lib/components/file-list/signerInfo.js +8 -3
- package/lib/components/sign-file/index.js +1 -1
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/meta.js +1 -1
- package/package.json +3 -3
|
@@ -26,7 +26,8 @@ function SignerInfo(props) {
|
|
|
26
26
|
valChange = props.valChange,
|
|
27
27
|
fileIndex = props.fileIndex,
|
|
28
28
|
fileItemIndex = props.index,
|
|
29
|
-
subIndex = props.subIndex
|
|
29
|
+
subIndex = props.subIndex,
|
|
30
|
+
env = props.env;
|
|
30
31
|
var _React$useState = React.useState([]),
|
|
31
32
|
signerInfoList = _React$useState[0],
|
|
32
33
|
setSignerInfoList = _React$useState[1];
|
|
@@ -37,6 +38,9 @@ function SignerInfo(props) {
|
|
|
37
38
|
var _useState2 = useState(''),
|
|
38
39
|
url = _useState2[0],
|
|
39
40
|
setUrl = _useState2[1];
|
|
41
|
+
var _useState3 = useState(''),
|
|
42
|
+
urlStr = _useState3[0],
|
|
43
|
+
setUrlStr = _useState3[1];
|
|
40
44
|
var handleFieldChange = function handleFieldChange(field, val, index) {
|
|
41
45
|
var _extends2;
|
|
42
46
|
var newList = [].concat(signerInfoList);
|
|
@@ -142,6 +146,7 @@ function SignerInfo(props) {
|
|
|
142
146
|
fileObj.signId = id;
|
|
143
147
|
valChange === null || valChange === void 0 ? void 0 : valChange(fileObj, fileIndex, fileItemIndex, subIndex);
|
|
144
148
|
setUrl("https://zwfw.xzspglj.taiyuan.gov.cn/threeSign?id=" + id + "&draftNo=" + workNo + "&taskHandleItem=" + taskHandleItem);
|
|
149
|
+
setUrlStr((env && env.indexOf('release') > -1 ? 'http://221.204.12.137:11000/mh/pages/sign/threeSign' : 'https://zwfw.xzspglj.taiyuan.gov.cn/threeSign') + "?id=" + id + "&draftNo=" + workNo + "&taskHandleItem=" + taskHandleItem);
|
|
145
150
|
setShowQRcode(true);
|
|
146
151
|
} else {
|
|
147
152
|
_Message.warning('信息保存失败,请重试');
|
|
@@ -173,10 +178,10 @@ function SignerInfo(props) {
|
|
|
173
178
|
var onCopy = function onCopy() {
|
|
174
179
|
var _navigator$clipboard;
|
|
175
180
|
if ((_navigator$clipboard = navigator.clipboard) !== null && _navigator$clipboard !== void 0 && _navigator$clipboard.writeText) {
|
|
176
|
-
navigator.clipboard.writeText(
|
|
181
|
+
navigator.clipboard.writeText(urlStr);
|
|
177
182
|
} else {
|
|
178
183
|
var textarea = document.createElement('textarea');
|
|
179
|
-
textarea.value =
|
|
184
|
+
textarea.value = urlStr;
|
|
180
185
|
textarea.style.position = 'fixed';
|
|
181
186
|
textarea.style.opacity = '0';
|
|
182
187
|
document.body.appendChild(textarea);
|
|
@@ -344,7 +344,7 @@ var SignFile = function SignFile(_ref) {
|
|
|
344
344
|
});
|
|
345
345
|
case 3:
|
|
346
346
|
sealList = _context5.sent;
|
|
347
|
-
if (!(userInfo.
|
|
347
|
+
if (!(userInfo.certificateSno && userInfo.certificateSno.substring(0, 2) === '92')) {
|
|
348
348
|
_context5.next = 4;
|
|
349
349
|
break;
|
|
350
350
|
}
|
|
@@ -32,7 +32,8 @@ function SignerInfo(props) {
|
|
|
32
32
|
valChange = props.valChange,
|
|
33
33
|
fileIndex = props.fileIndex,
|
|
34
34
|
fileItemIndex = props.index,
|
|
35
|
-
subIndex = props.subIndex
|
|
35
|
+
subIndex = props.subIndex,
|
|
36
|
+
env = props.env;
|
|
36
37
|
var _React$useState = _react["default"].useState([]),
|
|
37
38
|
signerInfoList = _React$useState[0],
|
|
38
39
|
setSignerInfoList = _React$useState[1];
|
|
@@ -43,6 +44,9 @@ function SignerInfo(props) {
|
|
|
43
44
|
var _useState2 = (0, _react.useState)(''),
|
|
44
45
|
url = _useState2[0],
|
|
45
46
|
setUrl = _useState2[1];
|
|
47
|
+
var _useState3 = (0, _react.useState)(''),
|
|
48
|
+
urlStr = _useState3[0],
|
|
49
|
+
setUrlStr = _useState3[1];
|
|
46
50
|
var handleFieldChange = function handleFieldChange(field, val, index) {
|
|
47
51
|
var _extends2;
|
|
48
52
|
var newList = [].concat(signerInfoList);
|
|
@@ -148,6 +152,7 @@ function SignerInfo(props) {
|
|
|
148
152
|
fileObj.signId = id;
|
|
149
153
|
valChange === null || valChange === void 0 ? void 0 : valChange(fileObj, fileIndex, fileItemIndex, subIndex);
|
|
150
154
|
setUrl("https://zwfw.xzspglj.taiyuan.gov.cn/threeSign?id=" + id + "&draftNo=" + workNo + "&taskHandleItem=" + taskHandleItem);
|
|
155
|
+
setUrlStr((env && env.indexOf('release') > -1 ? 'http://221.204.12.137:11000/mh/pages/sign/threeSign' : 'https://zwfw.xzspglj.taiyuan.gov.cn/threeSign') + "?id=" + id + "&draftNo=" + workNo + "&taskHandleItem=" + taskHandleItem);
|
|
151
156
|
setShowQRcode(true);
|
|
152
157
|
} else {
|
|
153
158
|
_message["default"].warning('信息保存失败,请重试');
|
|
@@ -179,10 +184,10 @@ function SignerInfo(props) {
|
|
|
179
184
|
var onCopy = function onCopy() {
|
|
180
185
|
var _navigator$clipboard;
|
|
181
186
|
if ((_navigator$clipboard = navigator.clipboard) !== null && _navigator$clipboard !== void 0 && _navigator$clipboard.writeText) {
|
|
182
|
-
navigator.clipboard.writeText(
|
|
187
|
+
navigator.clipboard.writeText(urlStr);
|
|
183
188
|
} else {
|
|
184
189
|
var textarea = document.createElement('textarea');
|
|
185
|
-
textarea.value =
|
|
190
|
+
textarea.value = urlStr;
|
|
186
191
|
textarea.style.position = 'fixed';
|
|
187
192
|
textarea.style.opacity = '0';
|
|
188
193
|
document.body.appendChild(textarea);
|
|
@@ -350,7 +350,7 @@ var SignFile = function SignFile(_ref) {
|
|
|
350
350
|
});
|
|
351
351
|
case 3:
|
|
352
352
|
sealList = _context5.sent;
|
|
353
|
-
if (!(userInfo.
|
|
353
|
+
if (!(userInfo.certificateSno && userInfo.certificateSno.substring(0, 2) === '92')) {
|
|
354
354
|
_context5.next = 4;
|
|
355
355
|
break;
|
|
356
356
|
}
|
package/lowcode_es/meta.js
CHANGED
|
@@ -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.
|
|
101
|
+
version = '0.1.171';
|
|
102
102
|
}
|
|
103
103
|
if (basicLibraryVersion === void 0) {
|
|
104
104
|
basicLibraryVersion = {
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -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.
|
|
106
|
+
version = '0.1.171';
|
|
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.
|
|
3
|
+
"version": "0.1.171",
|
|
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.
|
|
105
|
+
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.171/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.
|
|
110
|
+
"homepage": "https://unpkg.com/ydb-components-material@0.1.171/build/index.html"
|
|
111
111
|
}
|