| | |
| | | end-placeholder="结束日期"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | |
| | | |
| | | <section> |
| | | <el-button type="primary" @click="search">搜索</el-button> |
| | | <el-button @click="reset">重置</el-button> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="操作" min-width="80px" fixed="right" align="center"> |
| | | <template slot-scope="{row}"> |
| | | <el-button v-if="row.status==0" type="text" @click="dealAction(row)">处理</el-button> |
| | | <el-button v-if="row.status == 0" type="text" @click="dealAction(row)">处理</el-button> |
| | | <el-popover |
| | | v-else |
| | | placement="bottom" |
| | | width="200" |
| | | trigger="click" |
| | | :content="row.dealInfo"> |
| | | <el-button slot="reference" type="text">查看备注</el-button> |
| | | </el-popover> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaRepairDealWindow from '@/components/business/OperaRepairDealWindow' |
| | | import RepairDetailWindow from '@/components/business/RepairDetailWindow' |
| | | import { formatDateTime } from '@/utils/util' |
| | | import dayjs from 'dayjs' |
| | | import { getFileList } from '@/api/business/bikeRepair' |
| | | export default { |
| | | name: 'BikeRepair', |
| | |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | | this.searchForm.startDate = formatDateTime(new Date(), 'yyyy-MM-dd') + ' 00:00:00' |
| | | this.searchForm.startDate = dayjs().format('YYYY-MM-DD') + ' 00:00:00' |
| | | this.searchForm.endDate = dayjs().format('YYYY-MM-DD') + ' 23:59:59' |
| | | this.search() |
| | | }, |
| | | methods: { |
| | |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | }) |
| | | |
| | | |
| | | } |
| | | }, |
| | | } |