|
@@ -66,6 +66,7 @@
|
|
|
<script>
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
import getDate from '../../libs/getDate.js'
|
|
|
+ import { orderCenterList } from '../../api/order.js'
|
|
|
import moment from 'moment'
|
|
|
export default {
|
|
|
components: {
|
|
@@ -76,14 +77,16 @@
|
|
|
return {
|
|
|
// 查询参数
|
|
|
searchForm: {
|
|
|
- beginDate: null, // 创建的开始时间
|
|
|
- endDate: null, // 创建的结束时间
|
|
|
+ // beginDate: null, // 创建的开始时间
|
|
|
+ // endDate: null, // 创建的结束时间
|
|
|
name: '', // 网点名称
|
|
|
num: '', // 单号
|
|
|
fwname:'', // 服务项目
|
|
|
phone:'', // 手机号码
|
|
|
status:'' // 状态
|
|
|
},
|
|
|
+ pageNo:1,
|
|
|
+ pageSize:10,
|
|
|
countHJ:'40',
|
|
|
incomeHJ:'2000',
|
|
|
time: [
|
|
@@ -162,9 +165,17 @@
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
loadData: parameter => {
|
|
|
- // this.searchData.beginDate == null ? this.searchData.beginDate = getDate.getToday().starttime : null
|
|
|
- // this.searchData.endDate == null ? this.searchData.endDate = getDate.getToday().endtime : null
|
|
|
- // return getTenantsList(Object.assign(parameter, this.searchForm)).then(res => {
|
|
|
+ return orderCenterList({
|
|
|
+ pageNo:this.pageNo,
|
|
|
+ pageSize:this.pageSize}).then(res=>{
|
|
|
+ console.log(res,'--------------')
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+ // this.searchForm.beginDate == null ? this.searchForm.beginDate = getDate.getToday().starttime : null
|
|
|
+ // this.searchForm.endDate == null ? this.searchForm.endDate = getDate.getToday().endtime : null
|
|
|
+ // return orderCenterList(Object.assign(parameter, this.searchForm)).then(res => {
|
|
|
+ // console.log(res,'0000000000000000000')
|
|
|
// if (res.status == 200) {
|
|
|
// const no = (res.data.pageNo - 1) * res.data.pageSize
|
|
|
// for (let i = 0; i < res.data.list.length; i++) {
|
|
@@ -234,7 +245,7 @@
|
|
|
}
|
|
|
|
|
|
.total {
|
|
|
- margin-bottom: 15px;
|
|
|
+ margin-bottom: 24px;
|
|
|
width:100%;
|
|
|
background-color: #e6f7ff;
|
|
|
border: 1px solid #91d5ff;
|