From 7c20fd15b7fbc2bd5756b39d5ab655cc849ffcc3 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期三, 16 七月 2025 22:39:23 +0800 Subject: [PATCH] 添加时间筛选 --- src/views/operate/rectification/surveyList/index.vue | 45 +++++++++------------------------------------ 1 files changed, 9 insertions(+), 36 deletions(-) diff --git a/src/views/operate/rectification/surveyList/index.vue b/src/views/operate/rectification/surveyList/index.vue index 3ec0dfc..a55ef57 100644 --- a/src/views/operate/rectification/surveyList/index.vue +++ b/src/views/operate/rectification/surveyList/index.vue @@ -29,11 +29,6 @@ > </el-date-picker> </div> - <!-- <div class="mydate"> - <el-input placeholder="璇疯緭鍏ュ紑濮嬫椂闂�"></el-input> - <div class="line">鈥斺�斺�� 鈥斺�斺��</div> - <el-input placeholder="璇疯緭鍏ョ粨鏉熸椂闂�"></el-input> - </div> --> </div> <div class="search"> <el-input placeholder="璇疯緭鍏ユ爣棰樻垨鑰呬换鍔$紪鍙�"></el-input> @@ -44,7 +39,6 @@ </div> </div> <div class="mainContent"> - <!-- @selection-change="handleSelectionChange" --> <!-- 鏁版嵁娓叉煋 --> <el-table ref="multipleTable" @@ -52,16 +46,11 @@ tooltip-effect="dark" style="width: 100%" :header-cell-style="{ - background: '#06122c', - 'font-size': '12px', - color: '#4b9bb7', 'font-weight': '650', 'line-height': '45px', }" :row-class-name="tableRowClassName" > - <!-- <el-table-column type="selection" width="55"> - </el-table-column> --> <el-table-column label="浠诲姟缂栧彿" prop="num" min-width="10"> </el-table-column> <el-table-column prop="type" label="闂绫诲瀷" min-width="10"> @@ -86,13 +75,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> @@ -169,9 +151,6 @@ date: "", beginTime: "", endTime: "", - // totalNum: 200, - // pageSize: 10, - // currentPage: 1, }; }, created() { @@ -181,23 +160,21 @@ // 鑾峰彇鎺ュ彛鍒楄〃 getUserList() { const that = this; - // const { currentPage, pageSize, search } = this; this.dialogCreate = false; this.$axios.get("sccg/system/portal/thirdApp/search").then((res) => { const { code, data } = res; - if (code == 200) { + if (code === 200) { this.tableData = data; } }); }, // 璁剧疆琛ㄦ牸鏂戦┈绾� tableRowClassName({ row, rowIndex }) { - if ((rowIndex + 1) % 2 == 0) { + if ((rowIndex + 1) % 2 === 0) { return "warning-row"; } else { return "success-row"; } - return ""; }, // 鎵撳紑鏂板鐣岄潰 handleAdd() { @@ -214,19 +191,15 @@ .catch((_) => {}); }, closeDialog({ flag, index }) { - console.log(flag); - index === 1 ? "" : ""; this.dialogCreate = flag; }, // 鍒涘缓鏌ョ湅寮圭獥 handleView(rowData) { - console.log(rowData); this.userInfo = rowData; this.dialogUpdate = true; }, // 鍒犻櫎绗笁鏂规帴鍙� handleDelete({ id }) { - console.log(id); this.$axios .delete("sccg/system/portal/thirdApp/delete", { params: { @@ -263,7 +236,7 @@ display: flex; line-height: 60px; color: #4b9bb7; - background-color: #09152f; + // background-color: #09152f; display: flex; .add, .search, @@ -285,11 +258,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; + // } } } @@ -297,7 +270,7 @@ margin-top: 20px; .el-table { - color: #4b9bb7; + // color: #4b9bb7; &::v-deep .el-table__empty-block { background-color: #06122c; -- Gitblit v1.8.0