flat: workId
This commit is contained in:
@@ -190,6 +190,7 @@
|
||||
} from 'vuex'
|
||||
import {
|
||||
missionDetail,
|
||||
missionDetailById,
|
||||
submit,
|
||||
getCollectState,
|
||||
updateCollectStatus
|
||||
@@ -245,6 +246,7 @@
|
||||
maxlength: 6,
|
||||
collectStatus: 0, // 收藏状态
|
||||
showPopUp: false,
|
||||
isInvite: false
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -266,6 +268,9 @@
|
||||
if (option.id) {
|
||||
this.id = option.id; //消息id
|
||||
}
|
||||
if (option.isInvite) {
|
||||
this.isInvite = true
|
||||
}
|
||||
},
|
||||
onShow: function() {
|
||||
this.showDetail = true
|
||||
@@ -305,7 +310,13 @@
|
||||
},
|
||||
getData: function() {
|
||||
const self = this;
|
||||
missionDetail(self.missionNo).then(res => {
|
||||
let detail = null
|
||||
if (this.isInvite) {
|
||||
detail = missionDetailById
|
||||
} else {
|
||||
detail = missionDetail
|
||||
}
|
||||
detail(self.missionNo).then(res => {
|
||||
self.info = res.data.data;
|
||||
self.status = res.data.data.detailStatus;
|
||||
AddressToLocation({
|
||||
|
||||
Reference in New Issue
Block a user