lion 1 year ago
parent 97c940b706
commit 61f95ed292

@ -35,11 +35,11 @@
</div>
<div>
<span>同行人</span>
<span>
<template v-if="submitObj.appointment_accompany&&submitObj.appointment_accompany.length>0">
<template v-for="item in submitObj.appointment_accompany">
{{item.name}},
</template>
<span>
<template v-if="submitObj.appointment_accompany&&submitObj.appointment_accompany.length>0">
<template v-for="item in submitObj.appointment_accompany">
{{item.name}},
</template>
</template>
</span>
@ -56,58 +56,64 @@
v-if="submitObj.status===item.id">{{item.value}}</el-tag>
</template>
</span>
</div>
<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>
</span>
</div>
<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>
</span>
</div>
<div v-if="type==='show'">
<span>审核意见</span>
<span>
{{submitObj.reason}}
</span>
</div>
<div style="text-align: left;width:800px;margin: 0 auto;">第三方记录</div>
<div style="width:100%">
<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">
<template slot-scope="scope">
<div v-if="scope.row.finally===1">
成功
</div>
<div v-else>
失败
</div>
</template>
</el-table-column>
</template>
<template v-slot:response_data>
<el-table-column align='center' label="第三方返回数据" width="120" header-align="center">
<template slot-scope="scope">
<div v-if="scope.row.response_data">
<!-- {{JSON.parse(scope.row.response_data).resMsg}} -->
{{JSON.parse(scope.row.response_data)}}
</div>
</template>
</el-table-column>
</template>
<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>
</template>
</el-table-column>
</template>
</xy-table>
</div>
</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">
<template v-slot:finally>
<el-table-column align='center' label="预约结果" width="150" header-align="center">
<template slot-scope="scope">
<div v-if="scope.row.finally===1">
成功
</div>
<div v-else>
失败
</div>
</template>
</el-table-column>
</template>
<template v-slot:response_data>
<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}} -->
{{JSON.parse(scope.row.response_data)}}
</div>
</template>
</el-table-column>
</template>
<!-- <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"
</template>
</el-table-column>
</template> -->
</xy-table>
</div>
</div>
<div v-if="type=='check'">
<lx-header icon="" text="审核意见" style="margin-bottom: 10px; border: 0px;text-align: left;">
@ -154,8 +160,8 @@
type: 'show',
id: '',
submitObj: {},
thirdArr: [],
baseUrl:`${process.env.VUE_APP_BASE_API}`,
thirdArr: [],
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