|
@@ -163,13 +163,13 @@
|
|
|
<a class="check_order" href="javascript:;" onclick="getDocsJumpUrl()">获取文档</a>
|
|
|
{{else if eq .T.orderType "marketPack"}}
|
|
|
<a class="check_order sm-size default" href="/front/downloadPack/packDetail?order_code={{.T.orderCode}}">查看订单</a>
|
|
|
- <a class="check_order" href="/page_workDesktop/work-bench/app/big/desktop/report_analysis">下载报告</a>
|
|
|
+ <span style="margin-left:16px;cursor:pointer;" class="check_order" onclick="getAnalysisJumpUrl('market')" >下载报告</span>
|
|
|
{{else if eq .T.orderType "entPack"}}
|
|
|
<a class="check_order sm-size default" href="/front/downloadPack/packDetail?order_code={{.T.orderCode}}">查看订单</a>
|
|
|
- <a class="check_order" href="/jylab/entSearch/index.html">下载报告</a>
|
|
|
+ <span style="margin-left:16px;cursor:pointer;" class="check_order" onclick="getAnalysisJumpUrl('ent')" >下载报告</span>
|
|
|
{{else if eq .T.orderType "propPack"}}
|
|
|
<a class="check_order sm-size default" href="/front/downloadPack/packDetail?order_code={{.T.orderCode}}">查看订单</a>
|
|
|
- <a class="check_order" href="/jylab/purSearch/index.html">下载报告</a>
|
|
|
+ <span style="margin-left:16px;cursor:pointer;" class="check_order" onclick="getAnalysisJumpUrl('prop')" >下载报告</span>
|
|
|
{{end}}
|
|
|
|
|
|
</div>
|
|
@@ -411,6 +411,23 @@
|
|
|
location.replace('/swordfish/docs')
|
|
|
}
|
|
|
}
|
|
|
+ // 下载跳转逻辑
|
|
|
+ function getAnalysisJumpUrl (type){
|
|
|
+ if(window.history && window.history.length > 2){
|
|
|
+ window.history.go(-2)
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ if(type == 'market'){
|
|
|
+ window.location.replace('/page_workDesktop/work-bench/app/big/desktop/report_analysis')
|
|
|
+
|
|
|
+ }else if(type=='ent'){
|
|
|
+ window.location.replace(`/page_workDesktop/work-bench/page?link=${encodeURIComponent('/jylab/entSearch/index.html')}`)
|
|
|
+
|
|
|
+ }else if(type == 'prop'){
|
|
|
+ window.location.replace(`/page_workDesktop/work-bench/page?link=${encodeURIComponent('/jylab/purSearch/index.html')}`)
|
|
|
+ }
|
|
|
+ }
|
|
|
</script>
|
|
|
|
|
|
{{include "/common/baiducc.html"}}
|