我的申请,我的收藏,浏览记录联调

This commit is contained in:
zxy
2024-02-21 17:18:40 +08:00
parent 06b6fe4140
commit 8314a2232e
11 changed files with 657 additions and 18 deletions

View File

@@ -136,7 +136,6 @@
<view style="font-size: 28rpx;font-weight: bold;">重要提示</view>
<view style="font-size: 24rpx;color:#707070;margin-top:10rpx;">为保障个人基本劳动权益建议通过平台用工的形式就业</view>
<view style="text-align: center;font-size:28rpx;margin-top: 30rpx;"> {{ info.callName }} : {{ info.callTel }}</view>
<!-- <view style="margin-left: 50rpx;font-size:28rpx;margin-top: 7rpx;">手机号{{ info.callTel }}</view> -->
</view>
</u-popup>
</view>
@@ -234,7 +233,7 @@
collect() {
// console.log('收藏,取消收藏')
const status = this.collectStatus == 0 ? 1 : 0;
updateCollectStatus(this.info.id, status).then(res => {
updateCollectStatus(this.info.id, status, 0).then(res => {
if(res.data.code == 200) {
this.getCollectStatus()
}
@@ -248,7 +247,7 @@
},
// 获取收藏状态
getCollectStatus() {
getCollectState(this.info.id).then(res => {
getCollectState(this.info.id, 0).then(res => {
// 0 未收藏1 已收藏
// console.log(res)
this.collectStatus = res.data.data;