| | |
| | | <span class="search-group"> |
| | | <span style="width: 160px">评审地点:</span> |
| | | <el-input v-model="searchForm.judgingLocation" clearable size="small"></el-input> |
| | | <el-button size="medium" style="margin-left: 10px" @click="resetSearchForm">重 置</el-button> |
| | | <el-button size="medium" type="primary" @click="searchList">查 询</el-button> |
| | | <el-button size="small" style="margin-left: 10px" @click="resetSearchForm">重 置</el-button> |
| | | <el-button size="small" type="primary" @click="searchList">查 询</el-button> |
| | | </span> |
| | | <span class="search-group"> |
| | | <el-button size="medium" type="primary" @click="openFormDia('add')">新 增</el-button> |
| | | <el-button size="small" type="primary" @click="openFormDia('add')">新 增</el-button> |
| | | </span> |
| | | </div> |
| | | <div class="table"> |
| | |
| | | size: this.page.size |
| | | }).then(res => { |
| | | this.tableLoading = false |
| | | if (res.code === 201) return |
| | | this.tableData = res.data.records |
| | | this.page.total = res.data.total |
| | | }).catch(err => { |
| | |
| | | this.tableLoading = true |
| | | deleteReviewProgram({ id: row.id }).then(res => { |
| | | this.tableLoading = false |
| | | if (res.code === 201) return |
| | | this.$message.success('删除成功') |
| | | this.searchList() |
| | | }).catch(err => { |
| | |
| | | }, |
| | | handleDown0(url, name) { |
| | | if (!url) return this.$message.warning('文件未上传') |
| | | let url0 = this.javaApi + '/word/' + url |
| | | this.$download.saveAs(url0, name); |
| | | this.$download.saveAs(url, name); |
| | | } |
| | | } |
| | | }; |