Browse Source

0412 新看板

master
ruanqi 2 years ago
parent
commit
6dcb8eebc7
  1. 6
      src/views/modules/board/sopBoard.vue

6
src/views/modules/board/sopBoard.vue

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

Loading…
Cancel
Save