|
@@ -414,7 +414,7 @@ var vNode = {
|
|
}, 20)
|
|
}, 20)
|
|
},
|
|
},
|
|
goEntInfo: function(item) {
|
|
goEntInfo: function(item) {
|
|
- location.href = "/weixin/frontPage/collection/sess/ent_portrait?eId=" + encodeURIComponent(item.entId)
|
|
|
|
|
|
+ location.href = "/weixin/frontPage/collection/sess/ent_portrait?eId=" + encodeURIComponent(item.id)
|
|
},
|
|
},
|
|
// 查询采购单位地址(暂不需要)
|
|
// 查询采购单位地址(暂不需要)
|
|
getBuyer:function(){
|
|
getBuyer:function(){
|
|
@@ -489,20 +489,18 @@ var vNode = {
|
|
buyer: decodeURIComponent(utils.getParam('entName')),
|
|
buyer: decodeURIComponent(utils.getParam('entName')),
|
|
pageNum: 1
|
|
pageNum: 1
|
|
}
|
|
}
|
|
- // var isMember = this.bigStatus > 0 && this.power.indexOf(5) > -1
|
|
|
|
|
|
+ let requestUrl = '/bigmember/portrait/buyer/getNewMsgExport'
|
|
|
|
+ if (this.bigStatus<=0){
|
|
|
|
+ requestUrl = '/bigmember/subVipPortrait/buyer/getNewMsgExport'
|
|
|
|
+ }
|
|
$.ajax({
|
|
$.ajax({
|
|
type:'POST',
|
|
type:'POST',
|
|
- url: '/bigmember/portrait/buyer/getNewMsgExport',
|
|
|
|
|
|
+ url: requestUrl,
|
|
data: storageSet ? Object.assign(data, storageSet) : data,
|
|
data: storageSet ? Object.assign(data, storageSet) : data,
|
|
timeout: 8000,
|
|
timeout: 8000,
|
|
success:function(res) {
|
|
success:function(res) {
|
|
var isWeiXinBrowser = navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
|
|
var isWeiXinBrowser = navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
|
|
window.location.href = (isWeiXinBrowser ? '/front/wx_dataExport/submitOrder' : '/jyapp/front/dataExport/toCreateOrderPage') + "?id=" + res.data
|
|
window.location.href = (isWeiXinBrowser ? '/front/wx_dataExport/submitOrder' : '/jyapp/front/dataExport/toCreateOrderPage') + "?id=" + res.data
|
|
- // /jyapp/front/dataExport/toCreateOrderPage
|
|
|
|
- // if(res.error_code == 0) {
|
|
|
|
- // } else {
|
|
|
|
- // console.log(res.error_code)
|
|
|
|
- // }
|
|
|
|
},
|
|
},
|
|
error:function(err) {
|
|
error:function(err) {
|
|
console.log(err)
|
|
console.log(err)
|