From 487a39a4fdfe0cbdc5ef0bb6ca67ae7854aaeec7 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 06 Dec 2021 10:39:35 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/zhba_regulatory_ys

---
 src/views/securityUnitOperation/operationAnalysis.vue |   91 ++++++++++++++++++++++++++++++++-------------
 1 files changed, 65 insertions(+), 26 deletions(-)

diff --git a/src/views/securityUnitOperation/operationAnalysis.vue b/src/views/securityUnitOperation/operationAnalysis.vue
index dfaa0ac..40ffef9 100644
--- a/src/views/securityUnitOperation/operationAnalysis.vue
+++ b/src/views/securityUnitOperation/operationAnalysis.vue
@@ -64,42 +64,54 @@
         </div>
       </el-col>
       <el-col :span="10">
-        <div class="rowContent first-menu">
+        <div class="rowContent first-menu yujing-class">
           <div class="rowTitle">
             <img src="../../../public/img/bajgxt/yj.png" />
             <span>预警分析</span>
           </div>
 
-          <div class="col-content" style="margin-left: 55px">
-            <div
-              class="box-card"
-              style="margin-right: 50px;"
-            >
+          <div class="col-content" style="margin-left: 40px">
+            <div class="box-card" style="margin-right: 25px;">
               <span>服务对象预警(家)</span>
-              <span class=" cursor: pointer" @click="showTable('fw')">{{ yj.fuwu }}</span>
-              <div>
+              <span style=" cursor: pointer" @click="showTable('fw')">{{
+                yj.fuwu
+              }}</span>
+              <div class="yujing_bottom">
                 <span>服务对象小于</span>
-                <el-input v-model="inputNum.fuwu"></el-input>
+                <el-input
+                  v-model="inputNum.fuwu"
+                  @change="getSecurityUnitServerLessPage()"
+                ></el-input>
                 <span>家</span>
               </div>
             </div>
-            <div
-              class="box-card"
-              style="margin-right: 50px; cursor: pointer"
-              @click="showTable('pq')"
-            >
+            <div class="box-card" style="margin-right: 25px;">
               <span>派遣预警(家)</span>
-              <span>{{ yj.paiqian }}</span>
-              <span>派遣率小于{{ inputNum.paiqian }}%</span>
+              <span style=" cursor: pointer" @click="showTable('pq')">{{
+                yj.paiqian
+              }}</span>
+              <div class="yujing_bottom">
+                <span>派遣率小于</span>
+                <el-input
+                  v-model="inputNum.paiqian"
+                  @change="getSecurityUnitDispatcherLessPage"
+                ></el-input>
+                <span>%</span>
+              </div>
             </div>
-            <div
-              class="box-card"
-              style="margin-right: 50px; cursor: pointer"
-              @click="showTable('cz')"
-            >
+            <div class="box-card" style="margin-right: 25px;">
               <span>持证上岗预警(家)</span>
-              <span>{{ yj.chizheng }}</span>
-              <span>持证率小于{{ inputNum.chizheng }}%</span>
+              <span style=" cursor: pointer" @click="showTable('cz')">{{
+                yj.chizheng
+              }}</span>
+              <div class="yujing_bottom">
+                <span>持证率小于</span>
+                <el-input
+                  v-model="inputNum.chizheng"
+                  @change="getSecurityUnitHoldLessPage"
+                ></el-input>
+                <span>%</span>
+              </div>
             </div>
           </div>
         </div>
@@ -501,6 +513,7 @@
           // this.enterpriseName = this.options2[0]
           //   ? this.options2[0].enterpriseName
           //   : "";
+          this.value2 = "";
           this.changeCompanys();
         }
       });
@@ -616,7 +629,8 @@
         jurisdiction: this.value1,
         departmentid: this.value2,
         current: this.gridData.current,
-        size: 10
+        size: 10,
+        proportion: this.inputNum.fuwu
       };
       getSecurityUnitServerLessPage(params).then(res => {
         if (res.data.code === 200) {
@@ -634,7 +648,8 @@
         jurisdiction: this.value1,
         departmentid: this.value2,
         current: this.gridData.current,
-        size: 10
+        size: 10,
+        proportion: this.inputNum.paiqian
       };
       getSecurityUnitDispatcherLessPage(params).then(res => {
         if (res.data.code === 200) {
@@ -652,7 +667,8 @@
         jurisdiction: this.value1,
         departmentid: this.value2,
         current: this.gridData.current,
-        size: 10
+        size: 10,
+        proportion: this.inputNum.chizheng
       };
       getSecurityUnitHoldLessPage(params).then(res => {
         if (res.data.code === 200) {
@@ -702,6 +718,7 @@
       font-size: 31px;
     }
   }
+
   .col-content {
     margin-top: 39px !important;
   }
@@ -879,6 +896,11 @@
     span:nth-child(2) {
       color: #06ffff;
       font-size: 34px;
+    }
+  }
+  .yujing-class {
+    .box-card {
+      width: 180px !important;
     }
   }
   .leftEchartTitle.qing {
@@ -1110,4 +1132,21 @@
     height: 77%;
   }
 }
+.yujing_bottom {
+  display: inline-flex;
+  // width: 100%;
+  span {
+    width: auto;
+  }
+  .el-input {
+    width: 30px;
+    /deep/ .el-input__inner {
+      width: 30px;
+      padding: 0px;
+      height: 20px !important;
+      line-height: 20px !important;
+      text-align: center;
+    }
+  }
+}
 </style>

--
Gitblit v1.9.3