binxie
2024-01-18 b1d36ea3e6653e59bd767aa192c688ee0d9d4c58
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<template >
    <template  if:true={shouldRender}>
    <div>
    <apex:outputPanel id="all">
        <form id="mainForm">
            <apex:pageBlock id="idSearchSetProduct" title="保有设备查找">
                <table width="900" border="0" style="background-color:#FFFFFF">
                    <colgroup>
                        <col width="20" />
                        <col width="90" />
                        <col width="200" />
                        <col width="10" />
                        <col width="90" />
                        <col width="200" />
                        <col width="10" />
                        <col width="90" />
                        <col width="200" />
                        <col width="80" />
 
                    </colgroup>
 
                    <tr>
                        <td>&nbsp;</td>
                        <th style="vertical-align: bottom; font-size:15px;padding-bottom: 5px;">机身编码:</th>
                        <td >
                            <div style="align-items: center; justify-content: center;"><lightning-input value={SearchSN} data-target="SearchSN" onchange={getInput3} ></lightning-input></div>
                        </td>
                        <td>&nbsp;</td>
                        <th style="vertical-align: bottom;font-size:15px;padding-bottom: 5px;">设备型号:</th>
                        <td style="align-items: center; justify-content: center;"> <div style="align-items: center; justify-content: center;"><lightning-input value={SearchNo} data-target="SearchNo" onchange={getInput1} ></lightning-input></div>
                        </td>
                        <td>&nbsp;</td>
                        <th style="vertical-align: bottom; font-size:15px;padding-bottom: 5px;">医院名称:</th>
                         <td style="align-items: center; justify-content: center;"><div style="align-items: center; justify-content: center;"><lightning-input value={SearchName} data-target="SearchName" onchange={getInput2}></lightning-input></div>
                        </td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                   
                </table>
                <table width="900" border="0" style="background-color:#FFFFFF;">
                         <colgroup>
                            <col width="20" />
                            <col width="170" />
                            <col width="70" />
                            <col width="100" />
                            <col width="200" />
                            <col width="100" />
                            <col width="160" />
                            <col width="40" />
                            <col width="30" />
                            <col width="30" />
                        </colgroup>
                        <tr>
                            <td>&nbsp;</td>
                            <td style="vertical-align: bottom;"><lightning-button label="保有设备搜索" onclick={serContact}></lightning-button></td>
                            <td style="vertical-align: bottom;"><lightning-button label="清空" onclick={SelectNone}></lightning-button></td>
                            <td style="vertical-align: bottom;"><lightning-button label="确定" onclick={SelectDone}></lightning-button></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            </tr>
                             <tr>
                            <td style="" colspan="15">&nbsp;</td>
                        </tr>
                </table>
                <table width="900" border="0" style="background-color:#FFFFFF;width:933px;margin-left:8px;">
                    <!-- <col width="10" /> -->
                    <col width="130" />
                    <col width="70" />
                    <tr style='background-color: #08107b;line-height: 40px;padding-left: 10px;'>
                        <!-- <td>&nbsp;</td> -->
                        <td> <h2 style="font-weight: bold; font-size: 18px;color:white;padding-left: 10px;">保有设备查找</h2></td>
                        <td>&nbsp;</td>
                    </tr>
                </table>
                <!-- <div style="width:1000px;"> -->
                <!-- <table width="900" border="0" style="background-color:#FFFFFF;width:933px;margin-left:8px;"> -->
        <!--             <tr>
                        <td>
                            <table border="0">
                                <tr>
                                    <td> -->
                                    <!-- <div style="height: 330px;overflow-x:scroll;width:900px;"> -->
                                        <lightning-layout style="height:330px">
                                            <lightning-layout-item size=12>
                                                <lightning-datatable 
                                                        key-field="id"
                                                        data={data}
                                                        columns={columns}
                                                        onrowaction={handleRowAction}>
                                                        
 
                                                </lightning-datatable>
 
                                            </lightning-layout-item>
                                        </lightning-layout>
                                    <!-- </div> -->
                              <!--       </td>
                                </tr>
                            </table>
                        </td>
                    </tr> -->
                <!-- </table> -->
            <!-- </div> -->
            </apex:pageBlock>
        </form>
    </apex:outputPanel>
  </div>
</template>
</template>