跟进帮扶历史记录接口传参调整
This commit is contained in:
@@ -379,7 +379,7 @@ function getDataList(type = 'add') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function goFollow(item) {
|
function goFollow(item) {
|
||||||
navTo(`/packageB/priority/helpFollow?id=${item.goal_person_id}&&name=${item.name}&&taskType=${getTaskTypeLabelByValue(item.task_type)}`);
|
navTo(`/packageB/priority/helpFollow?task_id=${item.task_id}&person_id=${item.person_id}&&name=${item.name}&&taskType=${getTaskTypeLabelByValue(item.task_type)}`);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -105,7 +105,8 @@ const formData = reactive({
|
|||||||
const personInfo=ref({
|
const personInfo=ref({
|
||||||
goalPersonId:'',
|
goalPersonId:'',
|
||||||
name:'',
|
name:'',
|
||||||
taskType:''
|
taskType:'',
|
||||||
|
task_id:''
|
||||||
})
|
})
|
||||||
const followWays = ref([])
|
const followWays = ref([])
|
||||||
const followList = ref([])
|
const followList = ref([])
|
||||||
@@ -165,7 +166,8 @@ function getFollowList(){
|
|||||||
'Content-Type': "application/x-www-form-urlencoded"
|
'Content-Type': "application/x-www-form-urlencoded"
|
||||||
}
|
}
|
||||||
let params={
|
let params={
|
||||||
goalPersonId:personInfo.value.goalPersonId
|
personId:personInfo.value.person_id,
|
||||||
|
taskId:personInfo.value.task_id
|
||||||
}
|
}
|
||||||
$api.myRequest('/dispatch/assist/records/getFollowList', params,'get',9100,header).then((resData) => {
|
$api.myRequest('/dispatch/assist/records/getFollowList', params,'get',9100,header).then((resData) => {
|
||||||
console.log("resData",resData)
|
console.log("resData",resData)
|
||||||
@@ -245,9 +247,10 @@ const handleReset = () => {
|
|||||||
formData.nextContactDate = '';
|
formData.nextContactDate = '';
|
||||||
}
|
}
|
||||||
onLoad((options) => {
|
onLoad((options) => {
|
||||||
personInfo.value.goalPersonId=options.id
|
personInfo.value.person_id=options.person_id
|
||||||
personInfo.value.name=options.name
|
personInfo.value.name=options.name
|
||||||
personInfo.value.taskType=options.taskType
|
personInfo.value.taskType=options.taskType
|
||||||
|
personInfo.value.task_id=options.task_id
|
||||||
getDictionary()
|
getDictionary()
|
||||||
getFollowList()
|
getFollowList()
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user