优化调整

This commit is contained in:
2023-07-13 01:15:18 +08:00
parent e6106c073f
commit f4afb4629f
29 changed files with 760 additions and 290 deletions

View File

@@ -147,6 +147,12 @@ export default {
});
}
}).catch((error)=>{
Vue.prototype.$notify.error({
title: '错误',
message: error,
offset: 50
});
})
}else{
return false;
@@ -176,6 +182,12 @@ export default {
}
}).then(function (res) {
that.tableData=res.data;
}).catch((error)=>{
Vue.prototype.$notify.error({
title: '错误',
message: error,
offset: 50
});
})
}
},

View File

@@ -125,7 +125,13 @@ export default {
params: {
id:this.$route.query.id
}
});
}).catch((error)=>{
Vue.prototype.$notify.error({
title: '错误',
message: error,
offset: 50
});
})
},
getOneFileDetail(){
var that=this;
@@ -148,6 +154,12 @@ export default {
that.content=res.data.content;
that.userName=res.data.userName;
}).catch((error)=>{
Vue.prototype.$notify.error({
title: '错误',
message: error,
offset: 50
});
})
},
goTo(url){