Przeglądaj źródła

调整履职计划下发

luojun 2 lat temu
rodzic
commit
0c61a55a42
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/resumption/plan/index.vue

+ 1 - 1
src/views/resumption/plan/index.vue

@@ -393,7 +393,7 @@ export default {
     ...mapMutations([]),
         //已完成下发的计划不显示下发按钮
     checkCanPublish(row) {
-      if (row.createOrgType == "1") {
+      if (row.createOrgType == "1"&&row.children.length==0) {
         return true
       }
       return false;