Commit b2fe5f61 by 潘琦

增加签约驳回详情页;

parent b2610c7a
import request from '@/router/requestSjkg'
// 根据签约ID获取该签约驳回理由数据
export function getSignFailedMsg (params) {
return request({
url: '/v1/voucher/signFailedMsg',
method: 'GET',
params: params
})
}
......@@ -5,14 +5,14 @@
<span class="label">审核不通过原因:</span>
</div>
<div class="block">
<ol>
<li>身份证不符</li>
<li>身份证不符</li>
<ol v-if="data.length > 0">
<li v-for="(item, index) in data" :key="index">{{item}}</li>
</ol>
<h4 v-else class="text-center">暂无数据!</h4>
</div>
<div class="block">
<textarea disabled="true" rows="4">aaaa</textarea>
</div>
<!-- <div class="block">
<textarea disabled="true" rows="5">{{}}</textarea>
</div> -->
<div class="footer">
<button class="confirm-btn" @click="handelConfirm">我知道了</button>
</div>
......@@ -22,16 +22,19 @@
<script>
// import { getStore } from '@/util/store'
// import { getUserCard } from '@/api/apply/apply'
import { getSignFailedMsg } from '@/api/wxTemplate/wxTemplate'
const wx = require('weixin-js-sdk')
export default {
name: 'adoptTemplate',
data () {
return {
signId: this.$route.query.signId,
data: []
}
},
created () {
this.getSignFailedMsgFn()
},
mounted: function () {
},
......@@ -40,6 +43,14 @@ export default {
components: {
},
methods: {
getSignFailedMsgFn () {
let params = {
signId: this.signId
}
getSignFailedMsg(params).then(res => {
this.data = res.data.codeMsg
})
},
handelConfirm () {
wx.closeWindow()
}
......@@ -92,4 +103,7 @@ export default {
padding: 0.7em 0;
font-size: 1.2em;
}
.text-center {
text-align: center;
}
</style>
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