Ver código fonte

Merge branch 'feature/v4.8.72' into dev/v4.8.72_zsy

zhangsiya 1 ano atrás
pai
commit
63a6d7b09a

+ 10 - 0
src/jfw/modules/app/src/app/front/login.go

@@ -763,6 +763,16 @@ func (l *Login) WxLogin() {
 		}
 		return 0
 	}()
+
+	nsqPath, _ := config.Sysconfig["nsq"].(string)
+	nsq_topic, _ := config.Sysconfig["nsq_topic"].(string)
+	jy.Publish(public.Mgo_Log, nsqPath, nsq_topic, "task", qutil.ObjToString(l.GetSession("mgoUserId")), jy.Jyapp_node1, map[string]interface{}{
+		"code":       1014, //下载app任务
+		"types":      "downloadApp",
+		"num":        50,
+		"baseUserId": l.GetSession("base_user_id"),
+		"positionId": l.GetSession("positionId"),
+	})
 	//返回
 	result := map[string]interface{}{
 		"status": status,

+ 1 - 1
src/jfw/modules/subscribepay/src/entity/dataexport.go

@@ -699,7 +699,7 @@ func GetDataExportMailContent(orderCode string) (content string, err error) {
 	product_type := qutil.ObjToString((*orderData)["product_type"]) + "导出"
 	order_money := qutil.Float64All((*orderData)["order_money"]) / 100
 	pay_time := qutil.ObjToString((*orderData)["pay_time"])
-	download_url := config.Config.WebDomain + qutil.ObjToString((*orderData)["download_url"])
+	download_url := config.Config.WxDomain + qutil.ObjToString((*orderData)["download_url"])
 
 	create_time := qutil.ObjToString((*orderData)["create_time"])
 	if create_time != "" {

+ 2 - 1
src/web/staticres/frontRouter/pc/fileHistory/js/index-pc.js

@@ -182,7 +182,8 @@ var fileRecorder = new Vue({
         return
       }
       if (column.label === '公告来源') {
-        location.href = row.articleUrl
+        // location.href = row.articleUrl + '?aside=0'
+        window.open(row.articleUrl)
       }
     },
     indexMethod (index) {

+ 1 - 0
src/web/staticres/frontRouter/pc/seeBuyerHistory/css/index-pc.css

@@ -22,6 +22,7 @@
     margin-top: 0;
     padding: 100px 0;
     background-color: #fff;
+    border-radius: 8px;
 }
 
 

+ 1 - 1
src/web/staticres/js/pc-collect-user-info.js

@@ -364,6 +364,7 @@ var vm = new Vue({
       sourceTitleMap: {
         pc_article_member_freeuse: '请升级大会员无限制查看标讯、超前项目,优先对接项目负责人,抢占绝对先机!',
         article_attach_freeuser: '请留下联系方式,立即免费体验【附件下载】1次,招标文件/采购清单一键下载,商机更完整!',
+        pc_mine_member_attach_learnmore: '请留下联系方式,我们会尽快联系您!部分招标公告信息等相关文件资料自主下载,帮助企业投标,客户分析、市场挖掘更高效。',
         // ent_portrait_freeuser: '请留下联系方式,立即免费体验【企业中标分析】1次,多维度可视化分析竞争对手!',
         // ent_portrait_winnerNewMsg_freeuser: '请留下联系方式,立即免费体验【企业中标分析】1次,多维度可视化分析竞争对手!',
         // ent_portrait_yearData_freeuser: '请留下联系方式,立即免费体验【企业中标分析】1次,多维度可视化分析竞争对手!',
@@ -403,7 +404,6 @@ var vm = new Vue({
         'activity_free_plan': '请完善信息,免费获取200剑鱼币',
         super_membership_day: '请留下联系方式,我们会尽快联系您体验大会员全部功能!',
         peugeot_supplier_regist:'请完善您的个人信息,抢先对接采购单位',
-        pc_mine_member_attach_learnmore: '请留下联系方式,我们会尽快联系您!部分招标公告信息等相关文件资料自主下载,帮助企业投标,客户分析、市场挖掘更高效。',
         peugeot_view_infor: '请留下联系方式,我们会尽快联系您体验大会员全部功能!'
       },
       isRefresh: false, // 留完资是否需要刷新页面

+ 5 - 3
src/web/staticres/public-pc/js/article-content.js

@@ -2170,7 +2170,8 @@ function goDownload(url) {
       location.href = url
     } else {
       // 免费用户 体验过 下载次数为-1 弹框提醒跳至超级订阅购买页
-      bidVue.$alert('您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
+      // 您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。
+      bidVue.$alert('您的免费【附件下载】次数已使用完,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
         showClose:false,
         center: true,
         confirmButtonText: '去开通',
@@ -2352,7 +2353,7 @@ function getFileData () {
               cjdyDownload(fname)
             }else {
               // 免费用户 体验过 下载次数为-1 弹框提醒跳至超级订阅购买页
-              bidVue.$alert('您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
+              bidVue.$alert('您的免费【附件下载】次数已使用完,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
                 showClose:false,
                 center: true,
                 confirmButtonText: '去开通',
@@ -2367,7 +2368,7 @@ function getFileData () {
           }else{
             // 付费用户
             // 大会员用户 有下载权限
-            if (window.memberPower.indexOf(3) > -1) {
+            if (window.memberPower.indexOf(3) > -1 || window.filePackAccount.number > 0) {
               cjdyDownload(fname)
               return
             }
@@ -2392,6 +2393,7 @@ function getFileData () {
               }
               return
             }
+
             //  是大会员自定义版本没有下载权限 或 非超级订阅的商机管理用户 (弹框提醒联系客服)
             if ((window.memberStatus > 0 &&  window.memberPower.indexOf(3) == -1) || (window.vipStatus <=0 && window.entniche)) {
               bidVue.$alert('对不起,暂无权限,请联系客服', {

+ 2 - 1
src/web/staticres/tags/js/no-login-detail.js

@@ -1744,7 +1744,8 @@ function goDownload(url) {
       location.href = url
     } else {
       // 免费用户 体验过 下载次数为-1 弹框提醒跳至超级订阅购买页
-      bidVue.$alert('您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
+      // 您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。
+      bidVue.$alert('您的免费【附件下载】次数已使用完,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
         showClose:false,
         center: true,
         confirmButtonText: '去开通',

+ 8 - 3
src/web/templates/frontRouter/pc/fileHistory/sess/index.html

@@ -66,6 +66,11 @@
     .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
       background: #F5F5FB;
     }
+    .tab-header-title {
+      font-size: 24px;
+      color: #1D1D1D;
+      line-height: 36px;
+    }
     .tab-title {
       font-size: 18px;
       font-weight: 400;
@@ -82,9 +87,9 @@
     <div class="see-header flex w">
       <div class="w1080">
        <div class="header-hd">
-          <h3 class="tab-title">附件下载</h3>
+          <h3 class="tab-header-title">附件下载</h3>
           <div class="header-hd-actions">
-            <button class="tab-button" @click="goToFileNumberDetail">兑换/购买附件下载明细</button>
+            <button v-if="showHeaderCard" class="tab-button" @click="goToFileNumberDetail">兑换/购买附件下载明细</button>
           </div>
        </div>
         <!-- 大会员且有附件下载权益不展示头部 -->
@@ -215,7 +220,7 @@
       </div>
     </div>
     <div class="no-data" v-if="seeList.list == 0 && empty">
-      <el-image src="/images/pc_12.png"></el-image>
+      <el-image src="/common-module/public/image/jy-back.png"></el-image>
       <div class="tip-text">
         <p>暂无数据</p>
       </div>

+ 1 - 1
src/web/templates/frontRouter/pc/integral/sess/index.html

@@ -42,7 +42,7 @@
         .page--points--index .page-container{
           min-height: calc(100vh - 364px);
           box-sizing: border-box;
-          padding-top: 64px;
+          padding-top: 72x;
         }
         .page--points--index .logo{
           width: 130px;