From 1ad04f46ba732245468a3ab389f6b61149f8e2bd Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期四, 06 七月 2023 11:44:05 +0800
Subject: [PATCH] 备品配套明细管理

---
 force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.css         |   22 +++++++++++
 force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js-meta.xml |   17 ++++++++
 force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js          |    9 ++++
 force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.html        |   13 ++++++
 4 files changed, 61 insertions(+), 0 deletions(-)

diff --git a/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.css b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.css
new file mode 100644
index 0000000..95c1c55
--- /dev/null
+++ b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.css
@@ -0,0 +1,22 @@
+.holder{
+	position: relative;
+	display: inline-block;
+	width: 80px;
+	height: 80px;
+	text-align: center;
+}
+
+.container .uiContainerManager{
+	display : none !important;
+}
+.toast{
+	border: 1px solid #c9c9c9;
+	border-radius: 10px; 
+	width: 50%;
+	margin: 0 auto;
+	font-size: 18px;
+	font-weight: bold;
+	padding: 10px 20px;
+	background: #feb75d;
+	display: flex;
+}
\ No newline at end of file
diff --git a/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.html b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.html
new file mode 100644
index 0000000..7063605
--- /dev/null
+++ b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.html
@@ -0,0 +1,13 @@
+<template>
+  <div class="holder" if:true={IsLoading}>
+      <lightning-spinner alternative-text="Loading" size="medium"></lightning-spinner>
+  </div>
+  <div if:false={IsLoading} class="toast">
+    <span style="padding: 10px;">{msg}</span>
+    <button class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse" onclick={closeAction} title="Close" style="background-color: #e5e4e2;margin-top: 15px;">
+                <lightning-icon class="greyIcon" icon-name="utility:close" alternative-text="Connected" variant="inverse" size="small"
+                    title="Close"  style="color: black;"></lightning-icon>
+              <span class="slds-assistive-text">Close</span>
+        </button>
+  </div>
+</template>
\ No newline at end of file
diff --git a/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js
new file mode 100644
index 0000000..d0129fc
--- /dev/null
+++ b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js
@@ -0,0 +1,9 @@
+import { LightningElement, track, wire, api } from 'lwc';
+
+export default class lexFixtureSetManage extends LightningElement {
+	@api recordId;
+
+	connectedCallback(){
+		window.open("/apex/FixtureSetManage?pt_recid=" + this.recordId, "_top");
+	}
+}
\ No newline at end of file
diff --git a/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js-meta.xml b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js-meta.xml
new file mode 100644
index 0000000..e607891
--- /dev/null
+++ b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js-meta.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="lexFixtureSetManage">
+    <apiVersion>51.0</apiVersion>
+    <isExposed>true</isExposed>
+    <targets>
+        <target>lightning__AppPage</target>
+        <target>lightning__RecordPage</target>
+        <target>lightning__HomePage</target>
+        <target>lightning__RecordAction</target>
+        <target>lightning__FlowScreen</target>
+    </targets>
+    <targetConfigs>
+        <targetConfig targets="lightning__FlowScreen">
+            <property name="recordId" type="String" label="recordId"/>
+        </targetConfig>
+    </targetConfigs>
+</LightningComponentBundle>
\ No newline at end of file

--
Gitblit v1.9.1