张同海 2 years ago
parent 7c2b31b70c
commit 1bf3d24102

@ -414,6 +414,19 @@
<a-modal width="50vw" v-model="PrintModalVisible" title="打印">
<template slot="footer"> <span></span> </template>
<div class="PrintMain">
<div class="PrintRadio">
<a-radio-group default-value="1" button-style="solid" v-model="PrintType">
<a-radio-button value="1">
pdf
</a-radio-button>
<a-radio-button value="2">
xlsx
</a-radio-button>
<a-radio-button value="3">
docx
</a-radio-button>
</a-radio-group>
</div>
<span v-for="item in templateType" :key="item.id" @click="FnCilckTemplateType(item.code)" class="items">
{{ item.name }}
</span>
@ -578,7 +591,8 @@ export default {
],
BCvData: [],
Rdata: '',
scale: '1.5'
scale: '1.5',
PrintType: '1'
}
},
mounted() {
@ -689,7 +703,7 @@ export default {
},
FnCilckTemplateType(typeCode) {
this.$message.success(`搜索文件中...`)
BookingOrderPrint({ typeCode, bookingId: this.id })
BookingOrderPrint({ typeCode, bookingId: this.id, type: this.PrintType })
.then(res => {
console.log(res)
if (!res.success) {
@ -1316,4 +1330,9 @@ export default {
/deep/ .ant-modal-body .ant-input {
background: #f5f9fe;
}
.PrintRadio {
width: 100%;
padding-left: 1rem;
margin-bottom: 0.8rem;
}
</style>

@ -121,7 +121,7 @@
</template>
</a-tree-node>
</a-directory-tree> -->
<div class="no-data" v-if="fileList.length === 0">
<div class="no-data" v-if="bookingLogList.length === 0">
<i class="iconfont icon-queshengye_zanwushuju" :style="{ fontSize: '50px' }"></i>
<div class="text">暂无动态</div>
</div>

Loading…
Cancel
Save