| | |
| | | </el-form> |
| | | </div> |
| | | <div class="library-table"> |
| | | <div class="table-header"> |
| | | <div class="search-bar"> |
| | | <el-radio-group v-model="radioValue"> |
| | | <el-radio-button label="全部" /> |
| | | <el-radio-button label="待提交" /> |
| | | <el-radio-button label="已提交" /> |
| | | <el-radio-button label="已作废" /> |
| | | </el-radio-group> |
| | | </div> |
| | | </div> |
| | | <div class="table-box"> |
| | | <el-table ref="inspectionTable" style="width: 100%;overflow-y: auto;max-height: 600px;" :height="600" |
| | | :cell-style="{textAlign: 'center'}" |
| | |
| | | }, |
| | | reset() { |
| | | this.countSize = 1; |
| | | this.pageSize = 8; |
| | | this.searchData = {}; |
| | | this.pageSize = 10; |
| | | this.searchData = { |
| | | applicationnumber: '', |
| | | type: '', |
| | | state: '', |
| | | }; |
| | | this.selectInspectsList(); |
| | | }, |
| | | //被选中的信息 单选 |
| | |
| | | this.addInspection() |
| | | }, |
| | | delInspect(row){ |
| | | delInspect({ |
| | | id: row.id |
| | | }).then(res=>{ |
| | | this.$message.success('已作废') |
| | | this.selectInspectsList() |
| | | }) |
| | | this.$confirm('您确认删除这条数据吗?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | delInspect({ |
| | | id: row.id |
| | | }).then(()=>{ |
| | | this.$message.success('已作废') |
| | | this.selectInspectsList() |
| | | }) |
| | | }).catch(() => {}); |
| | | } |
| | | } |
| | | } |
| | |
| | | margin-top: 50px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | .table-header { |
| | | padding: 20px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | |
| | | .el-form-item { |
| | | margin-bottom: 30px !important; |
| | | } |
| | | } |
| | | |
| | | .table-box { |
| | | padding: 0px 20px; |