From 5b6951defb238197a46407a4db617f55fc99391a Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 15 十一月 2024 11:39:41 +0800 Subject: [PATCH] 白名单故障类型 --- src/views/system/contract/contract-result/index.vue | 35 ++++++++++++++++------------------- 1 files changed, 16 insertions(+), 19 deletions(-) diff --git a/src/views/system/contract/contract-result/index.vue b/src/views/system/contract/contract-result/index.vue index ad78377..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> @@ -71,7 +71,7 @@ <!-- v-hasPermi="['system:checkResult:add']"--> <!-- >鏂板</el-button>--> <!-- </el-col>--> - <el-col :span="1.5"> + <!-- <el-col :span="1.5"> <el-button type="danger" plain @@ -82,8 +82,8 @@ @click="handleDelete" >鍒犻櫎</el-button > - </el-col> - <el-col :span="1.5"> + </el-col> --> + <!-- <el-col :span="1.5"> <el-button type="warning" plain @@ -93,14 +93,14 @@ @click="handleExport" >瀵煎嚭</el-button > - </el-col> - <right-toolbar + </el-col> --> + <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" - ></right-toolbar> + ></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" @@ -135,7 +135,7 @@ style="float: right" @click="handlePublish(item)" v-show="item.publish != 1" - v-hasPermi="['result:contract:publish']" + v-hasPermi="['contract:result:publish']" >纭鍙戝竷</el-button > <el-button @@ -144,13 +144,14 @@ style="float: right" disabled v-show="item.publish == 1" - v-hasPermi="['result:contract:publish']" + v-hasPermi="['contract:result:publish']" >宸插彂甯�</el-button > </div> </el-card> </el-col> </el-row> + <el-empty v-else description="鏆傛棤鏁版嵁"></el-empty> <pagination v-show="total > 0" @@ -214,14 +215,7 @@ width="300" > </el-table-column> - <el-table-column - label="鎵e噺鏂瑰紡" - align="center" - prop="deductCategory" - width="180px" - > - </el-table-column> - <el-table-column prop="num" label="閲忓��"> </el-table-column> + <el-table-column prop="num" label="娆℃暟"> </el-table-column> <el-table-column prop="score" label="鎵e垎"> </el-table-column> </el-table> </el-dialog> @@ -313,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) => { @@ -365,7 +362,7 @@ this.manualScoreOpen = true; }, handleDetail(row) { - resultRecord(row.id).then((res) => { + resultRecord(row.id, row.contractId).then((res) => { this.tableData = res.rows; }); this.detail = row; -- Gitblit v1.8.0