Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent 2d0f73979d
commit 74f2aee161

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.46b7ca7a.js"></script>
<script src="/react/build/umi.14b29fec.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -605,12 +605,12 @@ Descriptions.Item = Item;
var es_select = __webpack_require__(57809);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/date-picker/index.js + 66 modules
var date_picker = __webpack_require__(22744);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/table/index.js + 85 modules
var table = __webpack_require__(52306);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/collapse/index.js + 8 modules
var collapse = __webpack_require__(36381);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
@ -636,6 +636,8 @@ var RenderHtml = __webpack_require__(77957);
var util = __webpack_require__(43588);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
var DownOutlined = __webpack_require__(8876);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(6638);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Paths/Detail/Statistics/Practice/index.tsx
@ -665,6 +667,7 @@ var _excluded = ["data"],
var QuesTitle = function QuesTitle(data) {
var _divDom$children;
var divDom = document.createElement("html");
@ -1483,6 +1486,7 @@ var Statistics = function Statistics(_ref8) {
page: 1,
sort: "asc",
order: null,
order_by: undefined,
question_type: [],
practiceId: params === null || params === void 0 ? void 0 : params.practiceId,
stage_id: params === null || params === void 0 ? void 0 : params.stageId
@ -1520,7 +1524,8 @@ var Statistics = function Statistics(_ref8) {
}, {
title: '刷题数量',
dataIndex: 'total_answer_count',
ellipsis: true
ellipsis: true,
sorter: true
}, {
title: '正确数量',
dataIndex: 'right_answer_count',
@ -1538,7 +1543,8 @@ var Statistics = function Statistics(_ref8) {
title: '最近练习时间',
dataIndex: 'updated_at',
ellipsis: true,
width: 200
width: 200,
sorter: true
}, {
title: '状态',
dataIndex: 'status',
@ -1794,7 +1800,7 @@ var Statistics = function Statistics(_ref8) {
items: [{
key: 1,
label: '练习名称',
children: PracticeData === null || PracticeData === void 0 || (_PracticeData$data2 = PracticeData.data) === null || _PracticeData$data2 === void 0 ? void 0 : _PracticeData$data2.examination_bank_name
children: PracticeData === null || PracticeData === void 0 || (_PracticeData$data2 = PracticeData.data) === null || _PracticeData$data2 === void 0 ? void 0 : _PracticeData$data2.name
}, {
key: 2,
label: '题目总数',
@ -1888,6 +1894,24 @@ var Statistics = function Statistics(_ref8) {
marginBottom: 0
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"].RangePicker, {})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
style: {
marginLeft: "auto"
},
type: "primary",
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shangchuanfujian"
}),
onClick: function onClick() {
(0,util/* downLoadFile */.FH)('', (0,util/* setUrlQuery */.NY)({
url: env/* default */.Z.API_SERVER + "/api/subject_exercises/".concat(params === null || params === void 0 ? void 0 : params.practiceId, ".xlsx"),
query: objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
practiceId: params === null || params === void 0 ? void 0 : params.practiceId,
stage_id: params === null || params === void 0 ? void 0 : params.stageId
})
}));
},
children: "\u5BFC\u51FA"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
className: "mt20",
@ -1896,6 +1920,13 @@ var Statistics = function Statistics(_ref8) {
locale: {
emptyText: /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})
},
onChange: function onChange(p, _, sorter) {
var _sorter$order;
setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
order: sorter === null || sorter === void 0 ? void 0 : sorter.field,
sort: (sorter === null || sorter === void 0 || (_sorter$order = sorter.order) === null || _sorter$order === void 0 ? void 0 : _sorter$order.replace("end", "")) || "asc"
}));
},
pagination: {
showQuickJumper: true,
onChange: function onChange(page, limit) {
@ -1939,6 +1970,7 @@ var Statistics = function Statistics(_ref8) {
marginBottom: 0
},
name: "question_type",
initialValue: ["all"],
label: "\u9009\u62E9\u9898\u578B",
normalize: function normalize(value, prevValue, prevValues) {
var _ref10, _ref11, _value;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save