From f2a9d202775438089ef6a11e3934a86a2301aa5a Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期二, 29 三月 2022 14:15:16 +0800
Subject: [PATCH] 1.单位管理区分(承包商和系统管理,条件为单位名称唯一) 2.用户管理区分(承包商和系统管理)

---
 src/views/contractor/unitManage/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/contractor/unitManage/index.vue b/src/views/contractor/unitManage/index.vue
index 28654bb..1aafcc0 100644
--- a/src/views/contractor/unitManage/index.vue
+++ b/src/views/contractor/unitManage/index.vue
@@ -56,7 +56,7 @@
                 <el-table-column label="操作" align="center" width="280" class-name="small-padding fixed-width">
                     <template slot-scope="scope">
                         <el-button type="text" @click="showUnitForm(scope.row,'编辑')">编辑</el-button>
-                        <el-button type="text" style="color: red" @click="deleteById(scope.row)">删除</el-button>
+<!--                        <el-button type="text" style="color: red" @click="deleteById(scope.row)">删除</el-button>-->
                         <el-button type="text" style="color: red" @click="addBlack(scope.row)">黑名单</el-button>
                     </template>
                 </el-table-column>
@@ -243,6 +243,7 @@
                 params['pageIndex'] = this.currentPage
                 params['pageSize'] = this.pageSize
                 params['company'] = this.company
+                params['isMain'] = false
                 let res = await getUnitList(params)
                 if(res.data.code === '200'){
                     this.recordTotal = res.data.result.totalCount

--
Gitblit v1.9.2