f79e98ee0a2b4ff0676241c03ba89c0540673aab..c07e204da897a616481b1cdb993cd837b3d0a8e4
2023-10-09 haoxuan
修改更新编码不显示问题
c07e20 对比 | 目录
2023-10-09 haoxuan
工艺模型需求小优化
2dbc2e 对比 | 目录
2023-10-09 haoxuan
工艺编号关闭工艺模型之后不显示的问题
367996 对比 | 目录
2个文件已修改
32 ■■■■■ 已修改文件
src/components/ProcessModel.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/visualization.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/ProcessModel.vue
@@ -59,7 +59,7 @@
      </div>
      <div slot="footer" class="dialog-footer tac" style="overflow: hidden">
        
            <el-button
            <el-button v-if="isPage"
                      type="primary"
                      size="mini"
                      :disabled="top"
@@ -70,7 +70,7 @@
                      上一页</el-button
                    >
          
          <el-button
          <el-button v-if="isPage"
                      type="primary"
                      size="mini"
                      :disabled="bottom"
@@ -123,6 +123,8 @@
      top:false,
      bottom:false,
      index:null,
      isPage:false,
      isRenew:false,
    };
  },
  mounted() {
@@ -171,9 +173,11 @@
            }
            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){
               
@@ -196,6 +200,7 @@
      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)
    },
@@ -225,7 +230,9 @@
    },
    shutdown() {
      this.islook = false;
      this.$emit('updateGet',this.processObj.newNumber,true)
      if(this.isRenew){
        this.$emit('updateGet',this.processObj.newNumber,true)
      }
    },
  },
};
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;