|
@@ -55,7 +55,6 @@ const noticeMixins = {
|
|
|
.catch(error => {
|
|
|
this.$util.msg(error.msg, 2000)
|
|
|
})
|
|
|
- console.log('获取消息通知数据')
|
|
|
},
|
|
|
getReachBottomData(index) {
|
|
|
//上拉加载
|
|
@@ -84,34 +83,34 @@ const noticeMixins = {
|
|
|
this.$util.msg(error.msg, 2000)
|
|
|
})
|
|
|
},
|
|
|
- deleteBtn(id,index) {
|
|
|
- // 删除通知消息
|
|
|
- this.UserService.authDeleteMessage({ id: id })
|
|
|
- .then(response => {
|
|
|
- let _this = this
|
|
|
- uni.vibrateShort({
|
|
|
- success: function() {
|
|
|
- _this.list.splice(index, 1)
|
|
|
- }
|
|
|
- })
|
|
|
- })
|
|
|
- .catch(error => {
|
|
|
- console.log('error=>', error.msg)
|
|
|
- })
|
|
|
+ deleteBtn(id, index) {
|
|
|
+ // 删除通知消息
|
|
|
+ this.UserService.authDeleteMessage({ id: id })
|
|
|
+ .then(response => {
|
|
|
+ let _this = this
|
|
|
+ uni.vibrateShort({
|
|
|
+ success: function() {
|
|
|
+ _this.list.splice(index, 1)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(error => {
|
|
|
+ console.log('error=>', error.msg)
|
|
|
+ })
|
|
|
},
|
|
|
noticeUsersText(cell) { // 账户通知文案
|
|
|
const map = {
|
|
|
- 1: '您的注册信息已审核通过,恭喜您成为采美平台供应商用户。您可以上架商品到采美商城进行出售了',
|
|
|
- 2: `恭喜您(微信昵称:${cell.content})成功成为【采美信息技术有限公司】的运营人员。`,
|
|
|
- 3: '该商品上架审核未通过,暂时不能上架采美商城。请登录采美网站修改商品资料重新提交。',
|
|
|
- 4: '该商品新品展示审核未通过,未能展示在采美商城新品橱窗。',
|
|
|
- 5: `该商品的资质证书将于${cell.content}后失效,请及时登录采美网站上传新证书。`
|
|
|
+ 1: '您的注册信息已审核通过,恭喜您成为采美平台供应商用户。您可以上架商品到采美商城进行出售了',
|
|
|
+ 2: `恭喜您(微信昵称:${cell.content})成功成为【采美信息技术有限公司】的运营人员。`,
|
|
|
+ 3: '该商品上架审核未通过,暂时不能上架采美商城。请登录采美网站修改商品资料重新提交。',
|
|
|
+ 4: '该商品新品展示审核未通过,未能展示在采美商城新品橱窗。',
|
|
|
+ 5: `该商品的资质证书将于${cell.content}后失效,请及时登录采美网站上传新证书。`
|
|
|
}
|
|
|
return map[cell.shopMessType]
|
|
|
},
|
|
|
noticeServeText(cell) { // 服务通知文案
|
|
|
const map = {
|
|
|
- 1: `您的供应商账号上架费将于${cell.content}后到期,到期后将无法发布和编辑商品,同时也会影响到其他采美提供的支持服务。请联系采美工作人员进行续费,联系电话0755-22907771 或15338851365`
|
|
|
+ 1: `您的供应商账号上架费将于${cell.content}后到期,到期后将无法发布和编辑商品,同时也会影响到其他采美提供的支持服务。请联系采美工作人员进行续费,联系电话0755-22907771 或15338851365`
|
|
|
}
|
|
|
return map[cell.shopTieredType]
|
|
|
}
|