|
|
@@ -72,6 +72,7 @@
|
|
|
<script>
|
|
|
import { mapGetters, mapState } from "vuex";
|
|
|
import { getWeixinId } from "@/api/invite/index";
|
|
|
+import { closeRemindChange } from "@/api/shop-admin"
|
|
|
import { getShopInfo } from "@/utils/auth";
|
|
|
import { consoleIndex } from "@/api/workbench";
|
|
|
import NotLogin from "@/components/not-login";
|
|
|
@@ -170,6 +171,7 @@ export default {
|
|
|
// #ifdef MP-WEIXIN
|
|
|
this.isMini = 1
|
|
|
// #endif
|
|
|
+ let that = this
|
|
|
consoleIndex({isMini:this.isMini}).then(res => {
|
|
|
this.data = res.data;
|
|
|
const { asset, todayData } = res.data;
|
|
|
@@ -182,6 +184,11 @@ export default {
|
|
|
this.totalData[4].value = asset.totalExpend ? parseFloat(asset.totalExpend) : 0;
|
|
|
this.totalData[5].value = asset.totalPurchase ? parseFloat(asset.totalPurchase) : 0;
|
|
|
}
|
|
|
+ if(res.data.hasRemindChangeAppName == 0){
|
|
|
+ that.$util.confirmModal({content:'本小程序最近将更名为:花掌柜',okText:'我知道了'},() => {
|
|
|
+ closeRemindChange()
|
|
|
+ })
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
//通知处理
|