KKbes
2023-07-26 1e5b643e4cb4871781c729311a8e2caa69ef39ed
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
<template  >
 
    <apex:outputPanel id="all">
        <form id="mainForm">
            <apex:pageBlock id="idSearchSetProduct" title={Label.Set_Search}>
                <table width="900" border="0" style="background-color:#DCDCDC">
                    <colgroup>
                        <col width="12" />
                        <col width="20" />
                        <col width="20" />
                        <col width="200" />
                        <col width="200" />
                        <col width="200" />
                        <col width="100" />  
                        <col width="128" />
                    </colgroup>
                    
                    <tr>
                        <td>&nbsp;</td>
                        <th>{Label.Search_Condition}</th>
                        <td>&nbsp;</td>
                        <th>{Label.Set_Name}</th>
                        <th>{Label.Set_Code}</th>
                        <th>适用科室</th>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td><lightning-input value={SearchName}  onchange={getInput1} ></lightning-input>
                        </td>
                        <td><lightning-input value={SearchCode} onchange={getInput2}></lightning-input>
                        </td>
                        <td><lightning-combobox
                                name="progress"
                                value={value}
                                placeholder="Select Progress"
                                options={options}
                                onchange={handleChange} >    
                            </lightning-combobox></td>
                        <td><div><lightning-button label={Label.Search} onclick={serContact}></lightning-button></div>
                        </td>
                        <td><div><lightning-button label="添加" onclick={SelectDone}></lightning-button></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="border-bottom: 1px solid #888;" colspan="15">&nbsp;</td>
                    </tr>
                </table>
                <table width="900" border="0" style="background-color:#DCDCDC">
                    <tr>
                        <td width="12">&nbsp;</td>
                        <th valign="top">{Label.Search_Result}</th>
                        <td width="20">&nbsp;</td>
                        <td>
                            <table border="0">
                                <tr>
                                    <td>
                                    <div style="height: 300px;">
                                    <lightning-datatable 
                                            key-field="id"
                                            data={data}
                                            columns={columns}
                                            onrowaction={handleRowAction}>
                                            >
 
                                    </lightning-datatable>
 
                                    </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </apex:pageBlock>
        </form>
    </apex:outputPanel>
 
</template>