no message

This commit is contained in:
wangh 2024-05-20 09:03:12 +08:00
parent 302abd49e9
commit 74a67d07e3
3 changed files with 23 additions and 20 deletions

View File

@ -31,18 +31,18 @@
placeholder="结束日期">
</el-date-picker>
</el-form-item>
<el-form-item label="机构:" prop="deptId">
<el-select
v-model="queryParams.deptId"
clearable
placeholder="全部"
>
<el-option v-for="item in deptList" :key="item.id" :label="item.deptName" :value="item.deptId">
</el-option>
<!-- <el-form-item label="机构:" prop="deptId">-->
<!-- <el-select-->
<!-- v-model="queryParams.deptId"-->
<!-- clearable-->
<!-- placeholder="全部"-->
<!-- >-->
<!-- <el-option v-for="item in deptList" :key="item.id" :label="item.deptName" :value="item.deptId">-->
<!-- </el-option>-->
</el-select>
</el-form-item>
<!-- </el-select>-->
<!-- </el-form-item>-->
<el-form-item label="支付渠道:" prop="payChannel">
<el-select
v-model="queryParams.payChannel"
@ -265,7 +265,7 @@
<script>
import {
exportExcelTradingApi,
exportExcelTradingApi, getmyDataApi,
getRunningWaterByTissueApi,
getTissueByDataApi,
getTradingPageApi
@ -336,8 +336,11 @@ import {
},
methods:{
getDeptList() {
getRunningWaterByTissueApi(this.addDateRange(this.queryParams)).then( response => {
this.deptList = response.data.records;
// getRunningWaterByTissueApi(this.addDateRange(this.queryParams)).then( response => {
// this.deptList = response.data.records;
// })
getmyDataApi(this.addDateRange(this.queryParams)).then( response => {
this.queryParams.deptId = response.data.deptId;
})
},
exportExcelCashier() {

View File

@ -3,7 +3,7 @@
<div class="app-top">
<el-card>
<el-radio-group v-model="radio1">
<el-radio-button label="机构流水分析"></el-radio-button>
<!-- <el-radio-button label="机构流水分析"></el-radio-button>-->
<el-radio-button label="油站流水分析"></el-radio-button>
<el-radio-button label="无流水门店"></el-radio-button>
<el-radio-button label="日流水分析"></el-radio-button>

View File

@ -202,8 +202,8 @@ import {
this.$download.saveAs(blob,'流水订单统计.xLsx')
})
},
//
//
getOrderStatistics() {
let dateRange = []
if (this.beginTime && this.endTime) {
@ -230,11 +230,11 @@ import {
this.getOrderStatistics()
},
getDeptList() {
getmyDataApi(this.addDateRange(this.queryParams)).then( response => {
this.queryParams.deptId = response.data.deptId;
})
},
getDeptList() {
getmyDataApi(this.addDateRange(this.queryParams)).then( response => {
this.queryParams.deptId = response.data.deptId;
})
},
//
handleQuery() {