| | |
| | | } else { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: res.data.msg |
| | | message: res.data.msg || '导出失败' |
| | | }); |
| | | } |
| | | }) |
| | |
| | | this.dialogType = row.workType |
| | | this.details = JSON.parse(JSON.stringify(row)); |
| | | this.details.operators = this.details.operators.join('、') |
| | | if(this.details.workDetail.otherSpecialWork == '' || !this.details.workDetail.otherSpecialWork){ |
| | | this.details.workDetail.otherSpecialWork = '' |
| | | } |
| | | else { |
| | | const a = this.details.workDetail.otherSpecialWork |
| | | this.details.workDetail.otherSpecialWork = a.split(',').map((item) => { |
| | | return this.workType.find((i) => i.id === Number(item)).name; |
| | | }).join('、'); |
| | | } |
| | | // if(this.details.workDetail.otherSpecialWork == '' || !this.details.workDetail.otherSpecialWork){ |
| | | // this.details.workDetail.otherSpecialWork = '' |
| | | // } |
| | | // else { |
| | | // const a = this.details.workDetail.otherSpecialWork |
| | | // this.details.workDetail.otherSpecialWork = a.split(',').map((item) => { |
| | | // return this.workType.find((i) => i.id === Number(item)).name; |
| | | // }).join('、'); |
| | | // } |
| | | if(this.details.workDetail.involvedDepIds == '' || !this.details.workDetail.involvedDepIds){ |
| | | this.details.workDetail.involvedDepIds = '' |
| | | } |