王恒
2025-08-06 c62f4961f9d86460a5d483d7b31c05f98b113290
policy/translate/translate.vue
@@ -1,7 +1,8 @@
<template>
   <view class="page-box">
      <view class="list">
         <view class="select-box" @click="setIsSelect(index)" v-for="(item,index) in list" :key="index" :class="{start: isJudege}">
      <view class="select-box" @click="setIsSelect(index)" v-for="(item,index) in list" :key="index"
        :class="{start: isJudege}">
            <view class="select-image" v-if="isJudege" >
               <image src="/static/policy/checkbox.png" mode="widthFix" v-show="item.isSelect"></image>
               <image src="/static/policy/none-checkbox.png" mode="widthFix" v-show="!item.isSelect"></image>
@@ -42,7 +43,8 @@
                           <text>执法类型:</text>{{handlerType(item.enforceType)}}
                        </view>
                        <view class="set-line set-line-flex">
                           <text>执法内容:</text> <view>{{item.enforceContent}}</view>
                  <text>执法内容:</text>
                  <view>{{item.enforceContent}}</view>
                        </view>
                     </view>
                     
@@ -51,7 +53,8 @@
                     审批
                  </view>
               </view>
               <view @click="showItem(item)" class="icon" style="text-align: center;display: flex;justify-content: center;align-items: center;">
          <view @click="showItem(item)" class="icon"
            style="text-align: center;display: flex;justify-content: center;align-items: center;">
                  <u-icon name="arrow-down" color="#bfbfbf" size="20" v-if="!item.show"></u-icon>
                  <u-icon name="arrow-up" color="#bfbfbf" size="20" v-else></u-icon>
               </view>
@@ -77,8 +80,13 @@
<script>
   import popupCom from '@/policy/components/popup.vue'
   import { checkLogList, checkUpd } from '@/api/policy.js'
   import { getDicts } from '@/api/data.js'
  import {
    checkLogList,
    checkUpd
  } from '@/api/policy.js'
  import {
    getDicts
  } from '@/api/data.js'
   export default {
      components: {
         popupCom
@@ -121,7 +129,6 @@
         }
         this.queryms.pageNum++
         this.checkLogList()
      },
      methods: {
         showItem(item) {
@@ -185,7 +192,11 @@
         },
         entery(form) {
            // 1企业审批,2执法单审批
            checkUpd({...form, ids: this.recordList, checkType: 2}).then(val => {
        checkUpd({
          ...form,
          ids: this.recordList,
          checkType: 2
        }).then(val => {
               if(val.data.code == 200) {
                  uni.showToast({
                     title: '审批成功',
@@ -233,14 +244,17 @@
      background-color: #F4F4F4 !important;
      border: none;
   }
   .set-line-flex{
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      text{
         width: 28%;
         display: inline-block;
      }
      & > view{
         width: 70%;
      }