Compare commits

..

2 Commits

1 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@
<script> <script>
import http from '@/utils/request' import http from '@/utils/request'
import SubMenu from "./main-sidebar-sub-menu"; import SubMenu from "./main-sidebar-sub-menu";
import returnLocationStr from '@/utils/location';
export default { export default {
data() { data() {
return { return {
@ -61,7 +62,8 @@ export default {
for(let j=0;j<menu.children.length;j++){ for(let j=0;j<menu.children.length;j++){
let children=menu.children[j] let children=menu.children[j]
if(children.id=="1541261780432408577"){// v2 if(children.id=="1541261780432408577"){// v2
children.total=Number(this.numObject.abilityprocess_v2) //西 v2 v3
children.total= returnLocationStr() == 'qingdao' ? Number(this.numObject.abilityprocess_v3) : Number(this.numObject.abilityprocess_v2)
daibanNum=Number(daibanNum)+Number(children.total) daibanNum=Number(daibanNum)+Number(children.total)
} if(children.id=="1559376285703081986"){// } if(children.id=="1559376285703081986"){//
children.total=Number(this.numObject.meetingroom_book) children.total=Number(this.numObject.meetingroom_book)