| | |
| | | <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> |
| | |
| | | <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> |
| | | |
| | |
| | | 审批 |
| | | </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> |
| | |
| | | |
| | | <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 |
| | |
| | | } |
| | | this.queryms.pageNum++ |
| | | this.checkLogList() |
| | | |
| | | }, |
| | | methods: { |
| | | showItem(item) { |
| | |
| | | }, |
| | | 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: '审批成功', |
| | |
| | | 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%; |
| | | } |