dedsudiyu 2 年之前
父節點
當前提交
ced1b6bf07

二進制
src/assets/ZDimages/safetyCheck/icon_jhbt.png


二進制
src/assets/ZDimages/safetyCheck/icon_xyxc_cy.png


二進制
src/assets/ZDimages/safetyCheck/icon_xyxc_qx.png


二進制
src/assets/ZDimages/safetyCheck/icon_xyxc_sys.png


二進制
src/assets/ZDimages/safetyCheck/icon_xyxc_xy.png


二進制
src/assets/ZDimages/safetyCheck/icon_xz_xyxc.png


二進制
src/assets/ZDimages/safetyCheck/icon_zcgl_cg.png


二進制
src/assets/ZDimages/safetyCheck/icon_zcgl_sb.png


+ 28 - 6
src/assets/styles/ZDelement.scss

@@ -9,6 +9,12 @@
 .el-message--error{
   background-color: rgba(254,240,240,0.4);
 }
+/*===================================input textarea样式===================================*/
+.el-textarea .el-input__count{
+  line-height:20px;
+  height:20px;
+  background-color: rgba(255,255,255,0);
+}
 /*===================================多选框样式===================================*/
 .el-tag.el-tag--info{
   color:#0183fa!important;
@@ -65,6 +71,19 @@
   text-align: right;
 }
 /*===================================表格===================================*/
+.el-table{
+  border-right:1px solid #dfe6ec;
+  background-color: #f5f5f5;
+}
+.el-table .caret-wrapper{
+  height:20px;
+}
+.el-table .sort-caret.ascending{
+  top:-3px;
+}
+.el-table .sort-caret.descending{
+  bottom:-1px;
+}
 .el-table--group::after, .el-table--border::after{
   width:0;
 }
@@ -78,12 +97,11 @@
 .el-table .el-table__header-wrapper th, .el-table .el-table__fixed-header-wrapper th{
   color:$color_33;
   background-color:#f5f5f5;
-}
-.el-table__header-wrapper{
-  height:60px;
+  line-height:20px;
 }
 .el-table__body-wrapper{
-  border-right:1px solid #dfe6ec;
+  //border-right:1px solid #dfe6ec;
+  background-color: #fff;
   flex: 1;
   overflow-y: scroll!important;
 }
@@ -97,12 +115,13 @@
 }
 .el-table__body-wrapper::-webkit-scrollbar-thumb{
   border-radius: 5px;
+  //background: #CBCDD1;
   background: #CBCDD1;
 }
 .el-table__body-wrapper::-webkit-scrollbar-track{
-  -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,0);
+  -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,1);
   border-radius: 0;
-  background: rgba(255,255,255,0);
+  background: rgba(255,255,255,1);
 }
 //表格内容高度部分
 //表头
@@ -123,6 +142,8 @@
   padding: 8px 0;
 }
 .el-table__header-wrapper{
+  width: calc(100% - 9px);
+  border-right:1px solid #f5f5f5;
   height:40px;
   th, td{
     padding:8px 0;
@@ -261,6 +282,7 @@
   width:100%;
   height:100%;
   background: url("../ZDimages/null-data-1.png") no-repeat 50% 50%;
+  background-color: #fff;
   background-size: 10%;
 }
 /*======================el-dialog弹窗居中*/

+ 8 - 9
src/views/safetyCheck/schoolInspection/inspectionGroup/index.vue

@@ -37,10 +37,9 @@
           <p class="reset-button-one" @click="resetQuery">重置</p>
         </el-form-item>
         <el-form-item style="float: right;">
-          <el-col :span="1.5" v-hasPermi="['laboratory:hardware7:add']">
+          <el-col :span="1.5">
             <p class="inquire-button-one"
                style="width:130px;"
-               @click="pageToggle(1)"
             ><i class="el-icon-plus"></i>添加巡察组</p>
           </el-col>
         </el-form-item>
@@ -49,11 +48,10 @@
     <div class="content-box">
       <el-table  border :data="tableList" ref="multipleTable">
         <el-table-column label="序号"  width="60" align="center"  type="index"/>
-        <el-table-column label="巡查组名称" align="center" prop="hardwareNum"/>
-        <el-table-column label="巡查层级" align="center" prop="deptName" width="200"/>
-        <el-table-column label="成员人数" align="center" prop="deptName" width="150"/>
-        <el-table-column label="是否启用" align="center" prop="deptName" width="185">
-
+        <el-table-column label="巡查组名称" align="center" prop="hardwareNum" show-overflow-tooltip/>
+        <el-table-column label="巡查层级" align="center" prop="deptName" show-overflow-tooltip width="200"/>
+        <el-table-column label="成员人数" align="center" prop="deptName" show-overflow-tooltip width="150"/>
+        <el-table-column label="是否启用" align="center" prop="deptName" show-overflow-tooltip width="185">
           <template slot-scope="scope">
             <div style="width:70px;margin-left:50px;">
               <el-switch
@@ -71,8 +69,8 @@
             </div>
           </template>
         </el-table-column>
-        <el-table-column label="操作人" align="center" prop="deptName" width="150"/>
-        <el-table-column label="操作时间" align="center" prop="deptName" width="250"/>
+        <el-table-column label="操作人" align="center" prop="deptName" show-overflow-tooltip width="150"/>
+        <el-table-column label="操作时间" align="center" prop="deptName" show-overflow-tooltip width="250"/>
         <el-table-column label="操作" align="center" prop="deptName" width="200">
           <div class="table-button-box">
             <p class="table-button-null"></p>
@@ -160,6 +158,7 @@
       display: flex;
       flex-direction: column;
       padding:20px;
+      overflow: hidden;
     }
   }
 </style>

+ 116 - 45
src/views/safetyCheck/schoolInspection/inspectionManagement/index.vue

@@ -1,8 +1,28 @@
-<!--巡查管理-->
+<!--巡查管理-->-
 <template>
   <div class="app-container inspectionManagement">
     <div class="title-box">
       <el-form :model="queryParams" class="form-box" ref="queryForm" :inline="true" label-width="80px">
+        <div class="form-button-max-big-box">
+          <div class="form-button-big-box" style="margin-left:10px;">
+            <div :class="queryParams.buttonType==1?'checkDiv':''" @click="topLeftClickType(1)">
+              <p class="text-p">全部</p>
+              <p class="el-icon-check icon-p" v-if="queryParams.buttonType==1"></p>
+            </div>
+            <div :class="queryParams.buttonType==2?'checkDiv':''" @click="topLeftClickType(2)">
+              <p class="text-p">待检查</p>
+              <p class="el-icon-check icon-p" v-if="queryParams.buttonType==2"></p>
+            </div>
+            <div :class="queryParams.buttonType==3?'checkDiv':''" @click="topLeftClickType(3)">
+              <p class="text-p">检查中</p>
+              <p class="el-icon-check icon-p" v-if="queryParams.buttonType==3"></p>
+            </div>
+            <div :class="queryParams.buttonType==4?'checkDiv':''" @click="topLeftClickType(4)">
+              <p class="text-p">已检查</p>
+              <p class="el-icon-check icon-p" v-if="queryParams.buttonType==4"></p>
+            </div>
+          </div>
+        </div>
         <el-form-item label="关键字" prop="searchValue">
           <el-input
             maxLength="30"
@@ -22,7 +42,7 @@
             </el-option>
           </el-select>
         </el-form-item>
-        <el-form-item label="检查时间" prop="dateRange" style="margin-left:10px;">
+        <el-form-item label="检查时间" prop="dateRange" style="margin-left:10px;" label-width="70px">
           <el-date-picker
             :clearable="false"
             v-model="dateRange"
@@ -39,48 +59,36 @@
           <p class="inquire-button-one" @click="handleQuery" style="margin-right:10px;">查询</p>
           <p class="reset-button-one" @click="resetQuery">重置</p>
         </el-form-item>
-        <el-form-item style="float: right;">
-          <el-col :span="1.5" v-hasPermi="['laboratory:hardware7:add']">
-            <p class="inquire-button-one"
-               style="width:130px;"
-               @click="pageToggle(1)"
-            ><i class="el-icon-plus"></i>添加巡察组</p>
-          </el-col>
-        </el-form-item>
+        <div class="form-button-max-big-box">
+          <div class="form-button-big-box">
+            <div :class="queryParams.myType==1?'checkDiv':''" style="width:100px;" @click="topRightClickType">
+              <p class="text-p">本人发起</p>
+              <p class="el-icon-check icon-p" v-if="queryParams.myType==1"></p>
+            </div>
+          </div>
+        </div>
       </el-form>
     </div>
     <div class="content-box">
-      <el-table  border :data="tableList" ref="multipleTable">
-        <el-table-column label="序号"  width="60" align="center"  type="index"/>
-        <el-table-column label="巡查组名称" align="center" prop="hardwareNum"/>
-        <el-table-column label="巡查层级" align="center" prop="deptName" width="200"/>
-        <el-table-column label="成员人数" align="center" prop="deptName" width="150"/>
-        <el-table-column label="是否启用" align="center" prop="deptName" width="185">
-          <template slot-scope="scope">
-            <div style="width:70px;margin-left:50px;">
-              <el-switch
-                @click.native="switchClick(scope.row)"
-                class="switch"
-                v-model="scope.row.exhaustType"
-                :active-value="1"
-                :inactive-value="0"
-                active-color="#0183FA"
-                inactive-color="#E0E0E0"
-                active-text="启用"
-                inactive-text="停用"
-                disabled
-              ></el-switch>
-            </div>
-          </template>
-        </el-table-column>
-        <el-table-column label="操作人" align="center" prop="deptName" width="150"/>
-        <el-table-column label="操作时间" align="center" prop="deptName" width="250"/>
-        <el-table-column label="操作" align="center" prop="deptName" width="200">
+      <el-table  border :data="tableList" ref="multipleTable" @sort-change="sortChange">
+        <el-table-column label="序号" align="center"  type="index" width="60" />
+        <el-table-column label="计划标题" align="center" prop="hardwareNum" show-overflow-tooltip width="250"/>
+        <el-table-column label="实验室" align="center" prop="deptName" show-overflow-tooltip width="220"/>
+        <el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip width="150"/>
+        <el-table-column label="检查状态" align="center" prop="deptName" show-overflow-tooltip width="90"/>
+        <el-table-column label="检查者" align="center" prop="deptName" show-overflow-tooltip width="100"/>
+        <el-table-column label="检查结果" align="center" prop="deptName" show-overflow-tooltip width="80"/>
+        <el-table-column label="隐患数" align="center" prop="deptName" show-overflow-tooltip width="80"/>
+        <el-table-column label="整改进度" align="center" prop="deptName" show-overflow-tooltip width="200"/>
+        <el-table-column label="计划周期" align="center" prop="deptName" show-overflow-tooltip width="270"/>
+        <el-table-column label="检查时间" sortable align="center" prop="deptName" show-overflow-tooltip width="157"/>
+        <el-table-column label="操作" align="center" prop="deptName" width="230">
           <div class="table-button-box">
-            <p class="table-button-null"></p>
-            <p class="table-button-p">编辑</p>
-            <p class="table-button-p">删除</p>
-            <p class="table-button-null"></p>
+            <p class="table-button-p">详情</p>
+            <p class="table-button-p">开始检查</p>
+            <!--<p class="table-button-p">编辑</p>-->
+            <!--<p class="table-button-p">整改报告</p>-->
+            <!--<p class="table-button-p">查看附件</p>-->
           </div>
         </el-table-column>
       </el-table>
@@ -100,9 +108,17 @@
     name: 'index',
     data(){
       return{
-        queryParams:{},
+        queryParams:{
+          pageNum:1,
+          pageSize:20,
+          buttonType:1,
+          myType:0,
+          timeType:0,
+          searchValue:"",
+          data1:""
+        },
         dateRange:[],
-        tableList:[{}],
+        tableList:[],
         total:0,
         optionsOne:[{key:1,label:"校级"},{key:2,label:"院级"}],
         optionsTwo:[{key:1,label:"启用"},{key:0,label:"停用"}],
@@ -115,7 +131,22 @@
 
     },
     methods:{
-
+      //时间排序方法
+      sortChange(val){
+        //ascending 上    descending 下    null  无
+        console.log('val',val.order)
+        this.$set(this.queryParams,'timeType',val.order=='ascending'?1:(val.order=='descending'?2:''));
+      },
+      //范围选择
+      topLeftClickType(type){
+        if(this.queryParams.buttonType != type){
+          this.$set(this.queryParams,'buttonType',type);
+          this.getList();
+        }
+      },
+      topRightClickType(){
+        this.$set(this.queryParams,'myType',this.queryParams.myType==1?0:1);
+      },
       //获取数据列表
       getList(){
         // this.queryParamsData = JSON.parse(JSON.stringify(this.queryParams));
@@ -132,12 +163,15 @@
       },
       /** 重置按钮操作 */
       resetQuery() {
+        this.$set(this,'dateRange',[]);
         this.$set(this,'queryParams',{
           pageNum:1,
           pageSize:20,
+          buttonType:1,
+          timeType:0,
+          myType:0,
           searchValue:"",
-          data1:"",
-          data2:"",
+          data1:""
         });
         this.handleQuery();
       },
@@ -154,12 +188,49 @@
     .title-box{
       padding-top:20px;
       border-bottom:1px solid #dedede;
+      .form-button-max-big-box{
+        display: inline-block;
+        .form-button-big-box{
+          display: flex;
+          div{
+            position: relative;
+            height:40px;
+            width:80px;
+            line-height: 40px;
+            text-align: center;
+            color:#999;
+            font-size:14px;
+            border:1px solid #999;
+            border-radius:4px;
+            margin-left:10px;
+            font-weight:500;
+            cursor: pointer;
+            .icon-p{
+              width:15px;
+              height:15px;
+              line-height:15px;
+              text-align: center;
+              position: absolute;
+              right:0;
+              bottom:0;
+              color:#fff;
+              background: #0183fa;
+              border-top-left-radius:4px;
+            }
+          }
+          .checkDiv{
+            color:#0183FA;
+            border:1px solid #0183FA;
+          }
+        }
+      }
     }
     .content-box{
       flex: 1;
       display: flex;
       flex-direction: column;
       padding:20px;
+      overflow: hidden;
     }
   }
 </style>

+ 447 - 0
src/views/safetyCheck/schoolInspection/inspectionPlan/index.vue

@@ -0,0 +1,447 @@
+<!--巡查计划-->
+<template>
+  <div class="app-container inspectionPlan">
+    <div class="title-box">
+      <el-form :model="queryParams" class="form-box" ref="queryForm" :inline="true" label-width="80px">
+        <div class="form-button-max-big-box">
+          <div class="form-button-big-box" style="margin-left:10px;">
+            <div :class="queryParams.buttonType==1?'checkDiv':''" @click="topLeftClickType(1)">
+              <p class="text-p">全部</p>
+              <p class="el-icon-check icon-p" v-if="queryParams.buttonType==1"></p>
+            </div>
+            <div :class="queryParams.buttonType==2?'checkDiv':''" @click="topLeftClickType(2)">
+              <p class="text-p">待检查</p>
+              <p class="el-icon-check icon-p" v-if="queryParams.buttonType==2"></p>
+            </div>
+            <div :class="queryParams.buttonType==3?'checkDiv':''" @click="topLeftClickType(3)">
+              <p class="text-p">检查中</p>
+              <p class="el-icon-check icon-p" v-if="queryParams.buttonType==3"></p>
+            </div>
+            <div :class="queryParams.buttonType==4?'checkDiv':''" @click="topLeftClickType(4)">
+              <p class="text-p">已检查</p>
+              <p class="el-icon-check icon-p" v-if="queryParams.buttonType==4"></p>
+            </div>
+          </div>
+        </div>
+        <el-form-item label="关键字" prop="searchValue">
+          <el-input
+            maxLength="30"
+            v-model="queryParams.searchValue"
+            placeholder="计划标题/创建人"
+            clearable
+            style="width: 200px"
+          />
+        </el-form-item>
+        <el-form-item label="检查周期" prop="dateRange" style="margin-left:10px;" label-width="70px">
+          <el-date-picker
+            :clearable="false"
+            v-model="dateRange"
+            size="small"
+            style="width: 240px"
+            value-format="yyyy-MM-dd"
+            type="daterange"
+            range-separator="-"
+            start-placeholder="开始日期"
+            end-placeholder="结束日期"
+          ></el-date-picker>
+        </el-form-item>
+        <el-form-item>
+          <p class="inquire-button-one" @click="handleQuery" style="margin-right:10px;">查询</p>
+          <p class="reset-button-one" @click="resetQuery">重置</p>
+        </el-form-item>
+        <el-form-item style="float: right;">
+          <el-col :span="1.5">
+            <p class="inquire-button-one"
+               style="width:130px;"
+               @click="addDialogOpen(1)"
+            ><i class="el-icon-plus"></i>创建巡查计划</p>
+          </el-col>
+        </el-form-item>
+      </el-form>
+    </div>
+    <div class="content-box">
+      <el-table  border :data="tableList" ref="multipleTable" @sort-change="sortChange">
+        <el-table-column label="序号" align="center"  type="index" width="60" />
+        <el-table-column label="计划标题" align="center" prop="deptName" show-overflow-tooltip/>
+        <el-table-column label="检查范围" align="center" prop="deptName" show-overflow-tooltip width="120"/>
+        <el-table-column label="检查周期" align="center" prop="deptName" show-overflow-tooltip width="280"/>
+        <el-table-column label="检查状态" align="center" prop="deptName" show-overflow-tooltip width="130"/>
+        <el-table-column label="检查进度" align="center" prop="deptName" show-overflow-tooltip width="220"/>
+        <el-table-column label="创建人" align="center" prop="deptName" show-overflow-tooltip width="130"/>
+        <el-table-column label="创建时间" sortable align="center" prop="deptName" show-overflow-tooltip width="157"/>
+        <el-table-column label="操作" align="center" prop="deptName" width="200">
+          <div class="table-button-box">
+            <p class="table-button-p">编辑</p>
+            <p class="table-button-p">删除</p>
+            <!--<p class="table-button-p">巡查管理</p>-->
+            <!--<p class="table-button-p">查看附件</p>-->
+          </div>
+        </el-table-column>
+      </el-table>
+      <pagination :page-sizes="[20, 30, 40, 50]"
+                  v-show="total>0"
+                  :total="total"
+                  :page.sync="queryParams.pageNum"
+                  :limit.sync="queryParams.pageSize"
+                  @pagination="getList"
+      />
+    </div>
+    <el-dialog class="inspectionPlan-dialog-box"
+      :title="addDialogTitle" :visible.sync="addDialogType" v-if="addDialogType"
+      @close="addDialogOff" width="1303px" append-to-body>
+      <div class="inspectionPlan-dialog-add-box" v-show="addDialogBoxType==1">
+        <div class="left-max-box">
+          <div class="left-max-title-box">
+            <img src="@/assets/ZDimages/safetyCheck/icon_jhbt.png">
+            <p>计划标题快选</p>
+          </div>
+          <div class="left-max-list-box scrollbar-box">
+            <p v-for="(item,index) in quickSelectionList" :key="index">{{item}}</p>
+          </div>
+        </div>
+        <div class="right-max-box scrollbar-box">
+          <el-form  :model="dialogForm" :rules="rules" label-width="140px">
+            <el-form-item label="计划标题:" prop="data1">
+              <el-input v-model="dialogForm.data1" placeholder="未选择指标" maxLength="6" style="width:450px;"/>
+            </el-form-item>
+            <el-form-item label="检查类型:" prop="data2">
+              <el-input v-model="dialogForm.data2" placeholder="未选择指标" maxLength="6" disabled style="width:450px;"/>
+            </el-form-item>
+            <el-form-item label="检查周期:" prop="data3">
+              <div class="date-range-box">
+                <div class="date-range-left-box">
+                  <el-date-picker
+                    :clearable="false"
+                    v-model="dialogForm.data3"
+                    style="width:450px;"
+                    value-format="yyyy-MM-dd"
+                    type="daterange"
+                    range-separator="-"
+                    start-placeholder="开始日期"
+                    end-placeholder="结束日期"
+                  ></el-date-picker>
+                </div>
+                <div class="date-range-right-box">
+                  <p>本月</p>
+                  <p>本季度</p>
+                  <p>全年</p>
+                </div>
+              </div>
+            </el-form-item>
+            <el-form-item label="检查要求:" prop="data4">
+              <el-input
+                type="textarea"
+                :autosize="{ minRows: 3, maxRows: 3}"
+                placeholder="请输入检查检查要点:"
+                v-model="dialogForm.data4"
+                maxlength="100"
+                resize="none"
+                show-word-limit
+                style="width:548px;">
+              </el-input>
+            </el-form-item>
+            <el-form-item label="检查材料:" prop="data5">
+            </el-form-item>
+            <el-form-item label="巡察组:" prop="data6">
+              <div>
+                <el-select v-model="dialogOptionsValue" placeholder="请选择">
+                  <el-option
+                    v-for="item in dialogOptions"
+                    :key="item.value"
+                    :label="item.label"
+                    :value="item.value">
+                  </el-option>
+                </el-select>
+              </div>
+              <div class="dialog-table-box">
+                <div class="dialog-table-title-box">
+                  <img src="">
+                  <p>巡查成员</p>
+                  <p>+ 添加</p>
+                </div>
+                <el-table style="min-height:200px;" border :data="dialogTableList" ref="multipleTable" @sort-change="sortChange">
+                  <el-table-column label="序号" align="center"  type="index" width="150" />
+                  <el-table-column label="工号" align="center" prop="deptName" show-overflow-tooltip width="150"/>
+                  <el-table-column label="姓名" align="center" prop="deptName" show-overflow-tooltip width="150"/>
+                  <el-table-column label="所在部门" align="center" prop="deptName" show-overflow-tooltip width="150"/>
+                  <el-table-column label="操作" align="center" prop="deptName" width="150"/>
+                </el-table>
+              </div>
+            </el-form-item>
+          </el-form>
+        </div>
+      </div>
+      <div slot="footer" class="dialog-footer dialog-footer-box" style="display: flex">
+        <p class="dialog-footer-button-null"></p>
+        <p class="dialog-footer-button-info" @click="addDialogOff">取消</p>
+        <p class="dialog-footer-button-primary">确定</p>
+        <p class="dialog-footer-button-null"></p>
+      </div>
+    </el-dialog>
+  </div>
+</template>
+
+<script>
+  export default {
+    name: 'index',
+    data(){
+      return{
+        queryParams:{
+          pageNum:1,
+          pageSize:20,
+          buttonType:1,
+          timeType:0,
+          searchValue:"",
+          data1:""
+        },
+        dateRange:[],
+        tableList:[],
+        total:0,
+        optionsOne:[{key:1,label:"月度"},{key:2,label:"季度"},{key:3,label:"年度"}],
+        //弹窗相关
+        addDialogTitle:"",
+        addDialogType:true,
+        //弹窗内容状态
+        addDialogBoxType:1,
+        //标题快选数据
+        quickSelectionList:['校级开学检查', '院级开学检查', '月度安全检查', '季度安全检查', '年度安全检查', '专项检查', '紧急检查','校级开学检查', '院级开学检查', '月度安全检查', '季度安全检查', '年度安全检查', '专项检查', '紧急检查','校级开学检查', '院级开学检查', '月度安全检查', '季度安全检查', '年度安全检查', '专项检查', '紧急检查',],
+        dialogOptions:[],
+        dialogOptionsValue:"",
+        dialogForm:{
+          data1:"",
+          data2:"",
+          data3:[],
+          data4:"",
+          data5:"",
+          data6:"",
+        },
+        dialogTableList:[{}],
+        // 表单校验
+        rules: {
+          data1: [
+            { required: true, message: "请输入计划标题", trigger: "change" },
+            { required: true, message: "请输入计划标题", validator: this.spaceJudgment, trigger: "change" },
+          ],
+          data3: [
+            { required: true, message: "请选择检查周期", trigger: "change" },
+            { required: true, message: "请选择检查周期", validator: this.spaceJudgment, trigger: "change" },
+          ],
+        },
+      }
+    },
+    created(){
+
+    },
+    mounted(){
+
+    },
+    methods:{
+      //弹窗开启
+      addDialogOpen(type){
+        if(type==1){
+          this.$set(this,'addDialogTitle','创建巡查计划');
+        }else{
+          this.$set(this,'addDialogTitle','编辑巡查计划');
+        }
+        this.$set(this,'addDialogType',true);
+      },
+      //弹窗关闭
+      addDialogOff(){
+
+      },
+      //范围选择
+      topLeftClickType(type){
+        if(this.queryParams.buttonType != type){
+          this.$set(this.queryParams,'buttonType',type);
+          this.getList();
+        }
+      },
+      //时间排序方法
+      sortChange(val){
+        //ascending 上    descending 下    null  无
+        console.log('val',val.order)
+        this.$set(this.queryParams,'timeType',val.order=='ascending'?1:(val.order=='descending'?2:''));
+      },
+      //获取数据列表
+      getList(){
+        // this.queryParamsData = JSON.parse(JSON.stringify(this.queryParams));
+        // this.queryParamsData.type = 'RFID_RECOGNIZER';
+        // listHardware(this.queryParamsData).then(response => {
+        //   this.total = response.total;
+        //   this.tableList = response.rows;
+        // });
+      },
+      /** 搜索按钮操作 */
+      handleQuery() {
+        this.$set(this.queryParams,'pageNum',1);
+        this.getList();
+      },
+      /** 重置按钮操作 */
+      resetQuery() {
+        this.$set(this,'dateRange',[]);
+        this.$set(this,'queryParams',{
+          pageNum:1,
+          pageSize:20,
+          buttonType:1,
+          timeType:0,
+          searchValue:"",
+          data1:""
+        });
+        this.handleQuery();
+      },
+    }
+  }
+</script>
+
+<style scoped lang="scss">
+  .inspectionPlan{
+    flex: 1;
+    display: flex !important;
+    flex-direction: column;
+    overflow: hidden;
+    .title-box{
+      padding-top:20px;
+      border-bottom:1px solid #dedede;
+      .form-button-max-big-box{
+        display: inline-block;
+        .form-button-big-box{
+          display: flex;
+          div{
+            position: relative;
+            height:40px;
+            width:80px;
+            line-height: 40px;
+            text-align: center;
+            color:#999;
+            font-size:14px;
+            border:1px solid #999;
+            border-radius:4px;
+            margin-left:10px;
+            font-weight:500;
+            cursor: pointer;
+            .icon-p{
+              width:15px;
+              height:15px;
+              line-height:15px;
+              text-align: center;
+              position: absolute;
+              right:0;
+              bottom:0;
+              color:#fff;
+              background: #0183fa;
+              border-top-left-radius:4px;
+            }
+          }
+          .checkDiv{
+            color:#0183FA;
+            border:1px solid #0183FA;
+          }
+        }
+      }
+    }
+    .content-box{
+      flex: 1;
+      display: flex;
+      flex-direction: column;
+      padding:20px;
+      overflow: hidden;
+    }
+  }
+</style>
+<style lang="scss">
+  .inspectionPlan-dialog-box{
+    .el-dialog__body{
+      padding:20px 40px 20px 70px;
+    }
+    .inspectionPlan-dialog-add-box{
+      display: flex;
+      overflow: hidden;
+      height:610px;
+      .left-max-box{
+        width:270px;
+        border-right:1px dashed #D8D8D8;
+        display: flex;
+        flex-direction: column;
+        .left-max-title-box{
+          width:230px;
+          display: flex;
+          border-bottom:1px solid #E0E0E0;
+          img{
+            width:14px;
+            height:11px;
+            margin:33px 18px 33px 0;
+          }
+          p{
+            line-height:78px;
+            color:#0183FA;
+            font-size:16px;
+          }
+        }
+        .left-max-list-box{
+          flex:1;
+          width:230px;
+          overflow-x: hidden;
+          p{
+            width:230px;
+            height:40px;
+            line-height:40px;
+            padding-left:32px;
+            margin-top: 10px;
+            cursor: pointer;
+            font-size:16px;
+            color:#333333;
+          }
+          p:hover{
+            background: rgba(1,131,250,0.2);
+            color:#0183FA;
+            display:block;
+            overflow:hidden;
+            text-overflow:ellipsis;
+            white-space:nowrap;
+          }
+        }
+      }
+      .right-max-box{
+        flex:1;
+        padding-right:30px;
+        .date-range-box{
+          display: flex;
+          .date-range-left-box{
+            margin-right:15px;
+          }
+          .date-range-right-box{
+            display: flex;
+            border-radius:4px;
+            overflow: hidden;
+            border:1px solid #E0E0E0;
+            p{
+              width: 70px;
+              height:34px;
+              line-height:34px;
+              color:#333;
+              font-size:14px;
+              text-align: center;
+              cursor: pointer;
+            }
+            p:hover{
+              color:#fff;
+              background: #0045AF;
+            }
+            p:nth-child(2){
+              border-left:1px solid #E0E0E0;
+              border-right:1px solid #E0E0E0;
+            }
+          }
+        }
+        .dialog-table-box{
+          display: flex;
+          flex-direction: column;
+          flex:1;
+          .dialog-table-title-box{
+            display: flex;
+          }
+        }
+      }
+    }
+  }
+</style>