main-menu-appmenu-base.vue 107.5 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 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

    /**
     * 视图状态事件
     *
     * @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();
        }
    }


    /**
     * 获取菜单项数据
     *
     * @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 {
    }

    /**
     * 菜单项选中处理
     *
     * @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 'Auto308': 
                    this.clickAuto308(item);
                    return;
521 522 523
                case 'AppFunc33': 
                    this.clickAppFunc33(item);
                    return;
524 525 526
                case 'Auto81': 
                    this.clickAuto81(item);
                    return;
527 528 529
                case 'AppFunc6': 
                    this.clickAppFunc6(item);
                    return;
530 531 532
                case 'AppFunc29': 
                    this.clickAppFunc29(item);
                    return;
533 534
                case 'Auto262': 
                    this.clickAuto262(item);
535
                    return;
536 537
                case 'AppFunc51': 
                    this.clickAppFunc51(item);
538
                    return;
539 540 541
                case 'Auto25': 
                    this.clickAuto25(item);
                    return;
542 543
                case 'AppFunc26': 
                    this.clickAppFunc26(item);
544
                    return;
545 546 547
                case 'Auto96': 
                    this.clickAuto96(item);
                    return;
548 549
                case 'Auto384': 
                    this.clickAuto384(item);
550
                    return;
551 552
                case 'Auto126': 
                    this.clickAuto126(item);
553
                    return;
554 555 556
                case 'AppFunc7': 
                    this.clickAppFunc7(item);
                    return;
557 558
                case 'Auto213': 
                    this.clickAuto213(item);
559
                    return;
560 561 562
                case 'AppFunc55': 
                    this.clickAppFunc55(item);
                    return;
563 564 565
                case 'Auto151': 
                    this.clickAuto151(item);
                    return;
566 567 568
                case 'AppFunc15': 
                    this.clickAppFunc15(item);
                    return;
569 570
                case 'Auto258': 
                    this.clickAuto258(item);
571
                    return;
572 573 574
                case 'Auto114': 
                    this.clickAuto114(item);
                    return;
575 576 577
                case 'AppFunc27': 
                    this.clickAppFunc27(item);
                    return;
578 579 580
                case 'Auto29': 
                    this.clickAuto29(item);
                    return;
581 582 583
                case 'AppFunc20': 
                    this.clickAppFunc20(item);
                    return;
584 585 586
                case 'AppFunc25': 
                    this.clickAppFunc25(item);
                    return;
587 588 589 590 591 592 593 594 595
                case 'Auto286': 
                    this.clickAuto286(item);
                    return;
                case 'Auto375': 
                    this.clickAuto375(item);
                    return;
                case 'Auto106': 
                    this.clickAuto106(item);
                    return;
596 597 598
                case 'Auto402': 
                    this.clickAuto402(item);
                    return;
599 600 601
                case 'Auto406': 
                    this.clickAuto406(item);
                    return;
602 603 604
                case 'AppFunc13': 
                    this.clickAppFunc13(item);
                    return;
605 606 607
                case 'AppFunc41': 
                    this.clickAppFunc41(item);
                    return;
608 609 610
                case 'AppFunc16': 
                    this.clickAppFunc16(item);
                    return;
611 612 613
                case 'Auto319': 
                    this.clickAuto319(item);
                    return;
614 615
                case 'AppFunc3': 
                    this.clickAppFunc3(item);
616
                    return;
617 618 619
                case 'AppFunc19': 
                    this.clickAppFunc19(item);
                    return;
620 621 622 623 624 625
                case 'Auto408': 
                    this.clickAuto408(item);
                    return;
                case 'Auto222': 
                    this.clickAuto222(item);
                    return;
626 627 628
                case 'AppFunc58': 
                    this.clickAppFunc58(item);
                    return;
629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655
                case 'Auto145': 
                    this.clickAuto145(item);
                    return;
                case 'AppFunc42': 
                    this.clickAppFunc42(item);
                    return;
                case 'AppFunc11': 
                    this.clickAppFunc11(item);
                    return;
                case 'AppFunc49': 
                    this.clickAppFunc49(item);
                    return;
                case 'Auto129': 
                    this.clickAuto129(item);
                    return;
                case 'AppFunc23': 
                    this.clickAppFunc23(item);
                    return;
                case 'Auto116': 
                    this.clickAuto116(item);
                    return;
                case 'Auto2': 
                    this.clickAuto2(item);
                    return;
                case 'Auto176': 
                    this.clickAuto176(item);
                    return;
656 657 658
                case 'AppFunc24': 
                    this.clickAppFunc24(item);
                    return;
659 660 661
                case 'AppFunc48': 
                    this.clickAppFunc48(item);
                    return;
662 663 664 665 666 667 668 669 670 671 672 673 674 675 676
                case 'Auto3': 
                    this.clickAuto3(item);
                    return;
                case 'Auto279': 
                    this.clickAuto279(item);
                    return;
                case 'AppFunc31': 
                    this.clickAppFunc31(item);
                    return;
                case 'AppFunc22': 
                    this.clickAppFunc22(item);
                    return;
                case 'AppFunc46': 
                    this.clickAppFunc46(item);
                    return;
677 678 679
                case 'AppFunc57': 
                    this.clickAppFunc57(item);
                    return;
680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715
                case 'AppFunc44': 
                    this.clickAppFunc44(item);
                    return;
                case 'AppFunc14': 
                    this.clickAppFunc14(item);
                    return;
                case 'Auto124': 
                    this.clickAuto124(item);
                    return;
                case 'Auto97': 
                    this.clickAuto97(item);
                    return;
                case 'AppFunc50': 
                    this.clickAppFunc50(item);
                    return;
                case 'AppFunc18': 
                    this.clickAppFunc18(item);
                    return;
                case 'Auto320': 
                    this.clickAuto320(item);
                    return;
                case 'AppFunc36': 
                    this.clickAppFunc36(item);
                    return;
                case 'Auto415': 
                    this.clickAuto415(item);
                    return;
                case 'Auto155': 
                    this.clickAuto155(item);
                    return;
                case 'Auto387': 
                    this.clickAuto387(item);
                    return;
                case 'Auto371': 
                    this.clickAuto371(item);
                    return;
716 717 718
                case 'AppFunc59': 
                    this.clickAppFunc59(item);
                    return;
719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742
                case 'Auto296': 
                    this.clickAuto296(item);
                    return;
                case 'Auto67': 
                    this.clickAuto67(item);
                    return;
                case 'AppFunc8': 
                    this.clickAppFunc8(item);
                    return;
                case 'Auto173': 
                    this.clickAuto173(item);
                    return;
                case 'AppFunc43': 
                    this.clickAppFunc43(item);
                    return;
                case 'Auto39': 
                    this.clickAuto39(item);
                    return;
                case 'Auto185': 
                    this.clickAuto185(item);
                    return;
                case 'Auto243': 
                    this.clickAuto243(item);
                    return;
743 744 745
                case 'AppFunc30': 
                    this.clickAppFunc30(item);
                    return;
746 747 748 749 750
                case 'AppFunc5': 
                    this.clickAppFunc5(item);
                    return;
                case 'Auto393': 
                    this.clickAuto393(item);
751
                    return;
752 753 754
                case 'AppFunc54': 
                    this.clickAppFunc54(item);
                    return;
755 756 757
                case 'AppFunc47': 
                    this.clickAppFunc47(item);
                    return;
758 759 760
                case 'Auto235': 
                    this.clickAuto235(item);
                    return;
761 762 763
                case 'AppFunc21': 
                    this.clickAppFunc21(item);
                    return;
764 765 766
                case 'Auto146': 
                    this.clickAuto146(item);
                    return;
767 768 769
                case 'AppFunc': 
                    this.clickAppFunc(item);
                    return;
770 771 772
                case 'AppFunc60': 
                    this.clickAppFunc60(item);
                    return;
773 774 775 776 777 778
                case 'Auto233': 
                    this.clickAuto233(item);
                    return;
                case 'Auto85': 
                    this.clickAuto85(item);
                    return;
779 780 781
                case 'AppFunc4': 
                    this.clickAppFunc4(item);
                    return;
782 783 784
                case 'Auto337': 
                    this.clickAuto337(item);
                    return;
785 786
                case 'AppFunc12': 
                    this.clickAppFunc12(item);
787
                    return;
788 789 790
                case 'AppFunc32': 
                    this.clickAppFunc32(item);
                    return;
791 792 793 794 795 796
                case 'Auto338': 
                    this.clickAuto338(item);
                    return;
                case 'Auto56': 
                    this.clickAuto56(item);
                    return;
797 798 799
                case 'AppFunc28': 
                    this.clickAppFunc28(item);
                    return;
800 801 802
                case 'Auto298': 
                    this.clickAuto298(item);
                    return;
803 804 805
                case 'AppFunc2': 
                    this.clickAppFunc2(item);
                    return;
806 807 808
                case 'AppFunc10': 
                    this.clickAppFunc10(item);
                    return;
809 810
                case 'AppFunc34': 
                    this.clickAppFunc34(item);
811
                    return;
812 813 814
                case 'AppFunc17': 
                    this.clickAppFunc17(item);
                    return;
815 816 817
                case 'Auto111': 
                    this.clickAuto111(item);
                    return;
818 819 820
                case 'AppFunc56': 
                    this.clickAppFunc56(item);
                    return;
821 822
                case 'Auto66': 
                    this.clickAuto66(item);
823
                    return;
824 825 826
                case 'AppFunc9': 
                    this.clickAppFunc9(item);
                    return;
827 828 829 830 831 832 833
                default:
                    console.warn('未指定应用功能');
            }
        }
    }

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

    /**
     * 计算有效菜单项
     *
     * @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>