|
|
|
|
@ -733,7 +733,7 @@ var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var See = function See(_ref) {
|
|
|
|
|
var _questionName$find, _questionName$find2, _questionName$find3, _questionName$find4, _questionName$find5, _questionName$find6, _questionName$find7, _questionName$find8, _questionName$find9, _paperlibrary$paperDa2, _paperlibrary$paperDa3;
|
|
|
|
|
var _questionName$find, _questionName$find2, _questionName$find3, _questionName$find4, _questionName$find5, _questionName$find6, _questionName$find7, _questionName$find8, _questionName$find9, _questionName$find10, _paperlibrary$paperDa2, _paperlibrary$paperDa3;
|
|
|
|
|
var newExercisePaper = _ref.newExercisePaper,
|
|
|
|
|
_ref$isExportBlank = _ref.isExportBlank,
|
|
|
|
|
isExportBlank = _ref$isExportBlank === void 0 ? false : _ref$isExportBlank,
|
|
|
|
|
@ -801,11 +801,11 @@ var See = function See(_ref) {
|
|
|
|
|
table = _ref2.table;
|
|
|
|
|
var total_score;
|
|
|
|
|
var actual_total_score;
|
|
|
|
|
if (table !== null && table !== void 0 && table.total_singles_scores || table !== null && table !== void 0 && table.total_doubles_scores || table !== null && table !== void 0 && table.total_nulls_scores || table !== null && table !== void 0 && table.total_judges_scores || table !== null && table !== void 0 && table.total_pros_scores || table !== null && table !== void 0 && table.total_shixuns_scores || table !== null && table !== void 0 && table.total_mains_scores || table !== null && table !== void 0 && table.total_combination_scores || table !== null && table !== void 0 && table.total_bpros_scores) {
|
|
|
|
|
total_score = Number(table === null || table === void 0 ? void 0 : table.total_singles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.total_judges_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pros_scores) + Number(table === null || table === void 0 ? void 0 : table.total_shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.total_mains_scores) + Number(table === null || table === void 0 ? void 0 : table.total_combination_scores) + Number(table === null || table === void 0 ? void 0 : table.total_bpros_scores);
|
|
|
|
|
if (table !== null && table !== void 0 && table.total_singles_scores || table !== null && table !== void 0 && table.total_doubles_scores || table !== null && table !== void 0 && table.total_nulls_scores || table !== null && table !== void 0 && table.total_judges_scores || table !== null && table !== void 0 && table.total_pros_scores || table !== null && table !== void 0 && table.total_pro_corr_scores || table !== null && table !== void 0 && table.total_pro_comp_scores || table !== null && table !== void 0 && table.total_shixuns_scores || table !== null && table !== void 0 && table.total_mains_scores || table !== null && table !== void 0 && table.total_combination_scores) {
|
|
|
|
|
total_score = Number(table === null || table === void 0 ? void 0 : table.total_singles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.total_judges_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pros_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pro_corr_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pro_comp_scores) + Number(table === null || table === void 0 ? void 0 : table.total_shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.total_mains_scores) + Number(table === null || table === void 0 ? void 0 : table.total_combination_scores);
|
|
|
|
|
}
|
|
|
|
|
if (table !== null && table !== void 0 && table.singles_scores || table !== null && table !== void 0 && table.doubles_scores || table !== null && table !== void 0 && table.nulls_scores || table !== null && table !== void 0 && table.judges_scores || table !== null && table !== void 0 && table.pros_scores || table !== null && table !== void 0 && table.bpros_scores || table !== null && table !== void 0 && table.shixuns_scores || table !== null && table !== void 0 && table.mains_scores || table !== null && table !== void 0 && table.combination_scores) {
|
|
|
|
|
actual_total_score = Number(table === null || table === void 0 ? void 0 : table.singles_scores) + Number(table === null || table === void 0 ? void 0 : table.doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.judges_scores) + Number(table === null || table === void 0 ? void 0 : table.pros_scores) + Number(table === null || table === void 0 ? void 0 : table.bpros_scores) + Number(table === null || table === void 0 ? void 0 : table.shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.mains_scores) + Number(table === null || table === void 0 ? void 0 : table.combination_scores);
|
|
|
|
|
if (table !== null && table !== void 0 && table.singles_scores || table !== null && table !== void 0 && table.doubles_scores || table !== null && table !== void 0 && table.nulls_scores || table !== null && table !== void 0 && table.judges_scores || table !== null && table !== void 0 && table.pros_scores || table !== null && table !== void 0 && table.pro_corr_scores || table !== null && table !== void 0 && table.pro_comp_scores || table !== null && table !== void 0 && table.shixuns_scores || table !== null && table !== void 0 && table.mains_scores || table !== null && table !== void 0 && table.combination_scores) {
|
|
|
|
|
actual_total_score = Number(table === null || table === void 0 ? void 0 : table.singles_scores) + Number(table === null || table === void 0 ? void 0 : table.doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.judges_scores) + Number(table === null || table === void 0 ? void 0 : table.pros_scores) + Number(table === null || table === void 0 ? void 0 : table.pro_corr_scores) + Number(table === null || table === void 0 ? void 0 : table.pro_comp_scores) + Number(table === null || table === void 0 ? void 0 : table.shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.mains_scores) + Number(table === null || table === void 0 ? void 0 : table.combination_scores);
|
|
|
|
|
}
|
|
|
|
|
var data = [{
|
|
|
|
|
key: '1',
|
|
|
|
|
@ -815,7 +815,8 @@ var See = function See(_ref) {
|
|
|
|
|
nulls_score: table === null || table === void 0 ? void 0 : table.total_nulls_scores,
|
|
|
|
|
judges_score: table === null || table === void 0 ? void 0 : table.total_judges_scores,
|
|
|
|
|
pros_score: table === null || table === void 0 ? void 0 : table.total_pros_scores,
|
|
|
|
|
bpros_score: table === null || table === void 0 ? void 0 : table.total_bpros_scores,
|
|
|
|
|
pro_corr_score: table === null || table === void 0 ? void 0 : table.total_pro_corr_scores,
|
|
|
|
|
pro_comp_score: table === null || table === void 0 ? void 0 : table.total_pro_comp_scores,
|
|
|
|
|
shixuns_score: table === null || table === void 0 ? void 0 : table.total_shixuns_scores,
|
|
|
|
|
mains_score: table === null || table === void 0 ? void 0 : table.total_mains_scores,
|
|
|
|
|
combinations_score: table === null || table === void 0 ? void 0 : table.total_combination_scores,
|
|
|
|
|
@ -828,7 +829,8 @@ var See = function See(_ref) {
|
|
|
|
|
nulls_score: table === null || table === void 0 ? void 0 : table.nulls_scores,
|
|
|
|
|
judges_score: table === null || table === void 0 ? void 0 : table.judges_scores,
|
|
|
|
|
pros_score: table === null || table === void 0 ? void 0 : table.pros_scores,
|
|
|
|
|
bpros_score: table === null || table === void 0 ? void 0 : table.bpros_scores,
|
|
|
|
|
pro_corr_score: table === null || table === void 0 ? void 0 : table.pro_corr_scores,
|
|
|
|
|
pro_comp_score: table === null || table === void 0 ? void 0 : table.pro_comp_scores,
|
|
|
|
|
shixuns_score: table === null || table === void 0 ? void 0 : table.shixuns_scores,
|
|
|
|
|
mains_score: table === null || table === void 0 ? void 0 : table.mains_scores,
|
|
|
|
|
combinations_score: table === null || table === void 0 ? void 0 : table.combination_scores,
|
|
|
|
|
@ -845,7 +847,8 @@ var See = function See(_ref) {
|
|
|
|
|
nulls_score: table === null || table === void 0 ? void 0 : table.total_nulls_scores,
|
|
|
|
|
judges_score: table === null || table === void 0 ? void 0 : table.total_judges_scores,
|
|
|
|
|
pros_score: table === null || table === void 0 ? void 0 : table.total_pros_scores,
|
|
|
|
|
bpros_score: table === null || table === void 0 ? void 0 : table.total_bpros_scores,
|
|
|
|
|
pro_corr_score: table === null || table === void 0 ? void 0 : table.total_pro_corr_scores,
|
|
|
|
|
pro_comp_score: table === null || table === void 0 ? void 0 : table.total_pro_comp_scores,
|
|
|
|
|
shixuns_score: table === null || table === void 0 ? void 0 : table.total_shixuns_scores,
|
|
|
|
|
mains_score: table === null || table === void 0 ? void 0 : table.total_mains_scores,
|
|
|
|
|
combinations_score: table === null || table === void 0 ? void 0 : table.combination_scores,
|
|
|
|
|
@ -904,11 +907,11 @@ var See = function See(_ref) {
|
|
|
|
|
console.log(res, "res-----------------");
|
|
|
|
|
setHeadData(res || {});
|
|
|
|
|
_ref5 = res || {}, table = _ref5.table;
|
|
|
|
|
if (table !== null && table !== void 0 && table.total_singles_scores || table !== null && table !== void 0 && table.total_doubles_scores || table !== null && table !== void 0 && table.total_nulls_scores || table !== null && table !== void 0 && table.total_judges_scores || table !== null && table !== void 0 && table.total_pros_scores || table !== null && table !== void 0 && table.total_shixuns_scores || table !== null && table !== void 0 && table.total_mains_scores || table !== null && table !== void 0 && table.total_combination_scores || table !== null && table !== void 0 && table.total_bpros_scores) {
|
|
|
|
|
total_score = Number(table === null || table === void 0 ? void 0 : table.total_singles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.total_judges_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pros_scores) + Number(table === null || table === void 0 ? void 0 : table.total_shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.total_mains_scores) + Number(table === null || table === void 0 ? void 0 : table.total_combination_scores) + Number(table === null || table === void 0 ? void 0 : table.total_bpros_scores);
|
|
|
|
|
if (table !== null && table !== void 0 && table.total_singles_scores || table !== null && table !== void 0 && table.total_doubles_scores || table !== null && table !== void 0 && table.total_nulls_scores || table !== null && table !== void 0 && table.total_judges_scores || table !== null && table !== void 0 && table.total_pros_scores || table !== null && table !== void 0 && table.total_pro_corr_scores || table !== null && table !== void 0 && table.total_pro_comp_scores || table !== null && table !== void 0 && table.total_shixuns_scores || table !== null && table !== void 0 && table.total_mains_scores || table !== null && table !== void 0 && table.total_combination_scores) {
|
|
|
|
|
total_score = Number(table === null || table === void 0 ? void 0 : table.total_singles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.total_judges_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pros_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pro_corr_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pro_comp_scores) + Number(table === null || table === void 0 ? void 0 : table.total_shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.total_mains_scores) + Number(table === null || table === void 0 ? void 0 : table.total_combination_scores);
|
|
|
|
|
}
|
|
|
|
|
if (table !== null && table !== void 0 && table.singles_scores || table !== null && table !== void 0 && table.doubles_scores || table !== null && table !== void 0 && table.nulls_scores || table !== null && table !== void 0 && table.judges_scores || table !== null && table !== void 0 && table.pros_scores || table !== null && table !== void 0 && table.bpros_scores || table !== null && table !== void 0 && table.shixuns_scores || table !== null && table !== void 0 && table.mains_scores || table !== null && table !== void 0 && table.combinations_score) {
|
|
|
|
|
actual_total_score = Number(table === null || table === void 0 ? void 0 : table.singles_scores) + Number(table === null || table === void 0 ? void 0 : table.doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.judges_scores) + Number(table === null || table === void 0 ? void 0 : table.pros_scores) + Number(table === null || table === void 0 ? void 0 : table.bpros_scores) + Number(table === null || table === void 0 ? void 0 : table.shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.mains_scores) + Number(table === null || table === void 0 ? void 0 : table.combinations_score);
|
|
|
|
|
if (table !== null && table !== void 0 && table.singles_scores || table !== null && table !== void 0 && table.doubles_scores || table !== null && table !== void 0 && table.nulls_scores || table !== null && table !== void 0 && table.judges_scores || table !== null && table !== void 0 && table.pros_scores || table !== null && table !== void 0 && table.pro_corr_scores || table !== null && table !== void 0 && table.pro_comp_scores || table !== null && table !== void 0 && table.shixuns_scores || table !== null && table !== void 0 && table.mains_scores || table !== null && table !== void 0 && table.combinations_score) {
|
|
|
|
|
actual_total_score = Number(table === null || table === void 0 ? void 0 : table.singles_scores) + Number(table === null || table === void 0 ? void 0 : table.doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.judges_scores) + Number(table === null || table === void 0 ? void 0 : table.pros_scores) + Number(table === null || table === void 0 ? void 0 : table.pro_corr_scores) + Number(table === null || table === void 0 ? void 0 : table.pro_comp_scores) + Number(table === null || table === void 0 ? void 0 : table.shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.mains_scores) + Number(table === null || table === void 0 ? void 0 : table.combinations_score);
|
|
|
|
|
}
|
|
|
|
|
data = [{
|
|
|
|
|
key: '1',
|
|
|
|
|
@ -918,7 +921,8 @@ var See = function See(_ref) {
|
|
|
|
|
nulls_score: table === null || table === void 0 ? void 0 : table.total_nulls_scores,
|
|
|
|
|
judges_score: table === null || table === void 0 ? void 0 : table.total_judges_scores,
|
|
|
|
|
pros_score: table === null || table === void 0 ? void 0 : table.total_pros_scores,
|
|
|
|
|
bpros_score: table === null || table === void 0 ? void 0 : table.total_bpros_scores,
|
|
|
|
|
pro_corr_score: table === null || table === void 0 ? void 0 : table.total_pro_corr_scores,
|
|
|
|
|
pro_comp_score: table === null || table === void 0 ? void 0 : table.total_pro_comp_scores,
|
|
|
|
|
shixuns_score: table === null || table === void 0 ? void 0 : table.total_shixuns_scores,
|
|
|
|
|
combinations_score: table === null || table === void 0 ? void 0 : table.total_combination_scores,
|
|
|
|
|
mains_score: table === null || table === void 0 ? void 0 : table.total_mains_scores,
|
|
|
|
|
@ -931,7 +935,8 @@ var See = function See(_ref) {
|
|
|
|
|
nulls_score: table === null || table === void 0 ? void 0 : table.nulls_scores,
|
|
|
|
|
judges_score: table === null || table === void 0 ? void 0 : table.judges_scores,
|
|
|
|
|
pros_score: table === null || table === void 0 ? void 0 : table.pros_scores,
|
|
|
|
|
bpros_score: table === null || table === void 0 ? void 0 : table.bpros_scores,
|
|
|
|
|
pro_corr_score: table === null || table === void 0 ? void 0 : table.pro_corr_scores,
|
|
|
|
|
pro_comp_score: table === null || table === void 0 ? void 0 : table.pro_comp_scores,
|
|
|
|
|
shixuns_score: table === null || table === void 0 ? void 0 : table.shixuns_scores,
|
|
|
|
|
mains_score: table === null || table === void 0 ? void 0 : table.mains_scores,
|
|
|
|
|
combinations_score: table === null || table === void 0 ? void 0 : table.combination_scores,
|
|
|
|
|
@ -1020,6 +1025,7 @@ var See = function See(_ref) {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
// 程序设计
|
|
|
|
|
width: '9%',
|
|
|
|
|
title: ((_questionName$find5 = questionName.find(function (item) {
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[6].nameType;
|
|
|
|
|
@ -1032,24 +1038,26 @@ var See = function See(_ref) {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
width: '9%',
|
|
|
|
|
// 程序改错
|
|
|
|
|
width: '10%',
|
|
|
|
|
title: ((_questionName$find6 = questionName.find(function (item) {
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[5].nameType;
|
|
|
|
|
})) === null || _questionName$find6 === void 0 ? void 0 : _questionName$find6.name) || constant/* QUESTIONTYPE */.f[5].name,
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[8].nameType;
|
|
|
|
|
})) === null || _questionName$find6 === void 0 ? void 0 : _questionName$find6.name) || constant/* QUESTIONTYPE */.f[8].name,
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'shixuns_score',
|
|
|
|
|
dataIndex: 'pro_corr_score',
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
children: text === '0.0' ? 0 : text
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
width: '9%',
|
|
|
|
|
// 程序填空
|
|
|
|
|
width: '10%',
|
|
|
|
|
title: ((_questionName$find7 = questionName.find(function (item) {
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[4].nameType;
|
|
|
|
|
})) === null || _questionName$find7 === void 0 ? void 0 : _questionName$find7.name) || constant/* QUESTIONTYPE */.f[4].name,
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[9].nameType;
|
|
|
|
|
})) === null || _questionName$find7 === void 0 ? void 0 : _questionName$find7.name) || constant/* QUESTIONTYPE */.f[9].name,
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'mains_score',
|
|
|
|
|
dataIndex: 'pro_comp_score',
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
children: text === '0.0' ? 0 : text
|
|
|
|
|
@ -1058,22 +1066,34 @@ var See = function See(_ref) {
|
|
|
|
|
}, {
|
|
|
|
|
width: '9%',
|
|
|
|
|
title: ((_questionName$find8 = questionName.find(function (item) {
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[7].nameType;
|
|
|
|
|
})) === null || _questionName$find8 === void 0 ? void 0 : _questionName$find8.name) || constant/* QUESTIONTYPE */.f[7].name,
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[5].nameType;
|
|
|
|
|
})) === null || _questionName$find8 === void 0 ? void 0 : _questionName$find8.name) || constant/* QUESTIONTYPE */.f[5].name,
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'combinations_score',
|
|
|
|
|
dataIndex: 'shixuns_score',
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
children: text === '0.0' ? 0 : text
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
width: '10%',
|
|
|
|
|
width: '9%',
|
|
|
|
|
title: ((_questionName$find9 = questionName.find(function (item) {
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[9].nameType;
|
|
|
|
|
})) === null || _questionName$find9 === void 0 ? void 0 : _questionName$find9.name) || constant/* QUESTIONTYPE */.f[9].name,
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[4].nameType;
|
|
|
|
|
})) === null || _questionName$find9 === void 0 ? void 0 : _questionName$find9.name) || constant/* QUESTIONTYPE */.f[4].name,
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'mains_score',
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
children: text === '0.0' ? 0 : text
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
width: '9%',
|
|
|
|
|
title: ((_questionName$find10 = questionName.find(function (item) {
|
|
|
|
|
return item.value == constant/* QUESTIONTYPE */.f[7].nameType;
|
|
|
|
|
})) === null || _questionName$find10 === void 0 ? void 0 : _questionName$find10.name) || constant/* QUESTIONTYPE */.f[7].name,
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'bpros_score',
|
|
|
|
|
dataIndex: 'combinations_score',
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
children: text === '0.0' ? 0 : text
|