Merge branch 'master' of http://10.124.128.2:8888/eshop/fe_service_ebtp_frontend into 20220613-将PUT和DELETE请求更改成POST请求

This commit is contained in:
jl-zhoujl2
2022-07-26 15:08:55 +08:00
162 changed files with 6179 additions and 1956 deletions

View File

@ -206,7 +206,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
render: (_, record) => {
if (record.scoreMethod == 2) {
return (
<Input readOnly={dis} type="number" min={0} defaultValue={record.lowScore}
<Input readOnly={dis} type="number" defaultValue={record.lowScore}
onBlur={(event) => {
record.lowScore = event.target.value;
}} placeholder='最低分'

View File

@ -206,7 +206,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
render: (_, record) => {
if (record.scoreMethod == 2) {
return (
<Input readOnly={dis} type="number" min={0} defaultValue={record.lowScore}
<Input readOnly={dis} type="number" defaultValue={record.lowScore}
onBlur={(event) => {
record.lowScore = event.target.value;
}} placeholder='最低分'
@ -414,7 +414,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
const success = await save(allData);
if (success) {
await queryDetData();
}else{
} else {
setSpin(false);
}
},
@ -838,7 +838,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
!checkEmpty(item.detailList, '商务', item.name) && (pass = false);
})
score = score + typeScore1;
if(score == NaN){
if (score == NaN) {
pass = false;
message.error('商务类细则所录分值有误,请检查。')
}
@ -854,7 +854,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
!checkEmpty(item.detailList, '技术', item.name) && (pass = false);
})
score = score + typeScore2;
if(score == NaN){
if (score == NaN) {
pass = false;
message.error('技术类细则所录分值有误,请检查。')
}
@ -870,7 +870,7 @@ const DetailedMain: React.FC<detailType> = (props) => {
!checkEmpty(item.detailList, '服务', item.name) && (pass = false);
})
score = score + typeScore3;
if(score == NaN){
if (score == NaN) {
pass = false;
message.error('服务类细则所录分值有误,请检查。')
}