马宇豪
2022-12-27 771e0da9c6082c78a28f5286f89f4f36b05689d3
src/views/specialWorkManage/workTicket/allApplys/index.vue
@@ -315,7 +315,7 @@
                    } else {
                        this.$message({
                            type: 'warning',
                            message: res.data.msg
                            message: res.data.msg || '导出失败'
                        });
                    }
                })
@@ -395,15 +395,15 @@
            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 = ''
            }