| | |
| | | <script> |
| | | import Pagination from '@/components/common/Pagination' |
| | | import Pagination from '@/components/common/Paginations' |
| | | import QueryForm from '@/components/common/QueryForm' |
| | | export default { |
| | | name: 'BasePageTemp', |
| | |
| | | this.filters = {} |
| | | this.pagination.pageSize = 10 |
| | | this.pagination.page = 1 |
| | | console.log('-----'); |
| | | |
| | | this.getList() |
| | | }, |
| | | handleSizeChange(capacity) { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="table-pagination"> |
| | | <el-pagination |
| | | :current-page="pagination.page" |
| | | :page-sizes="pagination.pageSizes||[10, 20, 30, 40]" |
| | | :page-size="pagination.pageSize" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="pagination.total" |
| | | @size-change="sizeChange" |
| | | @current-change="currentChange" |
| | | background> |
| | | </el-pagination> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'Pagination', |
| | | props: { |
| | | pagination: { |
| | | type: Object, |
| | | default: function () { |
| | | return {} |
| | | } |
| | | } |
| | | }, |
| | | data () { |
| | | return { |
| | | } |
| | | }, |
| | | methods: { |
| | | sizeChange (value) { |
| | | this.$emit('size-change', value) |
| | | }, |
| | | currentChange (value) { |
| | | this.$emit('current-change', value) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | 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: { |
| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import { formatDateTime } from '@/utils/util' |
| | | import dayjs from 'dayjs' |
| | | export default { |
| | | name: 'MemberRides', |
| | | extends: BaseTable, |
| | |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | | // this.searchForm.startDate = formatDateTime(new Date(), 'yyyy-MM-dd') + ' 00:00:00' |
| | | // this.searchForm.endDate = formatDateTime(new Date(), 'yyyy-MM-dd') + ' 23:59:59' |
| | | 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: { |
| | |
| | | import GoodsOrderDetail from '@/components/business/goodsOrderDetail' |
| | | import BackGoodsorderWindow from '@/components/business/backGoodsorderWindow' |
| | | import { getDetail, getGoodsorderCanBanlanceDTO, closerGoodsorder } from '@/api/business/goodsorder' |
| | | import { formatDateTime } from '@/utils/util' |
| | | import dayjs from 'dayjs' |
| | | export default { |
| | | name: 'Goodsorder', |
| | | extends: BaseTable, |
| | |
| | | '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: { |
| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import { formatDateTime } from '@/utils/util' |
| | | import dayjs from 'dayjs' |
| | | export default { |
| | | name: 'MemberRides', |
| | | extends: BaseTable, |
| | |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | | this.searchForm.startDate = dayjs().format('YYYY-MM-DD') + ' 00:00:00' |
| | | this.searchForm.endDate = dayjs().format('YYYY-MM-DD') + ' 23:59:59' |
| | | // this.searchForm.startDate = formatDateTime(new Date(), 'yyyy-MM-dd') + ' 00:00:00' |
| | | // this.searchForm.endDate = formatDateTime(new Date(), 'yyyy-MM-dd') + ' 23:59:59' |
| | | this.search() |
| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import { fetchList } from '@/api/business/onlinePayStatistics' |
| | | import { formatDateTime } from '@/utils/util' |
| | | import dayjs from 'dayjs' |
| | | export default { |
| | | name: 'PricingParam', |
| | | extends: BaseTable, |
| | |
| | | } |
| | | }, |
| | | created () { |
| | | // 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: { |
| | |
| | | <span class="title">{{ detail.name }}</span> |
| | | <span class="status">{{ detail.status == '0' ? 'å·²å¯ç¨' : 'ç¦ç¨' }}</span> |
| | | </div> |
| | | <div class="placeholder9 mt10">æ¯æ¥éå®ééï¼{{ detail.saleDayLimit }}</div> |
| | | <div class="placeholder9 mt10">æ¯æ¥éå®ééï¼{{ detail.saleDayLimit || 'ä¸éé¢' }}</div> |
| | | </div> |
| | | </div> |
| | | <div class="right"> |
| | | <div class="item"> |
| | | <div class="key">æ»åæ¾æ°é</div> |
| | | <div class="value">{{ detail.saleLimit || 'ä¸éé¢' }}</div> |
| | | <div class="value">{{ detail.saleLimit || '-' }}</div> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="key">å·²é宿°é</div> |
| | |
| | | <div class="item"> |
| | | <div class="key">å©ä½æ°é</div> |
| | | <div v-if="detail.saleLimit" class="value">{{ detail.saleLimit - detail.saleNum }}</div> |
| | | <div v-else class="value">ä¸éé¢</div> |
| | | <div v-else class="value">-</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="createTime_wrap"> |
| | | <span class="item">å建æ¶é´ï¼{{ detail.createDate }}</span> |
| | | <span class="item">å建人ï¼{{ detail.creatorName }}</span> |
| | | <span class="item">æåæ´æ°æ¶é´ï¼{{ detail.endDate }}</span> |
| | | <span class="item">æåæ´æ°æ¶é´ï¼{{ detail.editDate }}</span> |
| | | <span class="item">æ´æ°äººï¼{{ detail.editorName }}</span> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="line"> |
| | | <div class="key">æ»éé¢ï¼</div> |
| | | <div class="value">{{ detail.saleLimit || 'ä¸éå¶' }}</div> |
| | | <div class="value">{{ detail.saleLimit || 'ä¸éé¢' }}</div> |
| | | </div> |
| | | <div class="line"> |
| | | <div class="key">æ¯æ¥éé¢ï¼</div> |
| | |
| | | <div style="border-bottom: 2px solid #e5e7ec; margin-top: 1px;">{{ activeTab == 0 ? 'ä½¿ç¨æ
åµ' : 'æä½æ
åµ' }}ï¼{{ pagination.total }}次</div> |
| | | </div> |
| | | <el-table v-if="activeTab == 0" v-loading="loading" :data="list" stripe border> |
| | | <el-table-column prop="createDate" align="center" label="ä½¿ç¨æ¶é´" min-width="100" show-overflow-tooltip /> |
| | | <el-table-column prop="discountMemberId" align="center" label="å
³è订å" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="createDate" align="center" label="ä½¿ç¨æ¶é´" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="discountMemberId" align="center" label="å
³è订å" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="" align="center" label="éªè½¦æ¶é¿" min-width="80" show-overflow-tooltip> |
| | | <template v-slot="{ row }"> |
| | | {{ row.rideTime }}åé |
| | |
| | | <el-table-column prop="ridePrice" align="center" label="æµæ£éé¢" min-width="100" show-overflow-tooltip /> |
| | | </el-table> |
| | | <el-table v-if="activeTab == 2" v-loading="loading" :data="list" stripe border> |
| | | <el-table-column prop="createDate" align="center" label="æä½æ¶é´" min-width="100" show-overflow-tooltip /> |
| | | <el-table-column prop="createDate" align="center" label="æä½æ¶é´" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="info" align="center" label="æä½ç±»å" min-width="100" show-overflow-tooltip> |
| | | <template v-slot="{ row }"> |
| | | <span v-if="row.type == 0">ç¨æ·éªè¡ä½¿ç¨</span> |
| | | <span v-if="row.type == 1">å¹³å°ä½åº</span> |
| | | <span v-if="row.type == 2">å¹³å°è°æ´</span> |
| | | <span v-if="row.type == 1">å¥é¤ä½åº</span> |
| | | <span v-if="row.type == 2">å¥é¤è°æ´</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="editInfo" align="center" label="æä½å¤æ³¨" min-width="100" show-overflow-tooltip /> |
| | | <el-table-column prop="creatorName" align="center" label="æä½äºº" min-width="100" show-overflow-tooltip /> |
| | | <el-table-column prop="editInfo" align="center" label="æä½å¤æ³¨" min-width="200" show-overflow-tooltip /> |
| | | <el-table-column prop="creatorName" align="center" label="æä½äºº" min-width="80" show-overflow-tooltip /> |
| | | </el-table> |
| | | <div class="table_btns"> |
| | | <Pagination @size-change="handleSizeChange" @current-change="getList" :pagination="pagination" /> |
| | |
| | | getDetail(row) { |
| | | comboSalerDetailPost(row.id).then(res => { |
| | | this.detail = res |
| | | this.activeTab = '0' |
| | | this.getList() |
| | | }, () => { |
| | | |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="refundUserName" align="center" label="æä½äºº" min-width="80" show-overflow-tooltip /> |
| | | <el-table-column prop="createDate" align="center" label="å建æ¶é´" min-width="160" show-overflow-tooltip /> |
| | | <el-table-column label="æä½" fixed="right" align="center" min-width="80" show-overflow-tooltip> |
| | | <el-table-column label="æä½" fixed="right" align="center" min-width="120" show-overflow-tooltip> |
| | | <template v-slot="{ row }"> |
| | | <span @click="handleDetail(row.id)" class="primaryColor pointer">æ¥ç详æ
</span> |
| | | <span v-if="row.status == 1 && (row.refundMoney < row.money)" @click="handRefund(row.id)" |
| | |
| | | comboListOrderEx({ |
| | | page: 1, |
| | | capacity: 1000000, |
| | | model: filters |
| | | model: { |
| | | ...filters, |
| | | type: 1 |
| | | }, |
| | | }) |
| | | .then(response => { |
| | | this.download(response) |