From 5d1cb2d71659c3d6ab85378f6f7b4346b50a8554 Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期五, 24 五月 2024 14:47:29 +0800
Subject: [PATCH] 1

---
 force-app/main/default/lwc/lexNewSolutonProLwc/lexNewSolutonProLwc.js |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/lwc/lexNewSolutonProLwc/lexNewSolutonProLwc.js b/force-app/main/default/lwc/lexNewSolutonProLwc/lexNewSolutonProLwc.js
index 9b22f13..2d6fe4d 100644
--- a/force-app/main/default/lwc/lexNewSolutonProLwc/lexNewSolutonProLwc.js
+++ b/force-app/main/default/lwc/lexNewSolutonProLwc/lexNewSolutonProLwc.js
@@ -1,3 +1,11 @@
+/*
+ * @Description: 
+ * @version: 
+ * @Author: chen jing wu
+ * @Date: 2023-08-24 15:52:32
+ * @LastEditors: chen jing wu
+ * @LastEditTime: 2023-09-14 16:36:52
+ */
 import { api, wire,LightningElement } from 'lwc';
 import { CurrentPageReference } from "lightning/navigation";
 import { CloseActionScreenEvent } from 'lightning/actions';
@@ -13,7 +21,8 @@
 import SolutionXNLabel from '@salesforce/label/c.Solution_XN';
 import SolutionHDLabel from '@salesforce/label/c.Solution_HD';
 import SolutionHNLabel from '@salesforce/label/c.Solution_HN';
-
+import lwcCSS from '@salesforce/resourceUrl/lwcCSS';
+import {loadStyle} from 'lightning/platformResourceLoader';
 export default class LexNewSolutonProLwc extends NavigationMixin(LightningElement) {
     @api accountId;
     hospitalSalesdepartmentHP;
@@ -36,6 +45,9 @@
         }
     }
     connectedCallback(){
+        Promise.all([
+            loadStyle(this, lwcCSS)
+           ]);
         init({
             recordId: this.accountId
         }).then(result=>{
@@ -64,6 +76,7 @@
             this.salesAssistant = '';
         }
         const defaultValues = encodeDefaultFieldValues({
+            Name: '*',
             Hospital__c: this.hospitalId == undefined ? '' : this.hospitalId,
             Department_Class__c: this.accountId == undefined ? '' : this.accountId,
             Sales_Assistant__c: this.salesAssistant == undefined ? '' : this.salesAssistant

--
Gitblit v1.9.1