fix 80704
This commit is contained in:
@@ -177,6 +177,13 @@ export default {
|
|||||||
this.getUserListByIds(val)
|
this.getUserListByIds(val)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
type(value) {
|
||||||
|
if (value === 'checkbox') {
|
||||||
|
this.checkedArr = []
|
||||||
|
} else {
|
||||||
|
this.checkedArr = ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|||||||
@@ -125,7 +125,10 @@
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<select-user ref="selectUser" @selected-change="continueTurnTo" :type="isTransfer ? 'radio' : 'checkbox'"/>
|
<select-user ref="selectUser"
|
||||||
|
@selected-change="continueTurnTo"
|
||||||
|
:type="isTransfer ? 'radio' : 'checkbox'"
|
||||||
|
:selected-data="isTransfer ? null : carbonCopyPerson" />
|
||||||
</process-common-layout>
|
</process-common-layout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -176,7 +179,8 @@ export default {
|
|||||||
handleText: [{ required: false, message: this.$t('pleaseEnter') + this.$t('remark'), trigger: 'onBlur' }]
|
handleText: [{ required: false, message: this.$t('pleaseEnter') + this.$t('remark'), trigger: 'onBlur' }]
|
||||||
},
|
},
|
||||||
currentNode: null,
|
currentNode: null,
|
||||||
isTransfer: true // 是否转办
|
isTransfer: true, // 是否转办
|
||||||
|
carbonCopyPerson: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -240,11 +244,17 @@ export default {
|
|||||||
taskId: this.$route.query.taskId,
|
taskId: this.$route.query.taskId,
|
||||||
userId: value
|
userId: value
|
||||||
}
|
}
|
||||||
const func = this.isTransfer ? transferProcurementProcess : carbonCopyProcurementProcess
|
let func
|
||||||
|
if (this.isTransfer) {
|
||||||
|
func = transferProcurementProcess
|
||||||
|
} else {
|
||||||
|
func = carbonCopyProcurementProcess
|
||||||
|
this.carbonCopyPerson = value
|
||||||
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
func(params).then(res => {
|
func(params).then(res => {
|
||||||
this.$message(res.message)
|
this.$message(res.message)
|
||||||
if (res.success) {
|
if (res.success && this.isTransfer) {
|
||||||
this.goBack()
|
this.goBack()
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -340,7 +350,7 @@ export default {
|
|||||||
next({ path: '/noMobile' })
|
next({ path: '/noMobile' })
|
||||||
}
|
}
|
||||||
next()
|
next()
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user