我的关注等

master
yujialong 11 months ago
parent 074a8921c0
commit 2e65e574c4
  1. 8
      apis/modules/supplier.js
  2. 2
      config/request.js
  3. 260
      other/follow/follow.vue
  4. 105
      other/registeredActivity/registeredActivity.vue
  5. 4
      other/vouchers/vouchers.vue
  6. 27
      other/webview/webview.vue
  7. 16
      pages.json
  8. 8
      pages/index/index.vue
  9. 2
      pages/person/person.vue
  10. 62
      pages/supplier/supplier.vue
  11. 28
      team/info/info.vue
  12. 4
      team/infoEdit/infoEdit.vue

@ -2,7 +2,7 @@ import request from '@/apis/request.js'
const { get, post } = request const { get, post } = request
export const selectEnterpriseCertificationList = (data) => { export const selectEnterpriseCertificationList = (data) => {
return post('nakadai/enterprise/certification/selectEnterpriseCertificationList', data) return post('nakadai/enterprise/certification/supplierList', data)
} }
export const treeStructureList = () => { export const treeStructureList = () => {
return post('nakadai/supplierClassification/treeStructureList') return post('nakadai/supplierClassification/treeStructureList')
@ -10,3 +10,9 @@ export const treeStructureList = () => {
export const saveSupplierClassification = (data) => { export const saveSupplierClassification = (data) => {
return post('nakadai/supplierClassificationConfig/save', data) return post('nakadai/supplierClassificationConfig/save', data)
} }
export const cancelCollection = (id) => {
return post('nakadai/collectionProvider/cancelCollection?id=' + id)
}
export const collect = (data) => {
return post('nakadai/collectionProvider/collect', data)
}

@ -5,7 +5,7 @@
*/ */
export default { export default {
// baseURL: 'http://192.168.31.51:10010/', // baseURL: 'http://192.168.31.217:10010/',
baseURL: 'http://124.71.79.122/', baseURL: 'http://124.71.79.122/',
headers: { headers: {
'Content-Type': 'application/json;charset=UTF-8' 'Content-Type': 'application/json;charset=UTF-8'

@ -0,0 +1,260 @@
<template>
<view :class="[{oh: !per}]">
<view class="page">
<view class="search-wrap">
<uni-search-bar class="search" radius="30" placeholder="请输入" v-model="keyword" clearButton="auto" cancelButton="none" @confirm="initList" @clear="clearKeyword" />
</view>
<view v-if="list.length" class="list">
<view class="item" v-for="(item, i) in list" :key="i" @click.stop="toDetail(item)">
<view class="pro-name">
<image class="icon" :src="item.logoUrl ? item.logoUrl : Common.shopIcon"></image>
{{ item.companyName }}
</view>
<view class="info">
<view v-if="item.briefIntroduction" class="intro">
<image class="icon" src="http://124.71.79.122/images/miniProgram/intro.png" mode="widthFix" />
<view class="text ell">{{ item.briefIntroduction }}</view>
</view>
<view v-if="item.province || item.city" class="meta">
<image class="icon" src="http://124.71.79.122/images/miniProgram/address1.png" mode="widthFix" />
{{ item.province }}-{{ item.city }}
</view>
<view class="actions">
<view class="star" @click.stop="collect(item)">
<uni-icons class="star-icon" color="#ffcf47" :type="item.whetherAttention ? 'star' : 'star-filled'" size="25" @click.stop="collect(item)"></uni-icons>
{{ item.whetherAttention ? '取消关注' : '关注' }}
</view>
<view class="order" @click.stop="toOrder(item)">我想采购</view>
</view>
</view>
</view>
</view>
<empty v-else></empty>
</view>
<order ref="order" />
</view>
</template>
<script>
import { selectEnterpriseCertificationList, treeStructureList, collect, cancelCollection } from '@/apis/modules/supplier.js'
import Common from '@/config/common'
export default {
data() {
return {
Common,
teamId: uni.getStorageSync('teamId') || '',
platformId: uni.getStorageSync('platformId'),
list: [],
reachBottom: 0, // 0->,1->,-1->
status: 'more', // more|loading|noMore
keyword: '',
page: 1,
pageSize: 5,
total: 0,
active: '',
typeVisible: false,
submiting: false,
}
},
//
onPullDownRefresh() {
this.initList()
setTimeout(() => {
uni.stopPullDownRefresh()
}, 1500)
},
//
onReachBottom() {
if (this.reachBottom >= 0) {
this.reachBottom = 1
this.status = 'loading'
this.getList()
}
},
onShow() {
this.keyword = ''
this.initList()
},
methods: {
initList() {
this.page = 1
this.reachBottom = 0
this.getList()
},
//
getList() {
uni.showLoading({
title: '加载中'
})
selectEnterpriseCertificationList({
auditStatus: null,
authenticationStatus: 2,
pageNum: this.page,
pageSize: this.pageSize,
platformSource: 6,
keyWord: this.keyword,
whetherAttention: 1
}).then(({ data }) => {
this.list = this.reachBottom > 0 ? [...this.list, ...data.records] : data.records
this.page++ // page+1
const noMore = this.list.length === data.total //
this.status = noMore ? 'noMore' : 'more' // noMore
this.reachBottom = noMore ? -1 : 0 // -1
uni.hideLoading()
}).catch(e => {
uni.hideLoading()
})
},
// keyword
clearKeyword() {
this.keyword = ''
this.initList()
},
//
toDetail(item) {
this.$util.to('/other/supplierDetail/supplierDetail?teamId=' + item.teamId)
},
//
toOrder(row) {
const el = this.$refs.order
el.remarks = ''
el.getGoods(row.teamId)
el.$refs.popup.open()
},
//
async collect(row) {
if (this.submiting) return false
this.submiting = true
if (row.whetherAttention) {
const that = this
uni.showModal({
title: '提示',
content: '确定要取消关注吗?',
async success(res) {
if (res.confirm) {
await cancelCollection(row.attentionId)
that.submiting = false
that.$util.sucMsg('取消关注成功')
that.initList()
}
}
})
} else {
const res = await collect({
supplierAccountId: row.accountId
})
this.submiting = false
this.initList()
}
},
}
}
</script>
<style scoped lang="scss">
.banner {
display: block;
width: 100%;
border: 0;
}
.wrap {
display: flex;
align-items: flex-start;
}
.list {
flex: 1;
width: 100vw;
overflow: hidden;
.item {
position: relative;
padding: 24rpx;
margin: 16rpx 24rpx;
background-color: #fff;
border-radius: 16rpx;
}
.pro-name {
display: flex;
align-items: center;
padding: 18rpx 0;
font-size: 32rpx;
font-weight: 600;
color: #333;
border-bottom: 1px solid #E6E8ED;
.icon {
width: 66rpx;
min-width: 66rpx;
height: 66rpx;
margin-right: 20rpx;
border-radius: 4px;
}
}
.info {
position: relative;
padding: 12rpx 0;
}
.line {
display: flex;
padding: 12rpx 0;
}
.name {
margin-right: 10rpx;
font-size: 28rpx;
color: #999;
}
.intro {
display: flex;
align-items: center;
margin: 10rpx 0 20rpx;
font-size: 26rpx;
color: #3c3c3c;
.text {
max-width: 49%;
}
}
.meta {
display: flex;
align-items: center;
margin-bottom: 20rpx;
font-size: 26rpx;
color: #3c3c3c;
}
.icon {
width: 30rpx;
margin-right: 10rpx;
}
.ell-wrap {
display: inline-flex;
align-items: center;
}
.ell {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.actions {
display: flex;
justify-content: flex-end;
align-items: center;
}
.star {
display: inline-flex;
align-items: center;
margin-right: 20rpx;
font-size: 28rpx;
color: #333;
.star-icon {
margin-right: 10rpx;
}
}
.order {
padding: 8rpx 28rpx;
font-size: 28rpx;
color: #fff;
background-color: $uni-primary;
border-radius: 20px;
}
}
</style>

@ -2,11 +2,10 @@
<view class="page"> <view class="page">
<view class="filter"> <view class="filter">
<uni-search-bar class="search" radius="30" placeholder="请输入活动名称" v-model="keyword" clearButton="auto" cancelButton="none" /> <uni-search-bar class="search" radius="30" placeholder="请输入活动名称" v-model="keyword" clearButton="auto" cancelButton="none" />
<uni-icons class="icon" custom-prefix="iconfont" type="icon-filter" size="22" color="#007eff" @click="popup = true"></uni-icons>
</view> </view>
<view class="wrap"> <view class="wrap">
<ul class="tab-wrap"> <view class="tab-wrap">
<view class="tab"> <view class="tab">
<li :class="{active: curTab === ''}" @click="tabChange('')">全部</li> <li :class="{active: curTab === ''}" @click="tabChange('')">全部</li>
</view> </view>
@ -14,7 +13,9 @@
<scroll-view scroll-x :scroll-left="scrollLeft" class="tab tab-scroll"> <scroll-view scroll-x :scroll-left="scrollLeft" class="tab tab-scroll">
<li v-for="(tab, i) in tabs" :key="i" :class="{active: curTab === tab.id}" @click="tabChange(tab.id)">{{ tab.classificationName }}</li> <li v-for="(tab, i) in tabs" :key="i" :class="{active: curTab === tab.id}" @click="tabChange(tab.id)">{{ tab.classificationName }}</li>
</scroll-view> </scroll-view>
</ul> <uni-icons class="icon" custom-prefix="iconfont" type="icon-filter" size="22" color="#007eff" @click="popup = true"></uni-icons>
</view>
<view v-if="list.length" class="list"> <view v-if="list.length" class="list">
<uni-swipe-action> <uni-swipe-action>
<uni-swipe-action-item <uni-swipe-action-item
@ -25,19 +26,14 @@
@click="e => handle(e, item)" @click="e => handle(e, item)"
> >
<view class="item" @click.stop="toDetail(item)"> <view class="item" @click.stop="toDetail(item)">
<view class="top">
<image class="pic" :src="item.coverUrl"></image> <image class="pic" :src="item.coverUrl"></image>
<view class="right">
<view class="name ell">{{ item.competitionName }}</view>
<view v-if="item.whetherToShowApplicants === '1'" class="meta ell">{{ item.applicantNum }}/{{ item.quantityLimit }}人已报名</view>
</view>
</view>
<view class="texts"> <view class="texts">
<view class="meta">举办时间{{ item.playStartTime + ' ~ ' + item.playEndTime }}</view> <view class="name ell">{{ item.competitionName }}</view>
<view v-if="item.playStartTime && item.playEndTime" class="meta">举办时间{{ item.playStartTime.substr(0, 16) + ' ~ ' + item.playEndTime.substr(0, 16) }}</view>
<view class="meta ell">主办方{{ item.sponsor }}</view> <view class="meta ell">主办方{{ item.sponsor }}</view>
<view v-if="item.whetherToShowApplicants === '1'" class="meta ell">{{ item.applicantNum }}/{{ item.quantityLimit }}人已报名</view>
<view class="voucher" @click.stop="use(item)">电子入场券</view>
</view> </view>
<view v-if="item.playing" class="voucher" @click.stop="use(item)">电子入场券</view>
</view> </view>
</uni-swipe-action-item> </uni-swipe-action-item>
</uni-swipe-action> </uni-swipe-action>
@ -68,51 +64,6 @@
return { return {
tabs: [], tabs: [],
popup: false, popup: false,
//
filters: [
{
children: false,//
title: "产品类型",
key: "productType", //
keyValue: "value", //
isRadio: true, //
data: [],
},
{
children: false,//
title: "官方精选",
key: "selection", //
keyValue: "value", //
data: [
{
value: 1,
title: '官方精选'
}
],
},
{
children: false,//
title: "产品标签",
key: "tagId", //
keyValue: "value", //
isRadio: true, //
data: [],
},
],
filterForm: {
productType: [],
selection: [],
tagId: []
},
form: {
categoryId: '',
professionalCategoryId: '',
professionalId: '',
productType: '',
selection: '',
tagId: ''
},
tagId: '',
curTab: '', curTab: '',
tabs: [], tabs: [],
scrollLeft: 0, scrollLeft: 0,
@ -281,10 +232,8 @@
}, },
// //
use(row) { use(row) {
if (row.playing) {
this.curRow = row this.curRow = row
this.$refs.popup.open() this.$refs.popup.open()
}
}, },
// //
closePopup() { closePopup() {
@ -297,8 +246,13 @@
<style scoped lang="scss"> <style scoped lang="scss">
.tab-wrap { .tab-wrap {
display: flex; display: flex;
align-items: center;
margin-bottom: 20rpx;
.tab {
margin-bottom: 0;
}
.tab-scroll { .tab-scroll {
width: calc(100% - 100rpx); width: calc(100% - 170rpx);
white-space: nowrap; white-space: nowrap;
li { li {
display: inline-block; display: inline-block;
@ -312,38 +266,31 @@
background-color: #fff; background-color: #fff;
.item { .item {
position: relative; position: relative;
padding: 28rpx 0;
overflow: hidden;
border-bottom: 1px solid rgba(225, 225, 225, .4);
}
.top {
display: flex; display: flex;
align-items: center; margin-bottom: 28rpx;
margin-bottom: 20rpx; background-color: #fff;
overflow: hidden;
} }
.pic { .pic {
min-width: 160rpx; min-width: 280rpx;
width: 160rpx; width: 280rpx;
height: 100rpx; height: 180rpx;
margin-right: 20rpx; margin-right: 20rpx;
border-radius: 8px; border-radius: 8px;
} }
.right { .texts {
width: calc(100% - 180rpx); position: relative;
width: calc(100% - 300rpx);
} }
.name { .name {
margin-bottom: 10rpx;
font-size: 28rpx; font-size: 28rpx;
font-weight: 600; font-weight: 600;
color: #333; color: #333;
} }
.meta { .meta {
margin-bottom: 10rpx; margin: 10rpx 0;
font-size: 24rpx; font-size: 24rpx;
color: #999; color: #999;
&:last-child {
margin-bottom: 0;
}
} }
.voucher { .voucher {
position: absolute; position: absolute;
@ -363,7 +310,7 @@
.sign-popup { .sign-popup {
position: relative; position: relative;
width: 80vw; width: 80vw;
padding: 20rpx 0; padding: 40rpx 0 20rpx;
text-align: center; text-align: center;
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;
@ -380,7 +327,7 @@
} }
.title { .title {
padding: 20rpx 0; padding: 20rpx 0;
margin: 20rpx 0; margin: 40rpx 0 20rpx;
font-size: 32rpx; font-size: 32rpx;
color: #fff; color: #fff;
background-color: $uni-primary; background-color: $uni-primary;

@ -220,7 +220,7 @@
.sign-popup { .sign-popup {
position: relative; position: relative;
width: 80vw; width: 80vw;
padding: 20rpx 0; padding: 40rpx 0 20rpx;
text-align: center; text-align: center;
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;
@ -237,7 +237,7 @@
} }
.title { .title {
padding: 20rpx 0; padding: 20rpx 0;
margin: 20rpx 0; margin: 40rpx 0 20rpx;
font-size: 32rpx; font-size: 32rpx;
color: #fff; color: #fff;
background-color: $uni-primary; background-color: $uni-primary;

@ -0,0 +1,27 @@
<template>
<view class="container">
<web-view :src="externalUrl"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
externalUrl: ''
};
},
onShow() {
const pages = getCurrentPages()
const { options } = pages[pages.length - 1]
this.externalUrl = options.url
}
};
</script>
<style scoped>
.container {
width: 100%;
height: 100vh;
}
</style>

@ -124,6 +124,22 @@
"navigationBarTitleText" : "爆款详情", "navigationBarTitleText" : "爆款详情",
"enablePullDownRefresh" : false "enablePullDownRefresh" : false
} }
},
{
"path" : "webview/webview",
"style" :
{
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
},
{
"path" : "follow/follow",
"style" :
{
"navigationBarTitleText" : "我的关注",
"enablePullDownRefresh" : true
}
} }
] ]
}, },

@ -266,12 +266,8 @@
} else if (selectLinkId === '3') { } else if (selectLinkId === '3') {
this.$util.to('/other/supplierDetail/supplierDetail?teamId=' + correspondingLinkId) this.$util.to('/other/supplierDetail/supplierDetail?teamId=' + correspondingLinkId)
} }
} else { } else if (item.jumpLink) { //
location.href = item.jumpLink this.$util.to('/other/webview/webview?url=' + item.jumpLink)
// uni.openUrl({
// url: item.jumpLink
// })
// this.$util.to()
} }
} }
}, },

@ -36,7 +36,7 @@
<image src="http://124.71.79.122/images/miniProgram/icon1.png" /> <image src="http://124.71.79.122/images/miniProgram/icon1.png" />
<view class="text ell">我的电子券</view> <view class="text ell">我的电子券</view>
</li> </li>
<li @click="tips"> <li @click="toPage('/other/follow/follow')">
<image src="http://124.71.79.122/images/miniProgram/icon2.png" /> <image src="http://124.71.79.122/images/miniProgram/icon2.png" />
<view class="text ell">我的关注</view> <view class="text ell">我的关注</view>
</li> </li>

@ -9,7 +9,7 @@
<view class="wrap"> <view class="wrap">
<sideSelect :menus.sync="classifications" @menuClick="menuClick" /> <sideSelect :menus.sync="classifications" @menuClick="menuClick" />
<view class="list"> <view class="list">
<view class="item" v-for="(item, i) in list" :key="i" @click="toDetail(item)"> <view class="item" v-for="(item, i) in list" :key="i" @click.stop="toDetail(item)">
<view class="pro-name"> <view class="pro-name">
<image class="icon" :src="item.logoUrl ? item.logoUrl : Common.shopIcon"></image> <image class="icon" :src="item.logoUrl ? item.logoUrl : Common.shopIcon"></image>
{{ item.companyName }} {{ item.companyName }}
@ -23,18 +23,24 @@
<image class="icon" src="http://124.71.79.122/images/miniProgram/address1.png" mode="widthFix" /> <image class="icon" src="http://124.71.79.122/images/miniProgram/address1.png" mode="widthFix" />
{{ item.province }}-{{ item.city }} {{ item.province }}-{{ item.city }}
</view> </view>
<view class="actions">
<view class="star" @click.stop="collect(item)">
<uni-icons class="star-icon" color="#ffcf47" :type="item.whetherAttention ? 'star' : 'star-filled'" size="25" @click.stop="collect(item)"></uni-icons>
{{ item.whetherAttention ? '取消关注' : '关注' }}
</view>
<view class="order" @click.stop="toOrder(item)">我想采购</view> <view class="order" @click.stop="toOrder(item)">我想采购</view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</view>
<view :class="['type-popup', {active: typeVisible}]"> <view :class="['type-popup', {active: typeVisible}]">
<uni-icons class="close" type="closeempty" size="20" color="#757575" @click="closeType"></uni-icons> <uni-icons class="close" type="closeempty" size="20" color="#757575" @click="closeType"></uni-icons>
<template v-for="(item, i) in classifications"> <template v-for="(item, i) in classifications">
<template v-if="item.children.length"> <template v-if="item.children && item.children.length">
<view :key="i" class="title">{{ item.classificationName }}</view> <view :key="i" class="title">{{ item.classificationName }}</view>
<view class="types"> <view class="types">
<view v-for="(child, j) in item.children" :key="j" :class="['item', {active: active == child.id}]" @click="classificationClick(child)">{{ child.classificationName }}</view> <view v-for="(child, j) in item.children" :key="j" :class="['item', {active: active == child.id}]" @click="classificationClick(child)">{{ child.classificationName }}</view>
@ -53,7 +59,7 @@
</template> </template>
<script> <script>
import { selectEnterpriseCertificationList, treeStructureList } from '@/apis/modules/supplier.js' import { selectEnterpriseCertificationList, treeStructureList, collect, cancelCollection } from '@/apis/modules/supplier.js'
import Common from '@/config/common' import Common from '@/config/common'
export default { export default {
data() { data() {
@ -108,6 +114,7 @@
classifications: [], classifications: [],
active: '', active: '',
typeVisible: false, typeVisible: false,
submiting: false,
} }
}, },
// //
@ -130,7 +137,6 @@
this.keyword = '' this.keyword = ''
this.typeVisible = false this.typeVisible = false
this.per = this.platformId !== 6 // this.per = this.platformId !== 6 //
// this.per = true //
this.per && this.initList() this.per && this.initList()
}, },
methods: { methods: {
@ -206,8 +212,36 @@
el.remarks = '' el.remarks = ''
el.getGoods(row.teamId) el.getGoods(row.teamId)
el.$refs.popup.open() el.$refs.popup.open()
},
//
async collect(row) {
if (this.submiting) return false
this.submiting = true
if (row.whetherAttention) {
const that = this
uni.showModal({
title: '提示',
content: '确定要取消关注吗?',
async success(res) {
if (res.confirm) {
await cancelCollection(row.attentionId)
that.submiting = false
that.$util.sucMsg('取消关注成功')
row.whetherAttention = 0
} }
} }
})
} else {
const res = await collect({
supplierAccountId: row.accountId
})
this.$set(row, 'attentionId', res.message)
this.submiting = false
row.whetherAttention = 1
}
},
}
} }
</script> </script>
@ -226,6 +260,7 @@
width: 100vw; width: 100vw;
overflow: hidden; overflow: hidden;
.item { .item {
position: relative;
padding: 24rpx; padding: 24rpx;
margin: 16rpx 24rpx; margin: 16rpx 24rpx;
background-color: #fff; background-color: #fff;
@ -273,6 +308,7 @@
.meta { .meta {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 20rpx;
font-size: 26rpx; font-size: 26rpx;
color: #3c3c3c; color: #3c3c3c;
} }
@ -289,10 +325,22 @@
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} }
.actions {
display: flex;
justify-content: flex-end;
align-items: center;
}
.star {
display: inline-flex;
align-items: center;
margin-right: 20rpx;
font-size: 28rpx;
color: #333;
.star-icon {
margin-right: 10rpx;
}
}
.order { .order {
position: absolute;
top: 14rpx;
right: 0;
padding: 8rpx 28rpx; padding: 8rpx 28rpx;
font-size: 28rpx; font-size: 28rpx;
color: #fff; color: #fff;

@ -9,15 +9,15 @@
</view> </view>
</view> </view>
<view class="line"> <view class="line">
<view class="name">幼儿园名称</view> <view class="name">{{ platformName }}名称</view>
<view class="val">{{ info.classificationName }}</view> <view class="val">{{ info.classificationName }}</view>
</view> </view>
<view class="line"> <view v-if="platformSource === '6'" class="line">
<view class="name">供应商分类</view> <view class="name">供应商分类</view>
<view class="val">{{ typeName }}</view> <view class="val">{{ typeName }}</view>
</view> </view>
<view class="line"> <view class="line">
<view class="name">幼儿园slogan</view> <view class="name">{{ platformName }}slogan</view>
<view class="val">{{ info.slogan }}</view> <view class="val">{{ info.slogan }}</view>
</view> </view>
<view class="line"> <view class="line">
@ -37,7 +37,7 @@
<view class="val">{{ info.phone }}</view> <view class="val">{{ info.phone }}</view>
</view> </view>
<view class="line no-bd"> <view class="line no-bd">
<view class="name">幼儿园简介</view> <view class="name">{{ platformName }}简介</view>
<view class="val">{{ info.briefIntroduction }}</view> <view class="val">{{ info.briefIntroduction }}</view>
</view> </view>
<view class="py"> <view class="py">
@ -77,19 +77,28 @@
</template> </template>
<script> <script>
import { queryTeamInfo } from '@/apis/modules/user.js' import { queryTeamInfo, enterpriseCertificationStatus } from '@/apis/modules/user.js'
import Common from '@/config/common' import Common from '@/config/common'
export default { export default {
data() { data() {
return { return {
openId: uni.getStorageSync('openId'),
isTeam: uni.getStorageSync('team').isTeam == 1, // isTeam: uni.getStorageSync('team').isTeam == 1, //
teamId: uni.getStorageSync('teamId'), teamId: uni.getStorageSync('teamId'),
info: {}, info: {},
pictureUrl: [], pictureUrl: [],
typeName: '' typeName: '',
platformSource: '',
} }
}, },
computed: {
//
platformName() {
return this.platformSource === '6' ? '供应商' : this.platformSource === '5' ? '幼儿园' : ''
},
},
onShow() { onShow() {
this.getEnterInfo()
this.getInfo() this.getInfo()
}, },
methods: { methods: {
@ -113,6 +122,13 @@
this.info = data this.info = data
}).catch(e => {}) }).catch(e => {})
}, },
//
async getEnterInfo() {
const { data } = await enterpriseCertificationStatus(this.openId)
if (data) {
this.platformSource = data.platformSource
}
},
// //
toEdit() { toEdit() {
this.$util.to('/team/infoEdit/infoEdit') this.$util.to('/team/infoEdit/infoEdit')

@ -105,7 +105,9 @@
data() { data() {
return { return {
openId: uni.getStorageSync('openId'), openId: uni.getStorageSync('openId'),
info: {}, info: {
platformSource: '',
},
form: { form: {
address: '', address: '',
briefIntroduction: '', briefIntroduction: '',

Loading…
Cancel
Save