纤度登记表模块 根据车间组别庄口获取对应车号的接口联调+新增和编辑操作的时候,
| | |
| | | // 搜索 |
| | | onFilterSearch(searchText) { |
| | | this.getDataParams.keyword=searchText, |
| | | this.pagerOptions.currPage = 1; |
| | | this.getData() |
| | | }, |
| | | // 新增 |
| | |
| | | }).then(() => { |
| | | deleteDict({id:row.ID}).then((res)=>{ |
| | | if(res&&res.code===200){ |
| | | this.pagerOptions.currPage = 1; |
| | | this.getData() |
| | | this.$message({ |
| | | type: 'success', |
| | |
| | | // 搜索 |
| | | onFilterSearch(searchText) { |
| | | this.getDataParams.keyWord = searchText, |
| | | this.pagerOptions.currPage = 1; |
| | | this.getData() |
| | | }, |
| | | // 新增 |
| | |
| | | }).then(() => { |
| | | deleteWorkshopManage({ id: row.ID }).then((res) => { |
| | | if (res && res.code === 200) { |
| | | this.getData() |
| | | this.$message({ |
| | | type: 'success', |
| | | message: '删除成功!' |
| | | }); |
| | | this.pagerOptions.currPage = 1; |
| | | this.getData() |
| | | } |
| | | }) |
| | | }).catch(() => { |