From d7c06cca16d12ecf5d0f233395dcf6062261b39b Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 29 十一月 2023 17:01:28 +0800
Subject: [PATCH] 服务管理模块新增增加负责人默认值

---
 src/components/makepager/PublicFunctionBtnView.vue |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/components/makepager/PublicFunctionBtnView.vue b/src/components/makepager/PublicFunctionBtnView.vue
index af31de2..00df97b 100644
--- a/src/components/makepager/PublicFunctionBtnView.vue
+++ b/src/components/makepager/PublicFunctionBtnView.vue
@@ -3,14 +3,16 @@
     <div class="btn-list">
       <el-button size="small" type="text" class="blue" @click="addBtnClick">鏂板缓</el-button>
       <!-- <el-button v-if="receive" size="small" type="text" class="gray" @click="receiveBtnClick">棰嗗彇</el-button> -->
-      <el-button v-if="allocation" size="small" type="text" class="gray" @click="allocationBtnClick">鍒嗛厤</el-button>
+      <el-button v-if="allocation" size="small" type="text" class="gray" @click="allocationBtnClick" disabled
+        >鍒嗛厤</el-button
+      >
       <el-button v-if="deleteButton" size="small" type="text" class="gray" @click="deleteBtnClick">鍒犻櫎</el-button>
       <!-- <el-button v-if="submitApproval" size="small" type="text" class="gray width64" @click="submitApprovalBtnClick"
         >鎻愪氦瀹℃壒
       </el-button> -->
-      <!-- <el-button v-if="duplicateCheck" size="small" type="text" class="gray" @click="duplicateCheckBtnClick"
+      <el-button v-if="duplicateCheck" size="small" type="text" class="gray" @click="duplicateCheckBtnClick" disabled
         >鏌ラ噸</el-button
-      > -->
+      >
       <!-- <el-button v-if="importButton" size="small" type="text" class="gray" @click="importBtnClick">瀵煎叆</el-button>
       <el-button v-if="departmentSet" size="small" type="text" class="gray" @click="departmentSetClick"
         >閮ㄩ棬璁剧疆</el-button
@@ -77,7 +79,7 @@
     },
     allocation: {
       type: Boolean,
-      default: true
+      default: false
     },
     deleteButton: {
       type: Boolean,
@@ -153,9 +155,13 @@
     // 棰嗗彇
     receiveBtnClick() {},
     // 鍒嗛厤
-    allocationBtnClick() {},
+    allocationBtnClick() {
+      this.$emit("allocationBtnClick")
+    },
     // 鍒犻櫎
-    deleteBtnClick() {},
+    deleteBtnClick() {
+      this.$emit("batchDelete")
+    },
     // 鎻愪氦瀹℃壒
     submitApprovalBtnClick() {},
     // 鏌ラ噸
@@ -193,8 +199,6 @@
 <!-- Add "scoped" attribute to limit CSS to this component only -->
 <style lang="scss" scoped>
 .function-btn {
-  margin-top: 10px;
-  margin-left: 10px;
   .btn-list {
     display: flex;
     .el-button {

--
Gitblit v1.8.0