浏览代码

履职计划

luojun 2 年之前
父节点
当前提交
16653bc1a1
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/resumption/plan/dialog.edit.vue

+ 2 - 1
src/views/resumption/plan/dialog.edit.vue

@@ -409,7 +409,8 @@ export default {
         this.formData.planCreateOrgName = this.orgName;
         if (!isValidate) return;
         this.formData.itemList = this.tableData == null ? [] : this.tableData;
-        this.formData.roleList = this.selectedValues;
+        console.log(this.selectedValues,11111111)
+        this.formData.roleList = this.selectedValues.length==0?null:this.selectedValues;
         await api.update(this.formData);
         this.$emit("success");
         this.onHide();