| | |
| | | :show="tiemShow" |
| | | v-model="startDate" |
| | | mode="date" |
| | | :formatter="formatter" |
| | | @confirm="confirmLeft" |
| | | @cancel="tiemShow = false" |
| | | ></u-datetime-picker> |
| | |
| | | " |
| | | v-model="startDate" |
| | | mode="date" |
| | | :formatter="formatter" |
| | | @confirm="confirmRight" |
| | | @cancel="tiemShow1 = false" |
| | | ></u-datetime-picker> |
| | |
| | | { name: '访客报备', id: 1 }, |
| | | { name: '用车申请', id: 2 }, |
| | | { name: '隐患随手拍', id: 3 }, |
| | | { name: '物流车申请', id: 4 }, |
| | | { name: '物流车申请', id: 6 }, |
| | | { name: '考勤代办', id: 7 }, |
| | | ], |
| | | startDate: dayjs().format('YYYY-MM-DD'), |
| | |
| | | this.getHeadList() |
| | | }, |
| | | methods: { |
| | | formatter(type, value) { |
| | | if (type === 'year') { |
| | | return `${value}年` |
| | | } |
| | | if (type === 'month') { |
| | | return `${value}月` |
| | | } |
| | | if (type === 'day') { |
| | | return `${value}日` |
| | | } |
| | | if (type === 'hour') { |
| | | return `${value}时` |
| | | } |
| | | if (type === 'minute') { |
| | | return `${value}分` |
| | | } |
| | | return value |
| | | }, |
| | | statusClick(val) { |
| | | this.pagination.page = 0 |
| | | this.dataList = [] |