This commit is contained in:
2025-12-16 17:53:21 +08:00
2 changed files with 7 additions and 4 deletions

View File

@@ -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>

View File

@@ -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()
}); });