前端BUG

This commit is contained in:
zhaotianfeng 2024-09-20 09:47:25 +08:00
parent b512b74093
commit 0deeb81197
4 changed files with 11 additions and 19 deletions

View File

@ -36,10 +36,6 @@
<div>油站联系方式</div> <div>油站联系方式</div>
<div>{{ seeFrom.phone }}</div> <div>{{ seeFrom.phone }}</div>
</div> </div>
<div class="threebox">
<div>油站ID</div>
<div>{{ seeFrom.id }}</div>
</div>
<div class="threebox"> <div class="threebox">
<div>油站创建时间</div> <div>油站创建时间</div>
<div>{{ parseTime(seeFrom.createTime) }}</div> <div>{{ parseTime(seeFrom.createTime) }}</div>
@ -87,10 +83,6 @@
<el-input v-model="from.contact" autocomplete="off" style="width:220px"></el-input> <el-input v-model="from.contact" autocomplete="off" style="width:220px"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="油站ID" :label-width="formLabelWidth">
<span>{{ from.id }}</span>
</el-form-item>
</el-col> </el-col>
<el-col :span="10"> <el-col :span="10">
<el-form-item label="上传头像" prop="name" :label-width="formLabelWidth"> <el-form-item label="上传头像" prop="name" :label-width="formLabelWidth">

View File

@ -49,8 +49,8 @@
<div class="title_">{{ orderStatistics.storeId?orderStatistics.storeId:0 }}/{{orderStatistics.sumOil}}</div> <div class="title_">{{ orderStatistics.storeId?orderStatistics.storeId:0 }}/{{orderStatistics.sumOil}}</div>
</div> </div>
<div class="k_" id="k_2"> <div class="k_" id="k_2">
<div class="size_" >交易金额汇总数/交易笔数</div> <div class="size_" >交易金额汇总数/交易笔数</div>
<div class="title_">{{ orderStatistics.payMoney?(orderStatistics.payMoney/10000).toFixed(4):0 }}/{{orderStatistics.count}}</div> <div class="title_">{{ orderStatistics.payMoney?(orderStatistics.payMoney).toFixed(2):0 }}/{{orderStatistics.count}}</div>
</div> </div>
<div class="k_" id="k_3"> <div class="k_" id="k_3">
<div class="size_">退款金额/退款笔数</div> <div class="size_">退款金额/退款笔数</div>

View File

@ -147,8 +147,8 @@
</el-switch> </el-switch>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="submitForm('deviceForm')">提交</el-button>
<el-button @click="resetForm('deviceForm')">取消</el-button> <el-button @click="resetForm('deviceForm')">取消</el-button>
<el-button type="primary" @click="submitForm('deviceForm')">提交</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- </el-form>--> <!-- </el-form>-->

View File

@ -253,12 +253,7 @@ export default {
}, },
handleClick2() { handleClick2() {
console.log("111111111111111")
if (this.activeindex == 0){
this.queryParams.systemName ='1'
}else {
this.queryParams.systemName ='2'
}
this.queryParams = { this.queryParams = {
page: 1, page: 1,
@ -266,14 +261,19 @@ export default {
bannerName:'', bannerName:'',
systemPosition:'', systemPosition:'',
bannerStatus:'', bannerStatus:'',
}, }
if (this.activeindex == 0){
this.queryParams.systemName ='1'
}else {
this.queryParams.systemName ='2'
}
this.getList() this.getList()
}, },
getList(){ getList(){
this.queryParams.current = this.queryParams.page this.queryParams.current = this.queryParams.page
console.log('请求参数',this.queryParams)
getListApi(this.queryParams).then(res=>{ getListApi(this.queryParams).then(res=>{
this.tableData = res.data.records; this.tableData = res.data.records;
this.total = res.data.total this.total = res.data.total