DESKTOP-0K9VGFE\hp
2022-03-11 6d766b0c8e9b31e7e03ffd344a94c2851aa9beb9
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
<apex:page controller="searchAimsAccount"  action="{!init}"  showHeader="false" 
  sidebar="true" id="selectProduct"  title="特价医院选择">
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
<apex:includeScript value="/soap/ajax/29.0/connection.js"/>
<apex:includeScript value="/soap/ajax/29.0/apex.js"/>
    <script>
    function setProductOne(name,id) {
       
        window.opener.j$(escapeVfId("dpaPage:dpaForm:dpaBlock:AimsAccount")).val(name);
        window.opener.j$(escapeVfId("dpaPage:dpaForm:dpaBlock:AimsAccountId")).val(id);
        window.opener.j$(escapeVfId("dpaPage:dpaForm:dpaBlock:tempid")).val(id);
        top.window.close();
    }
    </script>
 
        <apex:outputPanel id="all">
        <apex:outputPanel id="message1">
            <apex:messages styleClass="editListError"/>
        </apex:outputPanel>
        <apex:form id="mainForm">
            <apex:pageBlock id="idSearchSetProduct" title="特价医院选择">
                <table width="750" border="0" style="background-color:#DCDCDC">
                    <colgroup>
                        <col width="12" />
                        <col width="20" />
                        <col width="20" />
                        <col width="200" />
                        <col width="20" />
                        <col width="428" />
                    </colgroup>
                    <tr>
                        <td>&nbsp;</td>
                        <th>{!$Label.Search_Condition}</th>
                        <td>&nbsp;</td>
                        <th>医院名称</th>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td><apex:inputText id="searchName" value="{!SearchName}" style="width:200px" required="false"/></td>
                        <td><apex:commandButton value="{!$Label.Search}" action="{!serContact}" style="width:100px" /></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td style="border-bottom: 1px solid #888;" colspan="15">&nbsp;</td>
                    </tr>
                </table>
                <table width="750" 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 id="iframelike" style="width:750">
                                    <apex:pageBlockTable id="idRezultVisitor" value="{!at}" var="c" border="1" columns="3" columnsWidth="200px,100px,350px">
                                        <apex:column >
                                            <apex:facet name="header">医院名称</apex:facet>
                                            <apex:outputLink id="contactName" value="{!c.Name}" onclick="setProductOne('{!c.Name}','{!c.Id}');return false;">{!c.Name}</apex:outputLink>
                                        </apex:column>
                                        <apex:column >
                                            <apex:facet name="header">省份</apex:facet>
                                            <apex:outputField id="State_Master" value="{!c.State_Master__r.Name}" />
                                        </apex:column>
                                        <apex:column >
                                            <apex:facet name="header">地址</apex:facet>
                                            <apex:outputField id="Alternative" value="{!c.Address__c}"  />
                                        </apex:column>
                                    </apex:pageBlockTable>
                                    </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </apex:pageBlock>
        </apex:form>
    </apex:outputPanel>
    <!-- <apex:pageBlock id="searchAimsAccount" title="特价医院选择">
        <table >
            <tr>
                <table border="0">
                    <tr>
                        <td>
                        <div id="iframelike" style="width:750">
                        <apex:pageBlockTable id="idRezultVisitor" value="{!AgencyHospitalLinkList}" var="ahl" border="1" columns="3" columnsWidth="200px,100px,350px">
                            <apex:column >
                                <apex:facet name="header">医院名称</apex:facet>
                                <apex:outputLink id="contactName" value="{!ahl.ahlc.Hospital__r.name}" onclick="setProductOne('{!ahl.ahlc.Hospital__r.name}','{!ahl.ahlc.Hospital__c}');return false;">{!ahl.ahlc.Hospital__r.name}</apex:outputLink>
                            </apex:column>
                        </apex:pageBlockTable>
                        </div>
                        </td>
                    </tr>
                </table>
            </tr>
         </table>
    </apex:pageBlock> -->
</apex:page>