| | |
| | | :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> |
| | |
| | | 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 = [] |