| | |
| | | </div> |
| | | <div> |
| | | <div v-if="dialogData.pageType !=='delay'" class="stepsList"> |
| | | <el-steps :space="200" :active="parentFormData.approveList.length+1" align-center> |
| | | <el-steps :space="200" :active="activeLeng" align-center> |
| | | <el-step v-for="(item,index) in setepList" :key="index" :title="'' + item.createName + ' ' + item.stateName" :description="item.createTime" /> |
| | | </el-steps> |
| | | </div> |
| | |
| | | fileDelayListCover: [], |
| | | fileDelayList: [], |
| | | videoVisible: false, |
| | | dialogImageUrl: '' |
| | | dialogImageUrl: '', |
| | | activeLeng: 1 |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | setepList() { |
| | | const leng = this.dialogData.parentFormData.approveList.length |
| | | let data = _.cloneDeep(this.dialogData.parentFormData.approveList) |
| | | |
| | | console.log('setepList', this.dialogData.parentFormData.approveList) |
| | | if (leng === 1) { |
| | | data = [...data, ...this.setepListAdd.set1] |
| | | this.activeLeng = 1 |
| | | } |
| | | if (leng === 2) { |
| | | data = [...data, ...this.setepListAdd.set2] |
| | | this.activeLeng = 2 |
| | | } |
| | | if (leng === 3) { |
| | | data = [...data, ...this.setepListAdd.set3] |
| | | this.activeLeng = 4 |
| | | } |
| | | console.log('data', leng) |
| | | console.log('datadata', data) |
| | | return data |
| | | } |
| | | }, |