| | |
| | | </div> |
| | | <div slot="footer" class="dialog-footer tac" style="overflow: hidden"> |
| | | |
| | | <el-button |
| | | <el-button v-if="isPage" |
| | | type="primary" |
| | | size="mini" |
| | | :disabled="top" |
| | |
| | | 上一页</el-button |
| | | > |
| | | |
| | | <el-button |
| | | <el-button v-if="isPage" |
| | | type="primary" |
| | | size="mini" |
| | | :disabled="bottom" |
| | |
| | | top:false, |
| | | bottom:false, |
| | | index:null, |
| | | isPage:false, |
| | | isRenew:false, |
| | | }; |
| | | }, |
| | | mounted() { |
| | |
| | | } |
| | | this.total=res.total?res.total:0; |
| | | if(this.total<=6){ |
| | | this.isPage=false; |
| | | this.top=true; |
| | | this.bottom=true; |
| | | }else{ |
| | | this.isPage=true; |
| | | let pageTotal=Math.ceil(Number(this.total)/6) |
| | | if(this.pageObj.page<pageTotal){ |
| | | |
| | |
| | | this.processObj.paramsMap=this.processObj.newParamsMap |
| | | this.processObj.number=this.processObj.newNumber |
| | | this.processObj.isUpdate=false |
| | | this.isRenew=true; |
| | | this.$emit('updateGet',this.processObj.newNumber) |
| | | this.getProcessModelList(this.processObj.newNumber) |
| | | }, |
| | |
| | | }, |
| | | shutdown() { |
| | | this.islook = false; |
| | | this.$emit('updateGet',this.processObj.newNumber,true) |
| | | if(this.isRenew){ |
| | | this.$emit('updateGet',this.processObj.newNumber,true) |
| | | } |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | <div class="process-params-title"> |
| | | <el-popover |
| | | width="200" |
| | | :content="taskData.number" |
| | | :content="list.number" |
| | | placement="top-start" |
| | | trigger="click" |
| | | > |
| | | <span slot="reference">工艺编号:{{ taskData.number }}</span> |
| | | <span slot="reference">工艺编号:{{ list.number }}</span> |
| | | </el-popover> |
| | | |
| | | </div> |
| | |
| | | }, |
| | | methods: { |
| | | updateGet(number,val){ |
| | | if(val){ |
| | | this.getTaskInfo(this.activeName,'new') |
| | | return true; |
| | | } |
| | | this.listData.number=number |
| | | if(this.index){ |
| | | this.TasksCopy[this.index].number=number |
| | | } |
| | | if(val){ |
| | | this.getTaskInfo(this.activeName,'new') |
| | | } |
| | | }, |
| | | getModelList(){ |
| | |
| | | }); |
| | | this.TasksCopy[i].Arr=res.data.Params ? res.data.Params : [] |
| | | // this.isFinsh=Number(i)+1 |
| | | this.$forceUpdate() |
| | | } |
| | | }); |
| | | } |
| | |
| | | this.setInterCard("outputMaterials", "cardBox3&" + i, i); |
| | | } |
| | | this.getProcessModelList(); |
| | | this.getStartArr() |
| | | this.cutClick(val?val:1) |
| | | if(info){ |
| | | if(info=='new'){ |
| | | return true; |
| | | } |
| | | this.getStartArr() |
| | | |
| | | this.getProgressInfo(); |
| | | if (!this.procInfoTimer&&!this.resprocInfoTimer) { |
| | | this.procInfoTimer = setInterval(() => { |
| | |
| | | width: 100%; |
| | | height: 30px; |
| | | // text-align: left; |
| | | font-size: 24px; |
| | | font-size: 28px!important; |
| | | margin: 0; |
| | | text-align: center; |
| | | line-height: 36px; |