diff --git a/pages.json b/pages.json index 8a0fc3c..10f7eac 100644 --- a/pages.json +++ b/pages.json @@ -7,6 +7,18 @@ "navigationStyle": "custom" } }, + { + "path": "pages/article/article-list", + "style": { + "navigationBarTitleText": "我的宣教" + } + }, + { + "path": "pages/survey/survey-list", + "style": { + "navigationBarTitleText": "我的问卷" + } + }, { "path": "pages/message/message", "style": { diff --git a/pages/article/article-list.vue b/pages/article/article-list.vue index ef44ccc..6cf29d1 100644 --- a/pages/article/article-list.vue +++ b/pages/article/article-list.vue @@ -1,55 +1,209 @@ + + diff --git a/pages/home/consult.vue b/pages/home/consult.vue index a02c910..a5ffb0c 100644 --- a/pages/home/consult.vue +++ b/pages/home/consult.vue @@ -74,7 +74,7 @@ const consultItems = ref([ label: "我的问卷", icon: "/static/homepage/survey-icon.png", bgColor: "#58D68D", - path: "/pages/health/list", + path: "/pages/survey/survey-list", }, { id: "rating", @@ -125,7 +125,7 @@ async function handleConsultantConfirm(customer) { const res = await api("createConsultGroup", { teamId: props.teamId, corpId: props.corpId, - customerId: customer._id, + customerId: customer._id, customerImUserId: account.value.openid, }); uni.hideLoading(); diff --git a/pages/survey/survey-list.vue b/pages/survey/survey-list.vue new file mode 100644 index 0000000..e213a83 --- /dev/null +++ b/pages/survey/survey-list.vue @@ -0,0 +1,210 @@ + + + + + \ No newline at end of file