|
@@ -346,7 +346,31 @@ export default {
|
|
|
}
|
|
|
// return sum + (Number(item.baoJiaPrice) || 0);
|
|
|
}, 0).toFixed(2);
|
|
|
- }
|
|
|
+ },
|
|
|
+ //保存api
|
|
|
+ ConferenceAffairsSave(){
|
|
|
+ var url = "/api/Groups/ConferenceAffairsSave"
|
|
|
+ var that = this
|
|
|
+ this.$axios({
|
|
|
+ method: 'post',
|
|
|
+ url: url,
|
|
|
+ headers: {
|
|
|
+ Authorization: 'Bearer ' + that.token
|
|
|
+ },
|
|
|
+ data: {
|
|
|
+ conferenceAffairsCost: that.conferenceAffairsCost,
|
|
|
+ conferenceAffairsCostChild: that.tableDatas,
|
|
|
+ userId: that.userId,
|
|
|
+ groupId: that.conferenceid,
|
|
|
+ }
|
|
|
+ }).then(function (res) {
|
|
|
+ let AffairsInIt=res.data.data;
|
|
|
+ that.options=AffairsInIt.currenyList.teamRates;
|
|
|
+ that.tableDatas=AffairsInIt.conferenceAffairsCostChi;
|
|
|
+ that.typearr=AffairsInIt.typeData;
|
|
|
+ that.units=AffairsInIt.units;
|
|
|
+ })
|
|
|
+ },
|
|
|
},
|
|
|
mounted(){
|
|
|
this.token = JSON.parse(localStorage.getItem('userinif')).token;
|