From b28d647a748d0716a86718b58144faac873a8fe2 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期二, 15 八月 2023 21:39:04 +0800 Subject: [PATCH] 前端验证码 --- src/views/operate/myWait/index.vue | 46 +++++++++++++++++++++++++--------------------- 1 files changed, 25 insertions(+), 21 deletions(-) diff --git a/src/views/operate/myWait/index.vue b/src/views/operate/myWait/index.vue index cefcb95..523e545 100644 --- a/src/views/operate/myWait/index.vue +++ b/src/views/operate/myWait/index.vue @@ -1,6 +1,6 @@ <template> <div class="userList"> - <div class="headerTitle">杩愯惀绠$悊銆嬫垜鐨勫緟鍔�</div> + <!-- <div class="headerTitle">杩愯惀绠$悊銆嬫垜鐨勫緟鍔�</div>--> <header> <div class="headerContent"> <div class="search"> @@ -16,11 +16,11 @@ <div class="mainContent"> <!-- 鏁版嵁灞曠ず --> <el-table + border + stripe ref="multipleTable" :header-cell-style="{ - // background: '#06122c', - 'font-size': '12px', - color: '#4b9bb7', + background: '#F5F5F5', 'font-weight': '650', 'line-height': '45px', }" @@ -46,7 +46,7 @@ </el-table-column> <el-table-column prop="limitTime" label="鍓╀綑鏃堕棿" min-width="10"> </el-table-column> - <el-table-column prop="stepName" label="闂鐘舵��" min-width="10"> + <el-table-column prop="stepName" label="鎿嶄綔" min-width="10"> <template slot-scope="scope"> <div class="operation"> <span @click="handleOperation(scope.row)">{{ @@ -206,7 +206,11 @@ methods: { getTableData() { myWait - .getMybackLog({ num: this.context, current: this.currentPage, pageSize: this.pageSize }) + .getMybackLog({ + num: this.context, + current: this.currentPage, + pageSize: this.pageSize, + }) .then(({ records, total }) => { this.tableData = records; this.tableData = this.tableData.filter((item) => !!item); @@ -338,7 +342,7 @@ url: `sccg/base_case/baseCaseDetail/${row.code}`, }).then((res) => { this.info = res.data; - this.vioData = res.data.currentSitVo; + if (res.data) this.vioData = res.data.currentSitVo; this.dialogUpdate = true; }); }, @@ -348,18 +352,18 @@ <style lang="scss" scoped> .userList { text-align: left; - margin: 10px 20px; - color: #4b9bb7; - + padding: 10px 20px; + // color: #4b9bb7; + border: 1px solid #ccc; .headerTitle { line-height: 40px; } header { - background-color: white; + //background-color: white; .headerContent { - padding: 0 40px; + padding: 0; display: flex; line-height: 100px; justify-content: space-between; @@ -379,7 +383,7 @@ &::v-deep .el-input__inner { background-color: #fff; - border: 1px solid #17324c; + //border: 1px solid #17324c; } } } @@ -393,7 +397,7 @@ .el-button { padding: 12px 25px; - border-radius: 20px; + //border-radius: 20px; } } @@ -407,7 +411,7 @@ } main { - background-color: #fff; + //background-color: #fff; margin-top: 20px; padding-bottom: 50px; @@ -428,7 +432,7 @@ line-height: 28px; display: flex; align-items: center; - border: 1px solid #17324c; + border: 1px solid #dcdfe6; border-radius: 4px; font-size: 12px; margin-left: 10px; @@ -480,8 +484,8 @@ } .el-table { - color: #4b9bb7; - font-size: 10px; + // color: #4b9bb7; + // font-size: 10px; &::v-deep .cell { text-overflow: ellipsis; @@ -499,11 +503,11 @@ .operation { display: flex; - + color: var(--operation-color); .line { padding: 0 5px; } - + color: var(--operation-color); span:hover { cursor: pointer; } @@ -574,4 +578,4 @@ padding: 0; } } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0