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 55532aac
authored
Aug 17, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
4a964b25
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
pages/mattersHandle/mattersHandle.js
pages/specialMentoring/specialMentoring.js
pages/tab/matters/matters.js
pages/mattersHandle/mattersHandle.js
View file @
55532aa
...
@@ -59,13 +59,13 @@ Page({
...
@@ -59,13 +59,13 @@ Page({
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
const
taskId
=
options
?.
taskI
d
;
const
id
=
options
?.
id
d
;
if
(
!
taskI
d
)
{
if
(
!
i
d
)
{
wx
.
showToast
({
title
:
"缺少任务信息"
,
icon
:
"none"
});
wx
.
showToast
({
title
:
"缺少任务信息"
,
icon
:
"none"
});
setTimeout
(()
=>
wx
.
navigateBack
(),
1500
);
setTimeout
(()
=>
wx
.
navigateBack
(),
1500
);
return
;
return
;
}
}
this
.
taskId
=
taskI
d
;
this
.
taskId
=
i
d
;
this
.
loadDetail
();
this
.
loadDetail
();
},
},
...
@@ -73,7 +73,7 @@ Page({
...
@@ -73,7 +73,7 @@ Page({
this
.
setData
({
loading
:
true
});
this
.
setData
({
loading
:
true
});
wx
.
showLoading
({
title
:
"加载中"
,
mask
:
true
});
wx
.
showLoading
({
title
:
"加载中"
,
mask
:
true
});
try
{
try
{
const
res
=
await
api
.
getTaskCenterDetail
({
taskId
:
this
.
taskI
d
});
const
res
=
await
api
.
getTaskCenterDetail
({
taskId
:
this
.
i
d
});
if
(
res
?.
code
!==
"0"
&&
res
?.
code
!==
0
)
{
if
(
res
?.
code
!==
"0"
&&
res
?.
code
!==
0
)
{
wx
.
showToast
({
wx
.
showToast
({
title
:
res
?.
message
||
"加载失败"
,
title
:
res
?.
message
||
"加载失败"
,
...
...
pages/specialMentoring/specialMentoring.js
View file @
55532aa
...
@@ -92,8 +92,8 @@ Page({
...
@@ -92,8 +92,8 @@ Page({
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
if
(
options
?.
task
Id
&&
options
?.
id
)
{
if
(
options
?.
matter
Id
&&
options
?.
id
)
{
this
.
getDetail
(
options
.
taskId
,
options
.
i
d
)
this
.
getDetail
(
options
.
id
,
options
.
matterI
d
)
}
}
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
(
taskId
,
i
d
)
{
getDetail
(
id
,
matterI
d
)
{
let
{
formItems
}
=
this
.
data
let
{
formItems
}
=
this
.
data
mentoringApi
.
getTaskCenterDetail
({
taskId
:
taskI
d
}).
then
(
res
=>
{
mentoringApi
.
getTaskCenterDetail
({
taskId
:
i
d
}).
then
(
res
=>
{
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
data
=
{
data
=
{
...
@@ -193,7 +193,7 @@ Page({
...
@@ -193,7 +193,7 @@ Page({
}
}
this
.
setData
({
this
.
setData
({
assigneeDetailLength
,
assigneeDetailLength
,
id
,
id
:
matterId
,
isCompleted
:
data
?.
status
==
1
,
isCompleted
:
data
?.
status
==
1
,
lockedFields
,
lockedFields
,
},
()
=>
{
},
()
=>
{
...
...
pages/tab/matters/matters.js
View file @
55532aa
...
@@ -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?
taskId=
${
item
.
taskCenterId
}
&id=
${
item
.
id
}
`
:
`/pages/mattersHandle/mattersHandle?taskId=
${
item
.
taskCenterId
}
&i
d=
${
item
.
id
}
`
,
url
:
item
.
taskType
==
"spec-coach"
?
`/pages/specialMentoring/specialMentoring?
id=
${
item
.
taskCenterId
}
&matterId=
${
item
.
id
}
`
:
`/pages/mattersHandle/mattersHandle?idd=
${
item
.
taskCenterId
}
&matterI
d=
${
item
.
id
}
`
,
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