ydb-components-material 0.1.136 → 0.1.137
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.d5d2dc1b.js → umi.7a423576.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/signerInfo.js +16 -4
- package/es/components/sign-file/index.js +2 -2
- package/lib/components/file-list/signerInfo.js +16 -4
- package/lib/components/sign-file/index.js +2 -2
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/meta.js +1 -1
- package/package.json +3 -3
|
@@ -55,7 +55,7 @@ function SignerInfo(props) {
|
|
|
55
55
|
};
|
|
56
56
|
var next = /*#__PURE__*/function () {
|
|
57
57
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
58
|
-
var i, item, fields, _i, _fields, field, val, fileObj, saveRes, id, workNo;
|
|
58
|
+
var i, item, fields, _i, _fields, field, val, fileObj, saveRes, id, workNo, taskHandleItem;
|
|
59
59
|
return _regeneratorRuntime.wrap(function (_context) {
|
|
60
60
|
while (1) switch (_context.prev = _context.next) {
|
|
61
61
|
case 0:
|
|
@@ -135,10 +135,10 @@ function SignerInfo(props) {
|
|
|
135
135
|
case 6:
|
|
136
136
|
saveRes = _context.sent;
|
|
137
137
|
if (saveRes) {
|
|
138
|
-
id = saveRes.id, workNo = saveRes.workNo;
|
|
138
|
+
id = saveRes.id, workNo = saveRes.workNo, taskHandleItem = saveRes.taskHandleItem;
|
|
139
139
|
fileObj.signId = id;
|
|
140
140
|
valChange === null || valChange === void 0 ? void 0 : valChange(fileObj, fileIndex, fileItemIndex, subIndex);
|
|
141
|
-
setUrl("https://zwfw.xzspglj.taiyuan.gov.cn/threeSign?id=" + id + "&draftNo=" + workNo);
|
|
141
|
+
setUrl("https://zwfw.xzspglj.taiyuan.gov.cn/threeSign?id=" + id + "&draftNo=" + workNo + "&taskHandleItem=" + taskHandleItem);
|
|
142
142
|
setShowQRcode(true);
|
|
143
143
|
} else {
|
|
144
144
|
_Message.warning('信息保存失败,请重试');
|
|
@@ -168,7 +168,19 @@ function SignerInfo(props) {
|
|
|
168
168
|
setSignerInfoList(newList);
|
|
169
169
|
};
|
|
170
170
|
var onCopy = function onCopy() {
|
|
171
|
-
|
|
171
|
+
var _navigator$clipboard;
|
|
172
|
+
if ((_navigator$clipboard = navigator.clipboard) !== null && _navigator$clipboard !== void 0 && _navigator$clipboard.writeText) {
|
|
173
|
+
navigator.clipboard.writeText(url);
|
|
174
|
+
} else {
|
|
175
|
+
var textarea = document.createElement('textarea');
|
|
176
|
+
textarea.value = url;
|
|
177
|
+
textarea.style.position = 'fixed';
|
|
178
|
+
textarea.style.opacity = '0';
|
|
179
|
+
document.body.appendChild(textarea);
|
|
180
|
+
textarea.select();
|
|
181
|
+
document.execCommand('copy');
|
|
182
|
+
document.body.removeChild(textarea);
|
|
183
|
+
}
|
|
172
184
|
_Message.success('复制成功');
|
|
173
185
|
};
|
|
174
186
|
useEffect(function () {
|
|
@@ -15,8 +15,8 @@ import { querySeal } from "../file-list/sealUtil";
|
|
|
15
15
|
import { getGuideImg, getUrlById, onlinePreview } from "../../api";
|
|
16
16
|
import { getFileExtension } from "./file.js";
|
|
17
17
|
import "./index.scss";
|
|
18
|
-
var SIGN = 1; // 签名
|
|
19
|
-
var SEAL = 2; // 签章
|
|
18
|
+
var SIGN = '1'; // 签名
|
|
19
|
+
var SEAL = '2'; // 签章
|
|
20
20
|
|
|
21
21
|
var SignFile = function SignFile(_ref) {
|
|
22
22
|
var file = _ref.file,
|
|
@@ -61,7 +61,7 @@ function SignerInfo(props) {
|
|
|
61
61
|
};
|
|
62
62
|
var next = /*#__PURE__*/function () {
|
|
63
63
|
var _ref = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
64
|
-
var i, item, fields, _i, _fields, field, val, fileObj, saveRes, id, workNo;
|
|
64
|
+
var i, item, fields, _i, _fields, field, val, fileObj, saveRes, id, workNo, taskHandleItem;
|
|
65
65
|
return _regenerator["default"].wrap(function (_context) {
|
|
66
66
|
while (1) switch (_context.prev = _context.next) {
|
|
67
67
|
case 0:
|
|
@@ -141,10 +141,10 @@ function SignerInfo(props) {
|
|
|
141
141
|
case 6:
|
|
142
142
|
saveRes = _context.sent;
|
|
143
143
|
if (saveRes) {
|
|
144
|
-
id = saveRes.id, workNo = saveRes.workNo;
|
|
144
|
+
id = saveRes.id, workNo = saveRes.workNo, taskHandleItem = saveRes.taskHandleItem;
|
|
145
145
|
fileObj.signId = id;
|
|
146
146
|
valChange === null || valChange === void 0 ? void 0 : valChange(fileObj, fileIndex, fileItemIndex, subIndex);
|
|
147
|
-
setUrl("https://zwfw.xzspglj.taiyuan.gov.cn/threeSign?id=" + id + "&draftNo=" + workNo);
|
|
147
|
+
setUrl("https://zwfw.xzspglj.taiyuan.gov.cn/threeSign?id=" + id + "&draftNo=" + workNo + "&taskHandleItem=" + taskHandleItem);
|
|
148
148
|
setShowQRcode(true);
|
|
149
149
|
} else {
|
|
150
150
|
_message["default"].warning('信息保存失败,请重试');
|
|
@@ -174,7 +174,19 @@ function SignerInfo(props) {
|
|
|
174
174
|
setSignerInfoList(newList);
|
|
175
175
|
};
|
|
176
176
|
var onCopy = function onCopy() {
|
|
177
|
-
|
|
177
|
+
var _navigator$clipboard;
|
|
178
|
+
if ((_navigator$clipboard = navigator.clipboard) !== null && _navigator$clipboard !== void 0 && _navigator$clipboard.writeText) {
|
|
179
|
+
navigator.clipboard.writeText(url);
|
|
180
|
+
} else {
|
|
181
|
+
var textarea = document.createElement('textarea');
|
|
182
|
+
textarea.value = url;
|
|
183
|
+
textarea.style.position = 'fixed';
|
|
184
|
+
textarea.style.opacity = '0';
|
|
185
|
+
document.body.appendChild(textarea);
|
|
186
|
+
textarea.select();
|
|
187
|
+
document.execCommand('copy');
|
|
188
|
+
document.body.removeChild(textarea);
|
|
189
|
+
}
|
|
178
190
|
_message["default"].success('复制成功');
|
|
179
191
|
};
|
|
180
192
|
(0, _react.useEffect)(function () {
|
|
@@ -21,8 +21,8 @@ var _api = require("../../api");
|
|
|
21
21
|
var _file2 = require("./file.js");
|
|
22
22
|
require("./index.scss");
|
|
23
23
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
24
|
-
var SIGN = 1; // 签名
|
|
25
|
-
var SEAL = 2; // 签章
|
|
24
|
+
var SIGN = '1'; // 签名
|
|
25
|
+
var SEAL = '2'; // 签章
|
|
26
26
|
|
|
27
27
|
var SignFile = function SignFile(_ref) {
|
|
28
28
|
var file = _ref.file,
|
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.137';
|
|
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.137';
|
|
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.137",
|
|
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.137/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.137/build/index.html"
|
|
111
111
|
}
|