Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4574e4b7
authored
Aug 17, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
事项修改
1 parent
3ec5b033
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
pages/mattersHandle/mattersHandle.js
pages/specialMentoring/specialMentoring.js
pages/tab/matters/matters.js
pages/mattersHandle/mattersHandle.js
View file @
4574e4b
...
@@ -59,13 +59,13 @@ Page({
...
@@ -59,13 +59,13 @@ Page({
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
const
id
=
options
?.
i
d
;
const
taskId
=
options
?.
taskI
d
;
if
(
!
id
)
{
if
(
!
id
)
{
wx
.
showToast
({
title
:
"缺少任务信息"
,
icon
:
"none"
});
wx
.
showToast
({
title
:
"缺少任务信息"
,
icon
:
"none"
});
setTimeout
(()
=>
wx
.
navigateBack
(),
1500
);
setTimeout
(()
=>
wx
.
navigateBack
(),
1500
);
return
;
return
;
}
}
this
.
taskId
=
i
d
;
this
.
taskId
=
taskI
d
;
this
.
loadDetail
();
this
.
loadDetail
();
},
},
...
...
pages/specialMentoring/specialMentoring.js
View file @
4574e4b
...
@@ -92,8 +92,8 @@ Page({
...
@@ -92,8 +92,8 @@ Page({
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
if
(
options
?.
id
)
{
if
(
options
?.
taskId
&&
options
?.
id
)
{
this
.
getDetail
(
options
.
id
)
this
.
getDetail
(
options
.
taskId
,
options
.
id
)
}
}
this
.
getDictList
(
'teaching_method_1'
)
this
.
getDictList
(
'teaching_method_1'
)
this
.
getDictList
(
'teaching_method_2'
)
this
.
getDictList
(
'teaching_method_2'
)
...
@@ -170,9 +170,9 @@ Page({
...
@@ -170,9 +170,9 @@ Page({
})
})
},
},
getDetail
(
id
)
{
getDetail
(
taskId
,
id
)
{
let
{
formItems
}
=
this
.
data
let
{
formItems
}
=
this
.
data
mentoringApi
.
getTaskCenterDetail
({
taskId
:
i
d
}).
then
(
res
=>
{
mentoringApi
.
getTaskCenterDetail
({
taskId
:
taskI
d
}).
then
(
res
=>
{
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
data
=
{
data
=
{
...
...
pages/tab/matters/matters.js
View file @
4574e4b
...
@@ -355,7 +355,7 @@ Page({
...
@@ -355,7 +355,7 @@ Page({
if
(
!
item
?.
id
)
return
;
if
(
!
item
?.
id
)
return
;
this
.
_openingDetail
=
true
;
this
.
_openingDetail
=
true
;
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
item
.
taskType
==
"spec-coach"
?
`/pages/specialMentoring/specialMentoring?
id=
${
item
.
taskCenterId
}
`
:
`/pages/mattersHandle/mattersHandle?id=
${
item
.
taskCenterI
d
}
`
,
url
:
item
.
taskType
==
"spec-coach"
?
`/pages/specialMentoring/specialMentoring?
taskId=
${
item
.
taskCenterId
}
&id=
${
item
.
id
}
`
:
`/pages/mattersHandle/mattersHandle?taskId=
${
item
.
taskCenterId
}
&id=
${
item
.
i
d
}
`
,
events
:
{
events
:
{
refreshList
:
()
=>
{
refreshList
:
()
=>
{
this
.
_pendingRefresh
=
true
;
this
.
_pendingRefresh
=
true
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment