From dab34ce9fbe468d82cbb6b8c89bd3a0d167e74ae Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 26 三月 2024 15:22:15 +0800 Subject: [PATCH] 考核结果跳转页面 --- src/views/system/check-result/city/index.vue | 58 ++++++++++------------------------------------------------ 1 files changed, 10 insertions(+), 48 deletions(-) diff --git a/src/views/system/check-result/city/index.vue b/src/views/system/check-result/city/index.vue index 781a138..3d41c4c 100644 --- a/src/views/system/check-result/city/index.vue +++ b/src/views/system/check-result/city/index.vue @@ -52,16 +52,6 @@ </el-form> <el-row :gutter="10" class="mb8"> -<!-- <el-col :span="1.5">--> -<!-- <el-button--> -<!-- type="primary"--> -<!-- plain--> -<!-- icon="el-icon-plus"--> -<!-- size="mini"--> -<!-- @click="handleAdd"--> -<!-- v-hasPermi="['system:checkResult:add']"--> -<!-- >鏂板</el-button>--> -<!-- </el-col>--> <el-col :span="1.5"> <el-button type="danger" @@ -99,39 +89,7 @@ </div> </el-card> - <!-- <el-table v-loading="loading" :data="checkResultList" @selection-change="handleSelectionChange"> - <el-table-column type="selection" width="55" align="center" /> - <el-table-column label="鑰冩牳瀵硅薄" align="center" prop="checkUnitName" /> - <el-table-column label="鑰冩牳" align="center" prop="examineName" /> - <el-table-column label="鑰冩牳鑼冨洿":formatter="examineRangeFormatter" align="center" prop="examineRange" /> - <el-table-column label="鑰冩牳棰戠巼" :formatter="frequencyFormatter" align="center" prop="frequency" /> - <el-table-column label="鑰冩牳鍒嗘暟" falign="center" prop="checkScore" /> - <el-table-column label="鑰冩牳鏃堕棿" align="center" prop="checkTime" /> - <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> - <template slot-scope="scope"> - <el-button - size="mini" - type="text" - icon="el-icon-view" - @click="handleDetail(scope.row)" - >璇︽儏</el-button> - <el-button - type="text" - size="mini" - icon="el-icon-edit" - @click="handleSetManualScore(scope.row)" - >浜哄伐鎵撳垎</el-button> - <el-button - size="mini" - type="text" - icon="el-icon-delete" - @click="handleDelete(scope.row)" - >鍒犻櫎</el-button> - </template> - </el-table-column> - </el-table> - - <pagination + <!-- <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" @@ -393,12 +351,16 @@ this.manualScoreTitle = row.checkUnitName + '浜哄伐鎵撳垎' this.manualScoreOpen = true; }, - handleDetail(row) { - this.detail = row; + handleDetail(item) { + this.detail = item; this.detail.carOnlineRate = '97%'; - this.detailTitle = row.checkUnitName + '鑰冩牳缁撴灉'; - this.detailOpen = true; - + console.log(this.detail,"detail") + this.$router.push({ + path: '/check-result/city/detail', + query: { + detail: this.detail + } + }) }, handlePublish(row) { const ids = row.id || this.ids; -- Gitblit v1.8.0