From 7603e24bb41407d62d2335276758a61270530067 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 15 十一月 2024 11:39:39 +0800 Subject: [PATCH] 工单白名单基础增删改查 --- src/views/system/contract/contract-result/index.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/system/contract/contract-result/index.vue b/src/views/system/contract/contract-result/index.vue index 0820f3d..e1fc67a 100644 --- a/src/views/system/contract/contract-result/index.vue +++ b/src/views/system/contract/contract-result/index.vue @@ -6,7 +6,6 @@ size="small" :inline="true" v-show="showSearch" - label-width="100px" > <el-form-item label="鑰冩牳瀵硅薄" prop="unitId"> <el-select @@ -44,6 +43,7 @@ range-separator="-" start-placeholder="寮�濮嬫棩鏈�" end-placeholder="缁撴潫鏃ユ湡" + @change="handleQuery" ></el-date-picker> </el-form-item> <el-form-item> @@ -100,7 +100,7 @@ ></right-toolbar> --> </el-row> - <el-row v-loading="loading"> + <el-row v-if="checkResultList && checkResultList.length > 0" v-loading="loading"> <el-col :xl="8" :lg="8" @@ -151,6 +151,7 @@ </el-card> </el-col> </el-row> + <el-empty v-else description="鏆傛棤鏁版嵁"></el-empty> <pagination v-show="total > 0" @@ -306,6 +307,9 @@ if (null != this.daterangeCheckTime && "" != this.daterangeCheckTime) { this.queryParams["createStartTime"] = this.daterangeCheckTime[0]; this.queryParams["createEndTime"] = this.daterangeCheckTime[1]; + }else { + this.queryParams["createStartTime"] = null; + this.queryParams["createEndTime"] = null; } console.log("this.queryParams", this.queryParams); listCheckResult(this.queryParams).then((response) => { -- Gitblit v1.8.0