|
@@ -5,6 +5,7 @@
|
|
|
v-if="QRvisible"
|
|
v-if="QRvisible"
|
|
|
width="750px"
|
|
width="750px"
|
|
|
append-to-body
|
|
append-to-body
|
|
|
|
|
+ @close="close"
|
|
|
>
|
|
>
|
|
|
<div class="switch" v-if="type == 'print'">
|
|
<div class="switch" v-if="type == 'print'">
|
|
|
<div class="switch_left">
|
|
<div class="switch_left">
|
|
@@ -75,6 +76,7 @@
|
|
|
import listCoomModal from './listCoomModal.vue';
|
|
import listCoomModal from './listCoomModal.vue';
|
|
|
import { save, update } from '@/api/certificateManagement';
|
|
import { save, update } from '@/api/certificateManagement';
|
|
|
import bpmDetail from '@/views/bpm/processInstance/detail.vue';
|
|
import bpmDetail from '@/views/bpm/processInstance/detail.vue';
|
|
|
|
|
+ import { getCode } from '@/api/login';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'print',
|
|
name: 'print',
|
|
@@ -112,6 +114,7 @@
|
|
|
this.form.reportTemplateCode = row.code;
|
|
this.form.reportTemplateCode = row.code;
|
|
|
this.form.reportTemplateId = row.id;
|
|
this.form.reportTemplateId = row.id;
|
|
|
this.form.reportTemplateName = row.name;
|
|
this.form.reportTemplateName = row.name;
|
|
|
|
|
+ this.form.code = await getCode('quality_certificate_code');
|
|
|
} else {
|
|
} else {
|
|
|
this.form = row || {};
|
|
this.form = row || {};
|
|
|
}
|
|
}
|