| | |
| | | </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) |
| | | } |
| | | }, |
| | | }, |
| | | }; |