From 30cfb2b836a8a3d609518cc295753b58b17a9bc7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 15 十一月 2024 09:15:29 +0800
Subject: [PATCH] 优化
---
company/src/views/business/contract.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/company/src/views/business/contract.vue b/company/src/views/business/contract.vue
index 66fe8e0..65db1de 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, 2)" 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,7 +71,6 @@
</template>
</el-table-column>
<el-table-column
- v-if="containPermissions(['business:contract:update', 'business:contract:delete'])"
label="鎿嶄綔"
min-width="220"
fixed="right"
--
Gitblit v1.9.3