|
@@ -70,10 +70,18 @@
|
|
|
</el-option>
|
|
|
</template>
|
|
|
</el-select>
|
|
|
+ <el-select v-model="quality" clearable placeholder="--通道质量--" size="small" style="margin-right: 10px;margin-bottom:10px;width: 140px;">
|
|
|
+ <el-option
|
|
|
+ v-for="item in qualityCon"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
<div>
|
|
|
<el-button style="margin-right:10px;margin-bottom:20px" size="small" type="primary" @click="queryList">查询</el-button>
|
|
|
- <el-button style="margin-right:10px;margin-left:0px;margin-bottom:20px" size="small" type="danger" @click="onReset">重置</el-button>
|
|
|
- <!-- <el-button style="margin-right:10px;margin-left:0px;margin-bottom:20px" type="warning" @click="onExport">导出</el-button> -->
|
|
|
+ <el-button style="margin-right:10px;margin-bottom:20px" size="small" type="danger" @click="onReset">重置</el-button>
|
|
|
+ <el-button style="margin-bottom:20px" type="warning" size="small" @click="onExport">导出</el-button>
|
|
|
</div>
|
|
|
</el-header>
|
|
|
|
|
@@ -117,7 +125,7 @@ import {
|
|
|
queryList,
|
|
|
exportList
|
|
|
} from "@/api";
|
|
|
-import { moneyType, orderState, amountConstant, timeConstant } from '@/utils/constants'
|
|
|
+import { moneyType, orderState, amountConstant, timeConstant, qualityCon } from '@/utils/constants'
|
|
|
import {JSONToExcelConvertor} from '@/utils/export.js'
|
|
|
export default {
|
|
|
name: 'phoneOrder',
|
|
@@ -154,7 +162,11 @@ export default {
|
|
|
// 卡号
|
|
|
card_no: '',
|
|
|
// 平台单号
|
|
|
- order_sn: ''
|
|
|
+ order_sn: '',
|
|
|
+ // 充值质量
|
|
|
+ quality: '',
|
|
|
+ // 充值质量-常量
|
|
|
+ qualityCon
|
|
|
};
|
|
|
},
|
|
|
created () {
|
|
@@ -187,8 +199,8 @@ export default {
|
|
|
this.startTime = ''
|
|
|
this.endTime = ''
|
|
|
} else {
|
|
|
- this.startTime = this.dataRange[0] || ''
|
|
|
- this.endTime = this.dataRange[1] || ''
|
|
|
+ this.startTime = this.dataRange[0]/1000 || ''
|
|
|
+ this.endTime = this.dataRange[1]/1000 || ''
|
|
|
}
|
|
|
try {
|
|
|
let param = new URLSearchParams()
|
|
@@ -231,6 +243,7 @@ export default {
|
|
|
param.append('time', this.time)
|
|
|
param.append('card_no', this.card_no)
|
|
|
param.append('order_sn', this.order_sn)
|
|
|
+ param.append('quality', this.quality)
|
|
|
// const res = await queryList(this.pageNumber, startTime, endTime, this.RechargeType)
|
|
|
const res = await queryList(param)
|
|
|
console.log('查询订单', res);
|
|
@@ -255,6 +268,7 @@ export default {
|
|
|
this.time = ''
|
|
|
this.card_no = ''
|
|
|
this.order_sn = ''
|
|
|
+ this.quality = ''
|
|
|
this.getOrderList();
|
|
|
},
|
|
|
// 分页
|
|
@@ -282,6 +296,7 @@ export default {
|
|
|
param.append('mch_order', this.mch_order)
|
|
|
param.append('card_no', this.card_no)
|
|
|
param.append('order_sn', this.order_sn)
|
|
|
+ param.append('quality', this.quality)
|
|
|
// const res = await queryList(this.pageNumber, startTime, endTime, this.RechargeType)
|
|
|
const res = await queryList(param)
|
|
|
console.log('查询订单', res);
|