选择审核人
This commit is contained in:
@@ -643,11 +643,15 @@ export default {
|
||||
// 时间
|
||||
this.startTime = uni.getStorageSync('startTime')
|
||||
this.endTime = uni.getStorageSync('endTime')
|
||||
if(this.enableExamine==1) {
|
||||
this.form.examines = uni.setStorageSync('selectDeptUser')
|
||||
}
|
||||
|
||||
|
||||
uni.$on("pagePicker:custom", ()=> {
|
||||
this.form.examines = uni.getStorageSync('selectDeptUser').map(e=> {
|
||||
return {
|
||||
...e,
|
||||
examineUserId: e.id,
|
||||
examineUserName: e.name
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<script>
|
||||
export default {
|
||||
name: "selectDeptUser",
|
||||
appName: "选择部门/人员",
|
||||
appName: "选择人员",
|
||||
data() {
|
||||
return {
|
||||
selected: [],
|
||||
@@ -118,7 +118,10 @@ export default {
|
||||
if(![this.selected].flat().length) {
|
||||
return this.$u.toast('请选择审核人员')
|
||||
}
|
||||
uni.$emit("pagePicker:custom", [this.selected].flat())
|
||||
uni.setStorageSync('selectDeptUser', [this.selected].flat())
|
||||
uni.navigateBack()
|
||||
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user