|
|
@@ -242,12 +242,13 @@
|
|
|
@close="loadFlowFData"
|
|
|
/>
|
|
|
<Scan
|
|
|
- :currentScan = "scanName"
|
|
|
- :scanVisible = "scanVisible"
|
|
|
- :obj = "obj"
|
|
|
- v-if="scanVisible"
|
|
|
- @scanOff = "scanOff"
|
|
|
+ :currentScan = "scanName"
|
|
|
+ :scanVisible = "scanVisible"
|
|
|
+ :obj = "obj"
|
|
|
+ v-if="scanVisible"
|
|
|
+ @scanOff = "scanOff"
|
|
|
/>
|
|
|
+ <print :show="showPrint" :list="printList" :type="printType"/>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -308,7 +309,8 @@ export default {
|
|
|
IbpsAddress,
|
|
|
IbpsImage,
|
|
|
DictionaryFormat,
|
|
|
- Scan
|
|
|
+ Scan,
|
|
|
+ Print: () => import('../components/print')
|
|
|
// BpmnFormrender
|
|
|
// DataTemplateFormat
|
|
|
},
|
|
|
@@ -404,7 +406,10 @@ export default {
|
|
|
dialogTemplate: null,
|
|
|
dialogTemplateAtts: {},
|
|
|
formPrintTemplateDialogVisible: false,
|
|
|
- printTemplateId: ''
|
|
|
+ printTemplateId: '',
|
|
|
+ showPrint: false,
|
|
|
+ printType: '',
|
|
|
+ printList: []
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -772,6 +777,12 @@ export default {
|
|
|
this.scanName = val
|
|
|
this.obj = obj
|
|
|
},
|
|
|
+ // 标签打印
|
|
|
+ printTag(data, type) {
|
|
|
+ this.showPrint = true
|
|
|
+ this.printList = data
|
|
|
+ this.printType = type
|
|
|
+ },
|
|
|
/* 返回关闭*/
|
|
|
scanOff(val){
|
|
|
this.scanVisible = false
|