main-menu-appmenu-base.vue 111.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
<template>
<div class="app-app-menu">
    <el-menu
      class="app-menu"
      :default-openeds="defaultOpeneds"
      :mode="mode"
      :menu-trigger="trigger"
      :collapse="isCollapse"
      @select="select"
      :default-active="defaultActive">
        <template v-if="Object.is(mode,'horizontal')">
            <template v-for="item0 in menus">
                <template v-if="item0.items && Array.isArray(item0.items) && item0.items.length > 0">
                    <el-submenu v-show="!item0.hidden" :index="item0.name" :popper-class="popperClass" :key="item0.id" :class="item0.textcls">
                        <template slot='title'>
                            <template v-if="item0.icon && item0.icon != ''">
                                <img :src="item0.icon" class='app-menu-icon' />
                            </template>
                            <template v-else-if="item0.iconcls && item0.iconcls != ''">
                                <i :class="[item0.iconcls, 'app-menu-icon']"></i>
                            </template>
                            <template v-else>
                                <i class='fa fa-cogs app-menu-icon'></i>
                            </template>
                            <span class='text' :title="$t('app.menus.mainmenu.' + item0.name)">{{$t('app.menus.mainmenu.' + item0.name)}}</span>
                        </template>
                        <template v-for="item1 in item0.items">
                            <template v-if="item1.items && Array.isArray(item1.items) && item1.items.length > 0">
                                <el-submenu v-show="!item1.hidden" :index="item1.name" :popper-class="popperClass" :key="item1.id" :class="item1.textcls">
                                    <template slot='title'>
                                        <template v-if="item1.icon && item1.icon != ''">
                                            <img :src="item1.icon" class='app-menu-icon' />
                                        </template>
                                        <template v-else-if="item1.iconcls && item1.iconcls != ''">
                                            <i :class="[item1.iconcls, 'app-menu-icon']"></i>
                                        </template>
                                        <span class='text' :title="$t('app.menus.mainmenu.' + item1.name)">{{$t('app.menus.mainmenu.' + item1.name)}}</span>
                                    </template>
                                    <template v-for="item2 in item1.items">
                                        <template v-if="item2.type =='MENUITEM'">
                                            <el-menu-item v-show="!item2.hidden" :index="item2.name" :key="item2.id" :class="item2.textcls">
                                                <template v-if="item2.icon && item2.icon != ''">
                                                    <img :src="item2.icon" class='app-menu-icon' />
                                                </template>
                                                <template v-else-if="item2.iconcls && item2.iconcls != ''">
                                                    <i :class="[item2.iconcls, 'app-menu-icon']"></i>
                                                </template>
                                                <template slot="title">
                                                    <span class="text" :title="$t('app.menus.mainmenu.' + item2.name)">{{$t('app.menus.mainmenu.' + item2.name)}}</span>
                                                    <template v-if="counterdata && counterdata[item2.counterid] && counterdata[item2.counterid] > 0">
                                                        <span class="pull-right">
                                                            <badge :count="counterdata[item2.counterid]" :overflow-count="9999"></badge>
                                                        </span>
                                                    </template>
                                                </template>
                                            </el-menu-item>
                                        </template>
                                    </template>
                                </el-submenu>
                            </template>
                            <template v-else>
                                <template v-if="item1.type =='MENUITEM'">
                                    <el-menu-item v-show="!item1.hidden" :index="item1.name" :key="item1.id" :class="item1.textcls">
                                        <template v-if="item1.icon && item1.icon != ''">
                                            <img :src="item1.icon" class='app-menu-icon' />
                                        </template>
                                        <template v-else-if="item1.iconcls && item1.iconcls != ''">
                                            <i :class="[item1.iconcls, 'app-menu-icon']"></i>
                                        </template>
                                        <template slot="title">
                                            <span class="text" :title="$t('app.menus.mainmenu.' + item1.name)">{{$t('app.menus.mainmenu.' + item1.name)}} </span>
                                            <template v-if="counterdata && counterdata[item1.counterid] && counterdata[item1.counterid] > 0">
                                                <span class="pull-right">
                                                    <badge :count="counterdata[item1.counterid]" :overflow-count="9999"></badge>
                                                </span>
                                            </template>
                                        </template>
                                    </el-menu-item>
                                </template>
                            </template>
                        </template>
                    </el-submenu>
                </template>
                <template v-else>
                    <template v-if="item0.type =='MENUITEM'">
                        <el-menu-item v-show="!item0.hidden" :index="item0.name" :key="item0.id" :class="item0.textcls">
                            <template v-if="item0.icon && item0.icon != ''">
                                <img :src="item0.icon" class='app-menu-icon' />
                            </template>
                            <template v-else-if="item0.iconcls && item0.iconcls != ''">
                                <i :class="[item0.iconcls, 'app-menu-icon']"></i>
                            </template>
                            <template v-else>
                                <i class='fa fa-cogs app-menu-icon'></i>
                            </template>
                            <template slot="title">
                                <span class="text" :title="$t('app.menus.mainmenu.' + item0.name)">{{$t('app.menus.mainmenu.' + item0.name)}}</span>
                                <template v-if="counterdata && counterdata[item0.counterid] && counterdata[item0.counterid] > 0">
                                    <span class="pull-right">
                                        <badge :count="counterdata[item0.counterid]" :overflow-count="9999"></badge>
                                    </span>
                                </template>
                            </template>
                        </el-menu-item>
                    </template>
                </template>
            </template>   
        </template> 
        <app-menu-item v-else :isCollapse="isCollapse" :menus="menus" :ctrlName="'mainmenu'" :isFirst="true" :counterdata="counterdata" :popper-class="popperClass"></app-menu-item>
    </el-menu>
</div>
</template>

<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util,ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import AppCenterService from "@service/app/app-center-service";
import MainMenuService from './main-menu-appmenu-service';
import MainMenuModel from './main-menu-appmenu-model';
import { Environment } from '@/environments/environment';
import AuthService from '@/authservice/auth-service';


@Component({
    components: {
      
    }
})
export default class MainMenuBase extends Vue implements ControlInterface {

    /**
     * 名称
     *
     * @type {string}
     * @memberof MainMenuBase
     */
    @Prop() public name?: string;

    /**
     * 视图通讯对象
     *
     * @type {Subject<ViewState>}
     * @memberof MainMenuBase
     */
    @Prop() public viewState!: Subject<ViewState>;

    /**
     * 应用上下文
     *
     * @type {*}
     * @memberof MainMenuBase
     */
157
    @Prop() public context!: any;
158 159 160 161 162 163 164

    /**
     * 视图参数
     *
     * @type {*}
     * @memberof MainMenuBase
     */
165
    @Prop() public viewparams!: any;
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448

    /**
     * 视图状态事件
     *
     * @public
     * @type {(Subscription | undefined)}
     * @memberof MainMenuBase
     */
    public viewStateEvent: Subscription | undefined;

    /**
     * 获取部件类型
     *
     * @returns {string}
     * @memberof MainMenuBase
     */
    public getControlType(): string {
        return 'APPMENU'
    }



    /**
     * 建构部件服务对象
     *
     * @type {MainMenuService}
     * @memberof MainMenuBase
     */
    public service: MainMenuService = new MainMenuService({ $store: this.$store });
    


    /**
     * 关闭视图
     *
     * @param {any} args
     * @memberof MainMenuBase
     */
    public closeView(args: any): void {
        let _this: any = this;
        _this.$emit('closeview', [args]);
    }

    /**
     *  计数器刷新
     *
     * @memberof MainMenuBase
     */
    public counterRefresh(){
        const _this:any =this;
        if(_this.counterServiceArray && _this.counterServiceArray.length >0){
            _this.counterServiceArray.forEach((item:any) =>{
                if(item.refreshData && item.refreshData instanceof Function){
                    item.refreshData();
                }
            })
        }
    }



    /**
     * 获取多项数据
     *
     * @returns {any[]}
     * @memberof MainMenuBase
     */
    public getDatas(): any[] {
        return [];
    }

    /**
     * 获取单项树
     *
     * @returns {*}
     * @memberof MainMenuBase
     */
    public getData(): any {
        return null;
    }

    /**
     * 导航模式(route:面包屑模式、tab:分页导航模式)
     *
     * @type {string}
     * @memberof MainMenuBase
     */
    @Prop({default:'tab'}) public navModel?:string;

    /**
     * 视图标识
     *
     * @type {string}
     * @memberof MainMenuBase
     */
    @Prop() public viewtag!:string;

    /**
     * 菜单模型
     *
     * @public
     * @type {MainMenuModel}
     * @memberof MainMenuBase
     */
    public menuMode: MainMenuModel = new MainMenuModel();

    /**
     * 显示处理提示
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Prop({ default: true }) public showBusyIndicator?: boolean;

    /**
     * 菜单数据
     *
     * @public
     * @type {any[]}
     * @memberof MainMenuBase
     */
    @Provide()
    public menus: any[] = [];

    /**
     * 菜单收缩改变
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Model() public collapsechange?: boolean;

    /**
     * 监听菜单收缩
     *
     * @param {*} newVal
     * @param {*} oldVal
     * @memberof MainMenuBase
     */
    @Watch('collapsechange')
    onCollapsechangeChange(newVal: any, oldVal: any) {
        if (newVal !== this.isCollapse) {
            this.isCollapse = !this.isCollapse;
        }
    }

    /**
     * 当前模式,菜单在顶部还是在底部
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    @Prop() mode: any;

    /**
     * 应用起始页面
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Prop({ default: false }) isDefaultPage?: boolean;

    /**
     * 空白视图模式
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Prop({ default: false }) isBlankMode?:boolean;

    /**
     * 默认打开视图
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    @Prop() defPSAppView: any;

    /**
     * 默认激活的index
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    @Provide() defaultActive: any = null;

    /**
     * 当前选中主题
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    @Prop() selectTheme: any;

    /**
     * 默认打开的index数组
     *
     * @type {any[]}
     * @memberof MainMenuBase
     */
    @Provide() public defaultOpeneds: any[] = [];

    /**
     * 是否展开
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Provide() public isCollapse: boolean = false;

    /**
     * 触发方式,默认click
     *
     * @type {string}
     * @memberof MainMenuBase
     */
    @Provide() trigger: string = 'click';

    /**
     * 计数器数据
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    public counterdata: any = {};

    /**
     * 建构权限服务对象
     *
     * @type {AuthService}
     * @memberof MainMenuBase
     */
    public authService:AuthService = new AuthService({ $store: this.$store });

    /**
     * vue  生命周期
     *
     * @memberof MainMenuBase
     */
    public created() {
        this.afterCreated();
    }

    /**
     * 执行created后的逻辑
     *
     *  @memberof MainMenuBase
     */    
    public afterCreated(){
        if (Object.is(this.mode, 'horizontal')) {
            this.trigger = 'hover';
        }
        if (this.viewState) {
            this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
                if (!Object.is(tag, this.name)) {
                    return;
                }
                this.load(data);
            });
        }
    }

    /**
     * vue 生命周期
     *
     * @memberof MainMenuBase
     */
    public destroyed() {
        this.afterDestroy();
    }

    /**
     * 执行destroyed后的逻辑
     *
     * @memberof MainMenuBase
     */
    public afterDestroy() {
        if (this.viewStateEvent) {
            this.viewStateEvent.unsubscribe();
        }
    }


449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523
    /**
     * 处理菜单默认选中项
     *
     * @public
     * @memberof MainMenuBase
     */
    public doMenuSelect(): void {
        if (!this.isDefaultPage || this.isBlankMode) {
            return;
        }
        const appFuncs: any[] = this.menuMode.getAppFuncs();
        if (this.$route && this.$route.matched && this.$route.matched.length == 2) { // 存在二级路由
            const [{ }, matched] = this.$route.matched;
            const appfunc: any = appFuncs.find((_appfunc: any) => Object.is(_appfunc.routepath, matched.path) && Object.is(_appfunc.appfuncyype, 'APPVIEW'));
            if (appfunc) {
                this.computeMenuSelect(this.menus, appfunc.appfunctag);
            }
            return;
        } else if (this.defPSAppView && Object.keys(this.defPSAppView).length > 0) { // 存在默认视图
            const appfunc: any = appFuncs.find((_appfunc: any) => Object.is(_appfunc.routepath, this.defPSAppView.routepath) && Object.is(_appfunc.appfuncyype, 'APPVIEW'));
            if (appfunc) {
                this.computeMenuSelect(this.menus, appfunc.appfunctag);
            }
            const viewparam: any = {};
            const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, this.defPSAppView.deResParameters, this.defPSAppView.parameters, [], viewparam);
            this.$router.push(path);
            return;
        }

        this.computeMenuSelect(this.menus, '');
        let item = this.compute(this.menus, this.defaultActive);
        if (Object.keys(item).length === 0) {
            return;
        }
        if(!item.hidden){
            this.click(item);
        }
    }

    /**
     * 计算菜单选中项
     *
     * @public
     * @param {any[]} items
     * @param {string} appfunctag
     * @returns {boolean}
     * @memberof MainMenuBase
     */
    public computeMenuSelect(items: any[], appfunctag: string): boolean {
        const appFuncs: any[] = this.menuMode.getAppFuncs();
        return items.some((item: any) => {
            if (Object.is(appfunctag, '') && !Object.is(item.appfunctag, '') && item.opendefault) {
                const appfunc = appFuncs.find((_appfunc: any) => Object.is(_appfunc.appfunctag, item.appfunctag));
                if (appfunc.routepath) {
                    this.defaultActive = item.name;
                    this.setHideSideBar(item);
                    return true;
                }
            }
            if (Object.is(item.appfunctag, appfunctag) && item.opendefault) {
                this.setHideSideBar(item);
                this.defaultActive = item.name;
                return true;
            }
            if (item.items && item.items.length > 0) {
                const state = this.computeMenuSelect(item.items, appfunctag);
                if (state) {
                    this.defaultOpeneds.push(item.name);
                    return true;
                }
            }
            return false;
        });
    }

524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560
    /**
     * 获取菜单项数据
     *
     * @public
     * @param {any[]} items
     * @param {string} name
     * @returns
     * @memberof MainMenuBase
     */
    public compute(items: any[], name: string) {
        const item: any = {};
        items.some((_item: any) => {
            if (name && Object.is(_item.name, name)) {
                Object.assign(item, _item);
                this.setHideSideBar(_item);
                return true;
            }
            if (_item.items && Array.isArray(_item.items)) {
                const subItem = this.compute(_item.items, name);
                if (Object.keys(subItem).length > 0) {
                    Object.assign(item, subItem);
                    return true;
                }
            }
            return false;
        });
        return item;
    }

    /**
     * 设置是否隐藏菜单栏
     *
     * @public
     * @param {*} item
     * @memberof MainMenuBase
     */
    public setHideSideBar(item: any): void {
561 562 563
        if (item.hidesidebar) {
            this.$emit('collapsechange', true);
        }
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598
    }

    /**
     * 菜单项选中处理
     *
     * @param {*} index
     * @param {any[]} indexs
     * @returns
     * @memberof MainMenuBase
     */
    public select(index: any, indexs: any[]) {
        let item = this.compute(this.menus, index);
        if (Object.keys(item).length === 0) {
            return;
        }
        this.click(item);
    }

    /**
     * 菜单点击
     *
     * @public
     * @param {*} item 菜单数据
     * @memberof MainMenuBase
     */
    public click(item: any) {
        if (item) {
            let navDataService = NavDataService.getInstance(this.$store);
            if(Object.is(this.navModel,"route")){
                navDataService.removeNavData(this.viewtag);
            }
            switch (item.appfunctag) {
                case 'Auto81': 
                    this.clickAuto81(item);
                    return;
599 600 601
                case 'AppFunc6': 
                    this.clickAppFunc6(item);
                    return;
602 603 604
                case 'AppFunc29': 
                    this.clickAppFunc29(item);
                    return;
605 606 607
                case 'AppFunc82': 
                    this.clickAppFunc82(item);
                    return;
608 609
                case 'AppFunc51': 
                    this.clickAppFunc51(item);
610
                    return;
611 612 613
                case 'AppFunc94': 
                    this.clickAppFunc94(item);
                    return;
614 615 616
                case 'AppFunc26': 
                    this.clickAppFunc26(item);
                    return;
617 618 619
                case 'Auto25': 
                    this.clickAuto25(item);
                    return;
620 621 622
                case 'Auto96': 
                    this.clickAuto96(item);
                    return;
623 624 625
                case 'AppFunc7': 
                    this.clickAppFunc7(item);
                    return;
626 627
                case 'Auto213': 
                    this.clickAuto213(item);
628
                    return;
629 630 631
                case 'AppFunc55': 
                    this.clickAppFunc55(item);
                    return;
632 633
                case 'Auto151': 
                    this.clickAuto151(item);
634
                    return;
635 636 637
                case 'AppFunc15': 
                    this.clickAppFunc15(item);
                    return;
638 639 640
                case 'Auto114': 
                    this.clickAuto114(item);
                    return;
641 642 643
                case 'AppFunc27': 
                    this.clickAppFunc27(item);
                    return;
644 645 646
                case 'AppFunc70': 
                    this.clickAppFunc70(item);
                    return;
647 648 649
                case 'AppFunc20': 
                    this.clickAppFunc20(item);
                    return;
650 651 652
                case 'AppFunc74': 
                    this.clickAppFunc74(item);
                    return;
653 654 655
                case 'AppFunc25': 
                    this.clickAppFunc25(item);
                    return;
656 657 658
                case 'AppFunc72': 
                    this.clickAppFunc72(item);
                    return;
659 660 661
                case 'Auto286': 
                    this.clickAuto286(item);
                    return;
662 663 664
                case 'Auto375': 
                    this.clickAuto375(item);
                    return;
665 666 667
                case 'AppFunc73': 
                    this.clickAppFunc73(item);
                    return;
668 669 670
                case 'AppFunc83': 
                    this.clickAppFunc83(item);
                    return;
671 672 673
                case 'Auto106': 
                    this.clickAuto106(item);
                    return;
674 675 676
                case 'Auto402': 
                    this.clickAuto402(item);
                    return;
677 678 679
                case 'AppFunc90': 
                    this.clickAppFunc90(item);
                    return;
680 681 682
                case 'AppFunc13': 
                    this.clickAppFunc13(item);
                    return;
683 684 685
                case 'AppFunc41': 
                    this.clickAppFunc41(item);
                    return;
686 687 688
                case 'AppFunc35': 
                    this.clickAppFunc35(item);
                    return;
689 690 691
                case 'AppFunc88': 
                    this.clickAppFunc88(item);
                    return;
692 693 694
                case 'AppFunc16': 
                    this.clickAppFunc16(item);
                    return;
695 696 697
                case 'Auto319': 
                    this.clickAuto319(item);
                    return;
698 699 700
                case 'AppFunc3': 
                    this.clickAppFunc3(item);
                    return;
701 702 703
                case 'AppFunc19': 
                    this.clickAppFunc19(item);
                    return;
704 705 706
                case 'Auto222': 
                    this.clickAuto222(item);
                    return;
707 708 709
                case 'AppFunc84': 
                    this.clickAppFunc84(item);
                    return;
710 711 712
                case 'AppFunc91': 
                    this.clickAppFunc91(item);
                    return;
713 714 715
                case 'AppFunc58': 
                    this.clickAppFunc58(item);
                    return;
716 717 718
                case 'AppFunc42': 
                    this.clickAppFunc42(item);
                    return;
719 720 721
                case 'AppFunc64': 
                    this.clickAppFunc64(item);
                    return;
722 723 724
                case 'AppFunc11': 
                    this.clickAppFunc11(item);
                    return;
725 726 727
                case 'AppFunc49': 
                    this.clickAppFunc49(item);
                    return;
728 729 730
                case 'Auto129': 
                    this.clickAuto129(item);
                    return;
731 732 733
                case 'AppFunc23': 
                    this.clickAppFunc23(item);
                    return;
734 735 736
                case 'AppFunc65': 
                    this.clickAppFunc65(item);
                    return;
737 738 739 740 741 742
                case 'Auto2': 
                    this.clickAuto2(item);
                    return;
                case 'Auto176': 
                    this.clickAuto176(item);
                    return;
743 744 745
                case 'AppFunc48': 
                    this.clickAppFunc48(item);
                    return;
746 747 748
                case 'Auto3': 
                    this.clickAuto3(item);
                    return;
749 750 751
                case 'AppFunc31': 
                    this.clickAppFunc31(item);
                    return;
752 753 754
                case 'Auto279': 
                    this.clickAuto279(item);
                    return;
755 756 757
                case 'AppFunc22': 
                    this.clickAppFunc22(item);
                    return;
758 759 760
                case 'AppFunc57': 
                    this.clickAppFunc57(item);
                    return;
761 762 763
                case 'AppFunc46': 
                    this.clickAppFunc46(item);
                    return;
764 765 766 767 768 769 770 771 772
                case 'AppFunc14': 
                    this.clickAppFunc14(item);
                    return;
                case 'Auto124': 
                    this.clickAuto124(item);
                    return;
                case 'AppFunc50': 
                    this.clickAppFunc50(item);
                    return;
773 774 775
                case 'AppFunc89': 
                    this.clickAppFunc89(item);
                    return;
776 777 778
                case 'AppFunc79': 
                    this.clickAppFunc79(item);
                    return;
779 780
                case 'AppFunc95': 
                    this.clickAppFunc95(item);
781
                    return;
782 783 784
                case 'AppFunc36': 
                    this.clickAppFunc36(item);
                    return;
785 786 787
                case 'Auto320': 
                    this.clickAuto320(item);
                    return;
788 789 790
                case 'Auto155': 
                    this.clickAuto155(item);
                    return;
791 792 793
                case 'AppFunc96': 
                    this.clickAppFunc96(item);
                    return;
794 795 796
                case 'Auto371': 
                    this.clickAuto371(item);
                    return;
797 798 799
                case 'Auto387': 
                    this.clickAuto387(item);
                    return;
800 801 802
                case 'AppFunc59': 
                    this.clickAppFunc59(item);
                    return;
803 804 805
                case 'Auto296': 
                    this.clickAuto296(item);
                    return;
806 807 808 809 810 811
                case 'Auto67': 
                    this.clickAuto67(item);
                    return;
                case 'AppFunc8': 
                    this.clickAppFunc8(item);
                    return;
812 813 814
                case 'AppFunc71': 
                    this.clickAppFunc71(item);
                    return;
815 816 817 818 819 820
                case 'Auto173': 
                    this.clickAuto173(item);
                    return;
                case 'AppFunc43': 
                    this.clickAppFunc43(item);
                    return;
821 822 823
                case 'AppFunc86': 
                    this.clickAppFunc86(item);
                    return;
824 825 826
                case 'Auto39': 
                    this.clickAuto39(item);
                    return;
827 828 829
                case 'AppFunc97': 
                    this.clickAppFunc97(item);
                    return;
830 831 832
                case 'AppFunc66': 
                    this.clickAppFunc66(item);
                    return;
833 834 835 836 837
                case 'AppFunc5': 
                    this.clickAppFunc5(item);
                    return;
                case 'Auto393': 
                    this.clickAuto393(item);
838
                    return;
839 840 841
                case 'AppFunc85': 
                    this.clickAppFunc85(item);
                    return;
842 843 844
                case 'AppFunc54': 
                    this.clickAppFunc54(item);
                    return;
845 846 847
                case 'AppFunc81': 
                    this.clickAppFunc81(item);
                    return;
848 849 850
                case 'AppFunc80': 
                    this.clickAppFunc80(item);
                    return;
851 852 853
                case 'Auto235': 
                    this.clickAuto235(item);
                    return;
854 855 856
                case 'AppFunc21': 
                    this.clickAppFunc21(item);
                    return;
857 858 859
                case 'AppFunc60': 
                    this.clickAppFunc60(item);
                    return;
860 861 862
                case 'AppFunc': 
                    this.clickAppFunc(item);
                    return;
863 864 865
                case 'AppFunc4': 
                    this.clickAppFunc4(item);
                    return;
866 867 868
                case 'Auto337': 
                    this.clickAuto337(item);
                    return;
869 870 871
                case 'AppFunc32': 
                    this.clickAppFunc32(item);
                    return;
872 873 874
                case 'AppFunc12': 
                    this.clickAppFunc12(item);
                    return;
875 876 877
                case 'Auto338': 
                    this.clickAuto338(item);
                    return;
878 879 880
                case 'AppFunc2': 
                    this.clickAppFunc2(item);
                    return;
881 882 883
                case 'AppFunc10': 
                    this.clickAppFunc10(item);
                    return;
884 885 886
                case 'AppFunc45': 
                    this.clickAppFunc45(item);
                    return;
887 888 889
                case 'AppFunc17': 
                    this.clickAppFunc17(item);
                    return;
890 891 892
                case 'AppFunc78': 
                    this.clickAppFunc78(item);
                    return;
893 894 895
                case 'AppFunc75': 
                    this.clickAppFunc75(item);
                    return;
896 897 898
                case 'Auto111': 
                    this.clickAuto111(item);
                    return;
899 900 901
                case 'AppFunc56': 
                    this.clickAppFunc56(item);
                    return;
902 903 904
                case 'Auto299': 
                    this.clickAuto299(item);
                    return;
905 906 907
                case 'AppFunc9': 
                    this.clickAppFunc9(item);
                    return;
908 909 910
                case 'Auto66': 
                    this.clickAuto66(item);
                    return;
911 912 913 914 915 916 917
                default:
                    console.warn('未指定应用功能');
            }
        }
    }

    
918 919 920 921 922 923 924
    /**
     * 动态必填
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAuto81(item: any = {}) {
925 926 927 928 929
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
930
            { pathName: 'f9editview', parameterName: 'f9editview' },
931 932 933 934 935 936 937
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
938 939 940 941
        })
    }
    
    /**
942
     * 图书实体-表格值规则
943 944 945 946
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
947
    public clickAppFunc6(item: any = {}) {
948 949 950 951
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
952 953
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'valuerulesgridview', parameterName: 'valuerulesgridview' },
954 955 956 957 958 959 960
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
961 962 963
        })
    }
    
964 965 966 967 968 969
    /**
     * 功能名称
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
970
    public clickAppFunc29(item: any = {}) {
971 972 973 974 975
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
976
            { pathName: 'usr3calendarview', parameterName: 'usr3calendarview' },
977 978 979 980 981 982 983 984 985 986
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006
    /**
     * 可定制应用看板
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc82(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'appportalview2', parameterName: 'appportalview2' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
1007 1008
    }
    
1009
    /**
1010
     * 图书实体状态向导视图
1011 1012 1013 1014
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1015
    public clickAppFunc51(item: any = {}) {
1016 1017 1018 1019 1020
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
1021
            { pathName: 'wizardiwithstateview', parameterName: 'wizardiwithstateview' },
1022 1023 1024 1025 1026 1027 1028 1029 1030 1031
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056
    /**
     * 工作流动态操作视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc94(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
        ];
        const view = { 
            viewname: 'ibizsample0021-wfdyna-action-view', 
            title: (this.$t('entities.ibizsample0021.views.wfdynaactionview.title') as any),
            height: 0, 
            width: 0, 
        };
        const appmodal = this.$appmodal.openModal(view, JSON.parse(JSON.stringify(this.context)),viewparam);
        appmodal.subscribe((result: any) => {
            console.log(result);
        });
    }
    
1057
    /**
1058
     * 图书看板视图(代码表分组)
1059 1060 1061 1062
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1063
    public clickAppFunc26(item: any = {}) {
1064 1065 1066 1067
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1068 1069
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'groupbycodelistkanbanview', parameterName: 'groupbycodelistkanbanview' },
1070 1071 1072 1073 1074 1075 1076 1077 1078 1079
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1080
    /**
1081
     * 柱状图
1082 1083 1084 1085
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1086
    public clickAuto25(item: any = {}) {
1087 1088 1089 1090
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1091 1092
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'barchartview', parameterName: 'barchartview' },
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1104
     * 动态节点实体
1105 1106 1107 1108
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1109
    public clickAuto96(item: any = {}) {
1110 1111 1112 1113
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1114 1115
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'f3treeexpview', parameterName: 'f3treeexpview' },
1116 1117 1118 1119 1120 1121 1122 1123 1124 1125
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1126
    /**
1127
     * 功能名称
1128 1129 1130 1131
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1132
    public clickAppFunc7(item: any = {}) {
1133 1134 1135 1136
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1137 1138
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2gridview', parameterName: 'usr2gridview' },
1139 1140 1141 1142 1143 1144 1145 1146 1147 1148
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1149
    /**
1150
     * 分页导航
1151 1152 1153 1154
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1155
    public clickAuto213(item: any = {}) {
1156 1157 1158 1159
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1160 1161
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'stabexpview', parameterName: 'stabexpview' },
1162 1163 1164 1165 1166 1167 1168 1169
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
1170 1171 1172
    }
    
    /**
1173
     * 表格列重置
1174 1175 1176 1177
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1178
    public clickAppFunc55(item: any = {}) {
1179 1180 1181 1182
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1183 1184
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr8gridview', parameterName: 'usr8gridview' },
1185 1186 1187 1188 1189 1190 1191 1192
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
1193 1194
    }
    
1195
    /**
1196
     * 动态启用
1197 1198 1199 1200
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1201
    public clickAuto151(item: any = {}) {
1202 1203 1204 1205
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1206 1207
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'f8editview', parameterName: 'f8editview' },
1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1219
     * 功能名称
1220 1221 1222 1223
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1224
    public clickAppFunc15(item: any = {}) {
1225 1226 1227 1228
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1229 1230
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2dataview', parameterName: 'usr2dataview' },
1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1242
     * 表单项更新
1243 1244 1245 1246
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1247
    public clickAuto114(item: any = {}) {
1248 1249 1250 1251
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1252 1253
            { pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
            { pathName: 'sf2editview', parameterName: 'sf2editview' },
1254 1255 1256 1257 1258 1259 1260 1261 1262 1263
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1264
    /**
1265
     * 图书看板视图(嵌入视图面板)
1266 1267 1268 1269
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1270
    public clickAppFunc27(item: any = {}) {
1271 1272 1273 1274
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1275 1276
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'haspanelkanbanview', parameterName: 'haspanelkanbanview' },
1277 1278 1279 1280 1281 1282 1283 1284 1285 1286
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303
    /**
     * 自定义扩展编辑器
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc70(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'usr3editview', parameterName: 'usr3editview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
1304 1305 1306 1307 1308 1309
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1310
    /**
1311
     * 实体日历视图
1312 1313 1314 1315
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1316
    public clickAppFunc20(item: any = {}) {
1317 1318 1319 1320
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1321 1322
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'calendarview', parameterName: 'calendarview' },
1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1334
     * 甘特图
1335 1336 1337 1338
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1339
    public clickAppFunc74(item: any = {}) {
1340 1341 1342 1343
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1344 1345
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'ganttview', parameterName: 'ganttview' },
1346 1347 1348 1349 1350 1351
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
1352 1353 1354 1355 1356
            this.$router.push(path);
        })
    }
    
    /**
1357
     * 图书看板视图(内置功能)
1358 1359 1360 1361
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1362
    public clickAppFunc25(item: any = {}) {
1363 1364 1365 1366
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1367 1368
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'interfunckanbanview', parameterName: 'interfunckanbanview' },
1369 1370 1371 1372 1373 1374
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
1375 1376 1377 1378
            this.$router.push(path);
        })
    }
    
1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401
    /**
     * 图书日历自定义插件
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc72(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr4calendarview', parameterName: 'usr4calendarview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1402
    /**
1403
     * 列操作表格
1404 1405 1406 1407
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1408
    public clickAuto286(item: any = {}) {
1409 1410 1411 1412
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1413 1414
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf4gridview', parameterName: 'sf4gridview' },
1415 1416 1417 1418 1419 1420
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
1421 1422 1423 1424
            this.$router.push(path);
        })
    }
    
1425
    /**
1426
     * 静态节点
1427 1428 1429 1430
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1431
    public clickAuto375(item: any = {}) {
1432 1433 1434 1435
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1436 1437
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'f1treeexpview', parameterName: 'f1treeexpview' },
1438 1439 1440 1441 1442 1443 1444 1445 1446 1447
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1448
    /**
1449
     * 树表格(增强)
1450 1451 1452 1453
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1454
    public clickAppFunc73(item: any = {}) {
1455 1456 1457 1458
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1459 1460
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'treegridexview', parameterName: 'treegridexview' },
1461 1462 1463 1464 1465 1466 1467 1468 1469 1470
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493
    /**
     * 日历主状态
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc83(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr5calendarview', parameterName: 'usr5calendarview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1494
    /**
1495
     * 表单项值重置
1496 1497 1498 1499
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1500
    public clickAuto106(item: any = {}) {
1501 1502 1503 1504
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1505 1506
            { pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
            { pathName: 'sf1editview', parameterName: 'sf1editview' },
1507 1508 1509 1510 1511 1512 1513 1514 1515 1516
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1517
    /**
1518
     * 左右关系编辑
1519 1520 1521 1522
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1523
    public clickAuto402(item: any = {}) {
1524 1525 1526 1527
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1528
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1529
            { pathName: 'seditview2', parameterName: 'seditview2' },
1530 1531 1532 1533 1534 1535 1536 1537 1538 1539
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562
    /**
     * 列表视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc90(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr4listview', parameterName: 'usr4listview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1563
    /**
1564
     * 图书列表(代码表分组)
1565 1566 1567 1568
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1569
    public clickAppFunc13(item: any = {}) {
1570 1571 1572 1573
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1574 1575
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'groupbycodelistlistview', parameterName: 'groupbycodelistlistview' },
1576 1577 1578 1579 1580 1581 1582 1583 1584 1585
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1586
    /**
1587
     * 编辑视图(上下关系)
1588 1589 1590 1591
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1592
    public clickAppFunc41(item: any = {}) {
1593 1594 1595 1596 1597
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1598
            { pathName: 'seditview4', parameterName: 'seditview4' },
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1609
    /**
1610
     * 图表视图(k线图)
1611 1612 1613 1614
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1615
    public clickAppFunc35(item: any = {}) {
1616 1617 1618 1619
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1620
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1621
            { pathName: 'usr2chartview', parameterName: 'usr2chartview' },
1622 1623 1624 1625 1626 1627 1628 1629 1630 1631
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654
    /**
     * 数据导入和导出
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc88(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'exportandimportgridview', parameterName: 'exportandimportgridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1655
    /**
1656
     * 功能名称
1657 1658 1659 1660
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1661
    public clickAppFunc16(item: any = {}) {
1662 1663 1664 1665
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1666 1667
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr3dataview', parameterName: 'usr3dataview' },
1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1679
     * 表单项默认值
1680 1681 1682 1683
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1684
    public clickAuto319(item: any = {}) {
1685 1686 1687 1688 1689
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1690
            { pathName: 'sf1editview', parameterName: 'sf1editview' },
1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1702
     * 图书实体行编辑表格
1703 1704 1705 1706
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1707
    public clickAppFunc3(item: any = {}) {
1708 1709 1710 1711
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1712
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
1713
            { pathName: 'roweditgridview', parameterName: 'roweditgridview' },
1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1725
     * 功能名称
1726 1727 1728 1729
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1730
    public clickAppFunc19(item: any = {}) {
1731 1732 1733 1734
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1735
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
1736
            { pathName: 'usr4dataview', parameterName: 'usr4dataview' },
1737 1738 1739 1740 1741 1742 1743 1744 1745 1746
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1747
    /**
1748
     * 编辑器类型
1749 1750 1751 1752
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1753
    public clickAuto222(item: any = {}) {
1754 1755 1756 1757
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1758 1759
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'sf5editview', parameterName: 'sf5editview' },
1760 1761
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
1762 1763 1764 1765 1766 1767 1768 1769 1770
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1771
     * 树主状态
1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc84(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'treeview', parameterName: 'treeview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
1785 1786 1787 1788 1789 1790 1791 1792
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815
    /**
     * 实体树视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc91(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2treeview', parameterName: 'usr2treeview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1816
    /**
1817
     * 实体卡片导航视图
1818 1819 1820 1821
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1822
    public clickAppFunc58(item: any = {}) {
1823 1824 1825 1826
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1827 1828
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'dataviewexpview', parameterName: 'dataviewexpview' },
1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1840
     * 功能名称
1841 1842 1843 1844
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1845
    public clickAppFunc42(item: any = {}) {
1846 1847 1848 1849 1850
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1851
            { pathName: 'tabexpview', parameterName: 'tabexpview' },
1852 1853
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
1854 1855 1856 1857 1858 1859 1860 1861
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1862
    /**
1863
     * 数据选择视图
1864 1865 1866 1867
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1868
    public clickAppFunc64(item: any = {}) {
1869 1870 1871 1872
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1873 1874
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2editview', parameterName: 'usr2editview' },
1875 1876 1877 1878 1879 1880 1881 1882 1883 1884
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1885
    /**
1886
     * 图书列表视图(内置功能)
1887 1888 1889 1890
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1891
    public clickAppFunc11(item: any = {}) {
1892 1893 1894 1895 1896
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
1897
            { pathName: 'listview', parameterName: 'listview' },
1898 1899
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
1900 1901 1902 1903 1904 1905 1906 1907 1908
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1909
     * 图书实体向导视图
1910 1911 1912 1913
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1914
    public clickAppFunc49(item: any = {}) {
1915 1916 1917 1918
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1919 1920
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'wizardview', parameterName: 'wizardview' },
1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1932
     * 辅助输入提示
1933 1934 1935 1936
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1937
    public clickAuto129(item: any = {}) {
1938 1939 1940 1941
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1942 1943
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf7editview', parameterName: 'sf7editview' },
1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1955
     * 更新默认值
1956 1957 1958 1959
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1960
    public clickAppFunc23(item: any = {}) {
1961 1962 1963 1964
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1965 1966
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'usr2editview', parameterName: 'usr2editview' },
1967 1968 1969 1970 1971 1972 1973 1974 1975 1976
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999
    /**
     * 图书列表视图列表插件
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc65(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2listview', parameterName: 'usr2listview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2000
    /**
2001
     * 雷达图
2002 2003 2004 2005
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2006
    public clickAuto2(item: any = {}) {
2007 2008 2009 2010 2011
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2012
            { pathName: 'radarchartview', parameterName: 'radarchartview' },
2013 2014 2015 2016 2017 2018 2019 2020 2021 2022
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2023
    /**
2024
     * 禁用排序表格
2025 2026 2027 2028
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2029
    public clickAuto176(item: any = {}) {
2030 2031 2032 2033
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2034 2035
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf3gridview', parameterName: 'sf3gridview' },
2036 2037 2038 2039 2040 2041 2042 2043 2044 2045
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068
    /**
     * 表格(选项操作)
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc48(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr6gridview', parameterName: 'usr6gridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2069
    /**
2070
     * 区域图
2071 2072 2073 2074
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2075
    public clickAuto3(item: any = {}) {
2076 2077 2078 2079 2080
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2081
            { pathName: 'areachartview', parameterName: 'areachartview' },
2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2093
     * 图书实体表单(内置功能)
2094 2095 2096 2097
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2098
    public clickAppFunc31(item: any = {}) {
2099 2100 2101 2102
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2103
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
2104
            { pathName: 'interfunceditview', parameterName: 'interfunceditview' },
2105 2106 2107 2108 2109 2110 2111 2112 2113 2114
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2115
    /**
2116
     * 表单项输入提示
2117 2118 2119 2120
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2121
    public clickAuto279(item: any = {}) {
2122 2123 2124 2125
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2126 2127
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf2editview', parameterName: 'sf2editview' },
2128 2129 2130
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
2131 2132 2133 2134 2135 2136 2137 2138
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2139
     * 自定义视图
2140 2141 2142 2143
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2144
    public clickAppFunc22(item: any = {}) {
2145 2146 2147 2148
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2149 2150
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'customview', parameterName: 'customview' },
2151 2152 2153
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
2154 2155 2156 2157 2158 2159 2160
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2161
    /**
2162
     * 订单实体树导航
2163 2164 2165 2166
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2167
    public clickAppFunc57(item: any = {}) {
2168 2169 2170 2171 2172
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2173
            { pathName: 'treeexpview', parameterName: 'treeexpview' },
2174 2175 2176 2177 2178 2179 2180 2181 2182 2183
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2184
    /**
2185
     * 订单实体表格导航视图
2186 2187 2188 2189
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2190
    public clickAppFunc46(item: any = {}) {
2191 2192 2193 2194 2195
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2196
            { pathName: 'gridexpview', parameterName: 'gridexpview' },
2197 2198 2199 2200 2201 2202 2203 2204 2205 2206
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2207
    /**
2208
     * 实体数据视图
2209 2210 2211 2212
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2213
    public clickAppFunc14(item: any = {}) {
2214 2215 2216 2217
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2218
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
2219
            { pathName: 'dataview', parameterName: 'dataview' },
2220 2221 2222 2223 2224 2225 2226 2227 2228 2229
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2230
    /**
2231
     * 行编辑
2232 2233 2234 2235
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2236
    public clickAuto124(item: any = {}) {
2237 2238 2239 2240
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2241 2242
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf20gridview', parameterName: 'sf20gridview' },
2243 2244 2245 2246 2247 2248 2249 2250 2251 2252
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2253
    /**
2254
     * 订单实体数据看板视图
2255 2256 2257 2258
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2259
    public clickAppFunc50(item: any = {}) {
2260 2261 2262 2263
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2264 2265
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'dashboardview', parameterName: 'dashboardview' },
2266 2267 2268 2269 2270 2271 2272 2273 2274 2275
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2276
    /**
2277
     * 微组件实体编辑视图
2278 2279 2280 2281
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2282
    public clickAppFunc89(item: any = {}) {
2283 2284 2285 2286
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2287 2288
            { pathName: 'microcomponents', parameterName: 'microcomponent' },
            { pathName: 'editview', parameterName: 'editview' },
2289 2290 2291 2292 2293 2294 2295 2296 2297 2298
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2299
    /**
2300
     * 表格主状态
2301 2302 2303 2304
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2305
    public clickAppFunc79(item: any = {}) {
2306 2307 2308 2309
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2310 2311
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr9gridview', parameterName: 'usr9gridview' },
2312 2313 2314 2315 2316 2317 2318
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
2319 2320 2321 2322
        })
    }
    
    /**
2323
     * 任务临时模式
2324 2325 2326 2327
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2328
    public clickAppFunc95(item: any = {}) {
2329 2330 2331 2332
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2333 2334
            { pathName: 'ibiztasks', parameterName: 'ibiztask' },
            { pathName: 'usr2editview', parameterName: 'usr2editview' },
2335 2336 2337 2338 2339 2340 2341
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
2342 2343 2344
        })
    }
    
2345
    /**
2346
     * 功能名称
2347 2348 2349 2350
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2351
    public clickAppFunc36(item: any = {}) {
2352 2353 2354 2355
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2356 2357
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'meditview9', parameterName: 'meditview9' },
2358 2359
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
2360 2361 2362 2363 2364 2365 2366 2367
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2368
    /**
2369
     * 饼图
2370 2371 2372 2373
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2374
    public clickAuto320(item: any = {}) {
2375 2376 2377 2378
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2379
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2380
            { pathName: 'piechartview', parameterName: 'piechartview' },
2381
        ];
2382 2383 2384 2385 2386 2387 2388
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
2389 2390
    }
    
2391
    /**
2392
     * 动态显示
2393 2394 2395 2396
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2397
    public clickAuto155(item: any = {}) {
2398 2399 2400 2401
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2402 2403
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'f10editview', parameterName: 'f10editview' },
2404
        ];
2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
     * 图书实体卡片导航
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc96(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'dataviewexpview', parameterName: 'dataviewexpview' },
        ];
2428 2429 2430 2431 2432 2433 2434 2435 2436
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2437
    /**
2438
     * 表单项自动填充
2439 2440 2441 2442
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2443
    public clickAuto371(item: any = {}) {
2444 2445 2446 2447
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2448
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2449
            { pathName: 'sf3editview', parameterName: 'sf3editview' },
2450 2451 2452 2453 2454 2455 2456 2457 2458 2459
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2460
    /**
2461
     * 折线图
2462 2463 2464 2465
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2466
    public clickAuto387(item: any = {}) {
2467 2468 2469 2470
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2471
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2472
            { pathName: 'linechartview', parameterName: 'linechartview' },
2473 2474 2475 2476 2477 2478 2479 2480 2481 2482
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2483
    /**
2484
     * 实体日历导航视图
2485 2486 2487 2488
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2489
    public clickAppFunc59(item: any = {}) {
2490 2491 2492 2493
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2494 2495
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'calendarexpview', parameterName: 'calendarexpview' },
2496 2497 2498 2499 2500 2501 2502 2503 2504 2505
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2506
    /**
2507
     * 索引实体
2508 2509 2510 2511
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2512
    public clickAuto296(item: any = {}) {
2513 2514 2515 2516
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2517 2518
            { pathName: 'ibizuniproducts', parameterName: 'ibizuniproduct' },
            { pathName: 'sgridview', parameterName: 'sgridview' },
2519 2520 2521 2522 2523 2524 2525 2526 2527 2528
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2529
    /**
2530
     * 前端界面行为
2531 2532 2533 2534
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2535
    public clickAuto67(item: any = {}) {
2536 2537 2538 2539
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2540
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2541
            { pathName: 'sf5gridview', parameterName: 'sf5gridview' },
2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2553
     * 功能名称
2554 2555 2556 2557
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2558
    public clickAppFunc8(item: any = {}) {
2559 2560 2561 2562
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2563 2564
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr3gridview', parameterName: 'usr3gridview' },
2565 2566 2567 2568 2569 2570 2571 2572 2573 2574
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597
    /**
     * 图书实体数据视图(自定义插件)
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc71(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr5dataview', parameterName: 'usr5dataview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2598
    /**
2599
     * 搜索表单
2600 2601 2602 2603
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2604
    public clickAuto173(item: any = {}) {
2605 2606 2607 2608
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2609 2610
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf1gridview', parameterName: 'sf1gridview' },
2611
        ];
2612 2613 2614 2615 2616 2617 2618 2619 2620 2621
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2622
     * 实体多表单编辑视图
2623 2624 2625 2626
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2627
    public clickAppFunc43(item: any = {}) {
2628 2629 2630 2631
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2632 2633
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2meditview9', parameterName: 'usr2meditview9' },
2634
        ];
2635 2636 2637 2638 2639 2640 2641 2642 2643 2644
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2645
     * 工作流启动
2646 2647 2648 2649
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2650
    public clickAppFunc86(item: any = {}) {
2651 2652 2653 2654
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2655 2656
            { pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
            { pathName: 'gridview', parameterName: 'gridview' },
2657 2658 2659 2660 2661 2662 2663 2664 2665 2666
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2667
    /**
2668
     * 后台界面行为
2669 2670 2671 2672
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2673
    public clickAuto39(item: any = {}) {
2674 2675 2676 2677
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2678 2679
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf6gridview', parameterName: 'sf6gridview' },
2680 2681 2682 2683 2684 2685 2686 2687 2688 2689
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712
    /**
     * 图书实体表单嵌入卡片视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc97(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr4editview', parameterName: 'usr4editview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2713
    /**
2714
     * 应用门户视图
2715 2716 2717 2718
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2719
    public clickAppFunc66(item: any = {}) {
2720 2721 2722 2723
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2724
            { pathName: 'appportalview', parameterName: 'appportalview' },
2725
        ];
2726
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
2727 2728 2729 2730 2731 2732 2733 2734
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2735
    /**
2736
     * 图书表格视图-更新默认值
2737 2738 2739 2740
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2741
    public clickAppFunc5(item: any = {}) {
2742 2743 2744 2745
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2746
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
2747
            { pathName: 'updatedefaultgridview', parameterName: 'updatedefaultgridview' },
2748 2749 2750 2751 2752 2753 2754 2755 2756 2757
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2758
    /**
2759
     * 基础表单项
2760 2761 2762 2763
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2764
    public clickAuto393(item: any = {}) {
2765 2766 2767 2768
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2769 2770
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'sf2editview', parameterName: 'sf2editview' },
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803
    /**
     * 实体工作流动态导航表格视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc85(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
            { pathName: 'wfdynaexpgridview', parameterName: 'wfdynaexpgridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822
    /**
     * 表格列更新
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc54(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr7gridview', parameterName: 'usr7gridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
2823 2824 2825 2826
            this.$router.push(path);
        })
    }
    
2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849
    /**
     * 数据视图主状态
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc81(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr6dataview', parameterName: 'usr6dataview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868
    /**
     * 列表主状态
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc80(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr3listview', parameterName: 'usr3listview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
2869 2870 2871 2872
            this.$router.push(path);
        })
    }
    
2873
    /**
2874
     * 右键操作
2875 2876 2877 2878
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2879
    public clickAuto235(item: any = {}) {
2880 2881 2882 2883
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2884 2885
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'f4treeexpview', parameterName: 'f4treeexpview' },
2886 2887
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
2888 2889 2890 2891 2892 2893 2894 2895
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2896
    /**
2897
     * 功能名称
2898 2899 2900 2901
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2902
    public clickAppFunc21(item: any = {}) {
2903 2904 2905 2906
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2907 2908
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2calendarview', parameterName: 'usr2calendarview' },
2909 2910 2911 2912 2913 2914 2915 2916 2917 2918
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2919
    /**
2920
     * 功能名称
2921 2922 2923 2924
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2925
    public clickAppFunc60(item: any = {}) {
2926 2927 2928 2929
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2930 2931
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'usr2calendarexpview', parameterName: 'usr2calendarexpview' },
2932 2933 2934 2935 2936 2937 2938 2939 2940 2941
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2942
    /**
2943
     * 编辑器扩展
2944 2945 2946 2947
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2948
    public clickAppFunc(item: any = {}) {
2949 2950 2951 2952
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2953 2954
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'sf6editview', parameterName: 'sf6editview' },
2955 2956 2957 2958 2959 2960 2961 2962 2963 2964
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2965
    /**
2966
     * 图书表格视图-新建默认值
2967 2968 2969 2970
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2971
    public clickAppFunc4(item: any = {}) {
2972 2973 2974 2975
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2976 2977
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'newdefaultvaluegridview', parameterName: 'newdefaultvaluegridview' },
2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2989
     * 分页关系编辑
2990 2991 2992 2993
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2994
    public clickAuto337(item: any = {}) {
2995 2996 2997 2998
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2999 3000
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'seditview3', parameterName: 'seditview3' },
3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3012
     * 图书实体(表单值规则)
3013 3014 3015 3016
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3017
    public clickAppFunc32(item: any = {}) {
3018 3019 3020 3021
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3022
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
3023
            { pathName: 'ruleseditview', parameterName: 'ruleseditview' },
3024
        ];
3025 3026 3027 3028 3029 3030 3031 3032 3033 3034
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3035
     * 图书列表(自动分组)
3036 3037 3038 3039
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3040
    public clickAppFunc12(item: any = {}) {
3041 3042 3043 3044 3045
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
3046
            { pathName: 'autogrouplistview', parameterName: 'autogrouplistview' },
3047
        ];
3048
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3049 3050 3051 3052 3053 3054 3055 3056 3057
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3058
     * 属性类型
3059 3060 3061 3062
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3063
    public clickAuto338(item: any = {}) {
3064 3065 3066 3067
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3068 3069
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'sf4editview', parameterName: 'sf4editview' },
3070 3071
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3072 3073 3074 3075 3076 3077 3078 3079
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3080
    /**
3081
     * 表格内置功能
3082 3083 3084 3085
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3086
    public clickAppFunc2(item: any = {}) {
3087 3088 3089 3090
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3091 3092
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'internalfuncgridview', parameterName: 'internalfuncgridview' },
3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3104
     * 功能名称
3105 3106 3107 3108
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3109
    public clickAppFunc10(item: any = {}) {
3110 3111 3112 3113
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3114 3115
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr5gridview', parameterName: 'usr5gridview' },
3116 3117
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3118 3119 3120 3121 3122 3123 3124 3125
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148
    /**
     * 实体数据看板视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc45(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'dashboardview', parameterName: 'dashboardview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3149
    /**
3150
     * 图书列表(嵌入面板)
3151 3152 3153 3154
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3155
    public clickAppFunc17(item: any = {}) {
3156 3157 3158 3159 3160
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
3161
            { pathName: 'haspanellistview', parameterName: 'haspanellistview' },
3162 3163 3164 3165 3166 3167 3168 3169 3170
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
3171 3172 3173 3174 3175 3176 3177 3178 3179
    /**
     * 执行JavaScript
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc78(item: any = {}){
        alert("应用功能-执行JavaScript展示");
    }
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190
    /**
     * 打开Vue官网
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc75(item: any = {}){
       const localdata: any = this.$store.getters.getLocalData();
       const url = `https://cn.vuejs.org/index.html`;
       window.open(url, '_blank');
    }
3191
    
3192
    /**
3193
     * 表单项超链接
3194 3195 3196 3197
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3198
    public clickAuto111(item: any = {}) {
3199 3200 3201 3202 3203
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
3204
            { pathName: 'sf4editview', parameterName: 'sf4editview' },
3205 3206
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3207 3208 3209 3210 3211 3212 3213 3214
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237
    /**
     * 订单实体列表导航
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc56(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'listexpview', parameterName: 'listexpview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260
    /**
     * 常规表格视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAuto299(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sgridview', parameterName: 'sgridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3261
    /**
3262
     * 功能名称
3263 3264 3265 3266
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3267
    public clickAppFunc9(item: any = {}) {
3268 3269 3270 3271
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3272 3273
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr4gridview', parameterName: 'usr4gridview' },
3274 3275
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3276 3277 3278 3279 3280 3281 3282 3283 3284
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3285
     * 动态节点代码表
3286 3287 3288 3289
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3290
    public clickAuto66(item: any = {}) {
3291 3292 3293 3294
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3295 3296
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'f2treeexpview', parameterName: 'f2treeexpview' },
3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }

    /**
     * 数据加载
     *
     * @param {*} data
     * @memberof MainMenuBase
     */
    public load(data: any) {
        this.handleMenusResource(this.menuMode.getAppMenuItems());
    }

    /**
     * 通过统一资源标识计算菜单
     *
     * @param {*} data
     * @memberof MainMenuBase
     */
    public handleMenusResource(inputMenus:Array<any>){
        if(this.$store.getters['authresource/getEnablePermissionValid']){
            this.computedEffectiveMenus(inputMenus);
            this.computeParentMenus(inputMenus);
        }
        this.dataProcess(inputMenus);
        this.menus = inputMenus;
3330
        this.doMenuSelect();
3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415
    }

    /**
     * 计算有效菜单项
     *
     * @param {*} inputMenus
     * @memberof MainMenuBase
     */
    public computedEffectiveMenus(inputMenus:Array<any>){
        inputMenus.forEach((_item:any) =>{
            if(!this.authService.getMenusPermission(_item)){
                _item.hidden = true;
                if (_item.items && _item.items.length > 0) {
                    this.computedEffectiveMenus(_item.items);
                }
            }
        })
    }

    /**
     * 计算父项菜单项是否隐藏
     *
     * @param {*} inputMenus
     * @memberof MainMenuBase
     */
    public computeParentMenus(inputMenus:Array<any>){
        if(inputMenus && inputMenus.length >0){
            inputMenus.forEach((item:any) =>{
                if(item.hidden && item.items && item.items.length >0){
                    item.items.map((singleItem:any) =>{
                        if(!singleItem.hidden){
                            item.hidden = false;
                        }else{
                            if(singleItem.items && singleItem.items.length >0){
                                singleItem.items.map((grandsonItem:any) =>{
                                    if(!grandsonItem.hidden){
                                        item.hidden = false;
                                    }
                                })
                            }
                        }
                        if(item.items && item.items.length >0){
                            this.computeParentMenus(item.items);
                        }
                    })
                }
            })
        }
    }

    /**
     * 数据处理
     *
     * @public
     * @param {any[]} items
     * @memberof MainMenuBase
     */
    public dataProcess(items: any[]): void {
        items.forEach((_item: any) => {
            if (_item.expanded) {
                this.defaultOpeneds.push(_item.name);
            }
            if (_item.items && _item.items.length > 0) {
                this.dataProcess(_item.items)
            }
        });
    }

    /**
     * 提示框主题样式
     *
     * @readonly
     * @type {string}
     * @memberof MainMenuBase
     */
    get popperClass(): string {
        return 'app-popper-menu ' + this.selectTheme;
    }
    
}
</script>

<style lang='less'>
@import './main-menu-appmenu.less';
</style>