小小儁爺
2024-09-11 b5a291291c5813605ed3f66aee82c4bce4aaf7b6
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()