소스 검색

隐患排查修改完成

tiandewen 3 년 전
부모
커밋
93cc8d0131
36개의 변경된 파일482개의 추가작업 그리고 1146개의 파일을 삭제
  1. 0 0
      dist/css/chunk-09a8e562.c4519fc4.css
  2. 1 0
      dist/css/chunk-0acc0040.deb08db5.css
  3. 1 0
      dist/css/chunk-16767878.7b358f17.css
  4. 1 0
      dist/css/chunk-22b0cb16.88860ffa.css
  5. 1 0
      dist/css/chunk-361612fc.2f239c60.css
  6. 0 1
      dist/css/chunk-42e5daa0.03a2d3bd.css
  7. 0 1
      dist/css/chunk-56c340ce.42c7429e.css
  8. 0 1
      dist/css/chunk-6a45af1d.8faa4a04.css
  9. 0 1
      dist/css/chunk-8b86d114.14b22337.css
  10. 1 1
      dist/index.html
  11. 2 2
      dist/js/app.b80b2e7e.js
  12. 1 1
      dist/js/app.b80b2e7e.js.map
  13. 2 2
      dist/js/chunk-49824d3d.0ebbc3ee.js
  14. 1 1
      dist/js/chunk-49824d3d.0ebbc3ee.js.map
  15. 2 0
      dist/js/chunk-0acc0040.21b772f8.js
  16. 1 0
      dist/js/chunk-0acc0040.21b772f8.js.map
  17. 2 0
      dist/js/chunk-16767878.81acd71a.js
  18. 1 0
      dist/js/chunk-16767878.81acd71a.js.map
  19. 2 0
      dist/js/chunk-22b0cb16.313908fa.js
  20. 1 0
      dist/js/chunk-22b0cb16.313908fa.js.map
  21. 2 0
      dist/js/chunk-361612fc.f8e292b8.js
  22. 1 0
      dist/js/chunk-361612fc.f8e292b8.js.map
  23. 0 2
      dist/js/chunk-42e5daa0.c2797123.js
  24. 0 1
      dist/js/chunk-42e5daa0.c2797123.js.map
  25. 0 2
      dist/js/chunk-56c340ce.a6f764d5.js
  26. 0 1
      dist/js/chunk-56c340ce.a6f764d5.js.map
  27. 0 2
      dist/js/chunk-6a45af1d.31ec8058.js
  28. 0 1
      dist/js/chunk-6a45af1d.31ec8058.js.map
  29. 0 2
      dist/js/chunk-8b86d114.3b398838.js
  30. 0 1
      dist/js/chunk-8b86d114.3b398838.js.map
  31. 2 2
      src/router/index.js
  32. 1 1
      src/views/meihuajing/yinhuanpaicha/yinhuanform_my_yys.vue
  33. 301 205
      src/views/meihuajing/yinhuanpaicha/yinhuaninfo.vue
  34. 77 47
      src/views/meihuajing/yinhuanpaicha/yinhuaninfo_duban.vue
  35. 78 45
      src/views/meihuajing/yinhuanpaicha/yinhuaninfo_gongshi.vue
  36. 0 823
      src/views/meihuajing/yinhuanpaicha/yinhuaninfo备份11-18.vue

dist/css/chunk-49824d3d.c4519fc4.css → dist/css/chunk-09a8e562.c4519fc4.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/css/chunk-0acc0040.deb08db5.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/css/chunk-16767878.7b358f17.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/css/chunk-22b0cb16.88860ffa.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/css/chunk-361612fc.2f239c60.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/css/chunk-42e5daa0.03a2d3bd.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/css/chunk-56c340ce.42c7429e.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/css/chunk-6a45af1d.8faa4a04.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/css/chunk-8b86d114.14b22337.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/js/app.b80b2e7e.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/js/app.b80b2e7e.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/js/chunk-49824d3d.0ebbc3ee.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/js/chunk-49824d3d.0ebbc3ee.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 0
dist/js/chunk-0acc0040.21b772f8.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/js/chunk-0acc0040.21b772f8.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 0
dist/js/chunk-16767878.81acd71a.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/js/chunk-16767878.81acd71a.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 0
dist/js/chunk-22b0cb16.313908fa.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/js/chunk-22b0cb16.313908fa.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 0
dist/js/chunk-361612fc.f8e292b8.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/js/chunk-361612fc.f8e292b8.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 2
dist/js/chunk-42e5daa0.c2797123.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/js/chunk-42e5daa0.c2797123.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 2
dist/js/chunk-56c340ce.a6f764d5.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/js/chunk-56c340ce.a6f764d5.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 2
dist/js/chunk-6a45af1d.31ec8058.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/js/chunk-6a45af1d.31ec8058.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 2
dist/js/chunk-8b86d114.3b398838.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/js/chunk-8b86d114.3b398838.js.map


+ 2 - 2
src/router/index.js

@@ -427,7 +427,7 @@ const routes = [
     name: "yinhuanform",
     component: () => import("../views/meihuajing/yinhuanpaicha/yinhuanform.vue"),
     meta: {
-      title: "风险评级"
+      title: "隐患录入"
     }
   },
   //我的整改 未整改
@@ -600,7 +600,7 @@ const routes = [
     name: "yinhuaninfo_duban",
     component: () => import("../views/meihuajing/yinhuanpaicha/yinhuaninfo_duban.vue"),
     meta: {
-      title: "我的督办"
+      title: "安全管理"
     }
   },
   //路由重定向

+ 1 - 1
src/views/meihuajing/yinhuanpaicha/yinhuanform_my_yys.vue

@@ -239,7 +239,7 @@
             autosize
             label="整改意见"
             type="textarea"
-            placeholder="请输入信息"
+            placeholder=""
             readonly="false"
           />
         </van-cell-group>

+ 301 - 205
src/views/meihuajing/yinhuanpaicha/yinhuaninfo.vue

@@ -115,209 +115,237 @@
     <div class="footed">
       <van-tabs @click="onClick" v-model="active">
         <van-tab title="我的督办">
-          <div
-            class="footed_box"
-            v-for="(item, index) in TroubleshootData_list"
-            :key="index"
+          <van-list
+            v-model="loading"
+            :finished="finished"
+            finished-text="没有更多了"
+            @load="onLoad"
           >
-            <div class="footed_box_one">
-              <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
-              <!-- <p class="footed_box_one_p2">{{item.created_at}}</p> -->
-              <p
-                class="footed_box_one_p6"
-                v-if="item.rectification_status == 0"
-              >
-                未整改
-              </p>
-              <p
-                class="footed_box_one_p6_2"
-                v-if="item.rectification_status == 1"
-              >
-                已整改
-              </p>
-              <p
-                class="footed_box_one_p6_3"
-                style="background: #fdaf00"
-                v-if="item.rectification_status == 2"
-              >
-                申请延期
-              </p>
-              <p
-                class="footed_box_one_p6_3"
-                v-if="item.rectification_status == 3"
-              >
-                逾期
-              </p>
-
-              <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
-              <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
-              <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
-              <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
-            </div>
-            <div class="footed_box_two">
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">风险点</span>
-                <span>{{ item.risk_point }}</span>
+            <div
+              class="footed_box"
+              v-for="(item, index) in TroubleshootData_list"
+              :key="index"
+            >
+              <div class="footed_box_one">
+                <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
+                <!-- <p class="footed_box_one_p2">{{item.created_at}}</p> -->
+                <p
+                  class="footed_box_one_p6"
+                  v-if="item.rectification_status == 0"
+                >
+                  未整改
+                </p>
+                <p
+                  class="footed_box_one_p6_2"
+                  v-if="item.rectification_status == 1"
+                >
+                  已整改
+                </p>
+                <p
+                  class="footed_box_one_p6_3"
+                  style="background: #fdaf00"
+                  v-if="item.rectification_status == 2"
+                >
+                  申请延期
+                </p>
+                <p
+                  class="footed_box_one_p6_3"
+                  v-if="item.rectification_status == 3"
+                >
+                  逾期
+                </p>
+
+                <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
+                <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
+                <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
+                <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
               </div>
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">检查专业</span>
-                <span>{{ item.inspection_specialty }}</span>
+              <div class="footed_box_two">
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">风险点</span>
+                  <span>{{ item.risk_point }}</span>
+                </div>
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">检查专业</span>
+                  <span>{{ item.inspection_specialty }}</span>
+                </div>
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">责任单位</span>
+                  <span>{{ item.rectification_duty_unit }}</span>
+                </div>
               </div>
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">责任单位</span>
-                <span>{{ item.rectification_duty_unit }}</span>
+              <div class="footed_box_three" @click="dianji(item)">
+                <img src="../../../assets/images/meihuajing/信息.png" alt="" />
               </div>
             </div>
-            <div class="footed_box_three" @click="dianji(item)">
-              <img src="../../../assets/images/meihuajing/信息.png" alt="" />
-            </div>
-          </div>
+          </van-list>
         </van-tab>
         <van-tab title="我的验收" :badge="check_accept">
-          <div
-            class="footed_box"
-            v-for="(item, index) in TroubleshootData_list"
-            :key="index"
+          <van-list
+            v-model="loading"
+            :finished="finished"
+            finished-text="没有更多了"
+            @load="onLoad"
           >
-            <div class="footed_box_one">
-              <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
-              <p class="footed_box_one_p2">{{ item.created_at }}</p>
-              <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
-              <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
-              <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
-              <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
-            </div>
-            <div class="footed_box_two">
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">风险点</span>
-                <span>{{ item.risk_point }}</span>
+            <div
+              class="footed_box"
+              v-for="(item, index) in TroubleshootData_list"
+              :key="index"
+            >
+              <div class="footed_box_one">
+                <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
+                <p class="footed_box_one_p2">{{ item.created_at }}</p>
+                <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
+                <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
+                <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
+                <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
               </div>
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">检查专业</span>
-                <span>{{ item.inspection_specialty }}</span>
+              <div class="footed_box_two">
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">风险点</span>
+                  <span>{{ item.risk_point }}</span>
+                </div>
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">检查专业</span>
+                  <span>{{ item.inspection_specialty }}</span>
+                </div>
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">责任单位</span>
+                  <span>{{ item.rectification_duty_unit }}</span>
+                </div>
               </div>
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">责任单位</span>
-                <span>{{ item.rectification_duty_unit }}</span>
+              <div class="footed_box_three" @click="dianji(item)">
+                <img src="../../../assets/images/meihuajing/信息.png" alt="" />
               </div>
             </div>
-            <div class="footed_box_three" @click="dianji(item)">
-              <img src="../../../assets/images/meihuajing/信息.png" alt="" />
-            </div>
-          </div>
+          </van-list>
         </van-tab>
         <van-tab title="我的检查" :badge="inspect">
-          <div
-            class="footed_box"
-            v-for="(item, index) in TroubleshootData_list"
-            :key="index"
+          <van-list
+            v-model="loading"
+            :finished="finished"
+            finished-text="没有更多了"
+            @load="onLoad"
           >
-            <div class="footed_box_one">
-              <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
-              <!-- <p class="footed_box_one_p2">{{ item.created_at }}</p> -->
-              <p
-                class="footed_box_one_p6"
-                v-if="item.rectification_status == 0"
-              >
-                未整改
-              </p>
-              <p
-                class="footed_box_one_p6_2"
-                v-if="item.rectification_status == 1"
-              >
-                已整改
-              </p>
-              <p
-                class="footed_box_one_p6_3"
-                style="background: #fdaf00"
-                v-if="item.rectification_status == 2"
-              >
-                申请延期
-              </p>
-              <p
-                class="footed_box_one_p6_3"
-                v-if="item.rectification_status == 3"
-              >
-                逾期
-              </p>
-
-              <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
-              <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
-              <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
-              <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
-            </div>
-            <div class="footed_box_two">
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">风险点</span>
-                <span>{{ item.risk_point }}</span>
+            <div
+              class="footed_box"
+              v-for="(item, index) in TroubleshootData_list"
+              :key="index"
+            >
+              <div class="footed_box_one">
+                <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
+                <!-- <p class="footed_box_one_p2">{{ item.created_at }}</p> -->
+                <p
+                  class="footed_box_one_p6"
+                  v-if="item.rectification_status == 0"
+                >
+                  未整改
+                </p>
+                <p
+                  class="footed_box_one_p6_2"
+                  v-if="item.rectification_status == 1"
+                >
+                  已整改
+                </p>
+                <p
+                  class="footed_box_one_p6_3"
+                  style="background: #fdaf00"
+                  v-if="item.rectification_status == 2"
+                >
+                  申请延期
+                </p>
+                <p
+                  class="footed_box_one_p6_3"
+                  v-if="item.rectification_status == 3"
+                >
+                  逾期
+                </p>
+
+                <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
+                <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
+                <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
+                <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
               </div>
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">检查专业</span>
-                <span>{{ item.inspection_specialty }}</span>
+              <div class="footed_box_two">
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">风险点</span>
+                  <span>{{ item.risk_point }}</span>
+                </div>
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">检查专业</span>
+                  <span>{{ item.inspection_specialty }}</span>
+                </div>
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">责任单位</span>
+                  <span>{{ item.rectification_duty_unit }}</span>
+                </div>
               </div>
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">责任单位</span>
-                <span>{{ item.rectification_duty_unit }}</span>
+              <div class="footed_box_three" @click="dianji(item)">
+                <img src="../../../assets/images/meihuajing/信息.png" alt="" />
               </div>
             </div>
-            <div class="footed_box_three" @click="dianji(item)">
-              <img src="../../../assets/images/meihuajing/信息.png" alt="" />
-            </div>
-          </div>
+          </van-list>
         </van-tab>
         <van-tab title="我的整改" :badge="rectification">
-          <div
-            class="footed_box"
-            v-for="(item, index) in TroubleshootData_list"
-            :key="index"
+          <van-list
+            v-model="loading"
+            :finished="finished"
+            finished-text="没有更多了"
+            @load="onLoad"
           >
-            <div class="footed_box_one">
-              <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
-              <p class="footed_box_one_p2">{{ item.created_at }}</p>
-              <p
-                class="footed_box_one_p6"
-                v-if="item.rectification_status == 0"
-              >
-                未整改
-              </p>
-              <p
-                class="footed_box_one_p6_2"
-                v-if="item.rectification_status == 1"
-              >
-                已整改
-              </p>
-              <p
-                class="footed_box_one_p6_3"
-                style="background: #fdaf00"
-                v-if="item.rectification_status == 2"
-              >
-                申请延期
-              </p>
-              <p
-                class="footed_box_one_p6_3"
-                v-if="item.rectification_status == 3"
-              >
-                逾期
-              </p>
-            </div>
-            <div class="footed_box_two">
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">风险点</span>
-                <span>{{ item.risk_point }}</span>
+            <div
+              class="footed_box"
+              v-for="(item, index) in TroubleshootData_list"
+              :key="index"
+            >
+              <div class="footed_box_one">
+                <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
+                <p class="footed_box_one_p2">{{ item.created_at }}</p>
+                <p
+                  class="footed_box_one_p6"
+                  v-if="item.rectification_status == 0"
+                >
+                  未整改
+                </p>
+                <p
+                  class="footed_box_one_p6_2"
+                  v-if="item.rectification_status == 1"
+                >
+                  已整改
+                </p>
+                <p
+                  class="footed_box_one_p6_3"
+                  style="background: #fdaf00"
+                  v-if="item.rectification_status == 2"
+                >
+                  申请延期
+                </p>
+                <p
+                  class="footed_box_one_p6_3"
+                  v-if="item.rectification_status == 3"
+                >
+                  逾期
+                </p>
               </div>
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">检查专业</span>
-                <span>{{ item.inspection_specialty }}</span>
+              <div class="footed_box_two">
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">风险点</span>
+                  <span>{{ item.risk_point }}</span>
+                </div>
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">检查专业</span>
+                  <span>{{ item.inspection_specialty }}</span>
+                </div>
+                <div class="footed_box_two_div">
+                  <span class="footed_box_span1">责任单位</span>
+                  <span>{{ item.rectification_duty_unit }}</span>
+                </div>
               </div>
-              <div class="footed_box_two_div">
-                <span class="footed_box_span1">责任单位</span>
-                <span>{{ item.rectification_duty_unit }}</span>
+              <div class="footed_box_three" @click="dianji(item)">
+                <img src="../../../assets/images/meihuajing/信息.png" alt="" />
               </div>
             </div>
-            <div class="footed_box_three" @click="dianji(item)">
-              <img src="../../../assets/images/meihuajing/信息.png" alt="" />
-            </div>
-          </div>
+          </van-list>
         </van-tab>
       </van-tabs>
     </div>
@@ -330,6 +358,10 @@ import { getAllUrlParams } from "../../../plugins/url-encapsulation.js";
 export default {
   data() {
     return {
+      page: 1,
+      loading: false,
+      finished: false,
+
       shows: true, //tabber是否显示
       active: 0, //选择当前在我的发布,我的整改,全部
       value1: "", //责任单位
@@ -418,18 +450,33 @@ export default {
       if (name == 0) {
         // 我的督办
         this.type = 6;
+        this.page = 1;
+        this.TroubleshootData_list = [];
+
         this.getTroubleshootData();
       } else if (name == 1) {
         // 我的验收
         this.type = 3;
+        this.page = 1;
+
+        this.TroubleshootData_list = [];
+
         this.getTroubleshootData();
       } else if (name == 2) {
         // 我的检查
         this.type = 2;
+        this.page = 1;
+
+        this.TroubleshootData_list = [];
+
         this.getTroubleshootData();
       } else if (name == 3) {
         // 我的整改
         this.type = 1;
+        this.page = 1;
+
+        this.TroubleshootData_list = [];
+
         this.getTroubleshootData();
       }
     },
@@ -438,7 +485,7 @@ export default {
     //点击时需要传参
     dianji(item) {
       if (this.active == 2) {
-        this.inspect = " "
+        this.inspect = " ";
         // 我的检查
         if (item.rectification_status == 0 && item.status == 1) {
           //未整改 未验收
@@ -482,8 +529,7 @@ export default {
           );
         }
       } else if (this.active == 3) {
-
-        this.rectification = ""
+        this.rectification = "";
         // 我的整改
         if (item.rectification_status == 0) {
           // 未整改
@@ -507,7 +553,7 @@ export default {
           );
         }
       } else if (this.active == 1) {
-        this.check_accept = " "
+        this.check_accept = " ";
 
         // 我的验收
         if (item.status == 1) {
@@ -597,29 +643,80 @@ export default {
         });
     },
 
+    onLoad() {
+      this.getTroubleshootData();
+    },
     // 获取隐患排查列表
     getTroubleshootData() {
-      this.TroubleshootData_list = [];
       this.$toast.loading();
 
-      this.$http
-        .post(
-          "http://meihuajing.nxjiewei.com:8011/api/troubleshoot/getTroubleshootData",
-          {
-            type: this.type,
-
-            rectification_duty_unit: this.sectionArr_key,
-            rectification_duty_person: this.staffArr_key,
-            inspection_specialty: this.inspectionSpecialtyArr_key,
-          }
-        )
-        .then((res) => {
-          this.$toast.clear();
-          console.log(res);
-          console.log(res.data.data.data);
-
-          this.TroubleshootData_list = res.data.data.data;
-        });
+      if (this.type == 6) {
+        this.$http
+          .post(
+            "http://meihuajing.nxjiewei.com:8011/api/troubleshoot/getTroubleshootData",
+            {
+              type: this.type,
+              page: this.page,
+
+              rectification_duty_unit: this.sectionArr_key,
+              rectification_duty_person: this.staffArr_key,
+              inspection_specialty: this.inspectionSpecialtyArr_key,
+            }
+          )
+          .then((res) => {
+            this.$toast.clear();
+            console.log(res);
+            console.log(res.data.data);
+
+            // 加载状态结束
+            this.loading = false;
+            this.page++;
+
+            console.log(res.data.data.length);
+            // 数据全部加载完成
+            if (res.data.data.length < 10) {
+              this.finished = true;
+            }
+
+            // this.TroubleshootData_list = res.data.data.data;
+            this.TroubleshootData_list = this.TroubleshootData_list.concat(
+              res.data.data
+            );
+          });
+      } else {
+        this.$http
+          .post(
+            "http://meihuajing.nxjiewei.com:8011/api/troubleshoot/getTroubleshootData",
+            {
+              type: this.type,
+              page: this.page,
+
+              rectification_duty_unit: this.sectionArr_key,
+              rectification_duty_person: this.staffArr_key,
+              inspection_specialty: this.inspectionSpecialtyArr_key,
+            }
+          )
+          .then((res) => {
+            this.$toast.clear();
+            console.log(res);
+            console.log(res.data.data.data);
+
+            // 加载状态结束
+            this.loading = false;
+            this.page++;
+
+            console.log(res.data.data.data.length);
+            // 数据全部加载完成
+            if (res.data.data.data.length < 10) {
+              this.finished = true;
+            }
+
+            // this.TroubleshootData_list = res.data.data.data;
+            this.TroubleshootData_list = this.TroubleshootData_list.concat(
+              res.data.data.data
+            );
+          });
+      }
     },
 
     // 获取部门、人
@@ -664,16 +761,15 @@ export default {
         )
         .then((res) => {
           console.log(res.data.data);
-          if(res.data.data.check_accept != 0){
+          if (res.data.data.check_accept != 0) {
             this.check_accept = res.data.data.check_accept;
           }
-          if(res.data.data.inspect != 0){
+          if (res.data.data.inspect != 0) {
             this.inspect = res.data.data.inspect;
           }
-          if(res.data.data.rectification != 0){
+          if (res.data.data.rectification != 0) {
             this.rectification = res.data.data.rectification;
           }
-          
         });
     },
   },
@@ -692,7 +788,7 @@ export default {
     // 获取检查专业等筛选信息
     this.getRiskAndTroubleshootConfigData();
 
-    this.getTroubleshootData();
+    // this.getTroubleshootData();
     this.getSectionStaff();
     this.get_getDBNum();
   },

+ 77 - 47
src/views/meihuajing/yinhuanpaicha/yinhuaninfo_duban.vue

@@ -1,54 +1,67 @@
 <template>
   <div>
     <div class="footed">
-      <div
-        class="footed_box"
-        v-for="(item, index) in TroubleshootData_list"
-        :key="index"
+      <van-list
+        v-model="loading"
+        :finished="finished"
+        finished-text="没有更多了"
+        @load="onLoad"
       >
-        <div class="footed_box_one">
-          <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
-          <!-- <p class="footed_box_one_p2">{{item.created_at}}</p> -->
-          <p class="footed_box_one_p6" v-if="item.rectification_status == 0">
-            未整改
-          </p>
-          <p class="footed_box_one_p6_2" v-if="item.rectification_status == 1">
-            已整改
-          </p>
-          <p
-            class="footed_box_one_p6_3"
-            style="background: #fdaf00"
-            v-if="item.rectification_status == 2"
-          >
-            申请延期
-          </p>
-          <p class="footed_box_one_p6_3" v-if="item.rectification_status == 3">
-            逾期
-          </p>
+        <div
+          class="footed_box"
+          v-for="(item, index) in TroubleshootData_list"
+          :key="index"
+        >
+          <div class="footed_box_one">
+            <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
+            <!-- <p class="footed_box_one_p2">{{item.created_at}}</p> -->
+            <p class="footed_box_one_p6" v-if="item.rectification_status == 0">
+              未整改
+            </p>
+            <p
+              class="footed_box_one_p6_2"
+              v-if="item.rectification_status == 1"
+            >
+              已整改
+            </p>
+            <p
+              class="footed_box_one_p6_3"
+              style="background: #fdaf00"
+              v-if="item.rectification_status == 2"
+            >
+              申请延期
+            </p>
+            <p
+              class="footed_box_one_p6_3"
+              v-if="item.rectification_status == 3"
+            >
+              逾期
+            </p>
 
-          <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
-          <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
-          <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
-          <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
-        </div>
-        <div class="footed_box_two">
-          <div class="footed_box_two_div">
-            <span class="footed_box_span1">风险点</span>
-            <span>{{ item.risk_point }}</span>
+            <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
+            <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
+            <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
+            <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
           </div>
-          <div class="footed_box_two_div">
-            <span class="footed_box_span1">检查专业</span>
-            <span>{{ item.inspection_specialty }}</span>
+          <div class="footed_box_two">
+            <div class="footed_box_two_div">
+              <span class="footed_box_span1">风险点</span>
+              <span>{{ item.risk_point }}</span>
+            </div>
+            <div class="footed_box_two_div">
+              <span class="footed_box_span1">检查专业</span>
+              <span>{{ item.inspection_specialty }}</span>
+            </div>
+            <div class="footed_box_two_div">
+              <span class="footed_box_span1">责任单位</span>
+              <span>{{ item.rectification_duty_unit }}</span>
+            </div>
           </div>
-          <div class="footed_box_two_div">
-            <span class="footed_box_span1">责任单位</span>
-            <span>{{ item.rectification_duty_unit }}</span>
+          <div class="footed_box_three" @click="dianji(item)">
+            <img src="../../../assets/images/meihuajing/信息.png" alt="" />
           </div>
         </div>
-        <div class="footed_box_three" @click="dianji(item)">
-          <img src="../../../assets/images/meihuajing/信息.png" alt="" />
-        </div>
-      </div>
+      </van-list>
     </div>
   </div>
 </template>
@@ -57,14 +70,20 @@
 export default {
   data() {
     return {
+      page: 1,
+      loading: false,
+      finished: false,
+
       // 隐患列表
       TroubleshootData_list: [],
     };
   },
   methods: {
+    onLoad() {
+      this.getTroubleshootData();
+    },
     // 获取隐患排查列表
     getTroubleshootData() {
-      this.TroubleshootData_list = [];
       this.$toast.loading();
 
       this.$http
@@ -72,14 +91,27 @@ export default {
           "http://meihuajing.nxjiewei.com:8011/api/troubleshoot/getTroubleshootData",
           {
             type: 4,
+            page: this.page,
           }
         )
         .then((res) => {
           this.$toast.clear();
           console.log(res);
-          console.log(res.data.data);
+          console.log(res.data.data.data);
+          // 加载状态结束
+          this.loading = false;
+          this.page++;
 
-          this.TroubleshootData_list = res.data.data;
+          console.log(res.data.data.data.length);
+          // 数据全部加载完成
+          if (res.data.data.data.length < 10) {
+            this.finished = true;
+          }
+
+          // this.TroubleshootData_list = res.data.data.data;
+          this.TroubleshootData_list = this.TroubleshootData_list.concat(
+            res.data.data.data
+          );
         });
     },
 
@@ -100,8 +132,6 @@ export default {
   },
   mounted() {
     document.body.style.backgroundColor = "#f0f0f0"; //背景色
-
-    this.getTroubleshootData();
   },
 };
 </script>

+ 78 - 45
src/views/meihuajing/yinhuanpaicha/yinhuaninfo_gongshi.vue

@@ -1,54 +1,67 @@
 <template>
   <div>
     <div class="footed">
-      <div
-        class="footed_box"
-        v-for="(item, index) in TroubleshootData_list"
-        :key="index"
+      <van-list
+        v-model="loading"
+        :finished="finished"
+        finished-text="没有更多了"
+        @load="onLoad"
       >
-        <div class="footed_box_one">
-          <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
-          <!-- <p class="footed_box_one_p2">{{item.created_at}}</p> -->
-          <p class="footed_box_one_p6" v-if="item.rectification_status == 0">
-            未整改
-          </p>
-          <p class="footed_box_one_p6_2" v-if="item.rectification_status == 1">
-            已整改
-          </p>
-          <p
-            class="footed_box_one_p6_3"
-            style="background: #fdaf00"
-            v-if="item.rectification_status == 2"
-          >
-            申请延期
-          </p>
-          <p class="footed_box_one_p6_3" v-if="item.rectification_status == 3">
-            逾期
-          </p>
+        <div
+          class="footed_box"
+          v-for="(item, index) in TroubleshootData_list"
+          :key="index"
+        >
+          <div class="footed_box_one">
+            <p class="footed_box_one_p1">{{ item.inspected_person }}</p>
+            <!-- <p class="footed_box_one_p2">{{item.created_at}}</p> -->
+            <p class="footed_box_one_p6" v-if="item.rectification_status == 0">
+              未整改
+            </p>
+            <p
+              class="footed_box_one_p6_2"
+              v-if="item.rectification_status == 1"
+            >
+              已整改
+            </p>
+            <p
+              class="footed_box_one_p6_3"
+              style="background: #fdaf00"
+              v-if="item.rectification_status == 2"
+            >
+              申请延期
+            </p>
+            <p
+              class="footed_box_one_p6_3"
+              v-if="item.rectification_status == 3"
+            >
+              逾期
+            </p>
 
-          <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
-          <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
-          <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
-          <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
-        </div>
-        <div class="footed_box_two">
-          <div class="footed_box_two_div">
-            <span class="footed_box_span1">风险点</span>
-            <span>{{ item.risk_point }}</span>
+            <p class="footed_box_one_p4" v-if="item.status == 1">未验收</p>
+            <p class="footed_box_one_p3" v-if="item.status == 2">已验收</p>
+            <p class="footed_box_one_p5" v-if="item.status == 3">逾期</p>
+            <p class="footed_box_one_p5" v-if="item.status == 4">未通过</p>
           </div>
-          <div class="footed_box_two_div">
-            <span class="footed_box_span1">检查专业</span>
-            <span>{{ item.inspection_specialty }}</span>
+          <div class="footed_box_two">
+            <div class="footed_box_two_div">
+              <span class="footed_box_span1">风险点</span>
+              <span>{{ item.risk_point }}</span>
+            </div>
+            <div class="footed_box_two_div">
+              <span class="footed_box_span1">检查专业</span>
+              <span>{{ item.inspection_specialty }}</span>
+            </div>
+            <div class="footed_box_two_div">
+              <span class="footed_box_span1">责任单位</span>
+              <span>{{ item.rectification_duty_unit }}</span>
+            </div>
           </div>
-          <div class="footed_box_two_div">
-            <span class="footed_box_span1">责任单位</span>
-            <span>{{ item.rectification_duty_unit }}</span>
+          <div class="footed_box_three" @click="dianji(item)">
+            <img src="../../../assets/images/meihuajing/信息.png" alt="" />
           </div>
         </div>
-        <div class="footed_box_three" @click="dianji(item)">
-          <img src="../../../assets/images/meihuajing/信息.png" alt="" />
-        </div>
-      </div>
+      </van-list>
     </div>
   </div>
 </template>
@@ -57,14 +70,21 @@
 export default {
   data() {
     return {
+      page: 1,
+      loading: false,
+      finished: false,
+
       // 隐患列表
       TroubleshootData_list: [],
     };
   },
   methods: {
+    onLoad() {
+      this.getTroubleshootData();
+    },
     // 获取隐患排查列表
     getTroubleshootData() {
-      this.TroubleshootData_list = [];
+
       this.$toast.loading();
 
       this.$http
@@ -72,14 +92,28 @@ export default {
           "http://meihuajing.nxjiewei.com:8011/api/troubleshoot/getTroubleshootData",
           {
             type: 5,
+            page: this.page,
           }
         )
         .then((res) => {
           this.$toast.clear();
           console.log(res);
           console.log(res.data.data.data);
+           // 加载状态结束
+          this.loading = false;
+          this.page++;
+
+          console.log(res.data.data.data.length)
+          // 数据全部加载完成
+          if (res.data.data.data.length < 10) {
+            this.finished = true;
+          }
+
+          // this.TroubleshootData_list = res.data.data.data;
+          this.TroubleshootData_list = this.TroubleshootData_list.concat(res.data.data.data)
+
 
-          this.TroubleshootData_list = res.data.data.data;
+         
         });
     },
 
@@ -125,7 +159,6 @@ export default {
   mounted() {
     document.body.style.backgroundColor = "#f0f0f0"; //背景色
 
-    this.getTroubleshootData();
   },
 };
 </script>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 823
src/views/meihuajing/yinhuanpaicha/yinhuaninfo备份11-18.vue