Commit 7614850e by 张立顺

Merge branch 'SAAS+V5.5.3' of http://192.168.3.233:8090/saas_plus/dj-car-boutiqu…

…e-work-wechat into SAAS+V5.5.3
2 parents 744892e7 690d75ae
...@@ -1701,14 +1701,6 @@ Page({ ...@@ -1701,14 +1701,6 @@ Page({
scene: 1 scene: 1
}).then( async res => { }).then( async res => {
if (res.data) { if (res.data) {
if (newMenu.every(item => item.name != '接待缺失报备')) {
newMenu.push({
name: '接待缺失报备',
path: 'packageEquity.missingReception',
icon: 'missing-reception',
noCheckdailyReport: true
})
}
if (menu.every(item => item.name != '接待缺失报备')) { if (menu.every(item => item.name != '接待缺失报备')) {
menu.push({ menu.push({
name: '接待缺失报备', name: '接待缺失报备',
...@@ -1742,10 +1734,6 @@ Page({ ...@@ -1742,10 +1734,6 @@ Page({
}) })
}) })
} else { } else {
let delIndex = newMenu.findIndex(
item => item.name == '接待缺失报备'
)
if (delIndex != -1) newMenu = newMenu.splice(delIndex, 1)
let delMIndex = menu.findIndex(item => item.name == '接待缺失报备') let delMIndex = menu.findIndex(item => item.name == '接待缺失报备')
if (delMIndex != -1) menu = menu.splice(delMIndex, 1) if (delMIndex != -1) menu = menu.splice(delMIndex, 1)
this.setData({ this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!