完善登录逻辑和个人资料完善
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<text class="empty-text">未找到评估信息</text>
|
||||
</view>
|
||||
<view v-else>
|
||||
<ServicePanel title="上门评估" subtitle="先用 mock 表单承接风险等级、护理等级和评估结论。">
|
||||
<ServicePanel title="上门评估" subtitle="基于真实服务单补充风险等级、护理等级和评估结论。">
|
||||
<ServiceInfoList
|
||||
:items="[
|
||||
{ label: '服务单号:', value: detail.caseNo },
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<text class="empty-text">未找到服务方案</text>
|
||||
</view>
|
||||
<view v-else>
|
||||
<ServicePanel title="服务方案" subtitle="先用 mock 数据完成计划频次、周期和执行说明。">
|
||||
<ServicePanel title="服务方案" subtitle="基于真实服务单补充频次、周期和执行说明。">
|
||||
<ServiceInfoList
|
||||
:items="[
|
||||
{ label: '服务单号:', value: detail.caseNo },
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
<script setup lang="uts">
|
||||
import { computed, ref } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import { onLoad, onShow } from '@dcloudio/uni-app'
|
||||
import ServicePageScaffold from '@/components/homeService/ServicePageScaffold.uvue'
|
||||
import ServicePanel from '@/components/homeService/ServicePanel.uvue'
|
||||
import ServiceStatusTag from '@/components/homeService/ServiceStatusTag.uvue'
|
||||
@@ -193,6 +193,10 @@ onLoad((options) => {
|
||||
}
|
||||
loadData()
|
||||
})
|
||||
|
||||
onShow(() => {
|
||||
loadData()
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
@@ -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