| | |
| | | <text>所在党组织:</text> |
| | | </view> |
| | | <view class="flex flex-column a-end lh-48"> |
| | | <text>李雷</text> |
| | | <text>500000000000000000</text> |
| | | <text>成都市锦江区XXXXX部门</text> |
| | | <text>{{info.name}}</text> |
| | | <text>{{info.idCard}}</text> |
| | | <text>{{info.partyOrganization}}</text> |
| | | |
| | | </view> |
| | | </view> |
| | |
| | | <view class="btn_left" @click="onclose"> |
| | | 关闭 |
| | | </view> |
| | | <view class="btn_right"> |
| | | <view class="btn_right" @click="onclose"> |
| | | 编辑 |
| | | </view> |
| | | </view> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | getInfo |
| | | } from './service.js' |
| | | export default { |
| | | props: { |
| | | show: Boolean |
| | | }, |
| | | data() { |
| | | return { |
| | | |
| | | info:{}, |
| | | }; |
| | | }, |
| | | |
| | | methods: { |
| | | open() { |
| | | |
| | | getInfo().then(resp => { |
| | | console.log(resp, '党员信息'); |
| | | if(resp.code==200){ |
| | | this.info =resp.data |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | onclose() { |
| | | this.$emit('onCancel',false) |
| | | this.$emit('onCancel', false) |
| | | }, |
| | | }, |
| | | created() {}, |
| | |
| | | import request from '@/utils/request.js' |
| | | |
| | | export const getBanner =(params)=>{ |
| | | return request.get(`/api/huacheng-sangeshenbian/applet/home/banner-list`,params) |
| | | export const getInfo =(params)=>{ |
| | | return request.get(`/api/huacheng-sangeshenbian/applet/home/party-card-info`,params) |
| | | } |
| | | export const getMessagelist =(params)=>{ |
| | | return request.post(`/api/huacheng-sangeshenbian/applet/home/message`,params) |
| | | } |
| | | |
| | |
| | | list1: [], |
| | | showData: false, |
| | | isClick: false, |
| | | pageNum:1, |
| | | } |
| | | }, |
| | | onLoad() { |
| | | this.getBanner() |
| | | this.getBanner() |
| | | this.getMessagelist() |
| | | }, |
| | | methods: { |
| | | getBanner(){ |
| | | getBanner().then(resp=>{ |
| | | console.log(resp,'获取banner'); |
| | | getBanner() { |
| | | getBanner().then(resp => { |
| | | console.log(resp, '获取banner'); |
| | | }) |
| | | }, |
| | | getMessagelist() { |
| | | const data = { |
| | | pageNum: this.pageNum, |
| | | pageSize: 10 |
| | | } |
| | | getMessagelist(data).then(resp => { |
| | | console.log(resp, '获取消息列表'); |
| | | }) |
| | | }, |
| | | change() { |
| | |
| | | <image src="/static/location/back.png" class="w-19 h-35" mode=""></image> |
| | | </view> |
| | | </u-navbar> |
| | | <web-view src="https://api.map.baidu.com/api?v=3.0&ak=W3x8DhCWKc2UFIwYgclpRBdL6BeGLLQt"></wwb-view> |
| | | <!-- <web-view src="https://api.map.baidu.com/api?v=3.0&ak=W3x8DhCWKc2UFIwYgclpRBdL6BeGLLQt"></wwb-view> --> |
| | | |
| | | <view class=""> |
| | | <view class="searchMain mb-35"> |
| | |
| | | |
| | | return new Promise(function(resolve, reject) { |
| | | |
| | | let token = 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOjE2MTc3LCJ0eXBlIjoxLCJleHAiOjE3NDE2NjExMDYsImNyZWF0ZWQiOjE3NDAzNjUxMDY1MTh9.XRkMgKjEhRo6_BQK5fEVQ_Pv5bM-xeT36s4ju4Oh1F7ZmkIQOJUrdDnefub13JO6rZs3GT6dKnHZgCSyyQpsjg' |
| | | let token = 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOjE2MTc3LCJ0eXBlIjoxLCJleHAiOjE3NDE2NjExMDYsImNyZWF0ZWQiOjE3NDAzNjUxMDY1MTh9.XRkMgKjEhRo6_BQK5fEVQ_Pv5bM-xeT36s4ju4Oh1F7ZmkIQOJUrdDnefub13JO6rZs3GT6dKnHZgCSyyQpsjg' |
| | | let header = { |
| | | 'content-type': type ? 'application/x-www-form-urlencoded;charset=UTF-8' : 'application/json', |
| | | 'Authorization': token, |