返回刷新牌位树内容
This commit is contained in:
parent
62eb2c62c0
commit
faa15210dc
|
|
@ -97,7 +97,7 @@
|
||||||
<view v-if="winB_List.length === 0" class="empty-state">
|
<view v-if="winB_List.length === 0" class="empty-state">
|
||||||
<view class="empty-icon">📱</view>
|
<view class="empty-icon">📱</view>
|
||||||
<view class="empty-text">暂无未添加设备</view>
|
<view class="empty-text">暂无未添加设备</view>
|
||||||
<view class="empty-tip">请先扫码添加设备</view>
|
<view class="empty-tip">请先进行录入设备</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 设备列表 -->
|
<!-- 设备列表 -->
|
||||||
|
|
@ -461,10 +461,7 @@ export default {
|
||||||
icon: "success",
|
icon: "success",
|
||||||
});
|
});
|
||||||
|
|
||||||
// 延迟返回上一页
|
this.winB_Refresh();
|
||||||
setTimeout(() => {
|
|
||||||
uni.navigateBack();
|
|
||||||
}, 1500);
|
|
||||||
} else {
|
} else {
|
||||||
throw new Error(res?.msg || "添加失败");
|
throw new Error(res?.msg || "添加失败");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,9 @@
|
||||||
<view class="grid-btn" @click="handleResetDuration">时长归零</view>
|
<view class="grid-btn" @click="handleResetDuration">时长归零</view>
|
||||||
<view class="grid-btn" @click="handleIncreaseDuration">增加时长</view>
|
<view class="grid-btn" @click="handleIncreaseDuration">增加时长</view>
|
||||||
<view class="grid-btn" @click="handleSearchMemorial">寻找牌位</view>
|
<view class="grid-btn" @click="handleSearchMemorial">寻找牌位</view>
|
||||||
<view class="grid-btn add-memorial-btn" @click="handleAddMemorial">添加牌位</view>
|
<view class="grid-btn add-memorial-btn" @click="handleAddMemorial"
|
||||||
|
>添加牌位
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -96,6 +98,7 @@ export default {
|
||||||
) {
|
) {
|
||||||
this.$refs.statusBar.loadUnitData(this.selectedUnitId);
|
this.$refs.statusBar.loadUnitData(this.selectedUnitId);
|
||||||
}
|
}
|
||||||
|
this.$refs.floorSelector.loadTreeData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 校验是否已选择单元
|
// 校验是否已选择单元
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ export default {
|
||||||
path: "/pages/personalCenter/myPrayRecordList",
|
path: "/pages/personalCenter/myPrayRecordList",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "牌位录入",
|
title: "设备录入",
|
||||||
icon: CommonEnum.MY_ACTIVITY,
|
icon: CommonEnum.MY_ACTIVITY,
|
||||||
path: "/page_user/luru/index",
|
path: "/page_user/luru/index",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user