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/contract-result/index.vue | 31 ++++++++++++------------------- 1 files changed, 12 insertions(+), 19 deletions(-) diff --git a/src/views/system/contract/contract-result/index.vue b/src/views/system/contract/contract-result/index.vue index 20c0f51..5e585e6 100644 --- a/src/views/system/contract/contract-result/index.vue +++ b/src/views/system/contract/contract-result/index.vue @@ -50,11 +50,11 @@ <el-button type="primary" icon="el-icon-search" - size="mini" + size="small" @click="handleQuery" >鎼滅储</el-button > - <el-button icon="el-icon-refresh" size="mini" @click="resetQuery" + <el-button icon="el-icon-refresh" size="small" @click="resetQuery" >閲嶇疆</el-button > </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,11 +93,11 @@ @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"> @@ -172,8 +172,8 @@ placeholder="璇蜂负璇ュ崟浣嶆墦鍒�" /> <div slot="footer" class="dialog-footer"> - <el-button type="primary" @click="submitManualScore">纭� 瀹�</el-button> <el-button @click="cancelManualScore">鍙� 娑�</el-button> + <el-button type="primary" @click="submitManualScore">纭� 瀹�</el-button> </div> </el-dialog> @@ -214,14 +214,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> @@ -231,8 +224,8 @@ <el-form ref="form" :model="form" :rules="rules" label-width="80px"> </el-form> <div slot="footer" class="dialog-footer"> - <el-button type="primary" @click="submitForm">纭� 瀹�</el-button> <el-button @click="cancel">鍙� 娑�</el-button> + <el-button type="primary" @click="submitForm">纭� 瀹�</el-button> </div> </el-dialog> </div> @@ -365,7 +358,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