Commit 0e19d442 authored by 王明朋's avatar 王明朋

「增量代码」将检查计划为自定义地点的时候选择人员,加传递参数userId

parent 9d5590d6
...@@ -153,6 +153,7 @@ export default { ...@@ -153,6 +153,7 @@ export default {
columns:[],//人员匹配下拉数据数组默认值 columns:[],//人员匹配下拉数据数组默认值
person:'',//人员匹配默认值 person:'',//人员匹配默认值
projectId:'', projectId:'',
personId: ''
} }
}, },
watch:{ watch:{
...@@ -412,6 +413,11 @@ export default { ...@@ -412,6 +413,11 @@ export default {
if(this.projectId!='null'){ if(this.projectId!='null'){
obj.checkUserId=this.ids[0] obj.checkUserId=this.ids[0]
}else{ }else{
/* 项目为自定义地点的时候,传递选中的用户ID:王明朋 */
obj.checkUserId=this.personId
obj.ids=this.ids obj.ids=this.ids
} }
this.$dialog.confirm({ this.$dialog.confirm({
...@@ -513,6 +519,12 @@ export default { ...@@ -513,6 +519,12 @@ export default {
}) })
//去尾'/' //去尾'/'
this.person=this.person.substr(0,this.person.length-2) this.person=this.person.substr(0,this.person.length-2)
/* 项目为自定义地点的时候,传递选中的用户ID:王明朋 */
this.personId = valueList[valueList.length-1].id
this.showCalendar2 = false; this.showCalendar2 = false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment