From 358377336e3e64e088d05bf67bd952bf4f25f419 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期三, 28 一月 2026 15:06:42 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI

---
 src/views/system/user/GyDriver.vue |  779 +++++++++++++++--------------------------------------------
 1 files changed, 206 insertions(+), 573 deletions(-)

diff --git a/src/views/system/user/GyDriver.vue b/src/views/system/user/GyDriver.vue
index 474bfae..d8b9a4a 100644
--- a/src/views/system/user/GyDriver.vue
+++ b/src/views/system/user/GyDriver.vue
@@ -1,301 +1,143 @@
 <template>
   <div style="padding: 10px">
     <el-card class="search-card" style="margin-bottom: 15px">
-            <el-button
-              type="text"
-              @click="toggleAdvancedSearch"
-              style="font-size: 12px; color: #409eff"
-            >
-              {{ showAdvancedSearch ? "鏀惰捣" : "鏇村" }}
-              <i
-                :class="
-                  showAdvancedSearch
-                    ? 'el-icon-arrow-up'
-                    : 'el-icon-arrow-down'
-                "
-              ></i>
-            </el-button>
+      <el-button type="text" @click="toggleAdvancedSearch" style="font-size: 12px; color: #409eff">
+        {{ showAdvancedSearch ? "鏀惰捣" : "鏇村" }}
+        <i :class="showAdvancedSearch
+            ? 'el-icon-arrow-up'
+            : 'el-icon-arrow-down'
+          "></i>
+      </el-button>
       <div style="margin-top: 15px">
         <el-row :gutter="15">
           <el-col :span="6">
             <div style="display: flex; align-items: center">
-              <span style="width: 200px; text-align: right; margin-right: 10px"
-                >椹鹃┒鍛樹唬鐮�:</span
-              >
-              <el-input
-                v-model="queryParams.HNumber"
-                placeholder="璇疯緭鍏ラ┚椹跺憳浠g爜"
-                size="small"
-                @keyup.enter.native="handleQuery"
-                clearable
-              />
+              <span style="width: 200px; text-align: right; margin-right: 10px">椹鹃┒鍛樹唬鐮�:</span>
+              <el-input v-model="queryParams.HNumber" placeholder="璇疯緭鍏ラ┚椹跺憳浠g爜" size="small"
+                @keyup.enter.native="handleQuery" clearable />
             </div>
           </el-col>
           <el-col :span="6">
             <div style="display: flex; align-items: center">
-              <span style="width: 200px; text-align: right; margin-right: 10px"
-                >椹鹃┒鍛樺悕绉�:</span
-              >
-              <el-input
-                v-model="queryParams.HName"
-                placeholder="璇疯緭鍏ラ┚椹跺憳鍚嶇О"
-                size="small"
-                @keyup.enter.native="handleQuery"
-                clearable
-              />
+              <span style="width: 200px; text-align: right; margin-right: 10px">椹鹃┒鍛樺悕绉�:</span>
+              <el-input v-model="queryParams.HName" placeholder="璇疯緭鍏ラ┚椹跺憳鍚嶇О" size="small"
+                @keyup.enter.native="handleQuery" clearable />
             </div>
           </el-col>
           <el-col :span="6">
             <div style="display: flex; align-items: center">
-              <span style="width: 100px; text-align: right; margin-right: 10px"
-                >缁勭粐:</span
-              >
-              <el-select
-                v-model="queryParams.HUSEORGID"
-                placeholder="璇烽�夋嫨缁勭粐"
-                size="small"
-                style="width: 100%"
-              >
-                <el-option
-                  v-for="(item, index) in organizationList"
-                  :key="index"
-                  :label="item.Name"
-                  :value="item.ID"
-                >
+              <span style="width: 100px; text-align: right; margin-right: 10px">缁勭粐:</span>
+              <el-select v-model="queryParams.HUSEORGID" placeholder="璇烽�夋嫨缁勭粐" size="small" style="width: 100%">
+                <el-option v-for="(item, index) in organizationList" :key="index" :label="item.Name" :value="item.ID">
                 </el-option>
               </el-select>
             </div>
           </el-col>
           <el-col :span="6">
             <div style="display: flex; align-items: center">
-              <span style="width: 80px; text-align: right; margin-right: 10px"
-                >閲嶆柊鍚屾:</span
-              >
-              <el-input
-                v-model="queryParams.HSyncNumber"
-                placeholder="璇疯緭鍏ラ┚椹跺憳浠g爜"
-                size="small"
-                @keyup.enter.native="handleSync"
-                clearable
-                style="flex: 1"
-              />
-              <el-button
-                @click="handleSync"
-                size="small"
-                style="margin-left: 5px"
-                >鍚屾</el-button
-              >
+              <span style="width: 80px; text-align: right; margin-right: 10px">閲嶆柊鍚屾:</span>
+              <el-input v-model="queryParams.HSyncNumber" placeholder="璇疯緭鍏ラ┚椹跺憳浠g爜" size="small"
+                @keyup.enter.native="handleSync" clearable style="flex: 1" />
+              <el-button @click="handleSync" size="small" style="margin-left: 5px">鍚屾</el-button>
             </div>
           </el-col>
         </el-row>
-      <div class="search-header">
-        <div style="display: flex; justify-content: space-between; align-items: center">
-          <div>
-            <el-button
-              type="primary"
-              icon="el-icon-search"
-              size="mini"
-              @click="handleQuery"
-              style="margin-right: 10px"
-              >鎼滅储</el-button
-            >
-            <el-button
-              icon="el-icon-refresh"
-              size="mini"
-              @click="resetQuery"
-              style="margin-right: 10px"
-              >閲嶇疆</el-button
-            >
-            <el-button
-              icon="el-icon-refresh"
-              size="mini"
-              @click="getList"
-              style="margin-right: 10px"
-              >鍒锋柊</el-button
-            >
+        <div class="search-header">
+          <div style="display: flex; justify-content: space-between; align-items: center">
+            <div>
+              <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"
+                style="margin-right: 10px">鎼滅储</el-button>
+              <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
+                style="margin-right: 10px">閲嶇疆</el-button>
+              <el-button icon="el-icon-refresh" size="mini" @click="getList" style="margin-right: 10px">鍒锋柊</el-button>
 
+            </div>
           </div>
         </div>
-      </div>
         <el-collapse-transition>
           <div v-show="showAdvancedSearch">
             <div style="margin-top: 15px">
               <el-row :gutter="15">
                 <div style="margin-bottom: 50px">
-                <!-- 绗竴缁勮繃婊ゆ潯浠� -->
-                <el-col :span="24">
-                  <div style="display: flex; align-items: center">
-                    <el-select
-                      v-model="queryParams.ColName"
-                      placeholder="璇烽�夋嫨"
-                      size="small"
-                      style="flex: 1"
-                    >
-                      <el-option label="" value="0"></el-option>
-                      <el-option
-                        v-for="(item, index) in filterColumnList"
-                        :key="index"
-                        :label="item.field"
-                        :value="item.field"
-                        v-if="!item.hide"
-                      ></el-option>
-                    </el-select>
-                    <el-select
-                      v-model="queryParams.Comparator"
-                      placeholder="璇烽�夋嫨"
-                      size="small"
-                      style="width: 100px; margin: 0 10px"
-                    >
-                      <el-option label="" value="0"></el-option>
-                      <el-option
-                        v-for="(item, index) in comparatorList"
-                        :key="index"
-                        :label="item.label"
-                        :value="item.value"
-                      ></el-option>
-                    </el-select>
-                    <el-input
-                      v-model="queryParams.ColContent"
-                      placeholder="璇疯緭鍏�"
-                      size="small"
-                      @keyup.enter.native="handleQuery"
-                      clearable
-                      style="flex: 1"
-                    />
-                  </div>
-                </el-col>
+                  <!-- 绗竴缁勮繃婊ゆ潯浠� -->
+                  <el-col :span="24">
+                    <div style="display: flex; align-items: center">
+                      <el-select v-model="queryParams.ColName" placeholder="璇烽�夋嫨" size="small" style="flex: 1">
+                        <el-option label="" value="0"></el-option>
+                        <el-option v-for="(item, index) in filterColumnList" :key="index" :label="item.field"
+                          :value="item.field" v-if="!item.hide"></el-option>
+                      </el-select>
+                      <el-select v-model="queryParams.Comparator" placeholder="璇烽�夋嫨" size="small"
+                        style="width: 100px; margin: 0 10px">
+                        <el-option label="" value="0"></el-option>
+                        <el-option v-for="(item, index) in comparatorList" :key="index" :label="item.label"
+                          :value="item.value"></el-option>
+                      </el-select>
+                      <el-input v-model="queryParams.ColContent" placeholder="璇疯緭鍏�" size="small"
+                        @keyup.enter.native="handleQuery" clearable style="flex: 1" />
+                    </div>
+                  </el-col>
                 </div>
                 <div style="margin-bottom: 100px">
-                <!-- 绗簩缁勮繃婊ゆ潯浠� -->
-                <el-col :span="24">
-                  <div style="display: flex; align-items: center">
-                    
-                    <el-select
-                      v-model="queryParams.ColName1"
-                      placeholder="璇烽�夋嫨"
-                      size="small"
-                      style="flex: 1"
-                    >
-                      <!-- <el-option label="" value="0"></el-option> -->
-                      <el-option
-                        v-for="(item, index) in filterColumnList"
-                        :key="index"
-                        :label="item.field"
-                        :value="item.field"
-                        v-if="!item.hide"
-                      ></el-option>
-                    </el-select>
-                    <el-select
-                      v-model="queryParams.Comparator1"
-                      placeholder="璇烽�夋嫨"
-                      size="small"
-                      style="width: 100px; margin: 0 10px"
-                    >
-                      <!-- <el-option label="" value="0"></el-option> -->
-                      <el-option
-                        v-for="(item, index) in comparatorList"
-                        :key="index"
-                        :label="item.label"
-                        :value="item.value"
-                      ></el-option>
-                    </el-select>
-                    <el-input
-                      v-model="queryParams.ColContent1"
-                      placeholder="璇疯緭鍏�"
-                      size="small"
-                      @keyup.enter.native="handleQuery"
-                      clearable
-                      style="flex: 1"
-                    />
-                  </div>
-                </el-col>
+                  <!-- 绗簩缁勮繃婊ゆ潯浠� -->
+                  <el-col :span="24">
+                    <div style="display: flex; align-items: center">
+
+                      <el-select v-model="queryParams.ColName1" placeholder="璇烽�夋嫨" size="small" style="flex: 1">
+                        <!-- <el-option label="" value="0"></el-option> -->
+                        <el-option v-for="(item, index) in filterColumnList" :key="index" :label="item.field"
+                          :value="item.field" v-if="!item.hide"></el-option>
+                      </el-select>
+                      <el-select v-model="queryParams.Comparator1" placeholder="璇烽�夋嫨" size="small"
+                        style="width: 100px; margin: 0 10px">
+                        <!-- <el-option label="" value="0"></el-option> -->
+                        <el-option v-for="(item, index) in comparatorList" :key="index" :label="item.label"
+                          :value="item.value"></el-option>
+                      </el-select>
+                      <el-input v-model="queryParams.ColContent1" placeholder="璇疯緭鍏�" size="small"
+                        @keyup.enter.native="handleQuery" clearable style="flex: 1" />
+                    </div>
+                  </el-col>
                 </div>
                 <div style="margin-bottom: 50px">
-                <!-- 绗笁缁勮繃婊ゆ潯浠� -->
-                <el-col :span="24">
-                  <div style="display: flex; align-items: center">
-                    <el-select
-                      v-model="queryParams.ColName2"
-                      placeholder="璇烽�夋嫨"
-                      size="small"
-                      style="flex: 1"
-                    >
-                      <!-- <el-option label="" value="0"></el-option> -->
-                      <el-option
-                        v-for="(item, index) in filterColumnList"
-                        :key="index"
-                        :label="item.field"
-                        :value="item.field"
-                        v-if="!item.hide"
-                      ></el-option>
-                    </el-select>
-                    <el-select
-                      v-model="queryParams.Comparator2"
-                      placeholder="璇烽�夋嫨"
-                      size="big"
-                      style="width: 100px; margin: 0 10px"
-                    >
-                      <el-option label="" value="0"></el-option>
-                      <el-option
-                        v-for="(item, index) in comparatorList"
-                        :key="index"
-                        :label="item.label"
-                        :value="item.value"
-                      ></el-option>
-                    </el-select>
-                    <el-input
-                      v-model="queryParams.ColContent2"
-                      placeholder="璇疯緭鍏�"
-                      size="big"
-                      @keyup.enter.native="handleQuery"
-                      clearable
-                      style="flex: 1"
-                    />
-                  </div>
-                </el-col>
+                  <!-- 绗笁缁勮繃婊ゆ潯浠� -->
+                  <el-col :span="24">
+                    <div style="display: flex; align-items: center">
+                      <el-select v-model="queryParams.ColName2" placeholder="璇烽�夋嫨" size="small" style="flex: 1">
+                        <!-- <el-option label="" value="0"></el-option> -->
+                        <el-option v-for="(item, index) in filterColumnList" :key="index" :label="item.field"
+                          :value="item.field" v-if="!item.hide"></el-option>
+                      </el-select>
+                      <el-select v-model="queryParams.Comparator2" placeholder="璇烽�夋嫨" size="big"
+                        style="width: 100px; margin: 0 10px">
+                        <el-option label="" value="0"></el-option>
+                        <el-option v-for="(item, index) in comparatorList" :key="index" :label="item.label"
+                          :value="item.value"></el-option>
+                      </el-select>
+                      <el-input v-model="queryParams.ColContent2" placeholder="璇疯緭鍏�" size="big"
+                        @keyup.enter.native="handleQuery" clearable style="flex: 1" />
+                    </div>
+                  </el-col>
                 </div>
               </el-row>
             </div>
 
-            <div
-              v-if="currentFilterScheme"
-              style="
+            <div v-if="currentFilterScheme" style="
                 margin-top: 15px;
                 padding: 10px;
                 background-color: #f0f9ff;
                 border-radius: 4px;
                 border-left: 4px solid #409eff;
-              "
-            >
+              ">
               <span style="font-size: 14px; font-weight: bold; color: #fc9393">
                 褰撳墠杩囨护鏂规锛歿{ currentFilterScheme }}
               </span>
-              <span
-                v-if="currentFilterRemark"
-                style="font-size: 13px; color: #7b90fb; margin-left: 10px"
-              >
+              <span v-if="currentFilterRemark" style="font-size: 13px; color: #7b90fb; margin-left: 10px">
                 ({{ currentFilterRemark }})
               </span>
-              <el-button
-                type="text"
-                @click="handleSaveScheme"
-                size="mini"
-                style="margin-left: 20px"
-                >淇濆瓨鏂规</el-button
-              >
-              <el-button
-                type="text"
-                @click="handleReadScheme"
-                size="mini"
-                >璇诲彇鏂规</el-button
-              >
-              <el-button
-                type="text"
-                @click="clearFilterScheme"
-                size="mini"
-                style="color: #f56c6c"
-                >娓呴櫎鏂规</el-button
-              >
+              <el-button type="text" @click="handleSaveScheme" size="mini" style="margin-left: 20px">淇濆瓨鏂规</el-button>
+              <el-button type="text" @click="handleReadScheme" size="mini">璇诲彇鏂规</el-button>
+              <el-button type="text" @click="clearFilterScheme" size="mini" style="color: #f56c6c">娓呴櫎鏂规</el-button>
             </div>
           </div>
         </el-collapse-transition>
@@ -304,15 +146,8 @@
 
     <el-row :gutter="10" class="mb8">
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-upload2"
-          size="mini"
-          @click="handleImport"
-          id="set_SouceExcel"
-          >瀵煎叆</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-upload2" size="mini" @click="handleImport"
+          id="set_SouceExcel">瀵煎叆</el-button>
       </el-col>
       <!-- <el-col :span="1.5">
         <el-button
@@ -326,190 +161,77 @@
         >
       </el-col> -->
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-plus"
-          size="mini"
-          @click="handleAddEdit((OperationType = 1))"
-          id="set_add"
-          >鏂板</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAddEdit((OperationType = 1))"
+          id="set_add">鏂板</el-button>
       </el-col>
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-document-copy"
-          size="mini"
-          :disabled="single"
-          @click="handleCopy"
-          id="set_Copy"
-          >澶嶅埗</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-document-copy" size="mini" :disabled="single" @click="handleCopy"
+          id="set_Copy">澶嶅埗</el-button>
       </el-col>
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-edit"
-          size="mini"
-          :disabled="single"
-          @click="handleEdit((row = rowForm), (OperationType = 3))"
-          id="set_show"
-          >缂栬緫</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-edit" size="mini" :disabled="single"
+          @click="handleEdit((row = rowForm), (OperationType = 3))" id="set_show">缂栬緫</el-button>
       </el-col>
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-delete"
-          size="mini"
-          :disabled="single"
-          @click="handleDelete"
-          id="set_delete"
-          >鍒犻櫎</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-delete" size="mini" :disabled="single" @click="handleDelete"
+          id="set_delete">鍒犻櫎</el-button>
       </el-col>
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-check"
-          size="mini"
-          :disabled="single"
-          @click="handleAudit(0)"
-          id="btn_audit"
-          >瀹℃牳</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-check" size="mini" :disabled="single" @click="handleAudit(0)"
+          id="btn_audit">瀹℃牳</el-button>
       </el-col>
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-close"
-          size="mini"
-          :disabled="single"
-          @click="handleAudit(1)"
-          id="btn_deaudit"
-          >鍙嶅鏍�</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-close" size="mini" :disabled="single" @click="handleAudit(1)"
+          id="btn_deaudit">鍙嶅鏍�</el-button>
       </el-col>
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-turn-off"
-          size="mini"
-          :disabled="single"
-          @click="handleStop(0)"
-          id="btn_stop"
-          >绂佺敤</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-turn-off" size="mini" :disabled="single" @click="handleStop(0)"
+          id="btn_stop">绂佺敤</el-button>
       </el-col>
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-open"
-          size="mini"
-          :disabled="single"
-          @click="handleStop(1)"
-          id="btn_destop"
-          >鍙嶇鐢�</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-open" size="mini" :disabled="single" @click="handleStop(1)"
+          id="btn_destop">鍙嶇鐢�</el-button>
       </el-col>
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-setting"
-          size="mini"
-          @click="handleRowHide"
-          id="set_hidecolumn"
-          >鍒楄缃�</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-setting" size="mini" @click="handleRowHide"
+          id="set_hidecolumn">鍒楄缃�</el-button>
       </el-col>
       <el-col :span="1.5">
-        <el-button
-          type="primary"
-          plain
-          icon="el-icon-s-operation"
-          size="mini"
-          @click="handleBtnHide"
-          id="HideButton"
-          >鎸夐挳璁剧疆</el-button
-        >
+        <el-button type="primary" plain icon="el-icon-s-operation" size="mini" @click="handleBtnHide"
+          id="HideButton">鎸夐挳璁剧疆</el-button>
       </el-col>
     </el-row>
 
     <div class="tableBox" v-loading="loading">
-      <el-table
-        :data="tableData"
-        ref="tableData"
-        max-height="650"
-        @selection-change="handleSelectionChange"
-        border
-        @row-click="handleRowClick"
-        :row-style="rowStyle"
-        @cell-dblclick="handleDblclick"
-        v-if="tableShow"
-        stripe
-      >
-        <el-table-column
-          type="selection"
-          width="55"
-          align="center"
-          fixed="left"
-        />
+      <el-table :data="tableData" ref="tableData" max-height="650" @selection-change="handleSelectionChange" border
+        @row-click="handleRowClick" :row-style="rowStyle" @cell-dblclick="handleDblclick" v-if="tableShow" stripe>
+        <el-table-column type="selection" width="55" align="center" fixed="left" />
         <template v-for="(item, index) in btList">
-          <el-table-column
-            :align="item.align"
-            :prop="item.field"
-            :label="item.title"
-            :width="item.width"
-            :key="item.field"
-            v-if="!item.hide && item.field !== 'checkbox'"
-            :sortable="item.sort"
-            show-overflow-tooltip
-            :fixed="item.fixed"
-          >
+          <el-table-column :align="item.align" :prop="item.field" :label="item.title" :width="item.width"
+            :key="item.field" v-if="!item.hide && item.field !== 'checkbox'" :sortable="item.sort" show-overflow-tooltip
+            :fixed="item.fixed">
             <template slot-scope="{ row, column }">
               <div :style="item.style">
                 <!-- 鏃ユ湡鏍煎紡鍖� -->
-                <span
-                  v-if="
-                    column.property.includes('鏃ユ湡') ||
-                    column.property.includes('Date')
-                  "
-                >
+                <span v-if="
+                  column.property.includes('鏃ユ湡') ||
+                  column.property.includes('Date')
+                ">
                   {{ parseTime(row[column.property], "{y}-{m}-{d}") }}
                 </span>
-                <el-button
-                  type="text"
-                  @click="handleDriverCodeClick(row)"
-                  v-else-if="column.property === '椹鹃┒鍛樹唬鐮�'"
-                  style="color: #409eff"
-                  >{{ row[column.property] }}</el-button
-                >
-                <span
-                  v-else-if="column.property === '绂佺敤鏍囪'"
-                  :style="{
-                    color: row[column.property] === 'Y' ? '#f56c6c' : '#67c23a',
-                    fontWeight:
-                      row[column.property] === 'Y' ? 'bold' : 'normal',
-                  }"
-                >
+                <el-button type="text" @click="handleDriverCodeClick(row)" v-else-if="column.property === '椹鹃┒鍛樹唬鐮�'"
+                  style="color: #409eff">{{ row[column.property] }}</el-button>
+                <span v-else-if="column.property === '绂佺敤鏍囪'" :style="{
+                  color: row[column.property] === 'Y' ? '#f56c6c' : '#67c23a',
+                  fontWeight:
+                    row[column.property] === 'Y' ? 'bold' : 'normal',
+                }">
                   {{ row[column.property] === "Y" ? "宸茬鐢�" : "姝e父" }}
                 </span>
                 <!-- 瀹℃牳鐘舵�佺壒娈婃牱寮� -->
-                <span
-                  v-else-if="column.property === '瀹℃牳浜�'"
-                  :style="{
-                    color: row[column.property] ? '#67c23a' : '#909399',
-                  }"
-                >
+                <span v-else-if="column.property === '瀹℃牳浜�'" :style="{
+                  color: row[column.property] ? '#67c23a' : '#909399',
+                }">
                   {{ row[column.property] || "鏈鏍�" }}
                 </span>
                 <span v-else>{{ row[column.property] }}</span>
@@ -519,48 +241,19 @@
         </template>
       </el-table>
 
-      <pagination
-        v-show="total > 0"
-        :total="total"
-        :page.sync="page"
-        :limit.sync="pageSize"
-        :pageSizes="pageSizes"
-        @pagination="getList"
-      />
+      <pagination v-show="total > 0" :total="total" :page.sync="page" :limit.sync="pageSize" :pageSizes="pageSizes"
+        @pagination="getList" />
 
       <!-- 闅愯棌鍒楄缃脊绐� -->
-      <el-dialog
-        title="闅愯棌鍒楄缃�"
-        :visible.sync="openRowHide"
-        width="816px"
-        append-to-body
-      >
-        <RowSettings
-          :colName="btResList"
-          :HModName="HModName"
-          @rowEditClose="rowSetClose"
-          v-if="rowHideShow"
-        />
+      <el-dialog title="闅愯棌鍒楄缃�" :visible.sync="openRowHide" width="816px" append-to-body>
+        <RowSettings :colName="btResList" :HModName="HModName" @rowEditClose="rowSetClose" v-if="rowHideShow" />
       </el-dialog>
 
       <!-- 缂栬緫寮圭獥 -->
-      <el-dialog
-        :title="editDialogTitle"
-        :visible.sync="openEdit"
-        width="1480px"
-        append-to-body
-        class="driver-edit-dialog"
-        :before-close="closeEditDialog"
-        :close-on-click-modal="false"
-      >
-        <GyDriverEdit
-          :OperationType="OperationType"
-          :linterid="rowForm.HItemID"
-          :HSouceBillType="''"
-          @editCloseGy="editGyClose"
-          v-if="editShow"
-          ref="editComponent"
-        />
+      <el-dialog :title="editDialogTitle" :visible.sync="openEdit" width="1480px" append-to-body
+        class="driver-edit-dialog" :before-close="closeEditDialog" :close-on-click-modal="false">
+        <GyDriverEdit :OperationType="OperationType" :linterid="rowForm.HItemID" :HSouceBillType="''"
+          @editCloseGy="editGyClose" v-if="editShow" ref="editComponent" />
         <span slot="footer" class="dialog-footer" v-if="OperationType !== 4">
           <!-- <el-button @click="closeEditDialog">鍙� 娑�</el-button>
           <el-button type="primary" @click="saveDriverData">淇� 瀛�</el-button> -->
@@ -568,132 +261,47 @@
       </el-dialog>
 
       <!-- 瀵煎叆寮圭獥 -->
-      <el-dialog
-        :title="upload.title"
-        :visible.sync="upload.open"
-        width="1500px"
-        append-to-body
-      >
+      <el-dialog :title="upload.title" :visible.sync="upload.open" width="1500px" append-to-body>
         <div style="margin-top: -20px">
           <el-button type="primary" @click="set_AddNew">瀵煎叆鏁版嵁</el-button>
           <el-button type="primary" @click="upload.open = false">閫� 鍑�</el-button>
-          <el-upload
-            ref="upload"
-            :limit="1"
-            accept=".xlsx, .xls"
-            style="display: inline-block; margin-left: 10px"
-            :action="upload.url + '?updateSupport=' + upload.updateSupport"
-            :disabled="upload.isUploading"
-            :on-progress="handleFileUploadProgress"
-            :on-success="handleFileSuccess"
-          >
+          <el-upload ref="upload" :limit="1" accept=".xlsx, .xls" style="display: inline-block; margin-left: 10px"
+            :action="upload.url + '?updateSupport=' + upload.updateSupport" :disabled="upload.isUploading"
+            :on-progress="handleFileUploadProgress" :on-success="handleFileSuccess">
             <el-button type="primary">鏂囦欢涓婁紶</el-button>
           </el-upload>
         </div>
-        <el-table
-          :data="uploadData"
-          v-loading="uploadTableLoading"
-          :row-class-name="uploadDataIndex"
-          border
-          height="550"
-        >
-          <el-table-column
-            type="index"
-            label="搴忓彿"
-            width="55"
-            align="center"
-          />
-          <el-table-column
-            label="椹鹃┒鍛樹唬鐮�"
-            prop="椹鹃┒鍛樹唬鐮�"
-            align="center"
-            width="120"
-          />
-          <el-table-column
-            label="椹鹃┒鍛樺悕绉�"
-            prop="椹鹃┒鍛樺悕绉�"
-            align="center"
-            width="120"
-          />
-          <el-table-column
-            label="鑱旂郴鐢佃瘽"
-            prop="鑱旂郴鐢佃瘽"
-            align="center"
-            width="120"
-          />
-          <el-table-column
-            label="椹鹃┒璇佸彿"
-            prop="椹鹃┒璇佸彿"
-            align="center"
-            width="120"
-          />
+        <el-table :data="uploadData" v-loading="uploadTableLoading" :row-class-name="uploadDataIndex" border
+          height="550">
+          <el-table-column type="index" label="搴忓彿" width="55" align="center" />
+          <el-table-column label="椹鹃┒鍛樹唬鐮�" prop="椹鹃┒鍛樹唬鐮�" align="center" width="120" />
+          <el-table-column label="椹鹃┒鍛樺悕绉�" prop="椹鹃┒鍛樺悕绉�" align="center" width="120" />
+          <el-table-column label="鑱旂郴鐢佃瘽" prop="鑱旂郴鐢佃瘽" align="center" width="120" />
+          <el-table-column label="椹鹃┒璇佸彿" prop="椹鹃┒璇佸彿" align="center" width="120" />
           <el-table-column label="鎿嶄綔" align="center">
             <template slot-scope="scope">
-              <el-button
-                size="mini"
-                type="text"
-                icon="el-icon-delete"
-                @click="uploadDataDelete(scope.row)"
-                >鍒犻櫎</el-button
-              >
+              <el-button size="mini" type="text" icon="el-icon-delete"
+                @click="uploadDataDelete(scope.row)">鍒犻櫎</el-button>
             </template>
           </el-table-column>
         </el-table>
-        <pagination
-          v-show="uploadTotal > 0"
-          :total="uploadTotal"
-          :page.sync="uploadPage"
-          :limit.sync="uploadPageSize"
-          :pageSizes="uploadPageSizes"
-          @pagination="currentPage"
-        />
+        <pagination v-show="uploadTotal > 0" :total="uploadTotal" :page.sync="uploadPage" :limit.sync="uploadPageSize"
+          :pageSizes="uploadPageSizes" @pagination="currentPage" />
       </el-dialog>
 
       <!-- 杩囨护鏂规寮圭獥 -->
-      <el-dialog
-        title="杩囨护鏂规鍒楄〃"
-        :visible.sync="openFilterScheme"
-        width="80%"
-        append-to-body
-      >
+      <el-dialog title="杩囨护鏂规鍒楄〃" :visible.sync="openFilterScheme" width="80%" append-to-body>
         <div style="height: 500px; overflow: auto">
-          <el-table
-            :data="filterSchemeList"
-            border
-            style="width: 100%"
-            @row-click="selectFilterScheme"
-          >
-            <el-table-column
-              prop="鏂规鍚嶇О"
-              label="鏂规鍚嶇О"
-              width="200"
-            ></el-table-column>
-            <el-table-column
-              prop="澶囨敞"
-              label="澶囨敞"
-              width="300"
-            ></el-table-column>
+          <el-table :data="filterSchemeList" border style="width: 100%" @row-click="selectFilterScheme">
+            <el-table-column prop="鏂规鍚嶇О" label="鏂规鍚嶇О" width="200"></el-table-column>
+            <el-table-column prop="澶囨敞" label="澶囨敞" width="300"></el-table-column>
             <el-table-column prop="鍒涘缓浜�" label="鍒涘缓浜�" width="120"></el-table-column>
-            <el-table-column
-              prop="鍒涘缓鏃ユ湡"
-              label="鍒涘缓鏃ユ湡"
-              width="150"
-            ></el-table-column>
+            <el-table-column prop="鍒涘缓鏃ユ湡" label="鍒涘缓鏃ユ湡" width="150"></el-table-column>
             <el-table-column label="鎿嶄綔" width="150" align="center">
               <template slot-scope="scope">
-                <el-button
-                  type="text"
-                  size="mini"
-                  @click="applyFilterScheme(scope.row)"
-                  >搴旂敤</el-button
-                >
-                <el-button
-                  type="text"
-                  size="mini"
-                  @click="deleteFilterScheme(scope.row)"
-                  style="color: #f56c6c"
-                  >鍒犻櫎</el-button
-                >
+                <el-button type="text" size="mini" @click="applyFilterScheme(scope.row)">搴旂敤</el-button>
+                <el-button type="text" size="mini" @click="deleteFilterScheme(scope.row)"
+                  style="color: #f56c6c">鍒犻櫎</el-button>
               </template>
             </el-table-column>
           </el-table>
@@ -701,7 +309,7 @@
         <span slot="footer" class="dialog-footer">
           <el-button type="primary" @click="confirmFilterScheme">纭� 瀹�</el-button>
           <el-button @click="openFilterScheme = false">鍙� 娑�</el-button>
-          
+
         </span>
       </el-dialog>
     </div>
@@ -743,7 +351,7 @@
         { label: "涓嶅寘鍚�", value: "10" },
       ],
 
-      
+
       sWhere: "",
       organizationList: [],
       filterColumnList: [],
@@ -824,8 +432,7 @@
     async initData() {
       try {
         const userRes = await axios.get(
-          `${this.$baseUrl}/Web/GetUser?UserName=${
-            sessionStorage.getItem("UserName") || "001"
+          `${this.$baseUrl}/Web/GetUser?UserName=${sessionStorage.getItem("UserName") || "001"
           }&PassWord=123456&HOrgName=100038`
         );
         if (userRes.data.data && userRes.data.data[0]) {
@@ -853,7 +460,7 @@
     async getList() {
       this.tableShow = false;
       this.loading = true;
-      console.log("鑾峰彇鍒楄〃鏁版嵁...",this.sWhere );
+      console.log("鑾峰彇鍒楄〃鏁版嵁...", this.sWhere);
       try {
         const params = {
           sWhere: this.sWhere || "",
@@ -1025,7 +632,7 @@
       //   conditions.push(`HUSEORGID = '${this.queryParams.HUSEORGID}'`);
       // }
 
-      
+
       if (this.queryParams.ColName !== "0" && this.queryParams.Comparator !== "0") {
         const condition = this.buildCondition(
           this.queryParams.ColName,
@@ -1035,7 +642,7 @@
         if (condition) conditions.push(condition);
       }
 
-     
+
       if (
         this.queryParams.ColName1 !== "0" &&
         this.queryParams.Comparator1 !== "0"
@@ -1060,14 +667,14 @@
         if (condition) conditions.push(condition);
       }
 
-      
+
       if (conditions.length > 0) {
-        this.sWhere ="and "+conditions;
+        this.sWhere = "and " + conditions;
       }
       console.log("鏌ヨ鏉′欢:", this.sWhere);
       //this.sWhere += this.addSWhereByOpenType();
 
-      this.page = 1; 
+      this.page = 1;
       this.getList();
     },
 
@@ -1075,15 +682,15 @@
       if (!content) return null;
 
       switch (comparator) {
-        case "7": 
+        case "7":
           return `${colName} like '%${content}%'`;
-        case "8": 
+        case "8":
           return `${colName} like '%${content}'`;
-        case "9": 
+        case "9":
           return `${colName} like '${content}%'`;
-        case "10": 
+        case "10":
           return `${colName} not like '%${content}%'`;
-        default: 
+        default:
           return `${colName} ${comparator} '${content}'`;
       }
     },
@@ -1148,6 +755,9 @@
     // 鐐瑰嚮琛�
     handleRowClick(row) {
       this.$refs.tableData.toggleRowSelection(row);
+      if (this.openPage) {
+        this.$emit('deptEmit', row, 15)
+      }
     },
 
     // 琛屾牱寮�
@@ -1266,6 +876,13 @@
 
         if (res.data.count == 1) {
           this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
+           this.$refs.tableData.clearSelection();
+      // 娓呯┖閫変腑鏁版嵁
+      this.ids = [];
+      this.rowForm = {};
+      // 閲嶇疆鎸夐挳鐘舵��
+      this.single = true;
+      this.multiple = true;
           this.getList();
         } else {
           this.$modal.msgError(res.data.Message || "鍒犻櫎澶辫触");
@@ -1298,6 +915,14 @@
 
         if (res.data.count == 1) {
           this.$modal.msgSuccess(`${action}鎴愬姛`);
+           // 娓呴櫎琛ㄦ牸閫変腑鐘舵��
+          this.$refs.tableData.clearSelection();
+          // 娓呯┖閫変腑鏁版嵁
+          this.ids = [];
+          this.rowForm = {};
+        // 閲嶇疆鎸夐挳鐘舵��
+          this.single = true;
+          this.multiple = true;
           this.getList();
         } else {
           this.$modal.msgError(res.data.Message || `${action}澶辫触`);
@@ -1330,6 +955,14 @@
 
         if (res.data.count == 1) {
           this.$modal.msgSuccess(`${action}鎴愬姛`);
+          // 娓呴櫎琛ㄦ牸閫変腑鐘舵��
+      this.$refs.tableData.clearSelection();
+      // 娓呯┖閫変腑鏁版嵁
+      this.ids = [];
+      this.rowForm = {};
+      // 閲嶇疆鎸夐挳鐘舵��
+      this.single = true;
+      this.multiple = true;
           this.getList();
         } else {
           this.$modal.msgError(res.data.Message || `${action}澶辫触`);
@@ -1375,7 +1008,7 @@
       );
     },
 
-    
+
     parseTime(time, cFormat) {
       if (arguments.length === 0) {
         return null;
@@ -1561,7 +1194,7 @@
     applyFilterScheme(row) {
       this.currentFilterScheme = row.鏂规鍚嶇О;
       this.currentFilterRemark = row.澶囨敞;
-      
+
       // 杩欓噷搴旇鏍规嵁鏂规鍐呭璁剧疆鏌ヨ鏉′欢
       // 鐢变簬鏂规鏁版嵁缁撴瀯澶嶆潅锛岃繖閲屽彧鍋氱畝鍗曟紨绀�
       this.$modal.msgSuccess(`宸插簲鐢ㄦ柟妗堬細${row.鏂规鍚嶇О}`);
@@ -1572,7 +1205,7 @@
     async deleteFilterScheme(row) {
       try {
         await this.$modal.confirm(`纭瑕佸垹闄ゆ柟妗�"${row.鏂规鍚嶇О}"鍚楋紵`);
-        
+
         const res = await axios.post(`${this.$baseUrl}/Xt_FastICScheme/delete`, {
           HInterID: row.hmainid,
         });

--
Gitblit v1.9.1