| | |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">执法时间</view> |
| | | <view>{{details.executeTime}}</view> |
| | | <view>{{details.planTime}}</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">执法类型</view> |
| | | <view>{{details.enforceTypeName}}</view> |
| | | <view>{{typeList}}</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">执法人员</view> |
| | | <view>{{details.executeUser}}</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">执法部门</view> |
| | | <view>{{details.executeDeptName}}</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | |
| | | <template v-if="!details.executeUser"> |
| | | <view class="view-form-item"> |
| | | <view class="label">执法人员</view> |
| | | <view>{{details.applyUser}}</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">执法部门</view> |
| | | <view>{{details.applyDeptName}}</view> |
| | | </view> |
| | | </template> |
| | | <template v-else> |
| | | <view class="view-form-item"> |
| | | <view class="label">执法人员</view> |
| | | <view>{{details.executeUser}}</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">执法部门</view> |
| | | <view>{{details.executeDeptName}}</view> |
| | | </view> |
| | | </template> |
| | | <view class="view-form-item" > |
| | | <view class="label">随行人员</view> |
| | | <view>随行人员</view> |
| | | <view> |
| | | <view v-for="(item,index) in details.peers" :key="index"> |
| | | {{item.peerUser}}({{item.peerDeptName}}) |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">是否通知企业</view> |
| | |
| | | <text>执法内容</text> |
| | | </view> |
| | | <view class="view-content"> |
| | | {{ details.regionReason }} |
| | | {{ details.enforceContent }} |
| | | </view> |
| | | </view> |
| | | <view class="base-card"> |
| | | <!-- <view class="base-card" v-if="judgeDetails.length"> |
| | | <view class="title"> |
| | | <text>审批情况</text> |
| | | </view> |
| | | <view class="view-form"> |
| | | <view class="view-form-item"> |
| | | <view class="label">审批结果</view> |
| | | <view>24年5月份消防突击检查</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">审批人</view> |
| | | <view>24年5月份消防突击检查</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">审批部门</view> |
| | | <view>24年5月份消防突击检查</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">审批时间</view> |
| | | <view>24年5月份消防突击检查</view> |
| | | <view v-for="(item,index) in judgeDetails" :key="index"> |
| | | <view class="view-form-item"> |
| | | <view class="label">审批结果</view> |
| | | <view v-if="item.checkStatus == 1" style="color: #3EB47A;">通过</view> |
| | | <view v-else style="color: red">拒绝</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">审批人</view> |
| | | <view>{{item.checkUser}}</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">审批部门</view> |
| | | <view>{{item.checkDeptName}}</view> |
| | | </view> |
| | | <view class="view-form-item"> |
| | | <view class="label">审批时间</view> |
| | | <view>{{item.checkTime}}</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="base-card"> |
| | | </view> --> |
| | | <view class="base-card" v-if="(details.orderStatus == 3 || details.orderStatus == 4) && details.regionImgs && details.regionImgs.length"> |
| | | <view class="title"> |
| | | <text>执法图片</text> |
| | | </view> |
| | | <view class="view-image"> |
| | | <image src="https://picsum.photos/200/300" mode="widthFix"></image> |
| | | <image src="https://picsum.photos/200/300" mode="widthFix"></image> |
| | | <image src="https://picsum.photos/200/300" mode="widthFix"></image> |
| | | <image src="https://picsum.photos/200/300" mode="widthFix"></image> |
| | | <image src="https://picsum.photos/200/300" mode="widthFix"></image> |
| | | <!-- {{regionImgs}} --> |
| | | <image :src="baseUrl+item" @click="previewImage(details.regionImgs, index)" mode="aspectFill" v-for="(item,index) in details.regionImgs" :key="index"></image> |
| | | </view> |
| | | </view> |
| | | <view class="base-card"> |
| | |
| | | <text>执法进度</text> |
| | | </view> |
| | | <view class="view-step"> |
| | | <view class="step-content"> |
| | | <image class="icon" src="/static/policy/icon.png" mode="widthFix"></image> |
| | | <view class="step-content" :class="{none: index == nodeList.length - 1}" v-for="(item,index) in nodeList" :key="index"> |
| | | <image class="icon" src="/static/policy/icon.png" mode="widthFix" v-if="!item.nodeReason"></image> |
| | | <image src="/static/policy/refject.png" mode="widthFix" class="icon" v-else></image> |
| | | <view class="top-title"> |
| | | 提交申请 |
| | | {{item.nodeName}} |
| | | </view> |
| | | <view class="down-tips"> |
| | | <view>提交人:<text>林小零</text></view> |
| | | <view class="time">2024-06-07 12:14</view> |
| | | <view class=" submit-per">提交人:<text>{{item.nodeUser}}</text></view> |
| | | <view class="time">{{item.nodeTime}}</view> |
| | | </view> |
| | | </view> |
| | | <view class="step-content"> |
| | | <!-- <view class="step-content"> |
| | | <image class="icon" src="/static/policy/icon.png" mode="widthFix"></image> |
| | | <view class="top-title"> |
| | | 提交申请 |
| | | 审批通过 |
| | | </view> |
| | | <view class="down-tips"> |
| | | <view>提交人:<text>林小零</text></view> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="step-content none"> |
| | | <!-- <image class="icon" src="/static/policy/icon.png" mode="widthFix"></image> --> |
| | | <image class="icon" src="/static/policy/icon.png" mode="widthFix"></image> |
| | | <image src="/static/policy/refject.png" mode="widthFix" class="icon"></image> |
| | | <view class="top-title"> |
| | | 提交申请 |
| | |
| | | <view>提交人:<text>林小零</text></view> |
| | | <view class="time">2024-06-07 12:14</view> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | |
| | | <script> |
| | | import { |
| | | orderDetails |
| | | orderDetails, |
| | | orderNodeList, |
| | | enforceLogList |
| | | } from '@/api/policy.js' |
| | | import { getDicts } from '@/api/data.js' |
| | | import { config } from '@/common/config' |
| | | export default { |
| | | data() { |
| | | return { |
| | | details: {}, |
| | | nodeList: [], |
| | | mapStatus: { |
| | | 1: '待审批', |
| | | 2: "待执行", |
| | | 3: "待上报", |
| | | '-1':"已拒绝", |
| | | 4: "已结束" |
| | | } |
| | | 4: "已上报", |
| | | 5: "企业已去人" |
| | | }, |
| | | typeList: '', |
| | | judgeDetails: [], |
| | | baseUrl: config.baseUrl |
| | | } |
| | | }, |
| | | onLoad(options) { |
| | | this.orderDetails(options.id) |
| | | this.getDetails(options.id) |
| | | this.orderNodeList(options.id) |
| | | this.enforceLogList(options.id) |
| | | if(options.setTitle) { |
| | | uni.setNavigationBarTitle({ |
| | | title: '' |
| | | }) |
| | | } |
| | | }, |
| | | methods: { |
| | | getDetails(orderId) { |
| | | orderDetails({ |
| | | orderId |
| | | }).then(val => { |
| | | this.details = val.data |
| | | this.details = val.data.data |
| | | if(this.details.regionImgs){ |
| | | this.details.regionImgs = this.details.regionImgs.split(",") |
| | | } |
| | | this.getDicts() |
| | | }) |
| | | }, |
| | | // 节点 |
| | | orderNodeList(orderId) { |
| | | orderNodeList({orderId}).then(val => { |
| | | this.nodeList = val.data.data |
| | | }) |
| | | }, |
| | | // 申请记录 |
| | | enforceLogList(orderId) { |
| | | enforceLogList({orderId}).then(val => { |
| | | // console.log(val.data.rows) |
| | | this.judgeDetails = val.data.rows |
| | | }) |
| | | }, |
| | | getDicts() { |
| | | getDicts('enforce_type').then(val => { |
| | | const value = val.data.data.find(item => item.dictCode == this.details.enforceType) |
| | | this.typeList = value.dictLabel |
| | | }) |
| | | }, |
| | | previewImage(list, index) { |
| | | const data = list.map(item => this.baseUrl + item) |
| | | console.log(data) |
| | | uni.previewImage({ |
| | | urls: data, |
| | | current: index |
| | | }) |
| | | } |
| | | } |
| | |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | @import "./applyRecordDetails.scss"; |
| | | </style> |
| | | </style> |