ztxkui 3.8.10 → 3.8.11
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.
|
@@ -167,31 +167,28 @@ var Sinatures = function (_a) {
|
|
|
167
167
|
.then(function (res) {
|
|
168
168
|
var _a, _b, _c;
|
|
169
169
|
if (res.status === 200 && res.data.code === 200) {
|
|
170
|
-
// 当前部门和流程没查到数据时 调下面接口查所有的印章
|
|
171
|
-
if (
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
setElectronicList((_c = (_b = res.data.data) === null || _b === void 0 ? void 0 : _b.records[0]) === null || _c === void 0 ? void 0 : _c.sealInfoList);
|
|
170
|
+
// 当前部门和流程没查到数据时 调下面接口查所有的印章 20220930注释掉这个逻辑
|
|
171
|
+
// if (res.data.data?.records.length === 0) {
|
|
172
|
+
// request({
|
|
173
|
+
// url: '/api/zmdms-resource/qyssealinfo/list',
|
|
174
|
+
// method: 'GET',
|
|
175
|
+
// })
|
|
176
|
+
// .then((res) => {
|
|
177
|
+
// if (res.data?.data?.[0]) {
|
|
178
|
+
// const list = res.data.data.map((item) => ({
|
|
179
|
+
// sealId: item.id,
|
|
180
|
+
// sealName: item.sealName,
|
|
181
|
+
// }));
|
|
182
|
+
// setElectronicList(list);
|
|
183
|
+
// } else {
|
|
184
|
+
// message.error(res.data.msg || '出错了');
|
|
185
|
+
// }
|
|
186
|
+
// })
|
|
187
|
+
// .catch((error) => {
|
|
188
|
+
// message.error(error?.response?.data?.msg || '请求失败!');
|
|
189
|
+
// });
|
|
190
|
+
// }
|
|
191
|
+
setElectronicList(((_c = (_b = (_a = res.data.data) === null || _a === void 0 ? void 0 : _a.records) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.sealInfoList) || []);
|
|
195
192
|
}
|
|
196
193
|
else {
|
|
197
194
|
message.error(res.data.msg || '出错了');
|