| | |
| | | deliverKeyName: '' |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.init() |
| | | }, |
| | | |
| | | computed: { |
| | | ...mapGetters(['userInfo']), |
| | | isAdmin() { |
| | | return this.userInfo.userCompany ? this.userInfo.userCompany.isAdmin : false |
| | | }, |
| | | }, |
| | | onShow() { |
| | | this.init() |
| | | }, |
| | | onReady() { |
| | | this.$refs.formRef.setRules(this.rules); |
| | |
| | | } |
| | | }, |
| | | onPullDownRefresh() { |
| | | this.startDate = '' |
| | | this.endDate = '' |
| | | this.timeStart = '' |
| | | this.timeEnd = '' |
| | | this.workTime = '' |
| | | this.deliverKeyName = '' |
| | | this.init() |
| | |
| | | this.timeStart = new Date(val.startDate.result) //工作开始时间 |
| | | this.timeEnd = new Date(val.endDate.result) |
| | | this.datePickerShow = !this.datePickerShow |
| | | this.getList() |
| | | this.init() |
| | | }, |
| | | confirmDate(val) { |
| | | console.log(val); |