@@ -19,7 +19,7 @@ export function itemfind(id) {
// 查询【请填写功能名称】详细
export function distribute(query) {
return request({
- url: '/core/api/plan/distribute' ,
+ url: '/core/checkplan/distribute' ,
method: 'post',
data: query
})
@@ -406,7 +406,7 @@ export default {
...mapMutations([]),
//已完成下发的计划不显示下发按钮
checkCanPublish(row) {
- if (row.createOrgType == "1"&&row.children.length==0) {
+ if (row.planOfOrgType == "1"&& row.children.length == 0) {
return true
}
return false;