|
|
@@ -58,8 +58,8 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 使用手册 -->
|
|
|
- <view v-if="showBook == 1" style="text-align:center;position:relative;" @click="pageTo({ url: '/admin/book/index'})">
|
|
|
- <view @click.stop="closeBook" style="position:absolute;right:20upx;top:10upx;z-index:9999;"><image style="width:38upx;" :src="`${constant.imgUrl}/book/close1.png`" mode="widthFix"></image></view>
|
|
|
+ <view v-if="loginInfo.showBook == 1" style="text-align:center;position:relative;padding:0 22upx;" @click="pageTo({ url: '/admin/book/index'})">
|
|
|
+ <view @click.stop="closeBook" style="position:absolute;right:30upx;top:10upx;z-index:9999;"><image style="width:38upx;" :src="`${constant.imgUrl}/book/close1.png`" mode="widthFix"></image></view>
|
|
|
<image style="border:4upx solid #DDDDDD;margin:0 auto;border-radius:15upx;" :src="`${constant.imgUrl}/book/book5.png`" mode="widthFix"></image>
|
|
|
</view>
|
|
|
|
|
|
@@ -124,7 +124,6 @@ export default {
|
|
|
return {
|
|
|
getappIdList: {},
|
|
|
skCustomId:0,
|
|
|
- showBook:0,
|
|
|
data: {
|
|
|
admin: {},
|
|
|
asset: {},
|
|
|
@@ -235,8 +234,13 @@ export default {
|
|
|
content: "关闭后可以在底部菜单【我的】-【使用手册】重新打开",
|
|
|
success: function (res) {
|
|
|
if (res.confirm) {
|
|
|
- that.showBook = 0
|
|
|
- closeBook().then((res) => {});
|
|
|
+ closeBook().then((res) => {
|
|
|
+
|
|
|
+ //这个切换得更彻底
|
|
|
+ that.$store.commit("setLoginInfo", {})
|
|
|
+ that.$util.pageTo({url: "/admin/home/workbench",type: 3})
|
|
|
+
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
})
|
|
|
@@ -277,8 +281,7 @@ export default {
|
|
|
setIndex(){
|
|
|
consoleIndex().then(res => {
|
|
|
this.data = res.data;
|
|
|
- const { asset, todayData,menu,showBook } = res.data;
|
|
|
- this.showBook = showBook
|
|
|
+ const { asset,menu } = res.data;
|
|
|
this.tabsData = menu
|
|
|
if (!this.$util.isEmpty(asset)) {
|
|
|
// 订单总览
|