19626
2023-05-31 5ce27d69c427ca16f37ff16d53758d0e877a88f9
force-app/main/default/lwc/lexSubmitCompetitorReport/lexSubmitCompetitorReport.js
@@ -4,7 +4,7 @@
 * @Author: chen jing wu
 * @Date: 2023-04-07 09:02:03
 * @LastEditors: chen jing wu
 * @LastEditTime: 2023-04-11 09:11:11
 * @LastEditTime: 2023-04-11 11:28:51
 */
import { LightningElement,wire,track,api} from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
@@ -61,9 +61,13 @@
      otherButtonInSubmitCompetitorReport({
        recordId: this.recordId
    }).then(result=>{
      this.showToast("提交对手竞争报告成功","success")
      this.updateRecordView(this.recordId);
      this.IsLoading = false;
      if(result){
        this.showToast(result,"error");
      }else{
        this.showToast("提交对手竞争报告成功","success")
        this.updateRecordView(this.recordId);
      }
      this.IsLoading = false;
      this.dispatchEvent(new CloseActionScreenEvent());
    });
    }