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 | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/views/visualization.vue b/src/views/visualization.vue index 94cf74b..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> @@ -605,8 +605,6 @@ </template> --> <!-- 鎺у埗鐨勫脊妗� --> - <AddControl ref="control" :Arr="Arr" /> - <!-- 鎺у埗鐨勫脊妗� --> <TaskControlModal ref="control" :activeName="activeName" @@ -811,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(){ @@ -1133,6 +1132,7 @@ }); this.TasksCopy[i].Arr=res.data.Params ? res.data.Params : [] // this.isFinsh=Number(i)+1 + this.$forceUpdate() } }); } @@ -1140,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(() => { @@ -1161,7 +1162,7 @@ // }, 60000); // } // } - + }); // this.TasksCopy.push(this.object) // this.TasksCopy.push(this.object) @@ -1750,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