|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div class="mod-config container "> |
|
|
|
<div class="pdfMenu" > |
|
|
|
<div v-bind:style="{ width: '100%', height: '10%', backgroundColor: color,border: '3px',borderColor: 'white' ,borderStyle:'solid'}"></div> |
|
|
|
<div v-bind:style="{ width: '100%', height: '13%', backgroundColor: color,border: '3px',borderColor: 'white' ,borderStyle:'solid'}"></div> |
|
|
|
<!-- <button v-on:click="changeColor">Change Color</button>--> |
|
|
|
<h1 style="color: white">SOP指导书 派工单|{{seqNo}}</h1> |
|
|
|
</div> |
|
|
|
@ -107,6 +107,8 @@ |
|
|
|
this.color='#00ff00' |
|
|
|
}else if(type==='2'){ |
|
|
|
this.color='#ffff00' |
|
|
|
}else if(type==='3'){ |
|
|
|
this.color='#ff0303' |
|
|
|
}else { |
|
|
|
this.color='#ffff00' |
|
|
|
} |
|
|
|
@ -125,7 +127,7 @@ |
|
|
|
this.badList=[]; |
|
|
|
this.seqNo='无'; |
|
|
|
this.operator='无'; |
|
|
|
this.changeColor('2') |
|
|
|
this.changeColor(data.data.colourFlag) |
|
|
|
}else if(this.seqNo!=data.data.nowSeqNo) { |
|
|
|
this.sopUrl=''; |
|
|
|
this.badUrl=''; |
|
|
|
|