From 56edbd80963acea41d9b9737bb9264f57a6e4ae2 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 19 十一月 2024 09:13:41 +0800
Subject: [PATCH] 优化

---
 company/src/views/business/unionApply.vue |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/company/src/views/business/unionApply.vue b/company/src/views/business/unionApply.vue
index 061f3b3..9d9d336 100644
--- a/company/src/views/business/unionApply.vue
+++ b/company/src/views/business/unionApply.vue
@@ -2,7 +2,7 @@
     <TableLayout :permissions="['business:insuranceapply:query']">
         <!-- 鎼滅储琛ㄥ崟 -->
         <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
-            <el-form-item label="淇濆崟鐘舵��" prop="status">
+            <el-form-item label="淇濆崟鐘舵��" prop="status" >
                 <el-select v-model="searchForm.status" placeholder="璇烽�夋嫨"  clearable   @keypress.enter.native="search">
                     <el-option label="寰呭鏍�" value="0"></el-option>
                     <el-option label="寰呯缃�" value="1"></el-option>
@@ -12,7 +12,7 @@
                 </el-select>
             </el-form-item>
             <el-form-item label="淇濋櫓鏂规" prop="solutionId">
-                <el-select v-model="searchForm.solutionId" clearable  placeholder="璇烽�夋嫨" @change="search">
+                <el-select v-model="searchForm.solutionId" filterable clearable  placeholder="璇烽�夋嫨" @change="search">
                     <el-option
                         v-for="item in solutionList"
                         :key="item.id"
@@ -39,9 +39,9 @@
         </el-form>
         <!-- 琛ㄦ牸鍜屽垎椤� -->
         <template v-slot:table-wrap>
-            <ul class="toolbar" v-permissions="['business:insurance:create']">
-                <li><el-button type="primary" @click="$refs.OpearaUnionApply.open('濮旀墭鎶曚繚鐢宠')" v-permissions="['business:insurance:create']">鎻愪氦鐢宠</el-button></li>
-            </ul>
+<!--            <ul class="toolbar"  v-if="userInfo.type==2"  v-permissions="['business:unionapply:create']">-->
+<!--                <li><el-button type="primary" @click="$refs.OpearaUnionApply.open('濮旀墭鎶曚繚鐢宠')" v-permissions="['business:unionapply:create']">鎻愪氦鐢宠</el-button></li>-->
+<!--            </ul>-->
             <el-table
                 v-loading="isWorking.search"
                 :data="tableData.list"
@@ -59,6 +59,7 @@
                 </el-table-column>
                 <el-table-column prop="solutionName" label="淇濋櫓鏂规" min-width="100px"></el-table-column>
                 <el-table-column prop="insureNum" label="鎶曚繚浜烘暟" min-width="100px"></el-table-column>
+              <el-table-column prop="guaranteeNum" label="鍦ㄤ繚浜烘暟"></el-table-column>
                 <el-table-column prop="fee" label="鎬昏垂鐢紙鍏冿級" min-width="100px"></el-table-column>
                 <el-table-column prop="createDate" label="鎻愪氦鏃堕棿" min-width="100px"></el-table-column>
                 <el-table-column
@@ -67,7 +68,7 @@
                     min-width="120"
                     fixed="right"
                 >
-                    <template slot-scope="{row}" >
+                  <template slot-scope="{row}">
                         <el-button type="text"  icon="el-icon-edit" @click="$refs.detailsEntrustedInsurance.open('濮旀墭鎶曚繚璇︽儏', row)" v-permissions="['business:insuranceapply:update']">鏌ョ湅璇︽儏</el-button>
                     </template>
                 </el-table-column>
@@ -93,6 +94,7 @@
     import { all as solutionAll } from '@/api/business/solutions'
     import OpearaUnionApply from '@/components/business/OpearaUnionApply'
     import detailsEntrustedInsurance from '@/components/business/detailsEntrustedInsurance'
+    import {mapState} from "vuex";
     export default {
         name: 'unionApply',
         extends: BaseTable,
@@ -120,6 +122,9 @@
             this.search()
           this.loadSelectList()
         },
+      computed: {
+        ...mapState(['userInfo'])
+      },
         methods:{
             // 鎼滅储妗嗛噸缃�
             reset () {

--
Gitblit v1.9.3