Commit f2e4477f by 杨北旺

注释获取4s店接口,已舍弃

1 parent 399bf440
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
if (session.accountLevel != 4) { if (session.accountLevel != 4) {
this.tabList = ['订单明细', '分账明细'] this.tabList = ['订单明细', '分账明细']
// this.tabList = ['订单明细'] // this.tabList = ['订单明细']
this.toGet4SStore() // this.toGet4SStore()
} }
// 获取上一次打开的状态 // 获取上一次打开的状态
let lastOpenStatus = localStorage.getItem(`showMore${session.merchantId}`) let lastOpenStatus = localStorage.getItem(`showMore${session.merchantId}`)
...@@ -366,27 +366,27 @@ export default { ...@@ -366,27 +366,27 @@ export default {
} }
}) })
}, },
toGet4SStore() { // toGet4SStore() {
const { session } = this.$globalState // const { session } = this.$globalState
let level = this.accountLevel // let level = this.accountLevel
let para = { // let para = {
currentPage: 1, // currentPage: 1,
pageSize: 200000 // pageSize: 200000
} // }
let temp = level + 1 // let temp = level + 1
if (session.admin) { // if (session.admin) {
temp = 1 // temp = 1
} // }
para = { // para = {
...para, // ...para,
'merchantAccountLevelList[0]': temp // 'merchantAccountLevelList[0]': temp
} // }
get4SList(para).then(res => { // get4SList(para).then(res => {
if (res) { // if (res) {
this.storeList = res.list || [] // this.storeList = res.list || []
} // }
}) // })
} // }
} }
} }
</script> </script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!