|
|
|
|
@ -181,7 +181,6 @@ var noData = function noData(_ref) {
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd */ 43418);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 95237);
|
|
|
|
|
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! umi */ 8931);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ant-design/icons */ 51093);
|
|
|
|
|
/* harmony import */ var _components_ui_customization__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/ui-customization */ 45277);
|
|
|
|
|
/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/env */ 33259);
|
|
|
|
|
/* harmony import */ var _utils_authority__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/authority */ 71912);
|
|
|
|
|
@ -201,7 +200,6 @@ var noData = function noData(_ref) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var handleDownload = /*#__PURE__*/function () {
|
|
|
|
|
var _ref = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(selectArrs) {
|
|
|
|
|
var _selectArrs$attachmen;
|
|
|
|
|
@ -213,7 +211,7 @@ var handleDownload = /*#__PURE__*/function () {
|
|
|
|
|
dom.style.display = "flex";
|
|
|
|
|
dom.style.flexDirection = "column";
|
|
|
|
|
dom.style.alignItems = "center";
|
|
|
|
|
dom.innerHTML = "<div class=\"mt20 mb20 font16\">\u7B7E\u5230\u4E8C\u7EF4\u7801</div>\n <div><i class='mr10 iconfont icon-dingwei' style=\"font-size:20px; color:#3061D0;\"></i>".concat(selectArrs === null || selectArrs === void 0 ? void 0 : selectArrs.place_name, "</div>\n <div class='mt20 mb20' style='width:50%'><img width=\"100%\" src=\"").concat(_utils_env__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.API_SERVER + (selectArrs === null || selectArrs === void 0 || (_selectArrs$attachmen = selectArrs.attachment) === null || _selectArrs$attachmen === void 0 ? void 0 : _selectArrs$attachmen.url), "\"></img></div>\n <div class='font14 mb20' style=\"color:#999\">\u8BF7\u5728\u6307\u5B9A\u4F4D\u7F6E\u6253\u5F00\u5FAE\u4FE1\u626B\u7801\u7B7E\u5230</div>");
|
|
|
|
|
dom.innerHTML = "<div class='font16 c-black mb30 mt30' style=\"font-weight: 500; line-height: 26px;\">".concat(selectArrs === null || selectArrs === void 0 ? void 0 : selectArrs.name, "</div>\n <div style=\"color:#000;display:flex;align-items:center;\"><i class='mr10 iconfont icon-dingwei font14' style=\" color:#3061D0;margin-right:4px;\"></i>").concat(selectArrs === null || selectArrs === void 0 ? void 0 : selectArrs.place_name, "</div>\n <div class='mt20 mb20' style='width:50%'><img width=\"100%\" src=\"").concat(_utils_env__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.API_SERVER + (selectArrs === null || selectArrs === void 0 || (_selectArrs$attachmen = selectArrs.attachment) === null || _selectArrs$attachmen === void 0 ? void 0 : _selectArrs$attachmen.url), "\"></img></div>\n <div class='font14 mb20' style=\"color:#999\">\u8BF7\u5728\u6307\u5B9A\u4F4D\u7F6E\u6253\u5F00\u5FAE\u4FE1\u626B\u7801\u7B7E\u5230</div>");
|
|
|
|
|
_context.next = 7;
|
|
|
|
|
return html2pdf_js__WEBPACK_IMPORTED_MODULE_7___default()().set({
|
|
|
|
|
image: {
|
|
|
|
|
@ -271,14 +269,24 @@ var QrcodeModal = function QrcodeModal(_ref2) {
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
className: "font16 c-black mb30",
|
|
|
|
|
style: {
|
|
|
|
|
fontWeight: 500,
|
|
|
|
|
lineHeight: "26px"
|
|
|
|
|
},
|
|
|
|
|
children: selectArrs === null || selectArrs === void 0 ? void 0 : selectArrs.name
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
wrap: false,
|
|
|
|
|
align: "top",
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, {
|
|
|
|
|
className: "mr10",
|
|
|
|
|
align: "middle",
|
|
|
|
|
style: {
|
|
|
|
|
color: "#000"
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-dingwei font14",
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: 20,
|
|
|
|
|
color: "#3061D0"
|
|
|
|
|
color: "#165DFF",
|
|
|
|
|
marginRight: 4
|
|
|
|
|
}
|
|
|
|
|
}), selectArrs === null || selectArrs === void 0 ? void 0 : selectArrs.place_name]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
@ -295,7 +303,7 @@ var QrcodeModal = function QrcodeModal(_ref2) {
|
|
|
|
|
style: {
|
|
|
|
|
color: "#999"
|
|
|
|
|
},
|
|
|
|
|
children: !(0,_utils_authority__WEBPACK_IMPORTED_MODULE_6__/* .isStudent */ .dE)() ? "分享二维码,学生在指点位置扫码签到" : "请在指定位置打开微信扫码签到"
|
|
|
|
|
children: !(0,_utils_authority__WEBPACK_IMPORTED_MODULE_6__/* .isStudent */ .dE)() ? "分享二维码,学生在指定位置打开微信扫码签到" : "请在指定位置打开微信扫码签到"
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_4__/* .CustomButton */ .op, {
|
|
|
|
|
openLoading: true,
|
|
|
|
|
@ -846,8 +854,8 @@ var auto_complete = __webpack_require__(88522);
|
|
|
|
|
var ui_customization = __webpack_require__(45277);
|
|
|
|
|
// EXTERNAL MODULE: ./src/components/MapContainer/index.tsx + 1 modules
|
|
|
|
|
var MapContainer = __webpack_require__(60135);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.1@@ant-design/icons/es/icons/EnvironmentOutlined.js + 1 modules
|
|
|
|
|
var EnvironmentOutlined = __webpack_require__(51093);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js
|
|
|
|
|
var lodash = __webpack_require__(89392);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Attendance/components/MapButtonForm.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -879,45 +887,56 @@ var MapButtonForm = function MapButtonForm(_ref) {
|
|
|
|
|
setAMap = _useState2[1];
|
|
|
|
|
var _useState3 = (0,_react_17_0_2_react.useState)(false),
|
|
|
|
|
_useState4 = slicedToArray_default()(_useState3, 2),
|
|
|
|
|
mapContainerModal = _useState4[0],
|
|
|
|
|
setMapContainerModal = _useState4[1];
|
|
|
|
|
var _useState5 = (0,_react_17_0_2_react.useState)({
|
|
|
|
|
isOpen = _useState4[0],
|
|
|
|
|
setIsOpen = _useState4[1];
|
|
|
|
|
var _useState5 = (0,_react_17_0_2_react.useState)(false),
|
|
|
|
|
_useState6 = slicedToArray_default()(_useState5, 2),
|
|
|
|
|
mapContainerModal = _useState6[0],
|
|
|
|
|
setMapContainerModal = _useState6[1];
|
|
|
|
|
var handlethrottleSearch = (0,_react_17_0_2_react.useRef)(null);
|
|
|
|
|
var _useState7 = (0,_react_17_0_2_react.useState)({
|
|
|
|
|
autoComplete: null,
|
|
|
|
|
autoCompleteRes: {},
|
|
|
|
|
marker: null,
|
|
|
|
|
circle: null,
|
|
|
|
|
map: null
|
|
|
|
|
}),
|
|
|
|
|
_useState6 = slicedToArray_default()(_useState5, 2),
|
|
|
|
|
mapUse = _useState6[0],
|
|
|
|
|
setMapUse = _useState6[1];
|
|
|
|
|
var _useState7 = (0,_react_17_0_2_react.useState)({
|
|
|
|
|
_useState8 = slicedToArray_default()(_useState7, 2),
|
|
|
|
|
mapUse = _useState8[0],
|
|
|
|
|
setMapUse = _useState8[1];
|
|
|
|
|
var _useState9 = (0,_react_17_0_2_react.useState)({
|
|
|
|
|
keywords: "",
|
|
|
|
|
range: 100,
|
|
|
|
|
place_name: ""
|
|
|
|
|
}),
|
|
|
|
|
_useState8 = slicedToArray_default()(_useState7, 2),
|
|
|
|
|
data = _useState8[0],
|
|
|
|
|
setData = _useState8[1];
|
|
|
|
|
var _useState9 = (0,_react_17_0_2_react.useState)([]),
|
|
|
|
|
_useState10 = slicedToArray_default()(_useState9, 2),
|
|
|
|
|
place = _useState10[0],
|
|
|
|
|
setPlace = _useState10[1];
|
|
|
|
|
data = _useState10[0],
|
|
|
|
|
setData = _useState10[1];
|
|
|
|
|
var _useState11 = (0,_react_17_0_2_react.useState)([]),
|
|
|
|
|
_useState12 = slicedToArray_default()(_useState11, 2),
|
|
|
|
|
place = _useState12[0],
|
|
|
|
|
setPlace = _useState12[1];
|
|
|
|
|
var handleSearch = function handleSearch() {
|
|
|
|
|
var _mapUse$autoComplete;
|
|
|
|
|
var keyword = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : data.keywords;
|
|
|
|
|
(_mapUse$autoComplete = mapUse.autoComplete) === null || _mapUse$autoComplete === void 0 || _mapUse$autoComplete.search(keyword, function (status, result) {
|
|
|
|
|
if (status == "complete") {
|
|
|
|
|
var _result$tips;
|
|
|
|
|
setMapUse(objectSpread2_default()(objectSpread2_default()({}, mapUse), {}, {
|
|
|
|
|
autoCompleteRes: result || {}
|
|
|
|
|
autoCompleteRes: objectSpread2_default()(objectSpread2_default()({}, result), {}, {
|
|
|
|
|
tips: result === null || result === void 0 || (_result$tips = result.tips) === null || _result$tips === void 0 ? void 0 : _result$tips.filter(function (item) {
|
|
|
|
|
return item.location;
|
|
|
|
|
})
|
|
|
|
|
}) || {}
|
|
|
|
|
}));
|
|
|
|
|
setIsOpen(true);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
var MapContainerOptions = {
|
|
|
|
|
// AMap,
|
|
|
|
|
loadOptions: {
|
|
|
|
|
plugins: ["AMap.AutoComplete", 'AMap.Geolocation', "AMap.Geocoder", "AMap.ToolBar"]
|
|
|
|
|
plugins: ["AMap.AutoComplete", 'AMap.Geolocation', "AMap.Geocoder", "AMap.ToolBar", "AMap.PlaceSearch"]
|
|
|
|
|
},
|
|
|
|
|
MapUse: function MapUse(_ref2) {
|
|
|
|
|
var AMap = _ref2.AMap,
|
|
|
|
|
@ -962,7 +981,9 @@ var MapButtonForm = function MapButtonForm(_ref) {
|
|
|
|
|
center: CurrentPosition,
|
|
|
|
|
radius: data.range || 300,
|
|
|
|
|
//半径
|
|
|
|
|
fillColor: '#1791fc',
|
|
|
|
|
strokeColor: "#165DFF",
|
|
|
|
|
fillOpacity: 0.2,
|
|
|
|
|
fillColor: '#165DFF',
|
|
|
|
|
zIndex: 50,
|
|
|
|
|
map: map
|
|
|
|
|
});
|
|
|
|
|
@ -972,7 +993,7 @@ var MapButtonForm = function MapButtonForm(_ref) {
|
|
|
|
|
setPlace([center.lng, center.lat]);
|
|
|
|
|
console.log("dragend", [center.lng, center.lat]);
|
|
|
|
|
});
|
|
|
|
|
status !== "complete" && map.setCenter(CurrentPosition);
|
|
|
|
|
map.setCenter(CurrentPosition);
|
|
|
|
|
setPlace(CurrentPosition);
|
|
|
|
|
setMapUse(objectSpread2_default()(objectSpread2_default()({}, mapUse), {}, {
|
|
|
|
|
marker: marker,
|
|
|
|
|
@ -1014,11 +1035,21 @@ var MapButtonForm = function MapButtonForm(_ref) {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, [AMap, place]);
|
|
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
|
|
if (mapUse.autoComplete) {
|
|
|
|
|
handlethrottleSearch.current = (0,lodash.throttle)(function (keywords) {
|
|
|
|
|
return handleSearch(keywords);
|
|
|
|
|
}, 1000, {
|
|
|
|
|
leading: false,
|
|
|
|
|
trailing: true
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, [mapUse.autoComplete]);
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
id: (props === null || props === void 0 ? void 0 : props.scrollId) || '',
|
|
|
|
|
children: (props === null || props === void 0 || (_props$value = props.value) === null || _props$value === void 0 ? void 0 : _props$value.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
gutter: 10,
|
|
|
|
|
gutter: 4,
|
|
|
|
|
align: "middle",
|
|
|
|
|
wrap: false,
|
|
|
|
|
style: {
|
|
|
|
|
@ -1028,10 +1059,10 @@ var MapButtonForm = function MapButtonForm(_ref) {
|
|
|
|
|
setMapContainerModal(true);
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(EnvironmentOutlined/* default */.Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-dingwei font14",
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: 25,
|
|
|
|
|
color: "#3061D0"
|
|
|
|
|
color: "#165DFF"
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
@ -1082,28 +1113,35 @@ var MapButtonForm = function MapButtonForm(_ref) {
|
|
|
|
|
align: "middle",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(auto_complete/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
width: 200
|
|
|
|
|
},
|
|
|
|
|
size: "large",
|
|
|
|
|
showSearch: true,
|
|
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u7B7E\u5230\u5730\u70B9",
|
|
|
|
|
popupMatchSelectWidth: 254,
|
|
|
|
|
value: data === null || data === void 0 ? void 0 : data.keywords,
|
|
|
|
|
popupMatchSelectWidth: 300,
|
|
|
|
|
onChange: function onChange(keywords) {
|
|
|
|
|
setData(objectSpread2_default()(objectSpread2_default()({}, data), {}, {
|
|
|
|
|
keywords: keywords
|
|
|
|
|
}));
|
|
|
|
|
handlethrottleSearch.current(keywords);
|
|
|
|
|
},
|
|
|
|
|
open: isOpen,
|
|
|
|
|
onBlur: function onBlur() {
|
|
|
|
|
setIsOpen(false);
|
|
|
|
|
},
|
|
|
|
|
onFocus: function onFocus() {
|
|
|
|
|
setIsOpen(true);
|
|
|
|
|
},
|
|
|
|
|
onSelect: function onSelect(value) {
|
|
|
|
|
var _mapUse$autoCompleteR, _item$location, _item$location2, _item$location3, _item$location4;
|
|
|
|
|
var _mapUse$autoCompleteR, _item$location, _item$location2;
|
|
|
|
|
var item = (_mapUse$autoCompleteR = mapUse.autoCompleteRes) === null || _mapUse$autoCompleteR === void 0 ? void 0 : _mapUse$autoCompleteR.tips.find(function (item) {
|
|
|
|
|
return item.id == value;
|
|
|
|
|
});
|
|
|
|
|
setData(objectSpread2_default()(objectSpread2_default()({}, data), {}, {
|
|
|
|
|
keywords: item.name
|
|
|
|
|
}));
|
|
|
|
|
setPlace([item === null || item === void 0 || (_item$location = item.location) === null || _item$location === void 0 ? void 0 : _item$location.lng, item === null || item === void 0 || (_item$location2 = item.location) === null || _item$location2 === void 0 ? void 0 : _item$location2.lat]);
|
|
|
|
|
mapUse.map.setCenter([item === null || item === void 0 || (_item$location3 = item.location) === null || _item$location3 === void 0 ? void 0 : _item$location3.lng, item === null || item === void 0 || (_item$location4 = item.location) === null || _item$location4 === void 0 ? void 0 : _item$location4.lat]);
|
|
|
|
|
var mapplace = [item === null || item === void 0 || (_item$location = item.location) === null || _item$location === void 0 ? void 0 : _item$location.lng, item === null || item === void 0 || (_item$location2 = item.location) === null || _item$location2 === void 0 ? void 0 : _item$location2.lat];
|
|
|
|
|
setPlace(mapplace);
|
|
|
|
|
mapUse.map.setCenter(mapplace);
|
|
|
|
|
},
|
|
|
|
|
options: (_ref3 = ((_mapUse$autoCompleteR2 = mapUse.autoCompleteRes) === null || _mapUse$autoCompleteR2 === void 0 ? void 0 : _mapUse$autoCompleteR2.tips) || []) === null || _ref3 === void 0 ? void 0 : _ref3.map(function (item) {
|
|
|
|
|
return {
|
|
|
|
|
@ -1125,18 +1163,30 @@ var MapButtonForm = function MapButtonForm(_ref) {
|
|
|
|
|
value: item.id
|
|
|
|
|
};
|
|
|
|
|
}),
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
|
|
|
|
|
enterButton: true,
|
|
|
|
|
onSearch: function onSearch(value) {
|
|
|
|
|
return handleSearch(value);
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
|
|
|
|
size: "large",
|
|
|
|
|
width: 200,
|
|
|
|
|
onPressEnter: function onPressEnter(e) {
|
|
|
|
|
return handleSearch(e.target.value);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
size: "large",
|
|
|
|
|
type: "primary",
|
|
|
|
|
style: {
|
|
|
|
|
marginLeft: 2,
|
|
|
|
|
background: "#3061D0"
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
handleSearch();
|
|
|
|
|
},
|
|
|
|
|
children: "\u641C\u7D22"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
|
|
|
|
|
size: "large",
|
|
|
|
|
className: "ml20",
|
|
|
|
|
style: {
|
|
|
|
|
width: 100
|
|
|
|
|
@ -2882,16 +2932,18 @@ var Attendance_ShixunsListPage = function ShixunsListPage(_ref) {
|
|
|
|
|
})
|
|
|
|
|
}), v.mode === "QRCODE" && !(0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
|
|
|
|
|
style: {
|
|
|
|
|
borderRadius: 2
|
|
|
|
|
borderRadius: 2,
|
|
|
|
|
padding: "5px 12px"
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick(e) {
|
|
|
|
|
e.stopPropagation();
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
handleQrcode(v);
|
|
|
|
|
},
|
|
|
|
|
size: "small",
|
|
|
|
|
ghost: true,
|
|
|
|
|
type: "primary",
|
|
|
|
|
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-erweima font14"
|
|
|
|
|
}),
|
|
|
|
|
children: "\u7B7E\u5230\u4E8C\u7EF4\u7801"
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
@ -2935,7 +2987,7 @@ var Attendance_ShixunsListPage = function ShixunsListPage(_ref) {
|
|
|
|
|
flex: 1,
|
|
|
|
|
children: ["\u5F00\u59CB\u7ED3\u675F\u65F6\u95F4:", v.attendance_date, " ", v.start_time, "~", v.end_time]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
children: v.attendance_status === 'ABSENCE' && (currentKey == 'all' || currentKey == 'ongoing') && (0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
children: v.attendance_status === 'ABSENCE' && v.status !== 'history' && (currentKey == 'all' || currentKey == 'ongoing') && (0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
style: {
|
|
|
|
|
width: 100
|
|
|
|
|
},
|
|
|
|
|
|