From 50fb58286ed3b718c39a97e0987ee7561a295651 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 04 七月 2025 17:56:41 +0800
Subject: [PATCH] git ch

---
 company/src/views/business/contract.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/company/src/views/business/contract.vue b/company/src/views/business/contract.vue
index 66fe8e0..84b03d5 100644
--- a/company/src/views/business/contract.vue
+++ b/company/src/views/business/contract.vue
@@ -29,8 +29,8 @@
         </el-form>
         <!-- 琛ㄦ牸鍜屽垎椤� -->
         <template v-slot:table-wrap>
-            <ul class="toolbar" v-permissions="['business:contract:create']" v-if="userInfo.type === 0">
-                <li><el-button type="primary" @click="$refs.operaContractWindow.open('鏂板缓鍚堝悓淇℃伅琛�')" icon="el-icon-plus" v-permissions="['business:contract:create']">鏂板缓</el-button></li>
+            <ul class="toolbar" v-permissions="['business:contract:create']" v-if="[0,2].includes(userInfo.type)">
+                <li><el-button type="primary" @click="$refs.operaContractWindow.open('鏂板缓鍚堝悓淇℃伅琛�', null, userInfo.type)" icon="el-icon-plus" v-permissions="['business:contract:create']">鏂板缓</el-button></li>
             </ul>
             <el-table
                 v-loading="isWorking.search"
@@ -50,7 +50,7 @@
                         <template v-else-if="row.signType === 2">鍟嗘埛-浼佷笟</template>
                     </template>
                 </el-table-column>
-                <el-table-column prop="companyName" label="瀵规柟鍚嶇О" min-width="100px">
+                <el-table-column prop="companyName" label="鐢蹭箼鏂瑰悕绉�" min-width="100px">
                     <template slot-scope="{row}">
                         {{ row.partyCompanyName }} / {{ row.companyName }}
                     </template>
@@ -71,9 +71,8 @@
                     </template>
                 </el-table-column>
                 <el-table-column
-                    v-if="containPermissions(['business:contract:update', 'business:contract:delete'])"
                     label="鎿嶄綔"
-                    min-width="220"
+                    min-width="150"
                     fixed="right"
                 >
                     <template slot-scope="{row}">

--
Gitblit v1.9.3