Pārlūkot izejas kodu

调整履职计划下发

luojun 2 gadi atpakaļ
vecāks
revīzija
0c61a55a42
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;