|
|
|
@ -1,14 +1,16 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="order"> |
|
|
|
|
<div class="frame"> |
|
|
|
|
<autocomplete class="mr20" :params="parameter.params" :config="configAutocomplete" /> |
|
|
|
|
|
|
|
|
|
<el-select v-model="parameter.params.refineryType" placeholder="炼厂类型" clearable> |
|
|
|
|
<el-option v-for="item in refineryTypeEnum" :key="item.value" :label="item.label" :value="item.value"> </el-option> |
|
|
|
|
<autocomplete class="mr20" :params="parameter.params" :config="configAutocomplete" @change="changeRefineryId" /> |
|
|
|
|
<el-select v-model="parameter.params.refineryAccountId" placeholder="炼厂账户" clearable> |
|
|
|
|
<el-option v-for="item in refineryAccountList" :key="item.id" :label="item.accountName" :value="item.id"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
<el-select v-model="parameter.params.transactionType" placeholder="交易类型" clearable> |
|
|
|
|
<el-option label="充值" value="RECHARGE"> </el-option> |
|
|
|
|
<el-option label="圈回" value="TURN"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
<el-select v-model="parameter.params.accountStatus" placeholder="启用禁用" clearable> |
|
|
|
|
<el-option label="启用" value="ENABLE"> </el-option> |
|
|
|
|
<el-option label="禁用" value="DISABLE"> </el-option> |
|
|
|
|
<el-select v-model="parameter.params.auditMark" placeholder="审核状态" clearable> |
|
|
|
|
<el-option v-for="(item, index) in auditMarkEnum" :key="index" :label="item.label" :value="item.value"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
<div class="buttons"> |
|
|
|
|
<el-button icon="el-icon-search" @click="search">查询</el-button> |
|
|
|
@ -106,6 +108,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
refineryAccountList: [], |
|
|
|
|
auditMarkEnum: [ |
|
|
|
|
{ |
|
|
|
|
label: '创建', |
|
|
|
@ -151,7 +154,12 @@ export default { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 10, |
|
|
|
|
total: 0, |
|
|
|
|
params: {} |
|
|
|
|
params: { |
|
|
|
|
refineryAccountId: '' |
|
|
|
|
}, |
|
|
|
|
sorted: { |
|
|
|
|
createTime: 'desc' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
oilCompanyMatch: {}, |
|
|
|
|
mappingData: [ |
|
|
|
@ -182,6 +190,15 @@ export default { |
|
|
|
|
this.getByPage() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
changeRefineryId(val) { |
|
|
|
|
this.parameter.params.refineryAccountId = '' |
|
|
|
|
this.refineryAccountList = [] |
|
|
|
|
if (val) { |
|
|
|
|
serve.getByList({ refineryId: val }).then(res => { |
|
|
|
|
this.refineryAccountList = res.data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
search() { |
|
|
|
|
this.parameter.currentPage = 1 |
|
|
|
|
this.getByPage() |
|
|
|
@ -216,7 +233,12 @@ export default { |
|
|
|
|
Object.assign(this.parameter, { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 10, |
|
|
|
|
params: {} |
|
|
|
|
params: { |
|
|
|
|
refineryAccountId: '' |
|
|
|
|
}, |
|
|
|
|
sorted: { |
|
|
|
|
createTime: 'desc' |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// table height |
|
|
|
|