完善登录逻辑和个人资料完善
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user