11wqe1 8 ay önce
ebeveyn
işleme
a5db2b9f32
1 değiştirilmiş dosya ile 7 ekleme ve 7 silme
  1. 7 7
      src/components/pages/components/lookWork.vue

+ 7 - 7
src/components/pages/components/lookWork.vue

@@ -860,7 +860,7 @@ export default {
           }
         })
 
-        console.log('TimeList',TimeList);
+        // console.log('TimeList',TimeList);
         TimeList.sort(function(a,b){
           return a-b;//从小到大排序
         })
@@ -956,17 +956,17 @@ export default {
 
       // console.log(stage, task, tool);
       // return
-      let params = {
+      let params = [{
         cid: this.cid,
         s: stage,
         t: task,
         tool: tool ? tool : "",
-        rate: JSON.stringify(processedData),
-        uid: this.uid
-      };
-      // return console.log(params);
+        uid: this.uid,
+        rate: JSON.stringify(processedData)
+      }];
+      // console.log(params);
       this.ajax
-        .get(this.$store.state.api + "updateWorksEvaTwo", params)
+        .post(this.$store.state.api + "updateWorksEvaTwo1", params)
         .then(res => {})
         .catch(err => {
           this.$message.error("评价失败");