1
lzhe
2025-08-16 25ae0c60dc018683e71e62b3f7cc6d6a7f93b255
src/views/wel/shemi.vue
@@ -22,7 +22,7 @@
          </el-col>
          <el-col :span="6">
            <el-select v-model="search.nodeType" placeholder="请输入节点类型" clearable>
              <el-option v-for="item in nodeTypeList" :key="item.dictValue" :label="item.dictValue" :value="item.dictKey"/>
              <el-option v-for="item in nodeTypeList" :key="item.dictValue" :label="item.dictValue" :value="item.dictKey"/>formApprove.
            </el-select>
          </el-col>
          <el-col :span="6">
@@ -221,11 +221,11 @@
          icon: 'el-icon-info',
          label: '节点信息',
          prop: 'tab1',
        }, {
        },/* {
          icon: 'el-icon-warning',
          label: '版本信息',
          prop: 'tab2',
        }, {
        }, */{
          icon: 'el-icon-warning',
          label: '文件内容',
          prop: 'tab3'
@@ -459,14 +459,14 @@
                        //非程序节点
                        return '';
                    }else{
                        if(value==0||value==null){
                        if(value==0||value==-1){
                            return '未启动';
                        }else if(value == 1){
                            return '审批中';
                        }else if(value == 2){
                            return '已通过';
                        }else{
                            return '未定义';
                            return '';
                        }
                      }
                  },
@@ -697,11 +697,26 @@
        this.replaceDataId = resp.data.data.processInstanceId;
        this.processNo = resp.data.data.processNo;
        this.processEdition = resp.data.data.processEdition;
      this.drawingNo = resp.data.data.drawingNo;
          this.drawingNo = resp.data.data.drawingNo;
        this.formApprove.title = resp.data.data.name + "替换";
        this.getHandler(); //获取处理人
        this.todolistModel = true;
      });
    },
    getHandler() {  //获取处理人
      axios({
        url: '/blade-mdm/flow/replace/default-assignees',
        method: 'get',
        params: {drawingNo: this.drawingNo}
      }).then(
      resp => {
        if(resp.data.code == 200) {
          this.formApprove.assignee = resp.data.data.checkerId;
        }else {
          this.$message.success(resp.msg);
        }
      });
    },
    convertToHtml(text) {
        return text.replace(/\n/g, '<br>');
    },