| | |
| | | this.apprList.forEach((item, index) => { |
| | | if (i === index) { |
| | | item.active = true |
| | | console.log("====================",item.objIds) |
| | | if (item.objIds && item.objIds.length > 0) { |
| | | const objIds = item.objIds.map(i => { |
| | | return `${i.id}-${i.name}${i.companyName ? '-' + i.companyName : ''}` |
| | |
| | | companyName: i.companyName |
| | | } |
| | | }) |
| | | }else{ |
| | | item.objIds = [] |
| | | } |
| | | }) |
| | | this.apprList = arr |
| | |
| | | this.activeIndex = 0 |
| | | }, |
| | | handleAddAppr () { |
| | | this.apprList.splice(this.apprList.length - 1, 0, { remark: '审批人', active: false, type: 0, objIds: [] }) |
| | | this.apprList.splice(this.apprList.length - 1, 0, { remark: '审批人',approveType: 0, active: false, type: 0, objIds: [] }) |
| | | // this.apprList.push({ remark: '审批人', active: false, type: '0' }) |
| | | }, |
| | | |
| | |
| | | } |
| | | .transfer { |
| | | height: 600px; |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | ::v-deep .el-transfer-panel{ |
| | | flex: 1; |
| | | height: 100%; |
| | | } |
| | | ::v-deep .el-transfer-panel__body { |
| | | height: 500px; |
| | | } |
| | | |
| | | ::v-deep .el-transfer-panel__list.is-filterable { |
| | | height: 480px; |
| | | } |