From cc1c0a396698648256c350f6f0fe2cb2f0b02c7e Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 27 Mar 2024 15:44:10 +0800
Subject: [PATCH] 许可按钮放出,备案审批按钮放出

---
 src/views/qualificationExamination/registrationTrainingQuery.vue |   62 +++++++++++++++++++++++-------
 1 files changed, 47 insertions(+), 15 deletions(-)

diff --git a/src/views/qualificationExamination/registrationTrainingQuery.vue b/src/views/qualificationExamination/registrationTrainingQuery.vue
index eded444..e16e3d1 100644
--- a/src/views/qualificationExamination/registrationTrainingQuery.vue
+++ b/src/views/qualificationExamination/registrationTrainingQuery.vue
@@ -1,13 +1,14 @@
-/*
- * @Author: Morpheus
- * @Date: 2021-07-07 17:30:05
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-07-10 16:06:14
- * menu-name 报名培训查询
- */
+/* * @Author: Morpheus * @Date: 2021-07-07 17:30:05 * @Last Modified by:
+Morpheus * @Last Modified time: 2021-07-10 16:06:14 * menu-name 报名培训查询 */
 <template>
-  <basic-container>
+  <basic-container
+    :class="[
+      $store.state.control.screenSize == 1366 ? 'smallSize' : 'normalSize',
+      $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : '',
+    ]"
+  >
     <avue-crud
+      class="tablesss"
       :option="option"
       :table-loading="loading"
       :data="data"
@@ -73,6 +74,7 @@
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       selectionList: [],
       option: {
@@ -94,6 +96,7 @@
         index: true,
         viewBtn: true,
         dialogClickModal: false,
+        ...this.$store.state.control.clearOtherBut,
 
         column: [
           // {
@@ -121,7 +124,7 @@
           {
             label: "姓名",
             prop: "realName",
-            width: 100,
+            width: 78,
             searchLabelWidth: 50,
             rules: [
               {
@@ -259,7 +262,7 @@
                 trigger: "blur",
               },
             ],
-            width: 160,
+            width: 175,
             // search: true,
             // searchSpan: 4,
             // overHidden: true
@@ -286,9 +289,32 @@
             // search: true,
             // searchSpan: 4,
           },
+          // {
+          //   label: "保安公司",
+          //   prop: "deptId",
+          //   // width: 70,
+          //   // search: true,
+          //   // searchSpan: 4,
+          //   dicUrl:
+          //     "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+          //   props: {
+          //     label: "title",
+          //     value: "id",
+          //   },
+          //   // search: true,
+          //   // type: "tree",
+          //   rules: [
+          //     {
+          //       required: true,
+          //       message: "请输入组织机构",
+          //       trigger: "blur",
+          //     },
+          //   ],
+          //   overHidden: true,
+          // },
           {
-            label: "保安公司",
-            prop: "deptId",
+            label: "企业名称",
+            prop: "deptName",
             // width: 70,
             // search: true,
             // searchSpan: 4,
@@ -422,6 +448,9 @@
       return ids.join(",");
     },
   },
+  mounted() {
+    this.$store.commit("setWindowSizeHeightAdd");
+  },
   methods: {
     rowSave(row, done, loading) {
       adddata(row).then(
@@ -527,9 +556,13 @@
           var sfz = d[k].idCardNo.substring(6, 10);
           d[k]["age"] = this.getyears() - sfz;
           // console.log(this.getyears());
+          if (d[k]["sex"] == -1) {
+            d[k]["sex"] = "";
+          }
         }
         this.data = d;
-        console.log(this.data, "getLispereregistrationTrainingQuery");
+        // console.log(this.data, "getLispereregistrationTrainingQuery");
+        this.$store.commit("setWindowSizeHeightAdd");
         this.loading = false;
         // this.selectionClear();
       });
@@ -582,5 +615,4 @@
 };
 </script>
 
-<style>
-</style>
+<style></style>

--
Gitblit v1.9.3