Source/plt-web/plt-web-ui/src/components/actions/base/startWorkFlow.vue
@@ -1,7 +1,6 @@
<template>
  <el-dialog v-dialogDrag
             :close-on-click-modal="false"
             :destroy-on-close="true"
             :visible.sync="visible"
             :width="width"
             append-to-body="true"
@@ -162,16 +161,18 @@
  },
  created() {
    // this.modelNameChange();
    this.getWorkByType();
  },
  mounted() {
    this.getWorkByType();
  },
  methods: {
    // 获取流程模板信息
    getWorkByType() {
      console.log('this.paramVOS',this.paramVOS)
      let params = {
        type: '文档审签流程',
        filterTemplate: ""
        type: this.paramVOS.templatetype,
        filterTemplate: this.paramVOS.filterTemplate || ""
      }
      getTemplateByType(params).then(res => {
        const data = res.data.data;
@@ -179,7 +180,7 @@
        this.processTemplateList = data;
        this.saveParam.processTemplate = data[0].value;
        this.saveParam.processName = userInfo.content.userName + '-' + data[0].value; // 对流程模板 流程名称赋默认值
        this.saveParam.processName = this.paramVOS.processname || userInfo.content.userName + '-' + data[0].value; // 对流程模板 流程名称赋默认值
        this.getProcessNode(data[0].attributes.oid); // 首次进入调用第一个模板的所有节点
      }).catch(err => {
@@ -191,7 +192,7 @@
    getProcessNode(oid) {
      let params = {
        processOid: oid,
        maxSecret: -1
        maxSecret: this.paramVOS.maxSecret || -1
      }
      getAllProcessNode(params).then(res => {
        const nodes = res.data.data;
@@ -222,14 +223,15 @@
    },
    handleConfirm() {
      const oids = this.dataStore.map(item => item.oid).join(',');
      let params = {
        deployid:this.processTemplateList[0].attributes.deploymentId,
        title:this.saveParam.processName,
        description:this.saveParam.processDesc,
        btmType:this.processTemplateList[0].attributes.taskType,
        uiType:this.processTemplateList[0].attributes.taskType,
        oids:'', // 当前数据oid,多个用,分隔
        detailInfoUrl:'', // 用户配置属性
        oids:oids, // 当前数据oid,多个用,分隔
        detailInfoUrl:this.paramVOS.detailInfoUrl || '', // 用户配置属性
        resetStatus:'Editing',
        nodeUsers:{
          ...this.collectParam