| | |
| | | <view class="set-line"> |
| | | <text>执法对象:</text>{{item.companyName}} |
| | | </view> |
| | | |
| | | <view class="line"></view> |
| | | <view class="set-flex set-start set-flex-content-between"> |
| | | <view> |
| | | <view style="width: 75%;"> |
| | | <view class="set-line1"> |
| | | <text>执法时间:</text>{{item.planTime}} |
| | | </view> |
| | | <view class="set-line1"> |
| | | <text>申请时间:</text>{{item.applyTime}} |
| | | </view> |
| | | <view class="look" v-if="item.show"> |
| | | <view class="set-line"> |
| | | <text>执法主题:</text>{{item.enforceReason}} |
| | | </view> |
| | | <view class="set-line"> |
| | | <text>执法类型:</text>{{handlerType(item.enforceType)}} |
| | | </view> |
| | | <view class="set-line set-line-flex"> |
| | | <text>执法内容:</text> <view>{{item.enforceContent}}</view> |
| | | </view> |
| | | </view> |
| | | |
| | | </view> |
| | | <view class="button" v-if="!isJudege" @click.self="goStartJudeg([item.orderId])"> |
| | | 审批 |
| | | </view> |
| | | </view> |
| | | <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> |
| | | </view> |
| | | </view> |
| | |
| | | <script> |
| | | import popupCom from '@/policy/components/popup.vue' |
| | | import { checkLogList, checkUpd } from '@/api/policy.js' |
| | | import { getDicts } from '@/api/data.js' |
| | | export default { |
| | | components: { |
| | | popupCom |
| | |
| | | isAsc: "desc", |
| | | orderByColumn: "apply_time" |
| | | }, |
| | | recordList: [] |
| | | recordList: [], |
| | | typeList: [] |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | } |
| | | }, |
| | | onLoad() { |
| | | this.checkLogList() |
| | | |
| | | this.getDicts() |
| | | }, |
| | | onReachBottom() { |
| | | if(this.total == this.list.length) { |
| | |
| | | } |
| | | this.queryms.pageNum++ |
| | | this.checkLogList() |
| | | |
| | | }, |
| | | methods: { |
| | | showItem(item) { |
| | | item.show = !item.show |
| | | }, |
| | | handlerType(type) { |
| | | const value = this.typeList.find(item => item.dictCode == type) |
| | | if(value) { |
| | | return value.dictLabel |
| | | } else { |
| | | return '' |
| | | } |
| | | }, |
| | | getDicts(type) { |
| | | getDicts('enforce_type').then(val => { |
| | | this.typeList = val.data.data |
| | | this.checkLogList() |
| | | }) |
| | | }, |
| | | goRecord() { |
| | | uni.navigateTo({ |
| | | url: `/policy/translateRecord/translateRecord` |
| | |
| | | checkLogList(this.queryms).then(val => { |
| | | val.data.rows.map(item => { |
| | | item.isSelect = false |
| | | item.show = false |
| | | }) |
| | | this.list = [...this.list,...val.data.rows ] |
| | | this.total = val.data.total |
| | |
| | | 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%; |
| | | } |
| | | } |
| | | </style> |