Auto Submit

dev_local_v9_test5
autosubmit 2 years ago
parent 3c7f2cb29a
commit 619631d757

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

@ -171,7 +171,7 @@ html {
color: #fff;
width: 85%;
margin: auto;
height: 18%;
height: 4vh;
}
.box___jV0Q4 .content___aG3q2 .content_center___R_uXQ {
margin-right: 1rem;
@ -290,7 +290,7 @@ html {
color: #fff;
width: 90%;
margin: auto;
height: 4.2vh;
height: 5.2vh;
}
.box___jV0Q4 .content___aG3q2 .content_right___UnKNC .yxzt_lists___DnEfR {
display: flex;
@ -326,7 +326,7 @@ html {
overflow: hidden;
display: flex;
align-items: center;
width: 18vw;
width: 'auto';
height: 10%;
background-color: #011C6A;
}

@ -1219,7 +1219,7 @@ var Navigation = function Navigation(_ref) {
case 2:
res = _context3.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
total = (res === null || res === void 0 ? void 0 : res.data.apply_total) + (res === null || res === void 0 ? void 0 : res.data.pending_total) + (res === null || res === void 0 ? void 0 : res.data.unreturn_total);
total = Number(res === null || res === void 0 ? void 0 : res.data.apply_total) + Number(res === null || res === void 0 ? void 0 : res.data.pending_total) + Number(res === null || res === void 0 ? void 0 : res.data.unreturn_total);
setMaterialTotal(total || 100);
setMaterialData(res === null || res === void 0 ? void 0 : res.data);
}
@ -1851,7 +1851,7 @@ var Navigation = function Navigation(_ref) {
style: {
color: item === null || item === void 0 ? void 0 : item.color
},
children: (deviceAlarmData === null || deviceAlarmData === void 0 ? void 0 : deviceAlarmData.total) || 0
children: (item === null || item === void 0 ? void 0 : item.count) || 0
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: item === null || item === void 0 ? void 0 : item.img,
className: Wisdommodules.yxzt_img
@ -1954,14 +1954,18 @@ var Navigation = function Navigation(_ref) {
children: item === null || item === void 0 ? void 0 : item.name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: "flex"
display: "flex",
alignItems: 'center'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Wisdommodules.jdt_warp,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(progress/* default */.Z, {
steps: item === null || item === void 0 ? void 0 : item.count,
percent: materialTotal,
percent: item.count != 0 ? (item.count / materialTotal * 100).toFixed(2) : 0,
steps: 60,
size: [4, 18],
style: {
height: '1.2vh'
},
strokeColor: item === null || item === void 0 ? void 0 : item.strokeColor,
trailColor: "rgba(0, 0, 0, 0.06)",
showInfo: false
@ -1969,7 +1973,7 @@ var Navigation = function Navigation(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
marginLeft: '10px',
fontSize: '1.1rem'
fontSize: '1rem'
},
children: item === null || item === void 0 ? void 0 : item.count
})]
@ -2022,7 +2026,7 @@ var Navigation = function Navigation(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Wisdommodules.four_count,
children: (_ref13 = [{
name: '实验室预约总数',
name: '实验室预约进行中',
count: (labData === null || labData === void 0 ? void 0 : labData.reservation_total) || 0,
img: yyzs_namespaceObject
}, {
@ -2157,15 +2161,23 @@ var Navigation = function Navigation(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Wisdommodules.content_title,
children: "\u5B9E\u8DF5\u9879\u76EE\u7EDF\u8BA1"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
textAlign: 'right',
fontSize: '0.9rem',
width: '90%',
margin: 'auto',
color: '#fff',
marginTop: '0.5vh',
marginRight: '1.5vw'
fontSize: '1rem'
},
children: ["\u5B9E\u8DF5\u9879\u76EE\u603B\u6570\uFF1A", (projectData === null || projectData === void 0 ? void 0 : projectData.shixun_size) || 0]
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
width: 'auto',
display: 'inline-block',
position: 'relative',
left: '68%',
marginTop: '0.2vh'
},
children: ["\u5B9E\u8DF5\u9879\u76EE\u603B\u6570\uFF1A", (projectData === null || projectData === void 0 ? void 0 : projectData.shixun_size) || 0]
})
}), (_ref14 = [{
name: '高级实践项目',
count: (projectData === null || projectData === void 0 ? void 0 : projectData.high_size) || 0
@ -2178,16 +2190,15 @@ var Navigation = function Navigation(_ref) {
}, {
name: '初级实践项目',
count: (projectData === null || projectData === void 0 ? void 0 : projectData.primary_size) || 0
}, {
name: '其他实践项目',
count: (projectData === null || projectData === void 0 ? void 0 : projectData.other_size) || 0
}]) === null || _ref14 === void 0 ? void 0 : _ref14.map(function (item, index) {
}
// { name: '其他实践项目', count: projectData?.other_size || 0 }
]) === null || _ref14 === void 0 ? void 0 : _ref14.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Wisdommodules.wztj_content,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
fontSize: '0.9rem',
lineHeight: '1.2rem'
fontSize: '1rem',
lineHeight: '1.5rem'
},
children: item === null || item === void 0 ? void 0 : item.name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -2205,7 +2216,7 @@ var Navigation = function Navigation(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
background: 'linear-gradient( 90deg, rgba(52,214,253,0) 0%, #34CCFF 100%)',
width: '85%',
width: "".concat(item.count != 0 ? (item.count / (projectData === null || projectData === void 0 ? void 0 : projectData.shixun_size) * 100).toFixed(2) : 0, "%"),
position: 'absolute',
height: '0.4vh',
top: '0.3vh',
@ -2218,12 +2229,12 @@ var Navigation = function Navigation(_ref) {
width: '1.2rem',
height: '1.2rem',
top: '-0.25rem',
left: '84.5%'
left: "calc(".concat(item.count != 0 ? (item.count / (projectData === null || projectData === void 0 ? void 0 : projectData.shixun_size) * 100).toFixed(2) : 0, "% - 0.5%)")
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
fontSize: '0.9rem',
fontSize: '1rem',
marginLeft: '1.5vw'
},
children: item === null || item === void 0 ? void 0 : item.count

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