| | |
| | | </el-radio-group> |
| | | </div> |
| | | <div class="btns"> |
| | | <el-button type="primary" icon="el-icon-search" @click="getMessageAuditList" |
| | | <el-button |
| | | type="primary" |
| | | icon="el-icon-search" |
| | | @click="getMessageAuditList" |
| | | >查询</el-button |
| | | > |
| | | <el-button icon="el-icon-delete-solid" @click="handleReset" |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getMessageAuditList() |
| | | this.getMessageAuditList(); |
| | | }, |
| | | methods: { |
| | | // 重置 |
| | | handleReset() { |
| | | this.context = ''; |
| | | this.context = ""; |
| | | this.status = 0; |
| | | this.getMessageAuditList(); |
| | | }, |
| | |
| | | current: this.currentPage, |
| | | pageSize: this.pageSize, |
| | | }, |
| | | }).then((res) => { |
| | | }) |
| | | .then((res) => { |
| | | const { records, total } = res.data; |
| | | this.tableData = records; |
| | | this.totalNum = total; |
| | | }).catch(err => this.$message.error(err)) |
| | | |
| | | }) |
| | | .catch((err) => this.$message.error(err)); |
| | | }, |
| | | // 弹窗关闭 |
| | | handleClose(done) { |
| | |
| | | }, |
| | | // 获取当前登录用户信息 |
| | | getLoginUserInfo() { |
| | | const name = sessionStorage.getItem('name'); |
| | | const name = sessionStorage.getItem("name"); |
| | | this.$axios({ |
| | | method: 'get', |
| | | url: 'sccg/admin/info?name=' + name, |
| | | }) |
| | | .then(res => { |
| | | this.auditId = res.data.userId |
| | | }) |
| | | method: "get", |
| | | url: "sccg/admin/info?name=" + name, |
| | | }).then((res) => { |
| | | this.auditId = res.data.userId; |
| | | }); |
| | | }, |
| | | // 关闭dialog |
| | | closeDialog({ flag, index }) { |
| | |
| | | .line { |
| | | padding: 0 5px; |
| | | } |
| | | |
| | | color: var(--operation-color); |
| | | span:hover { |
| | | cursor: pointer; |
| | | } |