Commit 7b454b22 by zhangxw Committed by chenwq

接待缺失报备入口修改

1 parent eba0ed08
...@@ -1726,14 +1726,6 @@ Page({ ...@@ -1726,14 +1726,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: '接待缺失报备',
...@@ -1767,10 +1759,6 @@ Page({ ...@@ -1767,10 +1759,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!