From a9ca0823ab8f33ca85abebcf6ec4a8da235adb49 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 30 一月 2024 14:36:49 +0800
Subject: [PATCH] 开发业务接口

---
 company/src/views/business/company.vue |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/company/src/views/business/company.vue b/company/src/views/business/company.vue
index 51341f7..ca2a24f 100644
--- a/company/src/views/business/company.vue
+++ b/company/src/views/business/company.vue
@@ -42,6 +42,14 @@
                         </el-switch>
                     </template>
                 </el-table-column>
+                <el-table-column label="鐢靛瓙绛捐璇佺姸鎬�" min-width="100px">
+                    <template slot-scope="{row}">
+                      <span v-if="row.signStatus === 0">寰呰璇�</span>
+                      <span v-if="row.signStatus === 1">璁よ瘉涓�</span>
+                      <span v-if="row.signStatus === 2">璁よ瘉澶辫触</span>
+                      <span v-if="row.signStatus === 3">璁よ瘉閫氳繃</span>
+                    </template>
+                </el-table-column>
                 <el-table-column
                     v-if="containPermissions(['business:company:update', 'business:company:delete'])"
                     label="鎿嶄綔"
@@ -51,7 +59,9 @@
                     <template slot-scope="{row}">
                         <el-button type="text" @click="$refs.OperaCompanyDescWindow.open('浼佷笟璇︽儏', row)"  v-permissions="['business:company:update']">鏌ョ湅璇︽儏</el-button>
                         <el-button type="text" @click="edit(row)" v-permissions="['business:company:update']">淇敼</el-button>
+<!--
                         <el-button type="text" @click="$refs.operaCompanyWindow.open('缂栬緫浼佷笟淇℃伅琛�', row)" v-permissions="['business:company:update']">鐢靛瓙绛捐璇�</el-button>
+-->
                     </template>
                 </el-table-column>
             </el-table>
@@ -122,10 +132,17 @@
                         }
                         form.file.imgurl = res.businessImg.fileurl
                         form.file.imgurlfull = res.businessImg.fileurlFull
+                      if( res.idcardImgList ==null){
+                        res.idcardImgList = new Array();
+                      }
+                      if( res.idcardImgList && res.idcardImgList.length>0){
                         form.file1.imgurl = res.idcardImgList[0].fileurl
                         form.file1.imgurlfull = res.idcardImgList[0].fileurlFull
-                        form.file2.imgurl = res.idcardImgList[1].fileurl
+                      }
+                      if( res.idcardImgList && res.idcardImgList.length>1){
+                        form.file2.imgurl =  res.idcardImgList[1].fileurl
                         form.file2.imgurlfull = res.idcardImgList[1].fileurlFull
+                      }
                         form.file3.imgurl = res.signImg.fileurl
                         form.file3.imgurlfull = res.signImg.fileurlFull
                         this.$refs.operaCompanyWindow.open('缂栬緫浼佷笟', form)

--
Gitblit v1.9.3