zhangchunxu
2023-08-02 87d855494227ac4727467be864c4756820a51dc3
产品咨询单 “营业跟进”、“服务跟进”、“不需要”页面调整
3个文件已修改
27 ■■■■ 已修改文件
force-app/main/default/lwc/lexInquiryFormCustomLink2/lexInquiryFormCustomLink2.js 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/lwc/lexInquiryFormNoStatus/lexInquiryFormNoStatus.js 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/lwc/lexInquiryFormServiceFollow/lexInquiryFormServiceFollow.js 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/lwc/lexInquiryFormCustomLink2/lexInquiryFormCustomLink2.js
@@ -1,3 +1,10 @@
/*
 * @Author: zhangchunxu
 * @Date: 2023-05-24 15:30:48
 * @LastEditors: zhangchunxu
 * @LastEditTime: 2023-08-02 10:06:48
 *
 */
import { LightningElement,wire,track,api} from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
import { CloseActionScreenEvent } from 'lightning/actions';
@@ -31,7 +38,7 @@
    CustomLink2(){
        if(this.Status != '04.已建意向'){
        window.open ('/apex/FollowPage?id='+this.recordId, '不需要的理由',
        'height=400, width=800, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
        'height=400, width=890, top=200, left=230, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
        }else {
        // alert('已经有意向了,不能执行此操作。');
        this.showToast("已经有意向了,不能执行此操作。","error")
force-app/main/default/lwc/lexInquiryFormNoStatus/lexInquiryFormNoStatus.js
@@ -1,3 +1,10 @@
/*
 * @Author: zhangchunxu
 * @Date: 2023-05-24 17:26:09
 * @LastEditors: zhangchunxu
 * @LastEditTime: 2023-08-02 10:28:57
 *
 */
import { LightningElement,wire,track,api} from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
import { CloseActionScreenEvent } from 'lightning/actions';
@@ -33,7 +40,7 @@
    NoStatus(){
        if(this.Status != '04.已建意向'){
            window.open ('/apex/StatusPage?id='+this.recordId , '不需要的理由',
    'height=400, width=790, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
    'height=400, width=890, top=200, left=230, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
        }else {
        // alert('已经有意向了,不能执行此操作。');
        this.showToast("已经有意向了,不能执行此操作。","error")
force-app/main/default/lwc/lexInquiryFormServiceFollow/lexInquiryFormServiceFollow.js
@@ -1,3 +1,10 @@
/*
 * @Author: zhangchunxu
 * @Date: 2023-05-29 10:16:02
 * @LastEditors: zhangchunxu
 * @LastEditTime: 2023-08-02 10:27:43
 *
 */
import { LightningElement,wire,track,api} from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
import { CloseActionScreenEvent } from 'lightning/actions';
@@ -37,7 +44,7 @@
    ServiceFollow (){
        if(null != this.FSEOwnerId && (this.FSEOwnerId== this.userId || this.userId == this.JINGZHUOJISHU)){
            window.open ('/apex/ServiceFollowPage?id='+this.recordId, '服务跟进',
            'height=400, width=800, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
            'height=400, width=890, top=200, left=230, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
        }else{
            // alert("此按钮只有FSE可以点击!");
            this.showToast("此按钮只有FSE可以点击!","error")