binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
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
import { LightningElement, track } from 'lwc';
 
export default class LexTestWinOpenChild extends LightningElement {
    
    @track currDateTime;
 
    @track
    IsLoading = false;
    OnLoading(flag) {
        this.IsLoading = flag;
    }
 
    connectedCallback() {
        this.OnLoading(false);
        this.currDateTime = (new Date()).getTime();
 
    }
 
    savebuttonClick() {
        //https://olympus--stagefull.sandbox.lightning.sfcrmapps.cn/lightning/n/lexNewQuoteEntry#Id=0Q0C60000001PagKAE
        //window.open('/lightning/n/Test_Win_Open_Child%23Id=' + '0Q0C60000001PnZKAU','_self');
 
        ///lightning/n/lexNewQuoteEntry#Id=0Q0C60000001PkLKAU
        //window.open('/lightning/n/lexNewQuoteEntry#Id=' + '0Q0C60000001PkLKAU','_self');
 
 
        window.location.href = '/lightning/n/Test_Win_Open_Child#Id=' + '123';
    }
}