From 366a180e9bdc23f087d3bd15d00f7d50193683d0 Mon Sep 17 00:00:00 2001
From: cqf
Date: 星期三, 25 五月 2022 17:36:34 +0800
Subject: [PATCH] 内部举一反三-进入自查

---
 src/views/careabout/index.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/views/careabout/index.vue b/src/views/careabout/index.vue
index 55b1262..07ba8a8 100644
--- a/src/views/careabout/index.vue
+++ b/src/views/careabout/index.vue
@@ -100,7 +100,7 @@
                     <el-option
                         v-for="item in reList"
                         :key="item.value"
-                        :label="item.label"
+                        :label="item.value"
                         :value="item.value">
                     </el-option>
                 </el-select>
@@ -155,7 +155,7 @@
             <div v-if="table1">
             <el-col :span="14" style="text-align:right;">
                 <el-button class="btns" type="primary" size="small" @click="specialFocus()">{{focusDesc}}</el-button>
-                <el-button class="btns" type="primary" size="small" @click="sendBath()">管理关注</el-button>
+<!--                <el-button class="btns" type="primary" size="small" @click="sendBath()">管理关注</el-button>-->
             </el-col>
             </div>
         </el-row>
@@ -236,7 +236,7 @@
 </template>
 <script>
 import { getPageList, danger_focus_tag, analogy_export_do, focus_do} from "@/api/sgyhpczl/careabout"
-import {initJCBM ,initYHLX, initBC ,initJCLB ,initYHBM ,initYHJB,initLlr} from "@/api/sgyhpczl/initSelect";
+import {initJCBM ,initYHLX, initBC ,initJCLB ,initYHBM ,initYHJB,initLlr,initSrxcqk} from "@/api/sgyhpczl/initSelect";
 
     export default{
         data(){
@@ -261,7 +261,7 @@
                 JCBMList:[],
                 YHLXList:[],
                 BCList:[],
-                reList:[{label:"值班",value:"值班"},{label:"带班",value:"带班"}],
+                reList:[],
                 JCLBList:[],
                 YHBMList:[],
                 YHJBList:[],
@@ -290,6 +290,7 @@
             this.initJCLB();
             this.initLlr();
             this.initYHBM();
+            this.initSrxcqk();
             this.initTags();
             this.getPageList();
         },
@@ -351,6 +352,15 @@
                     }
                 })
             },
+            initSrxcqk(){
+                initSrxcqk().then(res=>{
+                    if (res.data.ok==1){
+                        this.reList=res.data.data
+                    } else{
+                        this.$message({type:'error', message:res.data.msg, duration:3000})
+                    }
+                })
+            },
             initTags(){
                 danger_focus_tag().then(res=>{
                     if (res.data.ok==1){

--
Gitblit v1.9.2