示例:
显示:
<van-button size="large" type="primary" @click="commit">提交</van-button>
处理:
commit() {
let commitData = {
key: "1",
confPro: this.confPro,
confName: this.confName,
content: this.content,
fileIds:this.fileIds,
remarks: this.remarks,
};
console.log(commitData);
let commitData_json=JSON.stringify(commitData);
axios.post(Config.baseUrl+'/f//duty/dutyMeet/save',commitData)
.then(response=>{
console.log(response);
if(response.data.status=="Y"){
Dialog.alert({
title:'系统提示',
message:"操作成功"
}).then(()=>{
this.$router.push('/ba/meeting');
})
}
})
},