From a857a5abd3525287221f813cea77bb78cd6c7e01 Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Thu, 07 Sep 2023 15:32:52 +0800
Subject: [PATCH] 新增推广位项目选择
---
src/views/qyp-project-order/index.vue | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/views/qyp-project-order/index.vue b/src/views/qyp-project-order/index.vue
index ca6068c..63fb0c4 100644
--- a/src/views/qyp-project-order/index.vue
+++ b/src/views/qyp-project-order/index.vue
@@ -77,14 +77,13 @@
</el-form-item>
</div>
<el-form-item style="text-align: right;">
- <!-- v-if='filterBtnById("150102")' -->
<el-button type="primary" style="margin-left: 10px;margin-bottom: 8px;" @click="onSearch">查 询</el-button>
</el-form-item>
</el-form>
</div>
<div class="table_box">
<div style="margin-left: 10px;text-align: right;">
- <el-button type="primary" size="small" @click="addProduct">导出excel</el-button>
+ <el-button type="primary" size="small" @click="addProduct" v-if='filterBtnById("430101")' >导出excel</el-button>
</div>
<Etable
hasIndex
@@ -96,8 +95,8 @@
@getDataList="getDataList"
@handleSelectionChange="handleSelectionChange"
:exportUrl="{
- url: '/qyp/order/orderExport',
- powerId: '',
+ url: '/qyp/order/orderBaseExport',
+ powerId: '430102',
name: '订单列表',
}"
></Etable>
@@ -183,9 +182,9 @@
type:'text'
},
style: {
- // display: this.filterBtnById(150101)
- // ? "inline-block"
- // : "none",
+ display: this.filterBtnById(430103)
+ ? "inline-block"
+ : "none",
},
on: {
click: () => {
@@ -245,7 +244,7 @@
}
let objForm = JSON.parse(JSON.stringify(this.formInline));
for (let key in objForm) {
- if (objForm[key] === "all") {
+ if (objForm[key] === "all"||objForm[key] === ""||objForm[key] === null) {
delete objForm[key];
}
}
--
Gitblit v1.8.0