From 96f3af2ea35e3e104916b78a803afb794d6d9588 Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Thu, 07 Sep 2023 10:50:35 +0800 Subject: [PATCH] 可退款按钮 --- src/views/qyp-project-management/promotion.vue | 29 +++++++++++++++-------------- 1 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/views/qyp-project-management/promotion.vue b/src/views/qyp-project-management/promotion.vue index 5994076..9f09667 100644 --- a/src/views/qyp-project-management/promotion.vue +++ b/src/views/qyp-project-management/promotion.vue @@ -11,7 +11,7 @@ <div style="width: 90%"> <el-form-item label="项目名称:"> <el-select - v-model="formInline.status" + v-model="formInline.projId" style="width:200px" clearable placeholder="请选择" @@ -86,7 +86,7 @@ </div> <div class="table_box"> <div style="margin-left: 10px;text-align: right;"> - <el-button type="primary" size="small" @click="addPromotion">新增推广位</el-button> + <el-button type="primary" size="small" v-if='filterBtnById("420201")' @click="addPromotion">新增推广位</el-button> </div> <Etable hasIndex @@ -96,7 +96,7 @@ @getDataList="getDataList" :exportUrl="{ url: '/qyp/promote/export', - powerId: '150103', + powerId: '420204', name: '项目列表', }" ></Etable> @@ -190,10 +190,10 @@ width: "180", }, { - lable: "创建时间", + lable: "推广位创建时间", prop: "creTime", align: "center", - width: "180", + width: "200", }, { lable: "推广位状态", @@ -219,9 +219,9 @@ size:'small' }, style: { - // display: this.filterBtnById(150101) - // ? "inline-block" - // : "none", + display: this.filterBtnById(420203) + ? "inline-block" + : "none", }, on: { click: () => { @@ -242,9 +242,9 @@ size:'small' }, style: { - // display: this.filterBtnById(150101) - // ? "inline-block" - // : "none", + display: this.filterBtnById(420202) + ? "inline-block" + : "none", }, on: { click: () => { @@ -270,6 +270,7 @@ status:[{ required: true, message: "请选择上架状态", trigger: "change" }] }, formInline: { + projId:"all", status:"all", }, searchData: {}, @@ -336,15 +337,15 @@ this.formInline.projCreEndTime = null; } if (this.promotionCreatedTime && this.promotionCreatedTime.length) { - this.formInline.promCreEndTime = this.createdTime[0]; - this.formInline.promCreStartTime = this.createdTime[1]; + this.formInline.promCreEndTime = this.promotionCreatedTime[0]; + this.formInline.promCreStartTime = this.promotionCreatedTime[1]; } else { this.formInline.promCreEndTime = null; this.formInline.promCreStartTime = null; } 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