|
@@ -306,7 +306,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <!-- <print-preview ref="preView" @initPrint="handleInitPrint" @refreshList="handleRefreshList" :addPrint="addPrint" /> -->
|
|
|
+ <print-preview ref="preView" @initPrint="handleInitPrint" @refreshList="handleRefreshList" :addPrint="addPrint"/>
|
|
|
+
|
|
|
|
|
|
<!-- <CommonPrint :printId="printId" :printType="printType" v-if="isShowPrint" @backDetail="backDetail" /> -->
|
|
|
</div>
|
|
@@ -437,14 +438,15 @@ export default {
|
|
|
this.isShowPrint = false
|
|
|
},
|
|
|
|
|
|
- handleRefreshList() {
|
|
|
+ handleRefreshList(){
|
|
|
// this.recordSelected = []
|
|
|
// this.$refs.pageRef.refreshList()
|
|
|
+
|
|
|
},
|
|
|
- handleInitPrint() {
|
|
|
+ handleInitPrint(){
|
|
|
this.$nextTick(() => {
|
|
|
- this.initPrint()
|
|
|
- })
|
|
|
+ this.initPrint()
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|