跟进帮扶历史记录接口传参调整

This commit is contained in:
xuchao
2025-12-16 17:52:49 +08:00
parent 4ef77b2251
commit 65795492b3
2 changed files with 7 additions and 4 deletions

View File

@@ -379,7 +379,7 @@ function getDataList(type = 'add') {
}
}
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>

View File

@@ -105,7 +105,8 @@ const formData = reactive({
const personInfo=ref({
goalPersonId:'',
name:'',
taskType:''
taskType:'',
task_id:''
})
const followWays = ref([])
const followList = ref([])
@@ -165,7 +166,8 @@ function getFollowList(){
'Content-Type': "application/x-www-form-urlencoded"
}
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) => {
console.log("resData",resData)
@@ -245,9 +247,10 @@ const handleReset = () => {
formData.nextContactDate = '';
}
onLoad((options) => {
personInfo.value.goalPersonId=options.id
personInfo.value.person_id=options.person_id
personInfo.value.name=options.name
personInfo.value.taskType=options.taskType
personInfo.value.task_id=options.task_id
getDictionary()
getFollowList()
});