| | |
| | | <template v-if="apprList[activeIndex].type == '1'"> |
| | | <div class="config_data_item_reviewed_content"> |
| | | <div |
| | | v-for="mem in apprList[activeIndex].objIds" |
| | | v-for="mem,memIndex in apprList[activeIndex].objIds" |
| | | :key="mem.id" |
| | | class="config_data_item_reviewed_content_item" |
| | | > |
| | | <span>{{ mem.name }}</span> |
| | | <i class="el-icon-close"></i> |
| | | <i @click="memDel(memIndex)" class="el-icon-close"></i> |
| | | </div> |
| | | <span class="add" @click="selStaff">+添加</span> |
| | | </div> |
| | |
| | | this.activeIndex = 0 |
| | | }, |
| | | handleAddAppr () { |
| | | this.apprList.splice(this.apprList.length - 2, 0, { remark: '审批人', active: false, type: 0, objIds: [] }) |
| | | this.apprList.splice(this.apprList.length - 2, 0, { remark: '审批人',approveType: 0, active: false, type: 0, objIds: [] }) |
| | | // this.apprList.push({ remark: '审批人', active: false, type: '0' }) |
| | | }, |
| | | |