| | |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | <div class="search_thing"> |
| | | <div class="search_thing" style="width: 390px;"> |
| | | <div class="search_label" style="width: 90px;">时间范围:</div> |
| | | <div class="search_input"> |
| | | <el-date-picker |
| | |
| | | entity: { |
| | | week: null, |
| | | weekDay: null, |
| | | dateTime: new Date(), |
| | | dateTime: null, |
| | | name:null, |
| | | orderBy: { |
| | | field: 'id', |
| | |
| | | this.componentData1.entity = {...this.componentData1.entity,...entity} |
| | | this.$refs['ValueTable1'].selectList() |
| | | } |
| | | this.collectWorkingHours() |
| | | }, |
| | | refresh(){ |
| | | this.entity = {} |
| | |
| | | this.addLoad = false |
| | | if (res.code == 201) return |
| | | this.$message.success('已提交') |
| | | this.addVisible = false |
| | | this.formData.number = '' |
| | | this.formData.amount = '' |
| | | this.formData.remarks = '' |
| | | this.formData.approvedWorkingHour = '' |
| | | this.formData.nonproductiveTime = '' |
| | | this.formData.auxiliaryProject = '' |
| | | // this.addVisible = false |
| | | this.refreshTable() |
| | | this.collectWorkingHours() |
| | | }) |
| | |
| | | this.addLoad = false |
| | | if (res.code == 201) return |
| | | this.$message.success('操作成功') |
| | | this.addVisible = false |
| | | this.formData.number = '' |
| | | this.formData.amount = '' |
| | | this.formData.remarks = '' |
| | | this.formData.approvedWorkingHour = '' |
| | | this.formData.nonproductiveTime = '' |
| | | this.formData.auxiliaryProject = '' |
| | | // this.addVisible = false |
| | | this.refreshTable() |
| | | this.collectWorkingHours() |
| | | }) |
| | |
| | | return String(d) |
| | | }, |
| | | collectWorkingHours(){ |
| | | this.$axios.post(this.$api.auxiliaryOutputWorkingHours.collectWorkingHours).then(res => { |
| | | this.totalInfo = res.data |
| | | }) |
| | | this.$axios.post(this.$api.auxiliaryOutputWorkingHours.collectWorkingHours,{ |
| | | entity:this.componentData.entity |
| | | }, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | | } |
| | | }).then(res => { |
| | | this.totalInfo = res.data |
| | | }) |
| | | }, |
| | | selectshiftByUser(){ |
| | | this.$axios.post(this.$api.auxiliaryWorkingHoursDay.selectshiftByUser).then(res => { |
| | |
| | | height: calc(100% - 60px - 80px - 10px - 40px - 25px); |
| | | padding: 20px; |
| | | } |
| | | >>>.el-dialog__wrapper { |
| | | z-index: 9999 !important; /* 根据需要调整层级 */ |
| | | } |
| | | </style> |