| | |
| | | export function showList(data){ |
| | | return http.get('/enforce/order/showList', {params: data}, { custom: { loading: true }}); |
| | | } |
| | | // 惠企政策 |
| | | // 惠企政策详情 |
| | | export function doc(id){ |
| | | return http.get('/system/doc/'+id, {params: data}, { custom: { loading: true }}); |
| | | return http.get('/system/doc/'+id, { custom: { loading: true }}); |
| | | } |
| | | // 信息公示详情 |
| | | export function order(id){ |
| | | return http.get('/enforce/order/'+id, { custom: { loading: true }}); |
| | | } |
| | |
| | | <template> |
| | | <view class="box"> |
| | | <view class="name"> |
| | | 中国社科院都阳:中国人口转变的独特性及其影响 |
| | | {{msg.docTitle}} |
| | | </view> |
| | | <view class="font"> |
| | | <view class="left"> |
| | | 政策类型 |
| | | {{type}} |
| | | </view> |
| | | <view class="right"> |
| | | 发布时间:2024-04-27 |
| | | 发布时间:{{msg.createTime}} |
| | | </view> |
| | | </view> |
| | | <view v-html="msg.docContent"> |
| | | |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { doc } from '@/api/index.js' |
| | | import { getDicts } from '@/api/data.js' |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | |
| | | msg:{}, |
| | | type:'' |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.getdata() |
| | | onLoad(options) { |
| | | this.getdata(options.id) |
| | | }, |
| | | methods: { |
| | | getdata(){ |
| | | console.log(this.$route.query) |
| | | //doc() |
| | | |
| | | getdata(id){ |
| | | doc(id).then(val => { |
| | | this.msg = val.data.data |
| | | this.msg.createTime = this.msg.createTime.slice(0, 10) |
| | | this.msg.docContent = decodeURIComponent(this.msg.docContent) |
| | | console.log(this.msg.docContent) |
| | | getDicts('doc_type').then(val => { |
| | | console.log(this.msg.docType) |
| | | |
| | | const value = val.data.data.find(item => item.dictValue == this.msg.docType) |
| | | this.type = value.dictLabel |
| | | }) |
| | | }) |
| | | } |
| | | } |
| | | } |
| | |
| | | 执法类型 |
| | | </view> |
| | | <view class="v"> |
| | | 司法检查 |
| | | {{type}} |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | |
| | | 执法人 |
| | | </view> |
| | | <view class="v"> |
| | | 刘欢欢 |
| | | {{msg.executeUser}} |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | |
| | | 执法部门 |
| | | </view> |
| | | <view class="v"> |
| | | 农业局 |
| | | {{msg.executeDeptName}} |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | |
| | | 企业 |
| | | </view> |
| | | <view class="v"> |
| | | 汉庭酒店 |
| | | {{msg.companyName}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | 执法主题 |
| | | </view> |
| | | <view class="v"> |
| | | 汉庭酒店司法检查233号文件 |
| | | {{msg.enforceReason}} |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="imgbox"> |
| | | <img src="/static/i01.png" class="more" @click="imgclick('/static/i01.png')" alt="" /> |
| | | <img v-for="(item,index) in img" :key="index" :src="item" class="more" alt="" @click="imgclick(item)" /> |
| | | |
| | | <!-- <img src="/static/i01.png" class="more" @click="imgclick('/static/i01.png')" alt="" /> |
| | | <img src="/static/i02.png" class="more" alt="" /> |
| | | <img src="/static/i03.png" class="more" alt="" /> |
| | | <img src="/static/i04.png" class="more" alt="" /> |
| | | <img src="/static/i04.png" class="more" alt="" /> --> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="k"> |
| | | 执法结果 |
| | | </view> |
| | | <view class="v" style="color: #EB4746;"> |
| | | 停业整顿 |
| | | {{msg.regionReason}} |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | |
| | | 执法时间 |
| | | </view> |
| | | <view class="v"> |
| | | 2024-10-10 16:24 |
| | | {{msg.executeTime}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { order } from '@/api/index.js' |
| | | import { getDicts } from '@/api/data.js' |
| | | import { config } from '@/common/config' |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | msg:{}, |
| | | type:'', |
| | | img:[], |
| | | baseUrl: config.baseUrl |
| | | |
| | | } |
| | | }, |
| | | onLoad(options) { |
| | | this.getdata(options.id) |
| | | }, |
| | | methods: { |
| | | getdata(id){ |
| | | order(id).then(val => { |
| | | this.msg = val.data.data |
| | | let arr = this.msg.regionImgs.split(","); |
| | | for(let i = 0;i<arr.length;i++){ |
| | | this.img.push(this.baseUrl+arr[i]) |
| | | } |
| | | console.log(this.img) |
| | | getDicts('enforce_type').then(val => { |
| | | const value = val.data.data.find(item => item.dictCode == this.msg.enforceType) |
| | | this.type = value.dictLabel |
| | | }) |
| | | }) |
| | | }, |
| | | imgclick(url){ |
| | | uni.previewImage({ |
| | | urls: [url] |
| | |
| | | <view> |
| | | <u-sticky bgColor="white"> |
| | | <view class="set-search"> |
| | | <u-search placeholder="请输入要查询的企业" shape="square" :showAction="false"></u-search> |
| | | <u-search placeholder="请输入要查询的企业" @search="search" @blur="search" shape="square" :showAction="false"></u-search> |
| | | </view> |
| | | <view class="border"></view> |
| | | </u-sticky> |
| | | <view class="item"> |
| | | <view class="item" v-for="(item,index) in list1"> |
| | | <img src="/static/i05.png" class="img" alt="" /> |
| | | <view class="right"> |
| | | <view class="name"> |
| | | 北京尚策互动科技有限公司 |
| | | {{item.companyName}} |
| | | </view> |
| | | <view class="box"> |
| | | <view class="l"> |
| | | <p>执法单位:农业农村局</p> |
| | | <p>执法时间:2024-06-03 12:30:67</p> |
| | | <p>执法单位:{{item.executeDeptName}}</p> |
| | | <p>执法时间:{{item.executeTime}}</p> |
| | | </view> |
| | | <view class="r"> |
| | | <view class="r" @click="chakan(item.orderId)"> |
| | | 去查看 |
| | | </view> |
| | | </view> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { showList } from '@/api/index.js' |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | |
| | | list1:[], |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10 |
| | | }, |
| | | total: 1, |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.getList() |
| | | }, |
| | | onReachBottom() { |
| | | if(this.list1.length == this.total) { |
| | | return |
| | | } |
| | | this.queryParams.pageNum++ |
| | | this.getList() |
| | | }, |
| | | methods: { |
| | | |
| | | search(e){ |
| | | this.list1 = [] |
| | | this.queryParams.pageNum =1 |
| | | this.queryParams.companyName = e |
| | | this.getList() |
| | | }, |
| | | chakan(id){ |
| | | uni.navigateTo({ |
| | | url: `/pages/message/details?id=${id}` |
| | | }) |
| | | }, |
| | | getList() { |
| | | showList({...this.queryParams}).then(val => { |
| | | // console.log(val.data) |
| | | this.total = val.data.total |
| | | this.list1 = [...this.list1,...val.data.rows] |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | </script> |