2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<table style="width:100%;"  xmlns:th="http://www.w3.org/1999/xhtml">
    <tr>
        <td>
            <div id="BaseInfoBox_Left" style="padding: 0 10px;">
                <table class="tb">
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box" colspan="2">
                            <div class="td-title">所属目录:</div>
                            <div class="td-info" th:text="${mainInfo.catlogcode}"></div>
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box" colspan="2">
                            <div class="td-title">数据来源:</div>
                            <div class="td-info" th:text="${mainInfo.datasources}"></div>
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box" colspan="2">
                            <div class="td-title">发布单位:</div>
                            <div class="td-info" th:text="${unitname}+'【'+${createusername}+'】'"></div>
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box">
                            <div class="td-title">数据生产日期:</div>
                            <div class="td-info" th:text="${Productiontime}"></div>
                        </td>
                        <td class="td-box">
                            <div class="td-title">发布时间:</div>
                            <div class="td-info" th:text="${Pubdate}"></div>
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box">
                            <div class="td-title">共享协议:</div>
                            <div class="td-info" th:text="${mainInfo.sharprotocol}"></div>
                        </td>
                        <td class="td-box" id="divAnQuanJiBie">
                            <div class="td-title">安全级别:</div>
                            <input type="hidden"
                                   th:value="${mainInfo.securitylev}"
                                   id="securitylev" name="securitylev"/>
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box" colspan="2">
                            <div class="td-title">数据覆盖范围:</div>
                            <div class="td-info" th:text="${mainInfo.administrativeid}"></div>
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box" colspan="2">
                            <div class="td-title">是否代理:</div>
                            <div class="td-info" th:if="${mainInfo.espproxy}==0">否</div>
                            <div class="td-info" th:if="${mainInfo.espproxy}==1">是</div>
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box" colspan="2">
                            <div class="td-title">数据关键字:</div>
                            <div class="ShuJuGuanJianZi" th:each="item:${list}"  th:if="${mainInfo.keywords!=''}"   th:text="${item}"></div>
                        </td>
                    </tr>
                    <tr th:if="${isReadUrl}=='1'"  style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box" colspan="2">
                            <div class="td-title">服务地址:</div>
                          <!--   <div class="td-info" id="fuwudizhi" th:text="${serviceUrl}" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;float: left;"></div>
                             <p th:text="'{'+${firstlayername}+'}'" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;float: left;" ></p>
                             <div style="display: none" id="js-copy" th:text="${urlAndToken}"></div>
                            <button id="btn-copy" class="btn btn-primary" style="vertical-align: top;padding: 2px 5px;float: left;">复制</button> -->
                            <!--<button id="js-copy" data-clipboard-action="copy" style="display: none;">复制th:onclick="'javascript:parent.fuzhi(\''+${serviceUrl}+'\')'"</button>-->
                            <table >
                 
 
                             <tr th:each="serviceUrl:${serviceUrls}">
                         <td>
                        
                            <div class="td-info" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;float: left;" th:text=${serviceUrl.serverurl} ></div>
                        
                        </td>
                                 <!-- 注释layername 0625 11:36
                           <td th:text="'&nbsp&nbsp{'+${serviceUrl.layername}+'}&nbsp&nbsp'">  </td>
                           -->
                            <td>
                            
                            <div style="display: none" class="js-copy" id="js-copy" th:text=${serviceUrl.urlandtoken} ></div>
                            <button id="btn-copy" class="copybtn btn btn-primary" style="vertical-align: top;padding: 2px 5px;float: left;">复制</button>
                            </td>
                            </tr>
                            </table>
                            
                         <!--    <div style="display: none" id="js-copy" th:text="${urlAndToken}"></div>
                            <button id="btn-copy" class="btn btn-primary" style="vertical-align: top;padding: 2px 5px;float: left;">复制</button> -->
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box">
                            <div class="td-title">发布平台:</div>
                            <div class="td-info" th:text="${resExtBaseMap.publishsoft}"></div>
                        </td>
                        <td class="td-box">
                            <div class="td-title">底图类型:</div>
                            <div class="td-info" th:text="${resExtBaseMap.basemaptype}"></div>
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box">
                            <div class="td-title">切片级别:</div>
                            <div class="td-info" th:text="${resExtBaseMap.displaylev}"></div>
                        </td>
                        <td class="td-box" th:if="${resExtBaseMap.basemaptype}=='影像'">
                            <div class="td-title">影像精度:</div>
                            <div class="td-info" th:text="${resExtBaseMap.imageaccuracy}"></div>
                        </td>
                    </tr>
                    <tr style="border-bottom: 1px dashed  #E0E0E0;">
                        <td class="td-box" colspan="2">
                            <div class="td-title">资源说明:</div>
                            <div class="td-info" id="desurl" style="float: right;word-break:break-all;" th:if="${not #lists.isEmpty(mainInfo.desurl)}">
                                <a th:href="${mainInfo.desurl}" th:text="${mainInfo.desurl}"></a>
                            </div>
                            <div class="td-info" id="desurl" style="float: right;word-break:break-all;" th:if="${#lists.isEmpty(mainInfo.desurl)}" th:text="${mainInfo.description}"></div>
                        </td>
                    </tr>
                </table>
            </div>
        </td>
    </tr>
</table>
<script type="text/javascript">
    $(function(){
        GetAnQuanJiBie();
        var fuwudizhiwidth = parent.$("#BaseInfoBox").width() - 210;
        $("#fuwudizhi").css("width",fuwudizhiwidth + "px");
        var shuomingwidth = parent.$("#BaseInfoBox").width() - 190;
        $("#desurl").css("width",shuomingwidth + "px");
        checkServerurl();
    })
    //设置安全级别
    function GetAnQuanJiBie() {
        for (var i = 0; i < 5; i++) {
            if (i < parseInt($("#securitylev").val())) {
                $("#divAnQuanJiBie").append($('<img data-on="yes" style="cursor: default;" src="/image/ZiYuan/safety.png" />'));
            } else {
                $("#divAnQuanJiBie").append($('<img data-on="no" style="cursor: default;" src="/image/ZiYuan/safetyoff.png" />'));
            }
        }
    }
</script>