刘洋 2 éve
szülő
commit
7233f6d7ba
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      src/modules/marking/arbitration/index.vue

+ 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()
   }
 }