完善登录逻辑和个人资料完善

This commit is contained in:
2026-05-26 11:29:06 +08:00
parent cecb51a8e2
commit 9680276b3f
27 changed files with 3934 additions and 1572 deletions

View File

@@ -1,6 +1,6 @@
<template>
<ServicePageScaffold title="到岗签到" fallback-url="/pages/mall/merchant/home-service/tasks">
<ServicePanel title="到岗签到" subtitle="先用 mock 方式记录签到结果、到岗说明和留痕提示。">
<ServicePanel title="到岗签到" subtitle="记录真实签到结果、到岗说明和执行留痕提示。">
<text class="info">任务编号:{{ taskNo }}</text>
<text class="info">当前状态:{{ taskStatus }}</text>
<view class="block">

View File

@@ -1,6 +1,6 @@
<template>
<ServicePageScaffold title="异常上报" fallback-url="/pages/mall/merchant/home-service/tasks">
<ServicePanel title="异常上报" subtitle="先完成异常类型、说明和调度通知的 mock 处理。">
<ServicePanel title="异常上报" subtitle="提交真实异常类型、说明和调度协同信息。">
<text class="info">任务编号:{{ taskNo }}</text>
<view class="block">
<text class="label">异常类型</text>

View File

@@ -70,6 +70,10 @@ async function handleAdvance() {
goCheckIn()
return
}
if (detail.value != null && detail.value.status != 'serving') {
uni.showToast({ title: '当前任务无需更新', icon: 'none' })
return
}
const result = await advanceWorkerTask(taskId.value)
if (result != null) {
detail.value = result