| | |
| | | <el-input v-model="queryParams.name" clearable placeholder="请输入" size="small" |
| | | @keyup.enter.native="refreshTable()"></el-input> |
| | | </div> |
| | | <div class="search_item"> |
| | | <span class="search_label">检验依据</span> |
| | | <el-input v-model="queryParams.number" clearable placeholder="请输入" size="small" |
| | | @keyup.enter.native="refreshTable()"></el-input> |
| | | </div> |
| | | <div class="search_button"> |
| | | <el-button type="primary" size="mini" @click="refreshTable">查询</el-button> |
| | | <el-button size="mini" @click="refresh">重置</el-button> |
| | |
| | | }, |
| | | queryParams: { |
| | | name: null, |
| | | number: null, |
| | | }, |
| | | tableData: [], |
| | | column: [ |
| | |
| | | this.isShowCopyTem = false; |
| | | this.submitCopyInfoLoading = false; |
| | | this.$message.success("修改成功"); |
| | | this.refreshTable("page"); |
| | | this.getList(); |
| | | }) |
| | | .catch((err) => { |
| | | console.log("copyTemplate----", err); |
| | |
| | | this.isShowCopyTem = false; |
| | | this.submitCopyInfoLoading = false; |
| | | this.$message.success("复制成功"); |
| | | this.refreshTable("page"); |
| | | this.getList(); |
| | | }) |
| | | .catch((err) => { |
| | | console.log("copyTemplate----", err); |
| | |
| | | .then(() => { |
| | | delStandardTemplate({ id: row.id }).then((res) => { |
| | | this.$message.success("删除成功"); |
| | | this.refreshTable("page"); |
| | | if (this.tableData.length === 1 && this.page.current > 1) { |
| | | this.page.current -= 1; |
| | | } |
| | | this.getList(); |
| | | }); |
| | | }) |
| | | .catch(() => { }); |