产品咨询单 “营业跟进”、“服务跟进”、“不需要”页面调整
| | |
| | | /* |
| | | * @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'; |
| | |
| | | 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") |
| | |
| | | /* |
| | | * @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'; |
| | |
| | | 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") |
| | |
| | | /* |
| | | * @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'; |
| | |
| | | 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") |