|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
<a-button v-if="printMould" :href="printMouldUrl" target="_blank"
|
|
|
ghost type="primary">模板打印</a-button>
|
|
|
- <a-button v-print="'#printContent'" ghost type="primary">打印</a-button>
|
|
|
+ <a-button v-if="printShow" v-print="'#printContent'" ghost type="primary">打印</a-button>
|
|
|
</div>
|
|
|
<a-card :body-style="{ padding: '15px 32px' }" :bordered="false" id="printContent" :class="{'abcdefg':true}" >
|
|
|
|
|
@@ -123,6 +123,7 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
printMould:false,
|
|
|
+ printShow:true,
|
|
|
printMouldUrl:'',
|
|
|
printTitle:false,
|
|
|
printTitleImg:false,
|
|
@@ -554,6 +555,9 @@ export default {
|
|
|
}else{
|
|
|
this.printTitleImg = true;
|
|
|
}
|
|
|
+ }else if(this.processData.businessTable == 'incident_ticket'){ //质量事故单
|
|
|
+ this.printTitleImg = true;
|
|
|
+ this.printShow = false;
|
|
|
}else if(this.processData.businessTable == 'separation_application' || //离职
|
|
|
this.processData.businessTable == 'personnel_recruitment_apply' || //人员需求
|
|
|
this.processData.businessTable == 'regular_employee_apply' || //转正申请
|