ludc
2024-07-04 328b0158c3d97f87efc7da22a1e3f5a7c258b127
Source/plt-web/plt-web-ui/src/components/actions/base/startWorkFlow.vue
@@ -171,7 +171,7 @@
    getWorkByType() {
      let params = {
        type: '文档审签流程',
        filterTemplate: ""
        filterTemplate: "文档审签流程"
      }
      getTemplateByType(params).then(res => {
        const data = res.data.data;
@@ -179,7 +179,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 => {
@@ -222,14 +222,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