xiangpei
2025-02-12 6d940c074f3c46386866a917724e0ddf189a8524
流程设计-任务的候选人类型回显bug
2个文件已修改
9 ■■■■■ 已修改文件
src/components/Process/panel/TaskConfPanel.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/flow/Role/MyRole.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Process/panel/TaskConfPanel.vue
@@ -446,17 +446,18 @@
    // 设计器右侧表单数据回显
    checkValuesEcho(formData) {
      if (formData.expId) {
        console.log("456")
        this.getExpList(formData.expId);
        this.typeButDisable = true
        this.expButDisable = false
      } else {
        this.typeButDisable = false
        this.expSelect = null
      }
        if ("candidateGroups" === formData.userType || "candidateDeptGroups" === formData.userType) {
          this.getRoleOrDeptReview(formData.candidateGroups)
        } else {
          this.getUserList(formData[formData.userType], formData.userType);
        }
      }
    },
@@ -492,8 +493,9 @@
        this.typeButDisable = false
        // 根据id筛选出是角色还是部门
        const roleAndDeptIds = ids.split(",");
        const deptIds = roleAndDeptIds.filter(item => item.includes("dept"));
        const roleIds = roleAndDeptIds.filter(item => !item.includes("dept"));
        console.log("woc", roleAndDeptIds)
        const deptIds = roleAndDeptIds.filter(item => item.includes("dept") || item === '${data_launch}');
        const roleIds = roleAndDeptIds.filter(item => !item.includes("dept") && item !== '${data_launch}');
        if (roleIds && roleIds.length > 0) {  // 角色
          const targetRoleList = this.modelerStore.roleList?.filter(i => roleIds.includes(i.roleId.toString()))
src/components/flow/Role/MyRole.vue
@@ -106,7 +106,6 @@
  watch: {
  },
  mounted() {
    console.log("我家在了")
    this.getList();
  },
  methods: {