| | |
| | | <img src="../../public/process-model.png" /> |
| | | </div> |
| | | <div class="item-r" @click="processDetailsClick(item,index)"> |
| | | <div class="item-r-t font_weight">{{ item.procedure }}</div> |
| | | <div class="item-r-b">当前工艺编号:{{ item.number }}</div> |
| | | <div class="item-r-t font_weight">{{ item.number }}</div> |
| | | <div class="item-r-b">产品:{{ item.product }}</div> |
| | | <div class="item-r-b">工序:{{ item.procedure }}</div> |
| | | </div> |
| | | <div class="tip-r" v-if="item.isUpdate"> |
| | | <img src="../../public/process-tip.png" /> |
| | |
| | | }, |
| | | watch: { |
| | | islook(){ |
| | | this.pageObj.page=1 |
| | | this.getProcessModelList() |
| | | }, |
| | | }, |
| | |
| | | if ( |
| | | Object.keys(this.listData).length > 0 |
| | | ) { |
| | | this.islook = true; |
| | | this.pageObj.page=1 |
| | | this.getProcessModelList() |
| | | this.islook = true; |
| | | } else { |
| | | this.islook = false; |
| | | } |
| | | }, |
| | | getProcessModelList(number){ |
| | | if( Object.keys(this.listData).length > 0){ |
| | | if(this.listData.Procedure.ID&&this.listData.number){ |
| | | if(this.listData.Procedure.ID){ |
| | | processModelList({ |
| | | procedureId: this.listData.Procedure.ID, |
| | | page: this.pageObj.page, |
| | | pageSize:this.pageObj.pageSize, |
| | | number:number?number:this.listData.number |
| | | }).then(res=>{ |
| | | if(res.data){ |
| | | this.processList=res.data?res.data:[]; |
| | |
| | | width:calc(100% - 20px); |
| | | .title-item{ |
| | | width:calc(50% - 30px); |
| | | height:77px; |
| | | height:92px; |
| | | padding:23px 10px 10px; |
| | | background:#31478f; |
| | | border-radius: 8px; |
| | |
| | | .item-r{ |
| | | width:calc(100% - 60px); |
| | | float:left; |
| | | line-height:25px; |
| | | line-height:22px; |
| | | color:#fff; |
| | | font-size:15px; |
| | | cursor:pointer; |