소스 검색

调整检查计划

luojun 2 년 전
부모
커밋
aa26df1f43
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/api/safetycheck/plan.js
  2. 1 1
      src/views/check/index.vue

+ 1 - 1
src/api/safetycheck/plan.js

@@ -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
   })

+ 1 - 1
src/views/check/index.vue

@@ -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;