| | |
| | | <template> |
| | | <view> |
| | | <img src="/static/head.png" class="head" alt="" /> |
| | | <view class="hqzc"> |
| | | <view class="hqzc" @click="more1()"> |
| | | <img src="/static/hqzc.png" class="img" alt="" /> |
| | | <view class="line"></view> |
| | | <view class="font"> |
| | | <p>海关总署贸易持续发展2024年立法局...</p> |
| | | <p>国家医疗保障局办公室关于发布管理... </p> |
| | | <p v-for="(item,index) in list1" :key="index" class="u-line-1">{{item.docTitle}}</p> |
| | | <!-- <p>海关总署贸易持续发展2024年立法...</p> |
| | | <p>国家医疗保障局办公室关于发布管理... </p> --> |
| | | </view> |
| | | <img src="/static/i06.png" class="more" alt="" /> |
| | | <img src="/static/i06.png" class="more" alt="" style="width: 46rpx;height: 46rpx;"/> |
| | | </view> |
| | | <view class="btnbox"> |
| | | <img src="/static/i01.png" class="more" alt="" style="margin-right: 18rpx;" /> |
| | | <img src="/static/i02.png" class="more" alt="" /> |
| | | <img src="/static/i03.png" class="more" alt="" style="margin-right: 18rpx;" /> |
| | | <img src="/static/i04.png" class="more" alt="" /> |
| | | <img src="/static/i01.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/> |
| | | <img src="/static/i02.png" class="more" alt="" @click="goMyCompany('02')"/> |
| | | <img src="/static/i03.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/> |
| | | <img src="/static/i04.png" class="more" alt="" @click="goMyCompany('00')"/> |
| | | <!-- <u-button @click="goMyCompany('01')">我是执法人员</u-button> |
| | | <u-button @click="goMyCompany('02')">我是企业</u-button> |
| | | <u-button @click="goMyCompany('00')">运营管理</u-button> --> |
| | |
| | | <view class="t"> |
| | | 信息公示 |
| | | </view> |
| | | <view class="m"> |
| | | <view class="m" @click="more2()"> |
| | | 查更多> |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="item" v-for="(item,index) in list2"> |
| | | <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="kankna(item.orderId)"> |
| | | 去查看 |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | | <!-- <view class="item"> |
| | | <img src="/static/i05.png" class="img" alt="" /> |
| | | <view class="right"> |
| | | <view class="name"> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | <view style="height: 30rpx;"></view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { docList,showList } from '@/api/index.js' |
| | | |
| | | // 00营商办,01执法,02企业 区分不同的登陆页面 |
| | | export default { |
| | | onLoad() { |
| | | |
| | | }, |
| | | onShow() { |
| | | this.getInfo() |
| | | const value = uni.getStorageSync("userInfo") |
| | | const sessionToken = uni.getStorageSync('sessionToken') |
| | | if(sessionToken && value && value.userType) { |
| | | const qiyeData = uni.getStorageSync('qiyedata') |
| | | if(value.userType == '02') { |
| | | uni.reLaunch({ |
| | | url:`/qiye/qiyeIndex/qiyeIndex?id=${qiyeData.deptId}` |
| | | }) |
| | | } else if(value.userType == '01'){ |
| | | uni.reLaunch({ |
| | | url:`/policy/policyIndex/policyIndex` |
| | | }) |
| | | } else { |
| | | uni.reLaunch({ |
| | | url:`/policy/policyIndex/policyIndex` |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | list1:[], |
| | | list2:[], |
| | | } |
| | | }, |
| | | methods: { |
| | | kankna(id){ |
| | | uni.navigateTo({ |
| | | url: `/pages/message/details?id=${id}` |
| | | }) |
| | | }, |
| | | more1(){ |
| | | uni.navigateTo({ |
| | | url: `/pages/hqzc/list` |
| | | }) |
| | | }, |
| | | more2(){ |
| | | uni.navigateTo({ |
| | | url: `/pages/message/list` |
| | | }) |
| | | }, |
| | | getInfo() { |
| | | docList({pageNum:1,pageSize:2}).then(val =>{ |
| | | let data = val.data.rows |
| | | for(let i = 0;i<data.length;i++){ |
| | | if(data[i].docTitle.length>17){ |
| | | data[i].docTitle = data[i].docTitle.slice(0, 17) + '...' |
| | | } |
| | | } |
| | | this.list1 = data |
| | | }) |
| | | showList({pageNum:1,pageSize:10}).then(val =>{ |
| | | //console.log(val.data.rows) |
| | | this.list2 = val.data.rows |
| | | }) |
| | | }, |
| | | goMyCompany(item) { |
| | | uni.navigateTo({ |
| | | url: `/pages/companyLogin/companyLogin?code=${item}` |
| | |
| | | top: 500rpx; |
| | | padding: 24rpx; |
| | | box-sizing: border-box; |
| | | |
| | | .line{ |
| | | width: 2rpx; |
| | | height: 50rpx; |
| | |
| | | font-size: 26rpx; |
| | | color: #4A4E60; |
| | | margin-right: 50rpx; |
| | | |
| | | width: 450rpx; |
| | | // text-align: center; |
| | | text-align: left; |
| | | } |
| | | } |
| | | .btnbox{ |
| | |
| | | .l{ |
| | | font-size: 26rpx; |
| | | color: #7e8593; |
| | | max-width: 80%; |
| | | |
| | | } |
| | | .r{ |
| | | width: 132rpx; |