Commit 3ec5b033 by zhangxw

事项修改

1 parent d9a23280
......@@ -73,7 +73,7 @@ Page({
this.setData({ loading: true });
wx.showLoading({ title: "加载中", mask: true });
try {
const res = await api.getTaskCenterDetail({ id: this.taskId });
const res = await api.getTaskCenterDetail({ taskId: this.taskId });
if (res?.code !== "0" && res?.code !== 0) {
wx.showToast({
title: res?.message || "加载失败",
......
......@@ -172,7 +172,7 @@ Page({
getDetail(id) {
let { formItems} = this.data
mentoringApi.getTaskCenterDetail({id}).then(res => {
mentoringApi.getTaskCenterDetail({taskId: id}).then(res => {
let { code, data, message } = res
if (code == 0) {
data = {
......
......@@ -355,7 +355,7 @@ Page({
if (!item?.id) return;
this._openingDetail = true;
wx.navigateTo({
url: item.taskType == "spec-coach" ? `/pages/specialMentoring/specialMentoring?id=${item.id}` : `/pages/mattersHandle/mattersHandle?id=${item.id}`,
url: item.taskType == "spec-coach" ? `/pages/specialMentoring/specialMentoring?id=${item.taskCenterId}` : `/pages/mattersHandle/mattersHandle?id=${item.taskCenterId}`,
events: {
refreshList: () => {
this._pendingRefresh = true;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!