From 79d9fc857559982b00b68b2d709807bdc4cd286f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 11 Apr 2022 10:58:17 +0800
Subject: [PATCH] minio 地址修改

---
 src/views/dispatchChild/index.vue |  162 ++---------------------------------------------------
 1 files changed, 8 insertions(+), 154 deletions(-)

diff --git a/src/views/dispatchChild/index.vue b/src/views/dispatchChild/index.vue
index c88631c..d1ff99c 100644
--- a/src/views/dispatchChild/index.vue
+++ b/src/views/dispatchChild/index.vue
@@ -63,7 +63,7 @@
     </span>
     <!-- <span v-else-if="typeTABS.prop === 'tab3'">选项卡内容3</span> -->
   </div>
-</template> 
+</template>
 
 <script>
 import { column, column1 } from "./data";
@@ -114,32 +114,13 @@
         gutter: 30,
         column: column,
       },
-      // loading: true, //派遣服务公司登记
-      // selectionList: [],
-      // page: {
-      //   pageSize: 10,
-      //   currentPage: 1,
-      //   total: 0,
-      // },
-      // query: {},
-      // data: [],
-      // option: {
-      //   card: true,
-      //   searchSize: "mini",
-      //   searchMenuSpan: 6,
-      //   height: 547,
-      //   menuWidth: 160,
-      //   align: "center",
-      //   selection: true,
-      //   column: column,
-      // },
-
       loading1: true, //派遣记录
       selectionList1: [],
       page1: {
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       query1: {},
       data1: [],
@@ -153,7 +134,7 @@
         height: 563,
         // menuWidth: 160,
         align: "center",
-        // selection: true,
+        selection: true,
         column: column1,
         cellBtn: false,
         addBtn: false,
@@ -184,134 +165,10 @@
         // this.onLoad(this.page);
       } else if (column.prop == "tab2") {
         // this.loading = false;
-        console.log(document.getElementsByClassName("el-card__body")[0]);
         this.onLoad1(this.page1); //第二个表格不会自动执行
       }
       // this.$message.success(JSON.stringify(column));
     },
-    //派遣服务公司登记
-    // sizeChange(val) {
-    //   this.page1.currentPage = 1;
-    //   this.page1.pageSize = val;
-    //   // this.getData();
-    //   this.onLoad(this.page, this.query);
-    //   //   this.$message.success("行数" + val);
-    // },
-    // currentChange(val) {
-    //   this.page1.currentPage = val;
-    //   // this.getData();
-    //   this.onLoad(this.page, this.query);
-    //   //   this.$message.success("页码" + val);
-    // },
-    // rowSave(form, done, loading) {
-    //   var that = this;
-    //   var form = this.data[0];
-    //   delete form.id;
-    //   for (var k = 0; k < 13; k++) {
-    //     adddata(form).then(
-    //       (res) => {
-    //         this.onLoad(this.page);
-    //         this.$message({
-    //           type: "success",
-    //           message: "操作成功!",
-    //         });
-    //         done();
-    //       },
-    //       (error) => {
-    //         window.console.log(error);
-    //         loading();
-    //       }
-    //     );
-    //   }
-    // },
-    // searchChange(params, done) {
-    //   this.query = params;
-    //   this.page.currentPage = 1;
-    //   this.onLoad(this.page, params);
-    //   done();
-    // },
-    // searchReset() {
-    //   this.query = {};
-    //   this.onLoad(this.page);
-    // },
-    // rowUpdate(row, index, done, loading) {
-    //   console.log(row);
-    //   update(row).then(
-    //     () => {
-    //       this.onLoad(this.page);
-    //       this.$message({
-    //         type: "success",
-    //         message: "操作成功!",
-    //       });
-    //       done();
-    //     },
-    //     (error) => {
-    //       window.console.log(error);
-    //       loading();
-    //     }
-    //   );
-    // },
-    // rowDel(row) {
-    //   this.$confirm("确定将选择数据删除?", {
-    //     confirmButtonText: "确定",
-    //     cancelButtonText: "取消",
-    //     type: "warning",
-    //   })
-    //     .then(() => {
-    //       return remove(row.id);
-    //     })
-    //     .then(() => {
-    //       this.onLoad(this.page);
-    //       this.$message({
-    //         type: "success",
-    //         message: "操作成功!",
-    //       });
-    //     });
-    // },
-    // selectionChange(list) {
-    //   this.selectionList = list;
-    // },
-    // handleDelete() {
-    //   if (this.selectionList.length === 0) {
-    //     this.$message.warning("请选择至少一条数据");
-    //     return;
-    //   }
-    //   this.$confirm("确定将选择数据删除?", {
-    //     confirmButtonText: "确定",
-    //     cancelButtonText: "取消",
-    //     type: "warning",
-    //   })
-    //     .then(() => {
-    //       return remove(this.ids);
-    //     })
-    //     .then(() => {
-    //       this.onLoad(this.page);
-    //       this.$message({
-    //         type: "success",
-    //         message: "操作成功!",
-    //       });
-    //       this.$refs.crudrec.toggleSelection();
-    //     });
-    // },
-    // refreshChange() {
-    //   this.onLoad(this.page, this.query);
-    // },
-    // onLoad(page, params = {}) {
-    //   this.loading = true;
-    //   getdata(
-    //     page.currentPage,
-    //     page.pageSize,
-    //     Object.assign(params, this.query)
-    //   ).then((res) => {
-    //     // console.log(res);
-    //     const data = res.data.data;
-    //     this.page.total = data.total;
-    //     this.data = data.records;
-    //     console.log(this.data);
-    //     this.loading = false;
-    //   });
-    // },
-    //派遣服务公司登记
 
     //派遣记录
     sizeChange1(val) {
@@ -428,7 +285,6 @@
         });
     },
     refreshChange1() {
-      // console.log(4534)
       this.onLoad1(this.page1, this.query1);
     },
 
@@ -439,17 +295,18 @@
       // params["name"] = this.name;
       // params["dispatcherCompany"] = this.dispatcherCompany;
       params["dispatcherUnitId"] = this.id;
-      // console.log(params, "get");
       getdata1(
         page.currentPage,
         page.pageSize,
         Object.assign(params, this.query)
       ).then((res) => {
-        // console.log(res);
         const data = res.data.data;
         this.page1.total = data.total;
         this.data1 = data.records;
-        console.log(this.data1, 1);
+        // for (var k in this.data1) {
+        //   this.data1[k].securityName = this.data1[k].securityName.split(",");
+        //   this.data1[k].securityName = this.data1[k].securityName.join(" | ");
+        // }
         this.loading1 = false;
       });
     },
@@ -483,8 +340,6 @@
         if (i == 1) {
           // console.log("存在");
         } else {
-          // console.log("已删除");
-
           this.obj0 = {};
           this.obj0.name = row.name + " 该派遣单位已删除";
           window.localStorage.removeItem("paqiandata");
@@ -492,7 +347,6 @@
         }
       }
     } else {
-      // console.log("no");
       this.obj0.name = " 未选择派遣单位";
     }
   },
@@ -509,4 +363,4 @@
 .el-collapse-item {
   padding-top: 15px !important;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3