瀏覽代碼

调整检查计划

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;