From 56db7cd084aab1a9c4903702ce04bf704dbe6fe4 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 26 三月 2024 09:57:16 +0800 Subject: [PATCH] 合同详情 --- src/views/system/check-result/contract/index.vue | 71 +++++------------------------------ 1 files changed, 11 insertions(+), 60 deletions(-) diff --git a/src/views/system/check-result/index.vue b/src/views/system/check-result/contract/index.vue similarity index 84% rename from src/views/system/check-result/index.vue rename to src/views/system/check-result/contract/index.vue index 9f63175..f6ff3a4 100644 --- a/src/views/system/check-result/index.vue +++ b/src/views/system/check-result/contract/index.vue @@ -1,6 +1,7 @@ <template> <div class="app-container"> - <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px"> + + <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form-item label="鑰冩牳瀵硅薄" prop="checkUnitId"> <el-input v-model="queryParams.checkUnitName" @@ -52,16 +53,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,46 +90,6 @@ </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 - v-show="total>0" - :total="total" - :page.sync="queryParams.pageNum" - :limit.sync="queryParams.pageSize" - @pagination="getList" - /> --> - <el-dialog :title="manualScoreTitle" :visible.sync="manualScoreOpen" width="500px" append-to-body> <el-input v-model="manualScoreForm.manualScore" type="number" placeholder="璇蜂负璇ュ崟浣嶆墦鍒�"/> <div slot="footer" class="dialog-footer"> @@ -149,9 +100,6 @@ <el-dialog :title="detailTitle" :visible.sync="detailOpen" width="700px" append-to-body> <el-descriptions class="margin-top" :column="3" border> -<!-- <template slot="extra">--> -<!-- <el-button type="primary" size="small">鎿嶄綔</el-button>--> -<!-- </template>--> <el-descriptions-item> <template slot="label"> <i class="el-icon-user"></i> @@ -231,7 +179,6 @@ detailTitle: '', detailOpen: false, detail:{ - }, tableData: [{ name: '瑙嗛骞冲潎鍦ㄧ嚎鐜�', @@ -363,12 +310,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/contract/detail', + query: { + detail: this.detail + } + }) }, handlePublish(row) { let text = row.publish == 1 ? '鍙栨秷鍙戝竷' : '鍙戝竷'; -- Gitblit v1.8.0