Commit 060c7e0d authored by 黄奎's avatar 黄奎

新增页面

parent b682a210
<style>
</style>
<template>
<q-page>
<div class="demandlist">
<table>
<tr>
<td>
需求单号:{{InfoData.Id}}
</td>
</tr>
<tr>
<td>
行程标题:{{InfoData.TripTitle}}
</td>
</tr>
<tr>
<td>
订购日期:{{InfoData.CreateDateStr}}
</td>
</tr>
<tr>
<td>
联络人:{{InfoData.Name}}
</td>
</tr>
<tr>
<td>
电子邮件:{{InfoData.EMail}}
</td>
</tr>
<tr>
<td>
联络电话:{{InfoData.Mobile}}
</td>
</tr>
</table>
</div>
</q-page>
</template>
<script>
export default {
props: [],
data() {
return {
Id: 0,
InfoData: {},
};
},
created() {
if (this.$route.params.id) {
this.Id = this.$route.params.id;
}
},
mounted() {
this.getdemandInfo()
},
methods: {
getdemandInfo() {
if (this.Id > 0) {
this.apipost(
"ws_get_GetService", {
Id: this.Id
},
res => {
if (res.data.resultCode == 1) {
this.InfoData = res.data.data;
console.log("this.infoData", this.InfoData);
}
},
err => {}
);
}
}
},
};
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment