|
@@ -266,6 +266,7 @@
|
|
|
import DoublePicker from '@/components/DoublePicker/DoublePicker.vue'
|
|
|
import MescrollMixin from "@/components/mescroll-uni/mescroll-mixins.js";
|
|
|
import MescrollMoreItemMixin from "@/components/mescroll-uni/mixins/mescroll-more-item.js";
|
|
|
+ import * as $auth from "../../common/auth"
|
|
|
import {mapActions} from 'vuex'
|
|
|
export default {
|
|
|
mixins: [MescrollMixin, MescrollMoreItemMixin], // 使用mixin (在main.js注册全局组件)
|
|
@@ -535,14 +536,29 @@
|
|
|
},
|
|
|
|
|
|
totongxunlu22(){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages/buildList/buildList3?w=1'
|
|
|
- })
|
|
|
+ if(this.isLogin==null){
|
|
|
+
|
|
|
+ }else{
|
|
|
+ let roleIds= $auth.getUserInfo().roleIds;
|
|
|
+ if(roleIds=='1910175386924417025'||roleIds=='17bac1f980264e3e8193bc965538e2c6'||roleIds=='ade960e8f02544998b07397304c059c1'){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/buildList/buildList3?w=1'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
totongxunlu23(){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages/buildList/buildList3?w=2'
|
|
|
- })
|
|
|
+ if(this.isLogin==null){
|
|
|
+
|
|
|
+ }else{
|
|
|
+ let roleIds= $auth.getUserInfo().roleIds;
|
|
|
+ if(roleIds=='1910175386924417025'||roleIds=='17bac1f980264e3e8193bc965538e2c6'||roleIds=='ade960e8f02544998b07397304c059c1'){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/buildList/buildList3?w=2'
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
getPageInfo() {
|