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) => {