From cc9c7b396f54ff893e40534d39acdca830ed03dd Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 03 二月 2023 10:54:38 +0800
Subject: [PATCH] 1.自动排程代码优化 2.新增忽略src/lib文件

---
 src/views/jcsz/wldw.vue |   35 +++++++++++++++++++++++++----------
 1 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/src/views/jcsz/wldw.vue b/src/views/jcsz/wldw.vue
index 31b1ed2..b0aac3f 100644
--- a/src/views/jcsz/wldw.vue
+++ b/src/views/jcsz/wldw.vue
@@ -3,14 +3,15 @@
     <div class="body" :style="{height:mainHeight+'px'}">
 
       <div class="bodyTopButtonGroup" style="justify-content: space-between">
-        <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>
+        <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>
         <div style="display: flex">
           <el-button
+            v-waves
             icon="el-icon-refresh-right"
             @click="syncSeaveSearchPartner"
           >鍚屾寰�鏉ュ崟浣�
           </el-button>
-          <el-button icon="el-icon-download" @click="upload">瀵煎叆</el-button>
+          <el-button v-waves icon="el-icon-download" @click="upload">瀵煎叆</el-button>
         </div>
       </div>
 
@@ -20,10 +21,10 @@
           :model="form"
           label-width="100px"
           inline
-          style="display: flex;justify-content: space-between"
+          style="display: flex;"
         >
           <div class="elForm">
-            <el-form-item label-width="70px" label="鍗曚綅缂栫爜" style=" display: flex;">
+            <el-form-item label="鍗曚綅缂栫爜" style=" display: flex;">
               <el-input v-model="form.CuntUnitCode" placeholder="璇疯緭鍏�" style="width: 200px" />
             </el-form-item>
             <el-form-item label="鍗曚綅鍚嶇О" style=" display: flex;">
@@ -49,9 +50,12 @@
               <el-input v-model="form.CreateUser" style="width: 200px" placeholder="璇疯緭鍏�" />
             </el-form-item>
           </div>
-          <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}">
-            <el-button type="primary" icon="el-icon-search" @click="search">鏌ヨ</el-button>
-            <el-button type="info" icon="el-icon-refresh" @click="reset">閲嶇疆</el-button>
+          <div
+            class="bodySearchReset"
+            :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}"
+          >
+            <el-button v-waves type="primary" icon="el-icon-search" @click="search">鏌ヨ</el-button>
+            <el-button v-waves type="info" icon="el-icon-refresh" @click="reset">閲嶇疆</el-button>
           </div>
         </el-form>
         <div
@@ -86,6 +90,7 @@
           <el-table-column
             prop="code"
             label="鍗曚綅缂栫爜"
+            show-tooltip-when-overflow
             sortable="custom"
             min-width="110"
           />
@@ -98,6 +103,7 @@
           />
           <el-table-column
             label="鍗曚綅灞炴��"
+            show-tooltip-when-overflow
             width="240"
           >
             <!--            sortable="custom"-->
@@ -140,6 +146,7 @@
             prop="conttacts"
             label="鑱旂郴浜�"
             width="110"
+            show-tooltip-when-overflow
             sortable="custom"
           >
             <template slot-scope="{row}">
@@ -150,6 +157,7 @@
           <el-table-column
             prop="conttphone"
             label="鑱旂郴鏂瑰紡"
+            show-tooltip-when-overflow
             width="160"
             sortable="custom"
           >
@@ -174,6 +182,7 @@
             prop="lm_user"
             label="鍒涘缓浜哄憳"
             width="110"
+            show-tooltip-when-overflow
             sortable="custom"
           />
           <el-table-column
@@ -181,6 +190,7 @@
             label="鍒涘缓鏃堕棿"
             sortable="custom"
             width="160"
+            show-tooltip-when-overflow
           />
           <el-table-column
             label="鎿嶄綔"
@@ -190,10 +200,10 @@
             <template slot-scope="{row}">
               <div class="operationClass">
                 <el-tooltip class="item" effect="dark" content="缂栬緫" placement="top">
-                  <i class="el-icon-edit-outline" @click="edit('edit',row)" />
+                  <i :style="{color:$store.state.settings.theme}" class="el-icon-edit-outline" @click="edit('edit',row)" />
                 </el-tooltip>
                 <el-tooltip v-del-tab-index class="item" effect="dark" content="鍒犻櫎" placement="top">
-                  <i class="el-icon-delete" @click="del(row)" />
+                  <i :style="{color:$store.state.settings.theme}" class="el-icon-delete" @click="del(row)" />
                 </el-tooltip>
               </div>
             </template>
@@ -213,6 +223,7 @@
     </div>
 
     <el-dialog
+      v-el-drag-dialog
       :title="operation==='add'?'鏂板':'缂栬緫'"
       :visible.sync="dialogVisible"
       width="800px"
@@ -247,8 +258,9 @@
       </el-form>
       <span slot="footer" class="dialog-footer">
         <div class="footerButton">
-          <el-button @click="dialogVisibleCancel">鍙� 娑�</el-button>
+          <el-button v-waves @click="dialogVisibleCancel">鍙� 娑�</el-button>
           <el-button
+            v-waves
             type="primary"
             :loading="$store.state.app.buttonIsDisabled"
             :disabled="$store.state.app.buttonIsDisabled"
@@ -272,11 +284,14 @@
 import { SeaveSearchPartner } from '@/api/ErpSyncMes'
 import ImportPicker from '@/components/ImportPicker'
 import { validateCode } from '@/utils/global'
+import elDragDialog from '@/directive/el-drag-dialog'
+import waves from '@/directive/waves'
 export default {
   name: 'WLDW',
   components: {
     Pagination, ImportPicker
   },
+  directives: { elDragDialog, waves },
   data() {
     const validateMobile = (rule, value, callback) => {
       if (!value) {

--
Gitblit v1.9.3