From e9a26870162a7016a2fe019c34f3568e0b02b0b1 Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 11 Dec 2025 10:50:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=8F=B8=E4=BF=A1=E6=81=AF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/bid/company/index.vue | 891 ++++++++++++----------- 1 file changed, 463 insertions(+), 428 deletions(-) diff --git a/ruoyi-ui/src/views/bid/company/index.vue b/ruoyi-ui/src/views/bid/company/index.vue index 0e50902..f8e5ea4 100644 --- a/ruoyi-ui/src/views/bid/company/index.vue +++ b/ruoyi-ui/src/views/bid/company/index.vue @@ -1,425 +1,14 @@ @@ -726,6 +747,7 @@ import { listCompany, getCompany, delCompany, addCompany, updateCompany } from " export default { name: "Company", + dicts: ['sys_user_sex'], data() { return { // 遮罩层 @@ -815,8 +837,13 @@ export default { getList() { this.loading = true listCompany(this.queryParams).then(response => { - this.companyList = response.rows - this.total = response.total + this.companyList = response.rows; + + if(response.rows.length>0){ + this.form=response.rows[0] + }else { + this.reset() + } this.loading = false }) }, @@ -952,3 +979,11 @@ export default { } } + +