From 8ad7fe19f6cef00a5578c07b0570b8a0af9a8dcb Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 21 二月 2023 15:23:14 +0800
Subject: [PATCH] 去掉勾选框
---
src/views/operate/rectification/taskList/index.vue | 44 +++++++++-----------------------------------
1 files changed, 9 insertions(+), 35 deletions(-)
diff --git a/src/views/operate/rectification/taskList/index.vue b/src/views/operate/rectification/taskList/index.vue
index 44b9d14..400f7db 100644
--- a/src/views/operate/rectification/taskList/index.vue
+++ b/src/views/operate/rectification/taskList/index.vue
@@ -27,10 +27,9 @@
</div>
</div>
<div class="mainContent">
- <!-- @selection-change="handleSelectionChange" -->
<!-- 鏁版嵁娓叉煋 -->
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%"
- :header-cell-style="{background:'#06122c','font-size':'12px',color:'#4b9bb7','font-weight':'650','line-height':'45px'}"
+ :header-cell-style="{background:'#06122c','font-weight':'650','line-height':'45px'}"
:row-class-name="tableRowClassName">
<el-table-column type="selection" width="55">
</el-table-column>
@@ -62,13 +61,6 @@
</template>
</el-table-column>
</el-table>
- <!-- 鍒嗛〉 -->
- <!-- <div class="pagination">
- <el-pagination background :current-page="currentPage" layout="prev, pager, next" :total="totalNum"
- :page-size="pageSize" @current-change="changeCurrentPage" @prev-click="handlePrev"
- @next-click="handleNext">
- </el-pagination>
- </div> -->
</div>
</main>
<footer>
@@ -145,12 +137,11 @@
},
// 璁剧疆琛ㄦ牸鏂戦┈绾�
tableRowClassName({ row, rowIndex }) {
- if ((rowIndex + 1) % 2 == 0) {
+ if ((rowIndex + 1) % 2 === 0) {
return 'warning-row';
} else {
return 'success-row';
}
- return '';
},
// 鎵撳紑鏂板鐣岄潰
handleAdd() {
@@ -173,7 +164,6 @@
},
// 鍒犻櫎绗笁鏂规帴鍙�
handleDelete({ id }) {
- console.log(id);
this.$axios.delete('sccg/system/portal/thirdApp/delete', {
params: {
id
@@ -181,25 +171,9 @@
}).then(res => {
})
}
- // // 褰撳墠椤垫敼鍙樿Е鍙戜簨浠�
- // changeCurrentPage(page) {
- // this.currentPage = page;
- // this.getUserList();
- // },
- // // 涓婁竴椤电偣鍑讳簨浠�
- // handlePrev(page) {
- // this.currentPage = page;
- // this.getUserList();
- // },
- // // 涓嬩竴椤电偣鍑讳簨浠�
- // handleNext(page) {
- // this.currentPage = page;
- // this.getUserList();
- // },
}
}
</script>
-<!-- sccg/system/portal/thirdApp/search -->
<style lang="scss" scoped>
.otherInterface {
header {
@@ -225,7 +199,7 @@
display: flex;
line-height: 60px;
color: #4b9bb7;
- background-color: #09152f;
+ // background-color: #09152f;
display: flex;
.add,.search,.btn{
flex:1;
@@ -245,11 +219,11 @@
height: 35px;
margin-left: 10px;
- &::v-deep .el-input__inner {
- background-color: #09152f;
- border: 1px solid #17324c;
- font-size: 12px;
- }
+ // &::v-deep .el-input__inner {
+ // background-color: #09152f;
+ // border: 1px solid #17324c;
+ // font-size: 12px;
+ // }
}
}
@@ -257,7 +231,7 @@
margin-top: 20px;
.el-table {
- color: #4b9bb7;
+ // color: #4b9bb7;
&::v-deep .el-table__empty-block {
background-color: #06122c;
--
Gitblit v1.8.0