|
@@ -1499,11 +1499,16 @@ export default {
|
|
|
// projectId:this.curProjiect.id||this.projectId,
|
|
|
projectId:this.curProjiect.id||this.pid,
|
|
|
dev:deviationRangeText
|
|
|
- }).then(()=>{
|
|
|
+ }).then((result)=>{
|
|
|
+ let msg='修改成功';
|
|
|
+ alert(JSON.stringify(result));
|
|
|
+ alert(result.data.msg)
|
|
|
+ alert(result.data.msg=='公式已删除')
|
|
|
+ if(result.data.msg=='公式已删除'){this.formulaid='';msg=result.data.msg;};
|
|
|
this.formulaStringToArray();
|
|
|
this.$message({
|
|
|
type: "success",
|
|
|
- message: "修改成功"
|
|
|
+ message: msg
|
|
|
});
|
|
|
|
|
|
})
|