From 9ff66017debadfc89bc0c1b796684a4d1dbe2bc3 Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期五, 16 十二月 2022 10:00:02 +0800 Subject: [PATCH] 已上报到市批量操作按钮隐藏 --- src/views/operate/rectification/surveyList/index.vue | 44 ++------------------------------------------ 1 files changed, 2 insertions(+), 42 deletions(-) diff --git a/src/views/operate/rectification/surveyList/index.vue b/src/views/operate/rectification/surveyList/index.vue index b94275e..95e368f 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" @@ -60,8 +54,6 @@ }" :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 +78,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 +154,6 @@ date: "", beginTime: "", endTime: "", - // totalNum: 200, - // pageSize: 10, - // currentPage: 1, }; }, created() { @@ -181,23 +163,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 +194,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: { @@ -236,25 +212,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 { -- Gitblit v1.8.0