Ver código fonte

feat:毕业管理

DESKTOP-USV654P\pc 8 meses atrás
pai
commit
2633c7154e

+ 8 - 8
src/views/educational/graduate/index.vue

@@ -91,15 +91,15 @@
     //   slots: { customRender: 'action' },
     //   fixed: 'right',
     // },
-    customRow: () => {
-      return {
-        onClick: () => {
-          return false;
-        },
-      };
-    },
+    // customRow: () => {
+    //   return {
+    //     onClick: () => {
+    //       return false;
+    //     },
+    //   };
+    // },
     rowSelection: {
-      type: 'checkbox',
+      // type: 'checkbox',
       onSelectAll: (selected: any, selectedRows: any, changeRows: any) => {
         selectRows.value = selectedRows;
       },

+ 4 - 0
src/views/honorManager/honorOrgManager/components/DeptDrawer.vue

@@ -114,6 +114,10 @@
           const values = await validate();
 
           setModalProps({ confirmLoading: true });
+
+          if (!values['parentId']) {
+            values['parentId'] = 0;
+          }
           // TODO custom api
           if (!unref(isUpdate)) {
             //false 新增