Commit 9cba22a8 authored by 张冬's avatar 张冬

编辑

parent 1ac35c5b
......@@ -67,19 +67,19 @@ export default {
await this.$refs.fileUpload.next();
console.log('通过');
console.log(this.detail)
// const { msg, code } = await editProject(this.detail);
// if (code == 200) {
// this.$message({
// message: msg,
// type: 'success',
// duration: 1500
// });
// setTimeout(() => {
// this.$router.go(-1)
// }, 1500);
// } else {
// this.$message.error(msg);
// }
const { msg, code } = await editProject(this.detail);
if (code == 200) {
this.$message({
message: msg,
type: 'success',
duration: 1500
});
setTimeout(() => {
this.$router.go(-1)
}, 1500);
} else {
this.$message.error(msg);
}
},
// 获取详情
async getenquiryProjectId() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment