From 16eb67ab6b103663d30cad9ba74360f982e131cb Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 03 九月 2024 10:34:59 +0800 Subject: [PATCH] 自定义列显隐控制 --- src/views/system/contract/score/index.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/system/contract/score/index.vue b/src/views/system/contract/score/index.vue index d578e8c..2ef8338 100644 --- a/src/views/system/contract/score/index.vue +++ b/src/views/system/contract/score/index.vue @@ -28,10 +28,6 @@ v-hasPermi="['platform:score:add']">鏂板</el-button> </el-col> <el-col :span="1.5"> - <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" - v-hasPermi="['platform:score:edit']">淇敼</el-button> - </el-col> - <el-col :span="1.5"> <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" v-hasPermi="['platform:score:remove']">鍒犻櫎</el-button> </el-col> @@ -388,12 +384,17 @@ if (null != this.daterangeAuditingTime && '' != this.daterangeAuditingTime) { this.queryParams["auditingStartTime"] = this.daterangeAuditingTime[0]; this.queryParams["auditingEndTime"] = this.daterangeAuditingTime[1]; + } else { + this.queryParams["auditingStartTime"] = null; + this.queryParams["auditingEndTime"] = null; } if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) { this.queryParams["createStartTime"] = this.daterangeCreateTime[0]; this.queryParams["createEndTime"] = this.daterangeCreateTime[1]; + } else { + this.queryParams["createStartTime"] = null; + this.queryParams["createEndTime"] = null; } - console.log("this.queryParams", this.queryParams) listAuditing(this.queryParams).then(response => { this.auditingList = response.rows; this.total = response.total; -- Gitblit v1.8.0