Commit bb2da658 by 张立顺

feat 去掉1.1日报和园区店登录限制功能

1 parent ed47f461
...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd' ...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 0 let index = 2
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
const envName = accountInfo.miniProgram.envVersion const envName = accountInfo.miniProgram.envVersion
......
...@@ -33,8 +33,8 @@ Page({ ...@@ -33,8 +33,8 @@ Page({
id ? this.qrCodeScene(id) : this.getListSelectAccount() id ? this.qrCodeScene(id) : this.getListSelectAccount()
}, },
async getSceneArr(yqMerchantId, loginUserObj) { async getSceneArr(yqMerchantId, loginUserObj) {
let checkAgree = await this.checkAgree() // let checkAgree = await this.checkAgree()
if (!checkAgree) return false // if (!checkAgree) return false
// 超管开通全部场景 // 超管开通全部场景
if (loginUserObj?.isSuper) return if (loginUserObj?.isSuper) return
// 获取4s店关联场景数据 // 获取4s店关联场景数据
......
...@@ -417,8 +417,8 @@ Page({ ...@@ -417,8 +417,8 @@ Page({
}) })
}, },
async getYqMerchantSceneConfig(loginUserObj, num) { async getYqMerchantSceneConfig(loginUserObj, num) {
let checkAgreeClient = await this.checkAgreeClient(loginUserObj) // let checkAgreeClient = await this.checkAgreeClient(loginUserObj)
if (!checkAgreeClient) return wx.$router.go('pages.accountItems') // if (!checkAgreeClient) return wx.$router.go('pages.accountItems')
// num 0已选园区店、4s店和场景 1已选园区店、4s店 2仅选择园区店 // num 0已选园区店、4s店和场景 1已选园区店、4s店 2仅选择园区店
let pageUrl = ['pages.loading', 'pages.sceneIndex', 'pages.merchantList'] let pageUrl = ['pages.loading', 'pages.sceneIndex', 'pages.merchantList']
let { shopMerchantId, shopMerchantName } = loginUserObj let { shopMerchantId, shopMerchantName } = loginUserObj
......
...@@ -695,7 +695,7 @@ Page({ ...@@ -695,7 +695,7 @@ Page({
}) })
} }
// 产品需求:该场景无需再放开入口 // 产品需求:该场景无需再放开入口
this.checkDailyRecport() // this.checkDailyRecport()
this.checkStaffOrderStatus() this.checkStaffOrderStatus()
}, },
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!