This commit is contained in:
王创世 2024-11-20 17:33:13 +08:00
parent 042d42e2e6
commit 3d08c0607d
15 changed files with 1643 additions and 576 deletions

View File

@ -1,97 +1,103 @@
{
"name" : "智慧云商协",
"appid" : "__UNI__F702B81",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
/* 5+App */
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/* */
"modules" : {},
/* */
"distribute" : {
/* android */
"android" : {
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
/* ios */
"ios" : {},
/* SDK */
"sdkConfigs" : {
"share" : {}
}
}
},
/* */
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "wxd01d4f0be53a283a",
"setting" : {
"urlCheck" : true,
"minified" : true,
"postcss" : true
},
"usingComponents" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "2",
"h5" : {
"router" : {
"base" : ""
},
"template" : "",
"devServer" : {
"port" : 80,
"https" : false,
"disableHostCheck" : true,
"proxy" : {
"/api" : {
"target" : "http://192.168.3.130", //
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
"^/api" : "/api"
}
}
}
}
}
"name": "智慧云商协",
"appid": "__UNI__F702B81",
"description": "",
"versionName": "1.0.0",
"versionCode": "100",
"transformPx": false,
/* 5+App */
"app-plus": {
"usingComponents": true,
"nvueStyleCompiler": "uni-app",
"compilerVersion": 3,
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
},
/* */
"modules": {},
/* */
"distribute": {
/* android */
"android": {
"permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
/* ios */
"ios": {},
/* SDK */
"sdkConfigs": {
"share": {}
}
}
},
/* */
"quickapp": {},
/* */
"mp-weixin": {
"appid": "wxd01d4f0be53a283a",
"requiredPrivateInfos": ["chooseLocation"],
"setting": {
"urlCheck": true,
"minified": true,
"postcss": true
},
"usingComponents": true,
"permission": {
"scope.userLocation": {
"desc": "用户选择公司地址"
}
}
},
"mp-alipay": {
"usingComponents": true
},
"mp-baidu": {
"usingComponents": true
},
"mp-toutiao": {
"usingComponents": true
},
"uniStatistics": {
"enable": false
},
"vueVersion": "2",
"h5": {
"router": {
"base": ""
},
"template": "",
"devServer": {
"port": 80,
"https": false,
"disableHostCheck": true,
"proxy": {
"/api": {
"target": "http://192.168.3.130", //
"changeOrigin": true,
"secure": false,
"pathRewrite": {
"^/api": "/api"
}
}
}
}
}
}

View File

@ -61,6 +61,13 @@
"style": {
"navigationBarTitleText": "河南省青年企业家协会"
}
},
{
"path" : "pages/index/user_map",
"style" :
{
"navigationBarTitleText" : "会员地图"
}
}
],
"subPackages": [{

File diff suppressed because it is too large Load Diff

View File

@ -107,6 +107,19 @@
</view>
</view>
</view>
<!-- <view style="padding:20rpx 30rpx 0rpx 30rpx;" @tap="openUrl('/pages/index/user_map')">
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between"
style="color: #999999;padding-bottom: 10rpx;">
<view>会员地图</view>
<view>
<text>更多</text>
<text class="tn-icon-right"></text>
</view>
</view>
<map class="shadow-content tn-shadow" style="width: 100%;height: 300rpx;border-radius: 16rpx;" :scale="5"
:latitude="34.75" :longitude="113.66" :markers="covers">
</map>
</view> -->
<!-- <view style="margin:20rpx 28rpx">
<view @click="openUrl('/pages/packageA/info/policy')"
style="position:relative;padding: 20rpx;border-radius: 16rpx;height: 130rpx;background: linear-gradient(90deg, #d6eafa 0%, #d4eafe 100%);">
@ -188,7 +201,7 @@
@click="openUrl('/pages/packageB/event/event_info?id='+item.id)"
style="position: relative;;display: inline-block;width: 300rpx;text-align: center;background-color: #FFF;border-radius: 20rpx;overflow: hidden;margin-right: 20rpx;">
<view>
<image :src="apiImgUrl+item.activity_image" mode="aspectFill"
<image lazy-load :src="apiImgUrl+item.activity_image" mode="aspectFill"
style="width: 350rpx;height: 170rpx;">
</image>
</view>
@ -228,7 +241,7 @@
<view class="tn-flex tn-flex-row-between" @click="openNewUrl(item)"
style="padding: 20rpx;min-height: 200rpx;">
<view style="margin-left: 20rpx;" v-if="item.news_image">
<image :src="apiImgUrl+item.news_image" mode="aspectFill"
<image lazy-load :src="apiImgUrl+item.news_image" mode="aspectFill"
style="width: 280rpx;height: 180rpx;border-radius: 20rpx;"></image>
</view>
<view style="position:relative;padding:0rpx 10rpx 10rpx 15rpx">
@ -268,7 +281,8 @@
associationIndex,
carouselIndex,
Mailcoent,
getArticlePolicyList
getArticlePolicyList,
latitudeAndLongitude
} from '@/util/api.js';
import store from '@/store/index.js'
@ -294,12 +308,13 @@
carousel_list: [],
current: 0,
page: 1,
size: 10,
size: 5,
gory_id: 0,
type: 1,
HomeTitle: '',
apiImgUrl: this.$store.state.imgUrl,
association_id: this.$store.state.Gid,
covers: [],
}
},
mounted() {
@ -324,13 +339,42 @@
this.getAssociationIndex();
this.getCarouselIndex();
this.getMsg();
//this.getLatitudeAndLongitude();
//this.getArticlePolicyListAll();
},
methods: {
getLatitudeAndLongitude() {
latitudeAndLongitude()
.then(res => {
console.log(res);
var list = res.data;
const transformedSelectList = list.map(item => ({
latitude: parseFloat(item.dimension),
longitude: parseFloat(item.longitude),
id: item.id,
iconPath: '/static/make.png',
width: 30,
height: 30,
title: item.enterprise_name,
company_image: item.company_image,
nikename: item.nikename,
}));
console.log(transformedSelectList);
this.covers = transformedSelectList;
})
.catch(error => {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
})
},
openNewUrl(item) {
//'/pages/packageB/news/new_info?id='+item.news_id
console.log(item);
if (item.wx_url == '') {
if (item.wx_url == '' || item.wx_url == null) {
uni.navigateTo({
url: '/pages/packageB/news/new_info?id=' + item.news_id
})
@ -481,7 +525,7 @@
activityList({
association_id: store.state.Gid,
page: 1,
size: 10
size: 5
})
.then(res => {
console.log(res);

View File

@ -11,10 +11,17 @@
<Service ref="service"></Service>
</scroll-view>
</view> -->
<view v-if=" tabberPageLoadFlag[1]" :style="{display: currentIndex === 1 ? '' : 'none'}">
<scroll-view @scroll="directoryScroll" scroll-y enable-back-to-top :class="tabShow?'custom-tabbar-page':''">
<!-- <view v-if=" tabberPageLoadFlag[1]" :style="{display: currentIndex === 1 ? '' : 'none'}">
<view @scrolltolower="tabbarPageScrollLower" @scroll="directoryScroll" scroll-y enable-back-to-top
:class="tabShow?'custom-tabbar-page':''">
<Directory ref="directory"></Directory>
</scroll-view>
</view>
</view> -->
<view @touchmove="preventTouchMove" v-if=" tabberPageLoadFlag[1]"
:style="{display: currentIndex === 1 ? '' : 'none'}">
<view :class="tabShow?'custom-tabbar-page':''">
<Directory ref="directory"></Directory>
</view>
</view>
<!-- <view v-if="tabberPageLoadFlag[2]" :style="{display: currentIndex === 2 ? '' : 'none'}">
<scroll-view class="custom-tabbar-page" scroll-y enable-back-to-top @scrolltolower="tabbarPageScrollLower">
@ -207,6 +214,9 @@
if (this.currentIndex === 0) {
this.$refs.home.ReachBottom();
}
if (this.currentIndex === 1) {
this.$refs.directory.ReachBottom();
}
if (this.currentIndex === 2) {
this.$refs.pizz.ReachBottom();
}
@ -238,6 +248,11 @@
this.$refs.directory.onload();
}, 100)
}
if (index === 3) {
setTimeout(() => {
this.$refs.user.onload();
}, 100)
}
// if (index === 2) {
// setTimeout(() => {
// this.$refs.discovery.getNewInfo();

View File

@ -249,7 +249,7 @@
console.log(d);
this.association_id = d.id;
this.getAssociationInfo();
this.getArchitectureList();
//this.getArchitectureList();
},
methods: {
openQrcode() {

View File

@ -26,10 +26,16 @@
</image>
</view>
</view>
<view style="margin-left: 20rpx;font-size: 34rpx;color: #181818;font-weight: bold;">
{{login ? userInfo.nikename:'' }}
<tn-button v-if="!login " open-type="getPhoneNumber"
@getphonenumber="PhoneLogin">点击登陆</tn-button>
<view style="margin-left: 20rpx;">
<view style="font-size: 34rpx;color: #181818;font-weight: bold;">
{{login ? userInfo.nikename:'' }}
<tn-button v-if="!login " open-type="getPhoneNumber"
@getphonenumber="PhoneLogin">点击登陆</tn-button>
</view>
<view style="color: #E83A30;">
<text v-if="userInfo.if_xianshi==3">会费未缴纳</text>
</view>
</view>
</view>
<view style="margin-top: 30rpx;">
@ -94,6 +100,8 @@
</view>
</view>
</view>
<tn-modal v-model="HfModal.show" :title="HfModal.title" :content="HfModal.content" :button="HfModal.button"
@click="HfModalClick"></tn-modal>
</view>
</template>
@ -108,6 +116,16 @@
export default {
data() {
return {
HfModal: {
show: false,
title: '系统提醒',
content: '您的会费未缴纳,请及时缴纳!',
button: [{
text: '确定',
backgroundColor: 'tn-bg-indigo',
fontColor: '#FFFFFF'
}]
},
topCurrent: 0,
login: false,
loginMod: false,
@ -126,15 +144,21 @@
}
},
mounted() {
var uid = uni.getStorageSync('uid');
this.uid = uid;
if (uid) {
this.getUserInfo();
}
this.getcheckCode();
//this.getcheckCode();
},
methods: {
HfModalClick(d) {
console.log(d);
this.HfModal.show = false;
},
onload() {
var uid = uni.getStorageSync('uid');
this.uid = uid;
if (uid) {
this.getUserInfo();
}
},
PhoneLogin(d) {
console.log(d);
var openid = uni.getStorageSync('openid');
@ -200,6 +224,10 @@
console.log(res);
if (res.code == 1) {
this.userInfo = res.data;
console.log(res.data.if_xianshi == 3);
if (res.data.if_xianshi == 3) {
this.HfModal.show = true;
}
this.login = true;
}
})
@ -277,6 +305,7 @@
success: function(res) {
if (res.confirm) {
uni.removeStorageSync('uid');
uni.removeStorageSync('userInfo');
that.login = false;
that.loginData.openid = '';
that.loginData.phone = '';

275
pages/index/user_map.vue Normal file
View File

@ -0,0 +1,275 @@
<template>
<view style="background-color: #ffffff;letter-spacing: 1rpx;">
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
<view style="padding-left: 15rpx;" @click="goBack()">
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
</view>
<view class="tn-margin-top"
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
<tn-tabs :list="[{name:'会员地图'}]" :current="topCurrent" activeColor="#000" :bold="false"
:fontSize="36"></tn-tabs>
</view>
</view>
</tn-nav-bar>
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}"></view>
<view style="background-color: #FFF;z-index: 200;">
<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin">
<view class="justify-content-item align-content-item" style="width: 100%;position: relative;">
<view class="tn-flex tn-flex-col-center"
style="border-radius: 100rpx;padding: 15rpx;width: 100%;background-color:#F1F2F8;">
<text style="color: #BABDC7;"
class="tn-icon-search justify-content-item tn-padding-right-xs tn-text-lg"></text>
<input v-model="serach_content" class="justify-content-item" placeholder="会员姓名/手机号" name="input"
placeholder-style="color:#BABDC7" style="width: 100%;padding-right: 200rpx;"></input>
</view>
<view style="position: absolute;right: 6rpx;top: 6rpx">
<tn-button backgroundColor="#3056D3" shape="round" padding="10rpx 10rpx" width="150rpx"
@click="serach()" height="60rpx">
<text style="color:#ffffff;font-weight: bold;">{{serach_do?'重 置':'搜 索'}}</text>
</tn-button>
</view>
</view>
</view>
</view>
<view>
<view @click="coversShow = true" style="position: fixed;top: 50%;right: 30rpx;z-index: 1;">
<image src="/static/map.png" style="width: 80rpx;height: 80rpx;"></image>
</view>
<map @markertap="openMark" :style="{width: '100%',height: my_page+'px'}" :scale="5" :latitude="34.75"
:longitude="113.66" :markers="covers">
</map>
<tn-popup v-model="coversShow" mode="bottom" :mask="false" height="50%" :borderRadius="10">
<scroll-view>
<view v-for="item in covers" style="padding:20rpx 30rpx;">
<view @click="tn('/pages/packageA/user/my_card?id='+item.id)"
class="tn-classify__content__sub-classify__content__item tn-flex tn-flex-center tn-flex-col-center">
<view style="width: 100rpx;height: 100rpx">
<image v-if="item.company_image!=''&&item.company_image!=null"
:src="apiImgUrl+item.company_image"
style="width: 100rpx;height: 100rpx;border-radius:50%;">
</image>
<image v-if="item.company_image==''||item.company_image==null" src="/static/def.png"
style="width: 100rpx;height: 100rpx;border-radius:50%;">
</image>
</view>
<view style="margin-left: 20rpx;">
<view style="font-size: 28rpx;font-weight: 600;">
<text>{{item.nikename}}</text>
</view>
<view class="tn-text-ellipsis-2"
style="font-size: 24rpx;margin-top: 10rpx;color: #888888;">
<text>{{item.title==null?'':item.title}}</text>
</view>
</view>
</view>
</view>
</scroll-view>
</tn-popup>
</view>
</view>
</template>
<script>
import {
latitudeAndLongitude
} from '@/util/api.js';
import store from "@/store";
export default {
data() {
return {
apiImgUrl: this.$store.state.imgUrl,
my_page: 0,
covers: [],
coversShow: false,
serach_content: '',
}
},
onLoad() {
this.getLatitudeAndLongitude();
const key = uni.getSystemInfoSync();
const kk = uni.getWindowInfo();
var c = this.sizeDeal(120);
var s = this.sizeDeal(0);
this.my_page = parseInt(key.windowHeight) - parseInt(store.state.vuex_custom_bar_height) - parseInt(s) -
parseInt(c);
},
methods: {
openMark(d) {
console.log(d);
},
serach() {
this.coversShow = true;
this.covers = [];
this.getLatitudeAndLongitude();
},
getLatitudeAndLongitude() {
latitudeAndLongitude({
nikename: this.serach_content,
enterprise_name: this.serach_content
})
.then(res => {
console.log(res);
var list = res.data;
const transformedSelectList = list.map(item => ({
latitude: parseFloat(item.dimension),
longitude: parseFloat(item.longitude),
id: item.id,
iconPath: '/static/make.png',
width: 30,
height: 30,
title: item.enterprise_name,
company_image: item.company_image,
nikename: item.nikename,
}));
console.log(transformedSelectList);
this.covers = transformedSelectList;
})
.catch(error => {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
})
},
tn(url) {
uni.navigateTo({
url: url
})
},
sizeDeal(size) {
// 使uni.upx2px
const pxValue = uni.upx2px(size);
return pxValue;
},
goBack() {
if (getCurrentPages().length > 1) {
uni.navigateBack()
} else {
uni.redirectTo({
url: '/pages/index/index'
})
}
}
}
}
</script>
<style lang="scss" scoped>
/* 自定义导航栏内容 start */
.custom-nav {
height: 100%;
&__back {
margin: auto 30rpx;
margin-right: 10rpx;
flex-basis: 5%;
width: 100rpx;
position: absolute;
}
}
.left-width {
flex-basis: 28%;
}
/* 自定义导航栏内容 end */
.tn-classify {
/* 搜索栏 start */
/* 搜索栏 end */
/* 分类列表和内容 strat */
&__container {}
&__left-box {}
&__right-box {
background-color: #F1F2F8;
}
/* 分类列表和内容 end */
/* 侧边导航 start */
&__tabbar {
&__item {
&:first-child {
border-top-right-radius: 0rpx;
}
&:last-child {
border-bottom-right-radius: 0rpx;
}
&--active {
background-color: #F1F2F8;
position: relative;
font-weight: bold;
color: #3056D3;
&--prev {
border-bottom-right-radius: 26rpx;
}
&--next {
border-top-right-radius: 26rpx;
}
}
}
}
/* 侧边导航 end */
/* 分类内容 start */
&__content {
margin: 18rpx;
/* 推荐商品 start */
&__recomm {
margin-bottom: 40rpx;
&__swiper {}
}
/* 推荐商品 end */
/* 子栏目 start */
&__sub-classify {
margin-bottom: 20rpx;
padding-bottom: 40rpx;
&--title {
font-weight: bold;
margin-bottom: 18rpx;
}
&__content {
&__item {
padding: 20rpx;
background-color: #FFFFFF;
}
}
}
/* 子栏目 end */
}
/* 分类内容 end */
}
.tn-bg-my-ccc {
background-color: #F1F2F8;
}
</style>

View File

@ -64,16 +64,55 @@
<tn-action-sheet :list="tuijianTypeList" v-model="tuijian_type_show"
@click="getTuiJianTypeId"></tn-action-sheet>
</tn-form-item>
<tn-form-item label="推荐人" :borderBottom="false">
<tn-input placeholder="推荐人(选填)" :disabled="true" @click="tuijian_show = true"
v-model="formData.recommendation_name" inputAlign="right"
:customStyle="{width: '470rpx'}" />
<tn-select v-model="tuijian_show" mode="single" :list="member_list"
@confirm="getTuiJianId"></tn-select>
</tn-form-item>
<tn-form-item label="推荐人单位名称及职务" :labelWidth="350">
<tn-input placeholder="推荐人单位名称及职务" :clearable="false" inputAlign="right"
v-model="formData.recommendation_content" />
<block v-if="formData.reporting_method==2">
<tn-form-item label="推荐人姓名" :borderBottom="false" :labelWidth="180">
<tn-input placeholder="推荐人姓名" v-model="formData.recommendation_id"
inputAlign="right" :customStyle="{width: '440rpx'}" />
<!-- <tn-select v-model="tuijian_show" mode="single" :list="member_list"
@confirm="getTuiJianId"></tn-select> -->
</tn-form-item>
<tn-form-item label="推荐人单位名称及职务" :labelWidth="350">
<tn-input placeholder="推荐人单位名称及职务" :clearable="false" inputAlign="right"
v-model="formData.recommendation_content" />
</tn-form-item>
</block>
<block v-if="formData.reporting_method==1">
<tn-form-item label="推荐地市" :disabled="true" :borderBottom="false" :labelWidth="180">
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
@click="tuijian_region_show = true">
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
{{formData.recommended_cities}}
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
<tn-select v-model="tuijian_region_show" mode="single" :list="region_list"
@confirm="getTuiJianRegion"></tn-select>
</tn-form-item>
</block>
<block v-if="formData.reporting_method==3">
<tn-form-item label="来源渠道" :disabled="true" :borderBottom="false" :labelWidth="180">
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
@click="tuijian_laiyuan_show = true">
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
{{formData.source_channel}}
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
<tn-action-sheet :list="laiyuanList" v-model="tuijian_laiyuan_show"
@click="getLaiyuan"></tn-action-sheet>
</tn-form-item>
</block>
<tn-form-item label="意向协会职务" :disabled="true" :borderBottom="false" :labelWidth="200">
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
@click="tuijian_yixiang_show = true">
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
{{formData.intentional_association_position}}
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
<tn-action-sheet :list="yixiangList" v-model="tuijian_yixiang_show"
@click="getYixiang"></tn-action-sheet>
</tn-form-item>
</tn-form>
</view>
@ -95,48 +134,102 @@
<tn-action-sheet :list="genderList" v-model="gender_show"
@click="getGenderId"></tn-action-sheet>
</tn-form-item>
<tn-form-item label="手机号" required>
<tn-input disabled placeholder="填写手机号" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.phone" />
</tn-form-item>
<tn-form-item label="身份证号码" required :labelWidth="200">
<tn-input placeholder="填写身份证号码" :clearable="false" inputAlign="right"
:customStyle="{width: '420rpx'}" v-model="formData.card_number" />
<tn-form-item label="出生日期" required>
<tn-input @click="birth_time_show = true" disabled placeholder="填写出出生日期"
:clearable="false" inputAlign="right" :customStyle="{width: '470rpx'}"
v-model="formData.birth_time" />
<tn-picker mode="time" @confirm="birth_time_chick"
:params="{year: true,month: true,day: true,hour: false,minute: false,second: false}"
v-model="birth_time_show"></tn-picker>
<!-- <tn-calendar v-model="birth_time_show" mode="date"
@change="birth_time_chick"></tn-calendar> -->
</tn-form-item>
<tn-form-item label="民族" required>
<tn-input placeholder="填写民族" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.nation" />
</tn-form-item>
<tn-form-item label="籍贯">
<tn-input placeholder="填写籍贯" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.jiguan" />
</tn-form-item>
<tn-form-item label="出生日期" required>
<tn-input @click="birth_time_show = true" disabled placeholder="填写出出生日期"
:clearable="false" inputAlign="right" :customStyle="{width: '470rpx'}"
v-model="formData.birth_time" />
</tn-form-item>
<tn-calendar v-model="birth_time_show" mode="date" @change="birth_time_chick"></tn-calendar>
<tn-form-item label="政治面貌" required>
<tn-input placeholder="填写政治面貌" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.political" />
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
@click="zz_show = true">
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
{{formData.political}}
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
<tn-select :searchShow="false" v-model="zz_show" mode="single" :list="zz_list"
@confirm="getZzId"></tn-select>
</tn-form-item>
<tn-form-item label="邮箱">
<tn-input placeholder="填写邮箱" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.mailbox" />
<tn-form-item label="身份证号码" required :labelWidth="200">
<tn-input placeholder="填写身份证号码" :clearable="false" inputAlign="right"
:customStyle="{width: '420rpx'}" v-model="formData.card_number" />
</tn-form-item>
<tn-form-item label="毕业院校" required>
<tn-input placeholder="填写毕业院校" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.institution" />
</tn-form-item>
<tn-form-item label="学位" required>
<tn-input placeholder="填写学位" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.academic_degree" />
<tn-form-item label="工作单位" required>
<tn-input placeholder="填写工作单位" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.work_unit" />
</tn-form-item>
<tn-form-item label="单位职务" required>
<tn-input placeholder="填写单位职务" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.unit_position" />
</tn-form-item>
<tn-form-item label="通讯地址" required>
<tn-input placeholder="填写通讯地址" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.mail_address" />
</tn-form-item>
<tn-form-item label="籍贯">
<tn-input placeholder="填写籍贯" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.jiguan" />
</tn-form-item>
<tn-form-item label="毕业院校">
<tn-input placeholder="填写毕业院校" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.institution" />
</tn-form-item>
<tn-form-item label="学历">
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
@click="xl_show = true">
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
{{formData.education}}
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
<tn-select :searchShow="false" v-model="xl_show" mode="single" :list="xl_list"
@confirm="getXlId"></tn-select>
</tn-form-item>
<tn-form-item label="学位">
<tn-input placeholder="填写学位" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.academic_degree" />
</tn-form-item>
<tn-form-item label="邮编">
<tn-input placeholder="填写邮编" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.zip_code" />
</tn-form-item>
<tn-form-item label="手机号" required>
<tn-input disabled placeholder="填写手机号" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.phone" />
</tn-form-item>
<tn-form-item label="邮箱">
<tn-input placeholder="填写邮箱" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.mailbox" />
</tn-form-item>
<tn-form-item label="微信">
<tn-input placeholder="填写微信" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.wx_number" />
</tn-form-item>
<tn-form-item label="固定电话">
<tn-input placeholder="填写固定电话" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="formData.fixed_telephone" />
</tn-form-item>
<tn-form-item label="所在地区">
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
@click="dq_show = true">
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
{{formData.region_name}}
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
<tn-select :searchShow="false" v-model="dq_show" mode="multi-auto" :list="region_list"
@confirm="getDqId"></tn-select>
</tn-form-item>
<tn-form-item prop="bank" :borderBottom="false">
<view>
<view style="font-size: 32rpx;font-weight: 600;">证件照</view>
@ -191,10 +284,21 @@
<view style="padding: 30rpx;background-color: #FFFFFF;border-radius: 20rpx;margin-top: 20rpx;">
<view>
<view style="font-size: 30rpx;font-weight: 600">学习工作经历</view>
<tn-picker mode="time" @confirm="work_time_chick"
:params="{year: true,month: true,day: false,hour: false,minute: false,second: false}"
v-model="star_time_show"></tn-picker>
<tn-form v-for="(item,index) in workList" ref="form" :labelWidth="150">
<tn-form-item label="起止日期" :borderBottom="false">
<tn-input placeholder="填写起止日期" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="item.time" />
<tn-input @click="openStarTime(index,1)" placeholder="开始日期" disabled
:clearable="false" inputAlign="right" :customStyle="{width: '470rpx'}"
v-model="item.star_time" />
<tn-input @click="openStarTime(index,2)" placeholder="结束日期" disabled
:clearable="false" inputAlign="right" :customStyle="{width: '470rpx'}"
v-model="item.end_time" />
</tn-form-item>
<tn-form-item label="地区单位" :borderBottom="false">
<tn-input placeholder="填写地区单位" :clearable="false" inputAlign="right"
@ -277,10 +381,23 @@
<tn-input placeholder="请输入企业注册地" inputAlign="right" :clearable="false"
:customStyle="{width: '440rpx'}" v-model="formData.enterprise_location" />
</tn-form-item>
<tn-form-item label="公司地址" required>
<view @click="openLocation"
class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center">
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
{{formData.location_name}}
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
</tn-form-item>
<tn-form-item label="统一社会信用代码" required :labelWidth="280">
<tn-input placeholder="请输入统一社会信用代码" inputAlign="right" :clearable="false"
:customStyle="{width: '330rpx'}" v-model="formData.unified_code" />
</tn-form-item>
<tn-form-item label="注册资金(万元)" required :labelWidth="280">
<tn-input placeholder="注册资金(万元)" inputAlign="right" :clearable="false"
:customStyle="{width: '330rpx'}" v-model="formData.registered_capital" />
</tn-form-item>
<tn-form-item label="是否上市">
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
@click="ssShow = true">
@ -312,15 +429,22 @@
@confirm="getindustryId"></tn-select>
</tn-form-item>
<tn-form-item label="企业性质">
<tn-input placeholder="企业性质" inputAlign="right" :clearable="false"
:customStyle="{width: '470rpx'}" v-model="formData.enterprise_nature" />
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
@click="qyxz_show = true">
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
{{formData.enterprise_nature}}
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
<tn-select :searchShow="false" v-model="qyxz_show" mode="multi-auto" :list="qyxz_list"
@confirm="getQyxzId"></tn-select>
</tn-form-item>
<tn-form-item label="上年营业额" :labelWidth="180">
<tn-input placeholder="上年营业额(万元)" inputAlign="right" :clearable="false"
:customStyle="{width: '440rpx'}" v-model="formData.previous_revenue" />
</tn-form-item>
<tn-form-item label="上年纳税额" :labelWidth="180">
<tn-input placeholder="注册资金" inputAlign="right" :clearable="false"
<tn-input placeholder="上年纳税额(万元)" inputAlign="right" :clearable="false"
:customStyle="{width: '440rpx'}" v-model="formData.previous_tax" />
</tn-form-item>
<tn-form-item label="上年度净利润" :labelWidth="200">
@ -329,7 +453,7 @@
</tn-form-item>
<tn-form-item label="上年公益性捐赠支出" :labelWidth="280">
<tn-input placeholder="上年公益性捐赠支出(万元)" inputAlign="right" :clearable="false"
:customStyle="{width: '300rpx'}" v-model="formData.previous_donation" />
:customStyle="{width: '330rpx'}" v-model="formData.previous_donation" />
</tn-form-item>
<tn-form-item prop="bank" :borderBottom="false">
<view>
@ -382,32 +506,37 @@
placeholder="填写其他企业任职情况" :clearable="false" :height="300" type="textarea"
:customStyle="{lineHeight:'42rpx',color:'#777777'}" />
</view>
<view style="height: 1px;background-color: rgba(0, 0, 0, 0.1);width: 100%;"></view>
<view style="padding: 30rpx 0px;">
<view>企业履行社会责任情况</view>
<tn-input v-model="formData.enterprise_lvxingzeren" :maxLength="1000"
placeholder="填写企业履行社会责任情况" :clearable="false" :height="300" type="textarea"
:customStyle="{lineHeight:'42rpx',color:'#777777'}" />
</view>
</view>
<view style="padding: 30rpx;background-color: #FFFFFF;border-radius: 20rpx;margin-top: 20rpx;">
<view style="font-size: 40rpx;font-weight: 600">4.建团信息</view>
<tn-form ref="form" :labelWidth="150">
<tn-form-item label="是否建立团组织">
<tn-form-item label="是否建立团组织" :labelWidth="280">
<tn-radio-group activeColor="#3D7EFF" v-model="formData.if_organization">
<tn-radio name="1"></tn-radio>
<tn-radio name="0"></tn-radio>
</tn-radio-group>
</tn-form-item>
<block v-if="formData.if_organization==0">
<tn-form-item label="团组织性质">
<tn-form-item label="团组织性质" :labelWidth="180">
<tn-input placeholder="请输入团组织性质" inputAlign="right" :clearable="false"
:customStyle="{width: '470rpx'}" v-model="formData.nature" />
</tn-form-item>
<tn-form-item label="建团时间">
<tn-input placeholder="请输入建团时间" inputAlign="right" :clearable="false"
:customStyle="{width: '470rpx'}" v-model="formData.jiantuan_time" />
:customStyle="{width: '440rpx'}" v-model="formData.nature" />
</tn-form-item>
<tn-form-item label="建团时间" required>
<tn-input @click="jiantuan_time_show = true" disabled placeholder="建团时间"
:clearable="false" inputAlign="right" :customStyle="{width: '470rpx'}"
v-model="formData.jiantuan_time" />
<tn-picker mode="time" @confirm="jiantuan_time_chick"
:params="{year: true,month: true,day: true,hour: false,minute: false,second: false}"
v-model="jiantuan_time_show"></tn-picker>
</tn-form-item>
<tn-calendar v-model="jiantuan_time_show" mode="date"
@change="jiantuan_time_chick"></tn-calendar>
<tn-form-item label="建团人数">
<tn-input placeholder="请输入建团人数" inputAlign="right" :clearable="false"
:customStyle="{width: '470rpx'}" v-model="formData.jiantuan_number" />
@ -416,13 +545,9 @@
<tn-input placeholder="请输入青年人数" inputAlign="right" :clearable="false"
:customStyle="{width: '470rpx'}" v-model="formData.youth_number" />
</tn-form-item>
<tn-form-item label="上级团组织">
<tn-form-item label="上级团组织" :labelWidth="180">
<tn-input placeholder="请输入上级团组织" inputAlign="right" :clearable="false"
:customStyle="{width: '470rpx'}" v-model="formData.superior_nature" />
</tn-form-item>
<tn-form-item label="团委负责人">
<tn-input placeholder="请输入团委负责人" inputAlign="right" :clearable="false"
:customStyle="{width: '470rpx'}" v-model="formData.tuanweifuzerenxinxi" />
:customStyle="{width: '440rpx'}" v-model="formData.superior_nature" />
</tn-form-item>
<tn-form-item label="批复文件" prop="bank" :borderBottom="true">
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-right">
@ -439,6 +564,42 @@
</tn-form-item>
</block>
</tn-form>
<view v-if="formData.if_organization==0"
style="background-color: #FFFFFF;border-radius: 20rpx;margin-top: 20rpx;">
<view>
<view style="font-size: 30rpx;font-weight: 600">团委负责人</view>
<tn-form v-for="(item,index) in tuan_list" ref="form" :labelWidth="150">
<tn-form-item label="姓名" :borderBottom="false">
<tn-input placeholder="填写姓名" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="item.name" />
</tn-form-item>
<tn-form-item label="性别" :borderBottom="false">
<tn-input placeholder="填写性别" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="item.sex" />
</tn-form-item>
<tn-form-item label="单位职务" :borderBottom="false">
<tn-input placeholder="填写单位职务" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="item.job" />
</tn-form-item>
<tn-form-item label="团委职务" :borderBottom="false">
<tn-input placeholder="填写团委职务" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="item.tun_job" />
</tn-form-item>
<tn-form-item label="手机号 ">
<tn-input placeholder="填写手机号" :clearable="false" inputAlign="right"
:customStyle="{width: '470rpx'}" v-model="item.phone" />
</tn-form-item>
<view v-if="index!=0" style="text-align: center;">
<tn-button @click="delTuanWei(index)" backgroundColor="#ffffff"
fontColor="#E83A30">移除</tn-button>
</view>
</tn-form>
<view style="text-align: center;margin-top: 20rpx;">
<tn-button @click="addTuanWei" backgroundColor="#ffffff"
fontColor="#1AB394">添加</tn-button>
</view>
</view>
</view>
</view>
</view>
<view
@ -464,8 +625,8 @@
<view>
联系邮箱: hnqqx@126.com
</view>
<view style="font-size: 30rpx;font-weight: 600;color: #000;margin-top: 20rpx;">
前往电脑端完善资料并下载资料</view>
<view style="font-size: 32rpx;font-weight: 600;color: #000;margin-top: 20rpx;">
如需修改资料请复制链接在电脑端打开</view>
<view style="margin-top: 20rpx;">
<tn-button @click="copy" backgroundColor="#3056D3" size="sm"
fontColor="#ffffff">复制链接</tn-button>
@ -614,7 +775,8 @@
MemberList,
applyInAdd,
getApplyToken,
examineType
examineType,
getRegion
} from '@/util/api.js';
import store from "@/store";
import string from "@/tuniao-ui/libs/function/string";
@ -640,18 +802,18 @@
}],
tuijianTypeList: [{
text: '组织推荐',
value: 0
}, {
text: '会员推荐',
value: 1
}, {
text: '个人自荐',
text: '会员推荐',
value: 2
}, {
text: '个人自荐',
value: 3
}],
birth_time_show: false,
checked1: false,
topCurrent: 0,
current: 0,
current: 1,
info: {},
tab_list: [{
name: '入会须知'
@ -664,16 +826,11 @@
}, {
name: '入会成功'
}],
new_info: {
recommendation_id: 0,
recommendation_name: '',
phone: '',
nikename: '',
enterprise_name: '',
gender_name: '',
gender: 0,
},
region_list: [],
tuijian_region_show: false,
workList: [{
star_time: '',
end_time: '',
time: '',
address: '',
book: '',
@ -686,19 +843,30 @@
social_duties: [],
ssShow: false,
tuijian_type_show: false,
tuijian_laiyuan_show: false,
tuijian_yixiang_show: false,
zz_show: false,
formData: {
recommendation_id: 0,
enterprise_lvxingzeren: '',
registered_capital: '',
region_id: 0,
region_name: '',
zip_code: '',
mail_address: '',
intentional_association_position: '',
source_channel: '',
recommended_cities: '',
recommendation_id: '',
recommendation_name: '',
position_name: '请选择',
position_name: '',
position_id: 0,
industry_id: '',
industry_id_name: '请选择',
industry_id_name: '',
phone: '',
password: '',
nikename: '',
gender_name: '请选择',
gender_name: '',
gender: 0,
birth_time_name: '请选择',
birth_time: '',
nation: '',
political: '',
@ -725,7 +893,7 @@
enterprise_nature: '',
enterprise_website: '',
if_list: 1,
if_list_name: '请选择',
if_list_name: '',
employee: '',
previous_revenue: '',
previous_tax: '',
@ -738,7 +906,6 @@
if_organization: '1',
nature: '',
jiantuan_time: '',
jiantuan_time_name: '请选择',
jiantuan_number: '',
youth_number: '',
superior_nature: '',
@ -747,10 +914,30 @@
documents_file_show: [],
enterprise_location: '',
main_social_positions: '',
reporting_method: 3,
tuijian_type_name: '请选择',
reporting_method: 0,
tuijian_type_name: '',
recommendation_content: '',
location_name: '',
longitude: '',
dimension: '',
},
star_time_show: false,
laiyuanList: [{
text: '网络来源'
}, {
text: '微信公众号来源'
}, {
text: '朋友推荐'
}, {
text: '其他渠道'
}],
yixiangList: [{
text: '会员'
}, {
text: '理事'
}, {
text: '常务理事'
}],
ssSheetList: [{
text: '是',
id: 0
@ -760,8 +947,69 @@
id: 1
}
],
zz_list: [{
label: '中共党员'
}, {
label: '中共预备党员'
}, {
label: '共青团员'
}, {
label: '民革党员'
}, {
label: '民盟盟员'
}, {
label: '民建会员'
}, {
label: '民进会员'
}, {
label: '农工党党员'
}, {
label: '致公党党员'
}, {
label: '九三学社社员'
}, {
label: '台盟盟员'
}, {
label: '无党派人士'
}, {
label: '无党派人士'
}],
xl_show: false,
xl_list: [{
label: '博士研究生'
}, {
label: '硕士研究生'
}, {
label: '本科'
}, {
label: '专科'
}, {
label: '其他'
}],
qyxz_show: false,
qyxz_list: [{
label: '国有'
}, {
label: '私营'
}, {
label: '混合所有制'
}, {
label: '集体'
}, {
label: '外贸'
}, {
label: '其他'
}],
tuijian_show: false,
dq_show: false,
member_list: [],
tuan_list: [{
name: '',
sex: '',
job: '',
tun_job: '',
phone: '',
}],
checkInfo: {},
checkList: [],
checkListTab: [{
@ -770,7 +1018,9 @@
content: '已按要求提交资料',
time: '',
desc: '',
}]
}],
workIndex: 0,
workType: 0,
}
},
onLoad(d) {
@ -780,10 +1030,6 @@
var searchParams = this.parseQuery(decodedParams);
d = searchParams;
}
if (typeof(d.id) != 'undefined') {
uni.setStorageSync('apply_id', d.id);
this.new_info.recommendation_id = d.id;
}
if (typeof(d.association_id) != 'undefined') {
store.commit('$tStore', {
name: 'Gid',
@ -801,11 +1047,56 @@
this.getAssociationInfo();
this.getPlan();
this.getIndustry();
this.getMemberList();
this.getRegionList();
this.getExamineType();
this.getToken();
},
methods: {
openLocation() {
var that = this;
uni.chooseLocation({
success(res) {
console.log('位置名称:' + res.name);
console.log('详细地址:' + res.address);
console.log('纬度:' + res.latitude);
console.log('经度:' + res.longitude);
that.formData.longitude = res.longitude;
that.formData.dimension = res.latitude;
},
fail(res) {
console.log(res);
}
});
},
work_time_chick(d) {
if (this.workType == 1) {
this.workList[this.workIndex].star_time = d.year + '-' + d.month;
} else {
this.workList[this.workIndex].end_time = d.year + '-' + d.month;
}
},
jiantuan_time_chick(d) {
console.log(d);
this.formData.jiantuan_time = d.year + '-' + d.month + '-' + d.day;
},
openStarTime(index, type) {
this.workIndex = index;
this.workType = type;
this.star_time_show = true;
},
addTuanWei() {
this.tuan_list.push({
name: '',
sex: '',
job: '',
tun_job: '',
phone: '',
});
},
delTuanWei(index) {
this.tuan_list.splice(index, 1);
},
addWork() {
this.workList.push({
time: '',
@ -898,9 +1189,10 @@
})
},
copy() {
var openid = uni.getStorageSync('openid');
var info = uni.getStorageSync('userInfo');
uni.setClipboardData({
data: 'https://hnyea.0rui.cn/dist/#/register?token=' + this.applyToken + '&openid=' + openid,
data: 'https://hnyea.0rui.cn/dist/#/register?token=' + this.applyToken + '&openid=' + info
.openid,
success: function() {
console.log('success');
}
@ -933,6 +1225,23 @@
});
})
},
getRegionList() {
getRegion({
association_id: store.state.Gid,
})
.then(res => {
if (res.code == 1) {
this.region_list = res.data;
}
})
.catch(error => {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
})
},
getIndustry() {
IndustryList({
association_id: store.state.Gid,
@ -955,6 +1264,31 @@
});
})
},
getQyxzId(d) {
this.formData.enterprise_nature = d[0].label;
},
getDqId(d) {
this.formData.region_name = d[0].label + '/' + d[1].label;
this.formData.region_id = d[1].value;
},
getXlId(d) {
this.formData.education = d[0].label;
},
getZzId(d) {
this.formData.political = d[0].label;
},
getYixiang(d) {
var info = this.yixiangList[d];
this.formData.intentional_association_position = info.text;
},
getLaiyuan(d) {
var info = this.laiyuanList[d];
this.formData.source_channel = info.text;
},
getTuiJianRegion(d) {
console.log(d);
this.formData.recommended_cities = d[0].label;
},
getTuiJianTypeId(d) {
var info = this.tuijianTypeList[d];
this.formData.tuijian_type_name = info.text;
@ -989,12 +1323,8 @@
},
birth_time_chick(d) {
console.log(d);
this.formData.birth_time = d.date;
this.formData.birth_time_name = d.date;
},
jiantuan_time_chick(d) {
this.formData.jiantuan_time_name = d.date;
this.formData.jiantuan_time = d.date;
this.formData.birth_time = d.year + '-' + d.month + '-' + d.day;
//this.formData.birth_time_name = d.date;
},
one_next() {
if (!this.checked1) {
@ -1006,6 +1336,12 @@
return;
}
this.current = 1;
setTimeout(() => {
uni.pageScrollTo({
scrollTop: 0,
duration: 0
})
}, 100)
},
getPlan() {
positionList({
@ -1124,16 +1460,133 @@
});
return;
}
if (this.workList.length > 0) {
if (this.workList[0].star_time == '') {
uni.showToast({
title: '请填写起止日期!',
icon: 'none',
duration: 2000
});
return;
}
if (this.workList[0].end_time == '') {
uni.showToast({
title: '请填写起止日期!',
icon: 'none',
duration: 2000
});
return;
}
if (this.workList[0].address == '') {
uni.showToast({
title: '请输入地区单位!',
icon: 'none',
duration: 2000
});
return;
}
if (this.workList[0].book == '') {
uni.showToast({
title: '请输入担任职务!',
icon: 'none',
duration: 2000
});
return;
}
this.workList.map(item => ({
time: `${item.star_time}${item.end_time}`,
address: item.address,
book: item.book
}));
this.formData.work_experience = JSON.stringify(this.workList);
}
if (this.contactsList.length > 0) {
if (this.contactsList[0].name == '') {
uni.showToast({
title: '请输入姓名-1',
icon: 'none',
duration: 2000
});
return;
}
if (this.contactsList[0].post == '') {
uni.showToast({
title: '请输入职务!',
icon: 'none',
duration: 2000
});
return;
}
if (this.contactsList[0].phone == '') {
uni.showToast({
title: '请输入电话!',
icon: 'none',
duration: 2000
});
return;
}
this.formData.other_contacts = JSON.stringify(this.contactsList);
}
if (this.social_duties.length > 0) {
const splitAndJoin = this.social_duties.map(item => item.split(',')).flat().join(',');
const splitAndJoin = this.social_duties
.map(item => item.split(','))
.flat()
.filter(item => item.trim() !== '') //
.join(',');
this.formData.main_social_positions = splitAndJoin;
}
if (this.formData.longitude == '' || this.formData.dimension == '') {
uni.showToast({
title: '请选择企业地址!',
icon: 'none',
duration: 2000
});
return;
}
if (this.tuan_list.length > 0 && this.formData.if_organization == 0) {
if (this.tuan_list[0].name == '') {
uni.showToast({
title: '请输入姓名!',
icon: 'none',
duration: 2000
});
return;
}
if (this.tuan_list[0].sex == '') {
uni.showToast({
title: '请输入性别!',
icon: 'none',
duration: 2000
});
return;
}
if (this.tuan_list[0].job == '') {
uni.showToast({
title: '请输入单位职务!',
icon: 'none',
duration: 2000
});
return;
}
if (this.tuan_list[0].tun_job == '') {
uni.showToast({
title: '请输入团委职务!',
icon: 'none',
duration: 2000
});
return;
}
if (this.tuan_list[0].phone == '') {
uni.showToast({
title: '请输入电话!',
icon: 'none',
duration: 2000
});
return;
}
this.formData.tuanweifuzerenxinxi = JSON.stringify(this.tuan_list);
}
this.formData.association_id = 1;
this.formData.openid = uni.getStorageSync('openid');
applyInAdd(this.formData)

View File

@ -12,14 +12,16 @@
</view>
</tn-nav-bar>
<view :style="{paddingTop: vuex_custom_bar_height +10+ 'px'}">
<view style="padding: 30rpx;">
<view style="padding: 30rpx;padding-bottom: 180rpx;">
<view
style="background: #FFFFFF;box-shadow: 0rpx 4rpx 25rpx 0rpx rgba(175,189,236,0.5);border-radius: 30rpx;">
<view class="tn-flex tn-flex-center tn-flex-col-center" style="padding: 30rpx;">
<view>
<image v-if="userThisInfo.photo_image!=null" :src="apiImgUrl+userThisInfo.photo_image"
mode="aspectFill" style="width: 100rpx;height: 100rpx;border-radius: 50%;"></image>
<image v-if="userThisInfo.photo_image==null" src="/static/def.png" mode="aspectFill"
<image v-if="userThisInfo.photo_image!=null&&userThisInfo.photo_image!=''"
:src="apiImgUrl+userThisInfo.photo_image" mode="aspectFill"
style="width: 100rpx;height: 100rpx;border-radius: 50%;"></image>
<image v-if="userThisInfo.photo_image==null||userThisInfo.photo_image==''"
src="/static/def.png" mode="aspectFill"
style="width: 100rpx;height: 100rpx;border-radius: 50%;"></image>
</view>
<view style="margin-left: 20rpx;">
@ -27,13 +29,15 @@
<text
style="font-size: 32rpx;font-weight: bold;vertical-align: middle;">{{userThisInfo.nikename}}</text>
<tn-tag size="sm" padding="0px 5px" margin="0 0 0 20rpx" width="auto" shape="radius"
backgroundColor="#F1F2F8"
fontColor="#888888">{{userThisInfo.position_name==null||userThisInfo.position_name==''?'无':userThisInfo.position_name}}</tn-tag>
backgroundColor="#82B2FF"
fontColor="#ffffff">{{userThisInfo.position_name==null||userThisInfo.position_name==''?'无':userThisInfo.position_name}}</tn-tag>
<tn-tag size="sm" padding="0px 5px" margin="0 0 0 20rpx" width="auto" shape="radius"
backgroundColor="#13C296" fontColor="#ffffff">{{userThisInfo.phone}}</tn-tag>
backgroundColor="#13C296"
fontColor="#ffffff">{{userThisInfo.if_tongyi==0?userThisInfo.phone:'***********'}}</tn-tag>
</view>
<view style="color: #666666;font-size: 28rpx;margin-top: 20rpx;">
{{userThisInfo.enterprise_name==null||userThisInfo.enterprise_name==''?'未填写':userThisInfo.enterprise_name}}
<text>{{userThisInfo.enterprise_name==null||userThisInfo.enterprise_name==''?'未填写':userThisInfo.enterprise_name}}</text>
<text>{{userThisInfo.unit_position}}</text>
</view>
</view>
</view>
@ -42,17 +46,19 @@
style="margin-top: 30rpx;background: #FFFFFF;box-shadow: 0rpx 4rpx 25rpx 0rpx rgba(175,189,236,0.5);border-radius: 30rpx;">
<view class="tn-flex tn-flex-center tn-flex-col-center" style="padding: 30rpx;">
<view>
<image v-if="userThisInfo.company_image!=''" :src="apiImgUrl+userThisInfo.company_image"
mode="aspectFill" style="width: 100rpx;height: 100rpx;"></image>
<view v-if="userThisInfo.company_image==''"
style="width: 100rpx;height: 100rpx;background: #d9d9d9;"></view>
<image v-if="userThisInfo.company_image!=''&&userThisInfo.company_image!=null"
:src="apiImgUrl+userThisInfo.company_image" mode="aspectFill"
style="width: 120rpx;height: 120rpx;"></image>
<image src="/static/def.png"
v-if="userThisInfo.company_image==''||userThisInfo.company_image==null"
style="width: 120rpx;height: 120rpx;" mode="aspectFill"></image>
</view>
<view style="margin-left: 20rpx;">
<view>
<text
style="font-size: 32rpx;font-weight: bold;vertical-align: middle;">{{userThisInfo.enterprise_name==null||userThisInfo.enterprise_name==''?'未填写':userThisInfo.enterprise_name}}</text>
</view>
<view style="color: #666666;font-size: 28rpx;margin-top: 20rpx;">
<view style="color: #666666;font-size: 28rpx;margin-top: 10rpx;">
<text class="tn-icon-location" style="vertical-align: middle;"></text>
<text>{{userThisInfo.enterprise_location==null||userThisInfo.enterprise_location==''?'无':userThisInfo.enterprise_location}}</text>
</view>
@ -61,9 +67,16 @@
<view style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 10rpx 40rpx;"></view>
<view style="padding: 30rpx;">
<view style="font-size: 34rpx;font-weight: bold;">企业介绍</view>
<view style="margin-top: 20rpx;">
{{userThisInfo.enterprise_Introduction==null||userThisInfo.enterprise_Introduction==''?'无':userThisInfo.enterprise_Introduction}}
</view>
<view
v-html="userThisInfo.enterprise_Introduction==null||userThisInfo.enterprise_Introduction==''?'无':userThisInfo.enterprise_Introduction"
style="margin-top: 20rpx;"></view>
</view>
<view style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 10rpx 40rpx;"></view>
<view style="padding: 30rpx;">
<view style="font-size: 34rpx;font-weight: bold;">主营业务</view>
<view
v-html="userThisInfo.introdiction==null||userThisInfo.introdiction==''?'无':userThisInfo.introdiction"
style="margin-top: 20rpx;"></view>
</view>
</view>
</view>
@ -77,10 +90,14 @@
<text style="margin-left: 10rpx;">分享</text>
</button>
</view>
<view @click="sqMode= true"
<view v-if="userThisInfo.if_tongyi!=0" @click="sqMode= true"
style="line-height: 80rpx;height: 80rpx;font-size: 32rpx;font-weight: bold;text-align: center;width: 80%;color: #ffffff;;background: #3056D3;border: 1rpx solid #3056D3;border-radius: 0rpx 90rpx 90rpx 0rpx;">
<text>申请查看联系方式</text>
</view>
<view v-if="userThisInfo.if_tongyi==0" @click="addModeShow"
style="line-height: 80rpx;height: 80rpx;font-size: 32rpx;font-weight: bold;text-align: center;width: 80%;color: #ffffff;;background: #3056D3;border: 1rpx solid #3056D3;border-radius: 0rpx 90rpx 90rpx 0rpx;">
<text>立刻联系</text>
</view>
</view>
</view>
</view>
@ -94,7 +111,7 @@
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between" style="width: 100%;">
<view class="tn-flex tn-flex-center tn-flex-col-center" style="width: 100%;">
<view>
<image :src="apiImgUrl+photo_image"
<image :src="apiImgUrl+userThisInfo.photo_image"
style="width: 100rpx;height: 100rpx;border-radius: 50%;">
</image>
</view>
@ -102,7 +119,8 @@
<view style="font-size: 32rpx;color: #181818;font-weight: bold;">
<text style="vertical-align: middle;">{{userThisInfo.nikename}}</text>
<tn-tag size="sm" padding="0px 5px" margin="0 0 0 10rpx" width="auto" shape="radius"
backgroundColor="#F1F2F8" fontColor="#888888">{{userThisInfo.phone}}
backgroundColor="#F1F2F8"
fontColor="#888888">{{userThisInfo.if_tongyi==0?userThisInfo.phone:'***********'}}
</tn-tag>
</view>
<view class="tn-text-ellipsis"
@ -347,6 +365,7 @@
this.callPhone();
return;
}
this.addMod = true;
},
add_log() {
@ -377,6 +396,7 @@
duration: 2000
});
}
this.sqMode = false;
this.addMod = false;
})
.catch(error => {

View File

@ -198,6 +198,20 @@
<view v-if="item.neirong.if_ssue==2" style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">
拒绝理由: {{item.reason}}</view>
</view>
<view v-if="item.system_notification_type==3" @click="tn('/pages/packageA/user/apply_in')"
style="background-color: #FFF;border-radius: 20rpx;padding:30rpx;margin-bottom: 30rpx;">
<view style="font-size: 32rpx;font-weight: bold;">
<text>管理员</text>
<text v-if="item.content==''" style="color: green;">审核通过</text>
<text v-if="item.content!=''" style="color: red;">拒绝</text>
<text>了你的入会申请</text>
</view>
<view style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">{{item.mail_time}}</view>
<view v-if="item.content!=''"
style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 30rpx 0rpx;"></view>
<view v-if="item.content!=''" style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">
拒绝理由: {{item.content}}</view>
</view>
</view>
</scroll-view>

View File

@ -102,6 +102,14 @@
uni.navigateBack()
}
});
} else {
uni.showModal({
title: '提示',
content: res.msg,
success: function(res) {
uni.navigateBack()
}
});
}
})
.catch(error => {

BIN
static/make.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
static/map.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@ -38,6 +38,10 @@ export const questionnaireAdd = data => request.post('/move/questionnaire/appAdd
export const moneyLogAdd = data => request.post('/move/money_log/add', data, false);
export const Mailcoent = data => request.post('/move/Maillog/mailcoent', data, false);
export const MemberList = data => request.post('/move/association/memberList', data, false);
export const huiYuanList = data => request.post('/move/address/memberList', data, false);
export const getQrcode = data => request.post('/move/login/getUnlimitedQRCode', data, false);
//getSerachIndex
export const getSerachIndex = data => request.post('/move/index/index', data, false);
@ -129,3 +133,5 @@ export const interactionlIndex = data => request.post('/move/Maillog/interaction
export const mailMyMemberPost = data => request.post('/move/Maillog/mailMyMemberPost', data, false);
export const getApplyToken = data => request.post('/move/temporary_token/token', data, false);
export const latitudeAndLongitude = data => request.post('/move/member/latitudeAndLongitude', data, false);