wjt
2024-06-22 f07b70558d5b84f1070470229037629bc1ace006
policy/translate/translate.vue
@@ -8,28 +8,28 @@
            </view>
            <view class="list-item">
               <view class="top-title">
                  <text>{{item.checkReason}}</text>
                  <text>{{item.enforceReason}}</text>
                  <text class="status">待审批</text>
               </view>
               <view class="user-info">
                  <text>王思雨</text>
                  <text>{{item.applyUser}}</text>
                  <view class="driver"></view>
                  <text>{{item.checkDeptName}}</text>
               </view>
               <view class="set-line">
                  <text>执法对象:</text>河南觉醒科技有限公司
                  <text>执法对象:</text>{{item.companyName}}
               </view>
               <view class="line"></view>
               <view class="set-flex set-start set-flex-content-between">
                  <view>
                     <view class="set-line1">
                        <text>执法时间:</text>2024-05-12 12:00
                        <text>执法时间:</text>{{item.planTime}}
                     </view>
                     <view class="set-line1">
                        <text>申请时间:</text>2024-05-12 12:00:12
                        <text>申请时间:</text>{{item.applyTime}}
                     </view>
                  </view>
                  <view class="button" v-if="!isJudege" @click="goStartJudeg">
                  <view class="button" v-if="!isJudege" @click="goStartJudeg(item.orderId)">
                     审批
                  </view>
               </view>
@@ -55,7 +55,7 @@
<script>
   import popupCom from '@/policy/components/popup.vue'
   import { checkLogList,checkUpd } from '@/api/policy.js'
   import { checkLogList, checkUpd } from '@/api/policy.js'
   export default {
      components: {
         popupCom
@@ -71,7 +71,8 @@
               pageNum: 1,
               pageSize: 10,
               checkStatus: 0
            }
            },
            recordList: []
         }
      },
      computed: {
@@ -103,7 +104,8 @@
         click() {
         },
         goStartJudeg() {
         goStartJudeg(id) {
            this.recordList = id
            this.$refs.popup.open()
         },
         // 批量审批
@@ -130,8 +132,22 @@
               })
            }
         },
         entery() {
            this.isJudege = false
         entery(form) {
            // 1企业审批,2执法单审批
            checkUpd({...form, id: this.recordList, checkType: 2}).then(val => {
               if(val.data.code == 200) {
                  uni.showToast({
                     title: '审批成功',
                     icon: 'none'
                  })
               }
               this.list = []
               this.queryms.pageNum = 1
               this.checkLogList()
               this.$refs.popup.close()
               this.isJudege = false
            })
         },
         cancelSelect() {
            this.isJudege = false