liangxiaozhen
2023-08-06 7454e4fe769b5148309b8a932fbf2bc03b41b376
force-app/main/default/lwc/lexQISSC/lexQISSC.js
@@ -51,6 +51,7 @@
            console.log('qISSCReport='+this.qISSCReport);
            console.log('nextaction='+this.nextaction);
            console.log('qISMarketCategory='+this.qISMarketCategory);
            console.log('qISSCId='+this.qISSCId);
            if (this.profileName == '2F4_技术推进部' || this.profileName == '2F4_技术推进部_OSH 非单点') {
               const evt = new ShowToastEvent({
                            title : '您没有新建QIS市场部权限。',
@@ -77,12 +78,13 @@
                        this.dispatchEvent(new CloseActionScreenEvent());
                        return;
               }else{
                    console.log('触发');
                  const evt = new ShowToastEvent({
                            title : '对应方法为返回且对应主机/消耗品为ET 或 ENG 或 EndoRapid 时,才可以新建。',
                            message: '',
                            variant: 'error'
                        });
                        this.dispatchEvent(evt);
                        this.dispatchEvent(new CloseActionScreenEvent());
                        return;
               }