From c07e204da897a616481b1cdb993cd837b3d0a8e4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 09 十月 2023 19:52:47 +0800 Subject: [PATCH] 修改更新编码不显示问题 --- src/views/visualization.vue | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/views/visualization.vue b/src/views/visualization.vue index 7755273..163be06 100644 --- a/src/views/visualization.vue +++ b/src/views/visualization.vue @@ -343,11 +343,11 @@ <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> @@ -809,12 +809,13 @@ }, 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(){ @@ -1131,6 +1132,7 @@ }); this.TasksCopy[i].Arr=res.data.Params ? res.data.Params : [] // this.isFinsh=Number(i)+1 + this.$forceUpdate() } }); } @@ -1138,11 +1140,12 @@ 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(() => { @@ -1748,7 +1751,7 @@ width: 100%; height: 30px; // text-align: left; - font-size: 24px; + font-size: 28px!important; margin: 0; text-align: center; line-height: 36px; -- Gitblit v1.8.0