From d6551a0cb85f43e76e9edee23b854ed55696eb44 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期二, 10 九月 2024 14:57:53 +0800
Subject: [PATCH] 1.月计时工资页面开发完成

---
 src/views/attendanceModule/attendanceSettings.vue |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/views/attendanceModule/attendanceSettings.vue b/src/views/attendanceModule/attendanceSettings.vue
index 50360c9..4fb760c 100644
--- a/src/views/attendanceModule/attendanceSettings.vue
+++ b/src/views/attendanceModule/attendanceSettings.vue
@@ -223,6 +223,7 @@
             v-model="dialogForm.wkshop_code"
             style="width: 200px"
             placeholder="璇烽�夋嫨"
+            :disabled="operation==='edit'"
           >
             <el-option
               v-for="item in wkshopArr"
@@ -390,16 +391,19 @@
 
     }
   },
-  created() {
-    this.getAttendanceSettSearch()
-
-    this.getPrentOrganizationNoCompany()
-    this.getPersonPermissions()
-  },
-  mounted() {
+  activated() {
     window.addEventListener('resize', this.getHeight)
     this.getHeight()
   },
+  created() {
+    this.getAttendanceSettSearch()
+  },
+  async mounted() {
+    window.addEventListener('resize', this.getHeight)
+    this.getHeight()
+    await this.getPrentOrganizationNoCompany()
+    await this.getPersonPermissions()
+  },
   methods: {
     async getPrentOrganizationNoCompany() {
       const { data: res } = await PrentOrganizationNoCompany()

--
Gitblit v1.9.3