刘洋 2 жил өмнө
parent
commit
7233f6d7ba

+ 3 - 3
src/modules/marking/arbitration/index.vue

@@ -231,11 +231,11 @@ const { fetch: markArbitrationPaper } = useFetch('markArbitrationPaper')
 
 const onSubmit = async () => {
   if (currentArbitration.value) {
-    const scores = JSON.parse(JSON.stringify(modelScore.value))
+    // const scores = JSON.parse(JSON.stringify(modelScore.value))
     await markArbitrationPaper({ id: currentArbitration.value.id, scores: modelScore.value })
-    currentArbitration.value.chiefScore = add(...scores)
+    // currentArbitration.value.chiefScore = add(...scores)
     ElMessage.success('修改成功')
-    // onSearch()
+    onSearch()
   }
 }