lion 1 year ago
parent 97c940b706
commit 61f95ed292

@ -36,7 +36,7 @@
<div>
<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">
{{item.name}},
</template>
@ -60,7 +60,8 @@
<div v-if="submitObj.status===1">
<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>
</div>
@ -70,11 +71,18 @@
{{submitObj.reason}}
</span>
</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%">
<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>
<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">
<div v-if="scope.row.finally===1">
成功
@ -86,7 +94,7 @@
</el-table-column>
</template>
<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">
<div v-if="scope.row.response_data">
<!-- {{JSON.parse(scope.row.response_data).resMsg}} -->
@ -96,15 +104,13 @@
</el-table-column>
</template>
<template v-slot:btns>
<!-- <template v-slot:btns>
<el-table-column align='center' label="操作" width="120" header-align="center">
<template slot-scope="scope">
<!-- v-if="scope.row.finally!=1" -->
<el-button type="primary" size="small"
@click="sendBook(scope.row.appointment_id)">重新预约</el-button>
v-if="scope.row.finally!=1"
</template>
</el-table-column>
</template>
</template> -->
</xy-table>
</div>
</div>
@ -155,7 +161,7 @@
id: '',
submitObj: {},
thirdArr: [],
baseUrl:`${process.env.VUE_APP_BASE_API}`,
baseUrl: `${process.env.VUE_APP_BASE_API}`,
form: {
name: '',
},
@ -167,11 +173,11 @@
prop: 'finally',
label: '预约结果',
width: 200
}, {
}, {
prop: 'response_data',
label: '第三方返回数据',
width: 200
},{
}, {
prop: 'created_at',
label: '发送时间',
width: 200

Loading…
Cancel
Save