From b5a291291c5813605ed3f66aee82c4bce4aaf7b6 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期三, 11 九月 2024 14:02:30 +0800
Subject: [PATCH] 1.递交
---
src/views/attendanceModule/attendanceSettings.vue | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/views/attendanceModule/attendanceSettings.vue b/src/views/attendanceModule/attendanceSettings.vue
index 50360c9..b77a775 100644
--- a/src/views/attendanceModule/attendanceSettings.vue
+++ b/src/views/attendanceModule/attendanceSettings.vue
@@ -56,7 +56,7 @@
range-separator="~"
class="timeMini"
size="mini"
- style="width: 200px;display: flex;line-height: 34px;height: 34px;"
+ style="width: 240px;display: flex;line-height: 34px;height: 34px;"
:clearable="false"
start-placeholder="寮�濮嬫棩鏈�"
end-placeholder="缁撴潫鏃ユ湡"
@@ -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