| | |
| | | <template> |
| | | <div class="work-time-management"> |
| | | <div class="search"> |
| | | <div class="search_thing"> |
| | | <!-- <div class="search_thing"> |
| | | <div class="search_label">周次:</div> |
| | | <div class="search_input" style="display: flex;align-items: center;"> |
| | | <el-input size="small" placeholder="开始周次" clearable |
| | |
| | | <el-input size="small" placeholder="结束周次" clearable |
| | | v-model="entity.week2"></el-input> |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | <div class="search_thing" style="width: 200px;"> |
| | | <div class="search_label">星期:</div> |
| | | <el-select v-model="entity.weekDay" placeholder="全部" size="small" @change="refreshTable()" clearable> |
| | |
| | | entity: { |
| | | week: null, |
| | | weekDay: null, |
| | | dateTime: null, |
| | | dateTime: new Date(), |
| | | name:null, |
| | | orderBy: { |
| | | field: 'id', |
| | |
| | | this.entityCopy1 = this.HaveJson(this.componentData1.entity); |
| | | this.componentData.tagField.weekDay.select = this.weekList |
| | | this.componentData.selectField.weekDay.select = this.weekList |
| | | this.getPower() |
| | | }, |
| | | methods:{ |
| | | getPower(){ |
| | |
| | | if (power[i].menuMethod == 'insertAuxiliaryWorkingHoursDay') { |
| | | add = true |
| | | } |
| | | console.log(add) |
| | | if (power[i].menuMethod == 'updateAuxiliaryWorkingHoursDay') { |
| | | up = true |
| | | } |
| | |
| | | ratify = true |
| | | } |
| | | } |
| | | if (!approve) { |
| | | if (!ratify) { |
| | | this.componentData.do.splice(3, 1) |
| | | } |
| | | if (!check) { |