diff --git a/src/components/BasicListLayout/index.vue b/src/components/BasicListLayout/index.vue new file mode 100644 index 0000000..70a48d3 --- /dev/null +++ b/src/components/BasicListLayout/index.vue @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/src/pages/view/routine/JiFenPingJia/PersonalHonor.vue b/src/pages/view/routine/JiFenPingJia/PersonalHonor.vue index cc326fb..5620542 100644 --- a/src/pages/view/routine/JiFenPingJia/PersonalHonor.vue +++ b/src/pages/view/routine/JiFenPingJia/PersonalHonor.vue @@ -46,7 +46,6 @@ import { showToast } from "@/utils/uniapp"; import { cloneDeep, map } from "lodash"; import { fractionRuleApi } from "@/api/base/server"; -import { evaluationSqApi, evaluationCxtjApi } from "@/api/base/evaluationApi"; import { useUserStore } from "@/store/modules/user"; const { getJs, getUser } = useUserStore(); @@ -330,19 +329,7 @@ async function submit() { uni.showLoading({ title: "提交中..." }); - // 调用积分申请API - const result = await evaluationSqApi(params); - - if (result && result.resultCode === 1) { - showToast({ title: "提交成功", icon: "success" }); - // 返回上一页 - uni.navigateBack(); - } else { - showToast({ - title: result?.resultMsg || "提交失败", - icon: "none" - }); - } + } catch (error) { console.error("提交积分申请失败:", error); showToast({