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