From cb240f1c2ed3e826b01872a57b63107c53896d99 Mon Sep 17 00:00:00 2001 From: zhuyulei Date: Tue, 26 Sep 2023 15:03:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E8=A1=8C=E6=8A=A5=E5=91=8A=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/project/report/index.vue | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/jwtech-admin-page/src/views/project/report/index.vue b/jwtech-admin-page/src/views/project/report/index.vue index f8208526..c5765172 100644 --- a/jwtech-admin-page/src/views/project/report/index.vue +++ b/jwtech-admin-page/src/views/project/report/index.vue @@ -228,6 +228,23 @@ > + + + + + + + @@ -542,6 +560,14 @@ export default { }); }, methods: { + getId(res) { + // console.log(res) + getProposal(res.id).then((response) => { + // console.log(response.data) + this.projectType = response.data.projectType; + this.proNo = res.proNo; + }); + }, clear() { this.fileList = []; this.attachmentList = []; @@ -705,6 +731,8 @@ export default { ); if (valid) { if (this.form.id != null) { + this.form.proNo = this.proNo; + this.form.projectType = this.projectType; updateFeasibility(this.form).then((response) => { if (response.code === 200) { this.msgSuccess("修改成功"); @@ -714,6 +742,7 @@ export default { }); } else { this.form.proNo = this.proNo; + this.form.projectType = this.projectType; addFeasibility(this.form).then((response) => { if (response.code === 200) { this.msgSuccess("新增成功");