解决页面显示空白的问题。

This commit is contained in:
zhonghua.li
2026-04-18 17:15:26 +08:00
parent b5f3a1b2f7
commit 453b6e8841
26 changed files with 1198 additions and 1246 deletions

View File

@@ -12,16 +12,11 @@
<text class="function-name">开始接待</text>
<text class="function-desc"></text>
</view>
<view class="function-item" @click="openReceptionTab('status')">
<view class="function-item" @click="goReceptionInProgressPage('跳转服务中失败')">
<view class="function-icon">📌</view>
<text class="function-name">服务中</text>
<text class="function-desc"></text>
</view>
<view class="function-item" @click="openReceptionInProgress">
<view class="function-icon"></view>
<text class="function-name">接待中</text>
<text class="function-desc"></text>
</view>
<view class="function-item" @click="openReceptionTab('tag')">
<view class="function-icon">🗂</view>
<text class="function-name">标签管理</text>
@@ -80,15 +75,18 @@ export default {
},
});
},
/** 独立「接待中」列表页(与接待页内「服务中」列表同源逻辑) */
openReceptionInProgress() {
/** 独立「接待中 / 服务中」列表页:`/pages-subpackage/furniture_reception/reception_in_progress` */
goReceptionInProgressPage(failTitle) {
uni.navigateTo({
url: '/pages-subpackage/furniture_reception/reception_in_progress',
fail: () => {
uni.showToast({ title: '跳转接待中失败', icon: 'none' });
uni.showToast({ title: failTitle || '页面打开失败', icon: 'none' });
},
});
},
openReceptionInProgress() {
this.goReceptionInProgressPage('跳转接待中失败');
},
openCustomerTab(tab) {
const url = `/pages-subpackage/furniture_customer/furniture_customer?tab=${tab}`;
uni.navigateTo({ url });