소스 검색

履职计划

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();