lion 1 year ago
parent 97c940b706
commit 61f95ed292

@ -36,7 +36,7 @@
<div> <div>
<span>同行人</span> <span>同行人</span>
<span> <span>
<template v-if="submitObj.appointment_accompany&&submitObj.appointment_accompany.length>0"> <template v-if="submitObj.appointment_accompany&&submitObj.appointment_accompany.length>0">
<template v-for="item in submitObj.appointment_accompany"> <template v-for="item in submitObj.appointment_accompany">
{{item.name}}, {{item.name}},
</template> </template>
@ -60,7 +60,8 @@
<div v-if="submitObj.status===1"> <div v-if="submitObj.status===1">
<span>预约二维码链接</span> <span>预约二维码链接</span>
<span> <span>
<a :href="baseUrl+submitObj.h5_url" target="_blank" style="color:blue">{{baseUrl}}{{submitObj.h5_url}}</a> <a :href="baseUrl+submitObj.h5_url" target="_blank"
style="color:blue">{{baseUrl}}{{submitObj.h5_url}}</a>
</span> </span>
</div> </div>
@ -70,11 +71,18 @@
{{submitObj.reason}} {{submitObj.reason}}
</span> </span>
</div> </div>
<div style="text-align: left;width:800px;margin: 0 auto;">第三方记录</div> <div style="text-align: left;width:800px;margin: 0 auto;display:flex;">
<div> 第三方记录</div>
<div style="margin-left:30px">
<el-button type="primary" size="small" @click="sendBook(id)"></el-button>
</div>
</div>
<div style="width:100%"> <div style="width:100%">
<xy-table :list="thirdArr" style="width:800px;margin: 0 auto;" :isPage="false" :height="300" :table-item="table_item"> <xy-table :list="thirdArr" style="width:800px;margin: 0 auto;" :isPage="false" :height="300"
:table-item="table_item">
<template v-slot:finally> <template v-slot:finally>
<el-table-column align='center' label="预约结果" width="120" header-align="center"> <el-table-column align='center' label="预约结果" width="150" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.finally===1"> <div v-if="scope.row.finally===1">
成功 成功
@ -86,7 +94,7 @@
</el-table-column> </el-table-column>
</template> </template>
<template v-slot:response_data> <template v-slot:response_data>
<el-table-column align='center' label="第三方返回数据" width="120" header-align="center"> <el-table-column align='center' label="第三方返回数据" width="200" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.response_data"> <div v-if="scope.row.response_data">
<!-- {{JSON.parse(scope.row.response_data).resMsg}} --> <!-- {{JSON.parse(scope.row.response_data).resMsg}} -->
@ -96,15 +104,13 @@
</el-table-column> </el-table-column>
</template> </template>
<template v-slot:btns> <!-- <template v-slot:btns>
<el-table-column align='center' label="操作" width="120" header-align="center"> <el-table-column align='center' label="操作" width="120" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- v-if="scope.row.finally!=1" --> v-if="scope.row.finally!=1"
<el-button type="primary" size="small"
@click="sendBook(scope.row.appointment_id)">重新预约</el-button>
</template> </template>
</el-table-column> </el-table-column>
</template> </template> -->
</xy-table> </xy-table>
</div> </div>
</div> </div>
@ -155,7 +161,7 @@
id: '', id: '',
submitObj: {}, submitObj: {},
thirdArr: [], thirdArr: [],
baseUrl:`${process.env.VUE_APP_BASE_API}`, baseUrl: `${process.env.VUE_APP_BASE_API}`,
form: { form: {
name: '', name: '',
}, },
@ -167,11 +173,11 @@
prop: 'finally', prop: 'finally',
label: '预约结果', label: '预约结果',
width: 200 width: 200
}, { }, {
prop: 'response_data', prop: 'response_data',
label: '第三方返回数据', label: '第三方返回数据',
width: 200 width: 200
},{ }, {
prop: 'created_at', prop: 'created_at',
label: '发送时间', label: '发送时间',
width: 200 width: 200

Loading…
Cancel
Save