liuhairui 1 rok pred
rodič
commit
01c0c818e6
1 zmenil súbory, kde vykonal 6 pridanie a 5 odobranie
  1. 6 5
      src/view/performance/jjgzzhys.vue

+ 6 - 5
src/view/performance/jjgzzhys.vue

@@ -146,11 +146,12 @@ const jjgzzhysclick = async () => {
   };
   console.log(formattedData);
   const staffSalaryCount_add = await staffSalaryCount(formattedData);//调用接口
-  if (staffSalaryCount_add.code === 0) {
-    ElMessage({type: 'success',message: msg})
-  }else{
-    ElMessage({type: 'error',message: '更新失败'})
-  }
+  console.log(staffSalaryCount_add)
+  // if (staffSalaryCount_add.code === 0) {
+  //   ElMessage({type: 'success',message: msg})
+  // }else{
+  //   ElMessage({type: 'error',message: '更新失败'})
+  // }
 };
 </script>
 <style scoped>