From b41b738cbb71e49d69272a43de2229b25e3c50aa Mon Sep 17 00:00:00 2001 From: KongDuo Date: Wed, 22 Feb 2023 08:41:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=8F=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OilCompanyInfoUpdate.vue | 219 ++++++++++++++++++ .../companyManagement/index.vue | 31 ++- 2 files changed, 241 insertions(+), 9 deletions(-) create mode 100644 src/views/customerManagement/companyManagement/OilCompanyInfoUpdate.vue diff --git a/src/views/customerManagement/companyManagement/OilCompanyInfoUpdate.vue b/src/views/customerManagement/companyManagement/OilCompanyInfoUpdate.vue new file mode 100644 index 0000000..93e9938 --- /dev/null +++ b/src/views/customerManagement/companyManagement/OilCompanyInfoUpdate.vue @@ -0,0 +1,219 @@ + + diff --git a/src/views/customerManagement/companyManagement/index.vue b/src/views/customerManagement/companyManagement/index.vue index a8d69e9..c81a0d8 100644 --- a/src/views/customerManagement/companyManagement/index.vue +++ b/src/views/customerManagement/companyManagement/index.vue @@ -345,10 +345,8 @@ + type="text"> 基础资料 @@ -433,13 +431,19 @@ + + + + + + + + width="55%"> { if (res.code === 20000) { @@ -825,6 +827,17 @@ export default { this.oilCompanyInfo = {}; this.addDialog = true; }, + toUpdate(id) { + console.log(id) + console.log(this.updateDialog) + // 跳转到更新 + oilCompanyInfoApi.get(id).then(res => { + console.log(res) + this.oilCompanyInfo = res.data + this.updateDialog = true + console.log(this.updateDialog) + }); + }, toAddAuth(id) { // 跳转添加认证信息 oilCompanyInfoApi.get(id).then((res) => {