@pisell/private-materials 6.2.2 → 6.2.3
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/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/es/components/booking/info2/index.js +27 -9
- package/lib/components/booking/info2/index.js +29 -4
- package/package.json +1 -1
@@ -180,8 +180,22 @@ var Info = Provider(function (props) {
|
|
180
180
|
}));
|
181
181
|
case 3:
|
182
182
|
data = _context.sent;
|
183
|
-
|
184
|
-
|
183
|
+
try {
|
184
|
+
data.date = currentDate;
|
185
|
+
localStorage.setItem('bookingResourceList', JSON.stringify(data));
|
186
|
+
} catch (error) {
|
187
|
+
sendWarningLog({
|
188
|
+
title: "\u8BBE\u7F6E\u8D44\u6E90\u5931\u8D25",
|
189
|
+
content: [{
|
190
|
+
key: 'error',
|
191
|
+
value: JSON.stringify({
|
192
|
+
message: error === null || error === void 0 ? void 0 : error.message,
|
193
|
+
stack: error === null || error === void 0 ? void 0 : error.stack,
|
194
|
+
name: error === null || error === void 0 ? void 0 : error.name
|
195
|
+
})
|
196
|
+
}]
|
197
|
+
});
|
198
|
+
}
|
185
199
|
modal.dispatch({
|
186
200
|
type: 'setService',
|
187
201
|
payload: _objectSpread(_objectSpread({}, stateRef.current.service), {}, {
|
@@ -191,16 +205,20 @@ var Info = Provider(function (props) {
|
|
191
205
|
})
|
192
206
|
});
|
193
207
|
resolve(data);
|
194
|
-
_context.next =
|
208
|
+
_context.next = 14;
|
195
209
|
break;
|
196
|
-
case
|
197
|
-
_context.prev =
|
210
|
+
case 9:
|
211
|
+
_context.prev = 9;
|
198
212
|
_context.t0 = _context["catch"](0);
|
199
213
|
sendWarningLog({
|
200
|
-
title: "\u83B7\u53D6\u8D44\u6E90\
|
214
|
+
title: "\u83B7\u53D6\u8D44\u6E90\u5931\u8D25",
|
201
215
|
content: [{
|
202
216
|
key: 'error',
|
203
|
-
value: JSON.stringify(
|
217
|
+
value: JSON.stringify({
|
218
|
+
message: _context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.message,
|
219
|
+
stack: _context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.stack,
|
220
|
+
name: _context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.name
|
221
|
+
})
|
204
222
|
}]
|
205
223
|
});
|
206
224
|
modal.dispatch({
|
@@ -210,11 +228,11 @@ var Info = Provider(function (props) {
|
|
210
228
|
})
|
211
229
|
});
|
212
230
|
reject(_context.t0);
|
213
|
-
case
|
231
|
+
case 14:
|
214
232
|
case "end":
|
215
233
|
return _context.stop();
|
216
234
|
}
|
217
|
-
}, _callee, null, [[0,
|
235
|
+
}, _callee, null, [[0, 9]]);
|
218
236
|
})), timeoutNumber);
|
219
237
|
}));
|
220
238
|
case 4:
|
@@ -175,8 +175,24 @@ var Info = (0, import_model.Provider)((props) => {
|
|
175
175
|
},
|
176
176
|
(_d2 = (_c2 = (_b2 = (_a2 = stateRef == null ? void 0 : stateRef.current) == null ? void 0 : _a2.service) == null ? void 0 : _b2.value) == null ? void 0 : _c2.map) == null ? void 0 : _d2.call(_c2, (item) => item == null ? void 0 : item.booking_id)
|
177
177
|
);
|
178
|
-
|
179
|
-
|
178
|
+
try {
|
179
|
+
data.date = currentDate;
|
180
|
+
localStorage.setItem("bookingResourceList", JSON.stringify(data));
|
181
|
+
} catch (error) {
|
182
|
+
(0, import_utils2.sendWarningLog)({
|
183
|
+
title: `设置资源失败`,
|
184
|
+
content: [
|
185
|
+
{
|
186
|
+
key: "error",
|
187
|
+
value: JSON.stringify({
|
188
|
+
message: error == null ? void 0 : error.message,
|
189
|
+
stack: error == null ? void 0 : error.stack,
|
190
|
+
name: error == null ? void 0 : error.name
|
191
|
+
})
|
192
|
+
}
|
193
|
+
]
|
194
|
+
});
|
195
|
+
}
|
180
196
|
modal.dispatch({
|
181
197
|
type: "setService",
|
182
198
|
payload: {
|
@@ -189,8 +205,17 @@ var Info = (0, import_model.Provider)((props) => {
|
|
189
205
|
resolve(data);
|
190
206
|
} catch (error) {
|
191
207
|
(0, import_utils2.sendWarningLog)({
|
192
|
-
title:
|
193
|
-
content: [
|
208
|
+
title: `获取资源失败`,
|
209
|
+
content: [
|
210
|
+
{
|
211
|
+
key: "error",
|
212
|
+
value: JSON.stringify({
|
213
|
+
message: error == null ? void 0 : error.message,
|
214
|
+
stack: error == null ? void 0 : error.stack,
|
215
|
+
name: error == null ? void 0 : error.name
|
216
|
+
})
|
217
|
+
}
|
218
|
+
]
|
194
219
|
});
|
195
220
|
modal.dispatch({
|
196
221
|
type: "setService",
|