|
|
@@ -407,12 +407,15 @@ export default {
|
|
|
...mapMutations([]),
|
|
|
//已完成下发的计划不显示下发按钮
|
|
|
checkCanPublish(row) {
|
|
|
- console.log(row.planOfOrgType,"row.planOfOrgType")
|
|
|
- console.log(row.planOfOrgType == "1"&& row.children.length == 0,"row.children.length")
|
|
|
- if (row.planOfOrgType == "1"&& row.children.length == 0) {
|
|
|
- console.log("1111")
|
|
|
+ // console.log(row.planOfOrgType,"row.planOfOrgType")
|
|
|
+ // console.log(row.planOfOrgType == "1"&& row.children.length == 0,"row.children.length")
|
|
|
+
|
|
|
+
|
|
|
+ if (row.planOfOrgType == "1"&& (row.children==null||row.children.length == 0)) {
|
|
|
+ // console.log("1111")
|
|
|
return true
|
|
|
}
|
|
|
+
|
|
|
return false;
|
|
|
},
|
|
|
splitRoleNames(val) {
|