From 2c41bb9bde06f279c41d3d2a4bdc65edc4be24b8 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 23 Nov 2021 16:23:43 +0800
Subject: [PATCH] +

---
 src/views/dispatch/dispatch.vue |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/views/dispatch/dispatch.vue b/src/views/dispatch/dispatch.vue
index bb22f0a..ef72901 100644
--- a/src/views/dispatch/dispatch.vue
+++ b/src/views/dispatch/dispatch.vue
@@ -1,6 +1,11 @@
 <template>
   <basic-container>
-    <div class="dispatch">
+    <div
+      :class="[
+        'dispatch',
+        $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '',
+      ]"
+    >
       <!-- <avue-tabs :option="optionTABS" @change="handleChangeTABS"></avue-tabs>
     <span v-if="typeTABS.prop === 'tab1'"> -->
       <avue-crud
@@ -95,7 +100,7 @@
       <!-- <span v-else-if="typeTABS.prop === 'tab3'">选项卡内容3</span> -->
     </div>
   </basic-container>
-</template> 
+</template>
 
 <script>
 import {
@@ -150,6 +155,7 @@
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       query: {},
       data: [],
@@ -216,10 +222,11 @@
         menuWidth: 160,
         align: "center",
         selection: true,
+        ...this.$store.state.control.clearOtherBut,
         column: [
           //派遣服务公司登记
           {
-            label: "派遣单位名称",
+            label: "派遣企业名称",
             prop: "name",
             search: true,
             searchLabelWidth: 110,
@@ -310,6 +317,7 @@
             searchSpan: 4,
             overHidden: true,
             labelWidth: 138,
+            parent: false,
             type: "tree",
             dicUrl: "/api/jurisdiction/lazy-tree",
             props: {
@@ -615,7 +623,6 @@
       this.onLoad(this.page, this.query);
     },
     rowClick(row) {
-      // console.log(row);
       window.localStorage.setItem("paqiandata", JSON.stringify(row));
       this.$router.push({
         path: "/dispatchChild",
@@ -668,18 +675,15 @@
       if (this.useifid != 266) {
         values["deptId"] = this.useifid;
       }
-      // console.log(values);
       if (this.userInfo.role_name == "公安管理员") {
         values["jurisdiction"] = that.userInfo.jurisdiction;
       }
-      console.log(params);
       getdata(
         page.currentPage,
         page.pageSize,
         // Object.assign(params, this.query)
         values
       ).then((res) => {
-        // console.log(res);
         const data = res.data.data;
         this.page.total = data.total;
         this.data = data.records;
@@ -729,4 +733,4 @@
 .el-collapse-item {
   padding-top: 15px !important;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3