123
This commit is contained in:
parent
36e7ca6ce1
commit
7fb2f9d725
@ -34,15 +34,16 @@
|
||||
</view>
|
||||
<view :class="isFixed?'fixed':'abc'" style="width: 100%;z-index: 200;"
|
||||
:style="{top:isFixed?vuex_custom_bar_height+'px':'auto'}">
|
||||
<view class="tn-flex tn-flex-col-center" style="padding: 30rpx;background-color: #ffffff;">
|
||||
<view @click="openDqShow = !openDqShow" style="margin-right: 40rpx;">
|
||||
<view class="tn-flex tn-flex-col-center tn-flex-row-around"
|
||||
style="padding: 30rpx;background-color: #ffffff;">
|
||||
<view @click="openDqShow = !openDqShow;openHyShow=false;jsDqShow=false;zzDqShow=false;">
|
||||
<text :class="openDqShow?'textThis':'textNo'">
|
||||
{{dq_name=='全部'?'地区':dq_name}}
|
||||
</text>
|
||||
<text style="color: #BABDC7;"
|
||||
:class="openDqShow?'tn-icon-up-triangle':'tn-icon-down-triangle'"></text>
|
||||
</view>
|
||||
<view @click="openHyShow = !openHyShow" style="margin-right: 40rpx;">
|
||||
<view @click="openHyShow = !openHyShow;openDqShow=false;jsDqShow=false;zzDqShow=false;">
|
||||
<view :class="openHyShow?'textThis tn-text-ellipsis':'textNo tn-text-ellipsis'"
|
||||
style="max-width: 120rpx;display: inline-block;vertical-align: middle;">
|
||||
{{hy_name=='全部'?'行业':hy_name}}
|
||||
@ -50,28 +51,76 @@
|
||||
<text style="color: #BABDC7;vertical-align: middle;"
|
||||
:class="openHyShow?'tn-icon-up-triangle':'tn-icon-down-triangle'"></text>
|
||||
</view>
|
||||
<view @click="openDqShow = !openDqShow" style="margin-right: 40rpx;">
|
||||
<text :class="openDqShow?'textThis':'textNo'">届数</text>
|
||||
<!-- <view @click="jsDqShow = !jsDqShow;openDqShow=false;openHyShow=false;zzDqShow=false;"
|
||||
style="margin-right: 40rpx;">
|
||||
<text :class="jsDqShow?'textThis':'textNo'">{{js_name=='全部'?'届数':js_name}}</text>
|
||||
<text style="color: #BABDC7;"
|
||||
:class="openDqShow?'tn-icon-up-triangle':'tn-icon-down-triangle'"></text>
|
||||
:class="jsDqShow?'tn-icon-up-triangle':'tn-icon-down-triangle'"></text>
|
||||
</view> -->
|
||||
<view @click="zzDqShow = !zzDqShow;openDqShow=false;openHyShow=false;jsDqShow=false;">
|
||||
<text :class="zzDqShow?'textThis':'textNo'">{{zz_name=='全部'?'组织架构':zz_name}}</text>
|
||||
<text style="color: #BABDC7;"
|
||||
:class="zzDqShow?'tn-icon-up-triangle':'tn-icon-down-triangle'"></text>
|
||||
</view>
|
||||
<view @click="openDqShow = !openDqShow" style="margin-right: 40rpx;">
|
||||
<text :class="openDqShow?'textThis':'textNo'">组织架构</text>
|
||||
<text style="color: #BABDC7;"
|
||||
:class="openDqShow?'tn-icon-up-triangle':'tn-icon-down-triangle'"></text>
|
||||
</view>
|
||||
<view v-if="jsDqShow">
|
||||
<view style="border-radius: 0 0 20rpx 20rpx;background-color: #ffffff;padding-bottom: 30rpx;">
|
||||
<scroll-view scroll-y="" style="height: 500rpx;">
|
||||
<view v-for="(item,index) in js_list" @click="clickClassifyJs(index)"
|
||||
style="padding: 20rpx 30rpx;font-size: 28rpx;">
|
||||
<view :class="item.id==leftJsId?'textThis':'textNo'">{{item.name}}</view>
|
||||
<view v-if="index<js_list.length-1"
|
||||
style="width: 100%;height: 1px;background-color: #F1F2F8;margin-top: 30rpx;"></view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="zzDqShow">
|
||||
<view style="border-radius: 0 0 20rpx 20rpx;background-color: #ffffff;padding-bottom: 30rpx;">
|
||||
<scroll-view scroll-y="" style="height: 500rpx;">
|
||||
<view v-for="(item,index) in zz_list" @click="clickClassifyZz(index)"
|
||||
style="padding: 20rpx 30rpx;font-size: 28rpx;">
|
||||
<view :class="item.id==leftZzId?'textThis':'textNo'">{{item.position_name}}</view>
|
||||
<view v-if="index<zz_list.length-1"
|
||||
style="width: 100%;height: 1px;background-color: #F1F2F8;margin-top: 30rpx;"></view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="openDqShow">
|
||||
<view style="border-radius: 0 0 20rpx 20rpx;background-color: #ffffff;padding-bottom: 30rpx;">
|
||||
<view class="tn-flex">
|
||||
<view style="width: 50%;">
|
||||
<scroll-view scroll-y="" style="height: 500rpx;">
|
||||
<view v-for="(item,index) in region_list" @click="clickClassifyDq(index)"
|
||||
style="padding: 20rpx 30rpx;font-size: 28rpx;">
|
||||
<view :class="item.value==leftDqId?'textThis':'textNo'">{{item.label}}</view>
|
||||
<view :class="item.value==leftDqId?'textThis':'textNo'">
|
||||
<text>{{item.label}}</text>
|
||||
<text v-if="item.value!=0" style="margin-left: 15rpx;"
|
||||
class="tn-icon-right"></text>
|
||||
</view>
|
||||
<view v-if="index<region_list.length-1"
|
||||
style="width: 100%;height: 1px;background-color: #F1F2F8;margin-top: 30rpx;"></view>
|
||||
style="width: 100%;height: 1px;background-color: #F1F2F8;margin-top: 30rpx;">
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view style="width: 50%;">
|
||||
<scroll-view scroll-y="" style="height: 500rpx;">
|
||||
<view v-for="(item,index) in region_children_list"
|
||||
@click="clickClassifyDqChildren(index)"
|
||||
style="padding: 20rpx 30rpx;font-size: 28rpx;">
|
||||
<view :class="item.value==leftDqId?'textThis':'textNo'">
|
||||
<text>{{item.label}}</text>
|
||||
</view>
|
||||
<view v-if="index<region_list.length-1"
|
||||
style="width: 100%;height: 1px;background-color: #F1F2F8;margin-top: 30rpx;">
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="openHyShow">
|
||||
<view style="border-radius: 0 0 20rpx 20rpx;background-color: #ffffff;padding-bottom: 30rpx;">
|
||||
@ -134,7 +183,8 @@
|
||||
addressList,
|
||||
associationIndex,
|
||||
newIndustryIndex,
|
||||
getRegion
|
||||
getRegion,
|
||||
positionList
|
||||
} from '@/util/api.js';
|
||||
import store from "@/store";
|
||||
export default {
|
||||
@ -163,8 +213,65 @@
|
||||
hy_name: '全部',
|
||||
openDqShow: false,
|
||||
region_list: [],
|
||||
region_children_list: [],
|
||||
dq_name: '全部',
|
||||
leftDqId: 0,
|
||||
zzDqShow: false,
|
||||
zz_name: '全部',
|
||||
zz_list: [],
|
||||
leftZzId: 0,
|
||||
|
||||
jsDqShow: false,
|
||||
js_name: '全部',
|
||||
js_list: [{
|
||||
id: 0,
|
||||
name: '全部'
|
||||
}, {
|
||||
id: 1,
|
||||
name: '第一届'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: '第二届'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: '第三届'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: '第四届'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
name: '第五届'
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
name: '第六届'
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
name: '第七届'
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
name: '第八届'
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
name: '第九届'
|
||||
},
|
||||
{
|
||||
id: 10,
|
||||
name: '第十届'
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
name: '第十一届'
|
||||
}
|
||||
],
|
||||
leftJsId: 0,
|
||||
}
|
||||
},
|
||||
onLoad(d) {
|
||||
@ -189,6 +296,7 @@
|
||||
this.getIndustryList();
|
||||
this.getAssociationIndex();
|
||||
this.getRegionList();
|
||||
this.getPositionListIndex();
|
||||
},
|
||||
confirm(d) {
|
||||
var info = d[0];
|
||||
@ -197,6 +305,28 @@
|
||||
this.getAssociationIndex();
|
||||
this.getIndustryList();
|
||||
},
|
||||
getPositionListIndex() {
|
||||
positionList({
|
||||
association_id: 1
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.zz_list = res.data;
|
||||
this.zz_list.unshift({
|
||||
id: 0,
|
||||
position_name: '全部'
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
getAssociationIndex() {
|
||||
associationIndex()
|
||||
.then(res => {
|
||||
@ -253,7 +383,8 @@
|
||||
},
|
||||
getAddressList() {
|
||||
addressList({
|
||||
position_id: 0,
|
||||
number_of_sessions: this.leftJsId,
|
||||
position_id: this.leftZzId,
|
||||
region_id: this.leftDqId,
|
||||
association_id: this.gid,
|
||||
industry_id: this.leftHyId,
|
||||
@ -262,7 +393,7 @@
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.list = res.data.ret;
|
||||
this.list = res.data;
|
||||
} else {
|
||||
this.showNo = true;
|
||||
}
|
||||
@ -285,11 +416,15 @@
|
||||
.then(res => {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
const transformedSelectList = key.map(item => ({
|
||||
value: item.id,
|
||||
label: item.region_name
|
||||
}));
|
||||
this.region_list = transformedSelectList;
|
||||
// const transformedSelectList = key.map(item => ({
|
||||
// value: item.id,
|
||||
// label: item.region_name
|
||||
// }));
|
||||
key.unshift({
|
||||
value: 0,
|
||||
label: '全部'
|
||||
});
|
||||
this.region_list = key;
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
@ -300,6 +435,32 @@
|
||||
});
|
||||
})
|
||||
},
|
||||
clickClassifyJs(index) {
|
||||
uni.showLoading({
|
||||
title: '加载中...'
|
||||
});
|
||||
this.isFixed = false;
|
||||
this.showNo = false;
|
||||
this.jsDqShow = false;
|
||||
this.currentTabbarIndex = index;
|
||||
this.leftJsId = this.js_list[index].id;
|
||||
this.js_name = this.js_list[index].name;
|
||||
this.list = [];
|
||||
this.getAddressList();
|
||||
},
|
||||
clickClassifyZz(index) {
|
||||
uni.showLoading({
|
||||
title: '加载中...'
|
||||
});
|
||||
this.isFixed = false;
|
||||
this.showNo = false;
|
||||
this.zzDqShow = false;
|
||||
this.currentTabbarIndex = index;
|
||||
this.leftZzId = this.zz_list[index].id;
|
||||
this.zz_name = this.zz_list[index].position_name;
|
||||
this.list = [];
|
||||
this.getAddressList();
|
||||
},
|
||||
clickClassifyHy(index) {
|
||||
uni.showLoading({
|
||||
title: '加载中...'
|
||||
@ -317,12 +478,24 @@
|
||||
uni.showLoading({
|
||||
title: '加载中...'
|
||||
});
|
||||
// this.isFixed = false;
|
||||
// this.showNo = false;
|
||||
// this.openDqShow = false;
|
||||
this.currentTabbarIndex = index;
|
||||
this.region_children_list = this.region_list[index].children;
|
||||
this.leftDqId = this.region_list[index].value;
|
||||
this.dq_name = this.region_list[index].label;
|
||||
this.list = [];
|
||||
this.getAddressList();
|
||||
},
|
||||
clickClassifyDqChildren(index) {
|
||||
this.currentTabbarIndex = index;
|
||||
this.isFixed = false;
|
||||
this.showNo = false;
|
||||
this.openDqShow = false;
|
||||
this.currentTabbarIndex = index;
|
||||
this.leftDqId = this.region_list[index].value;
|
||||
this.dq_name = this.region_list[index].label;
|
||||
//this.region_children_list = this.region_list[index].children;
|
||||
this.leftDqId = this.region_children_list[index].value;
|
||||
this.dq_name = this.region_children_list[index].label;
|
||||
this.list = [];
|
||||
this.getAddressList();
|
||||
},
|
||||
|
@ -24,22 +24,25 @@
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view :scroll-x="true" style="padding:0rpx 30rpx;white-space: nowrap;width: 100%">
|
||||
<view v-for="(item,index) in 5"
|
||||
<view v-for="(item,index) in my_list"
|
||||
style="width: 185rpx;;display: inline-block;text-align: center;background-color: #FFF;overflow: hidden;margin-right: 20rpx;">
|
||||
<view style="position: relative;">
|
||||
<image
|
||||
src="https://hnyea.0rui.cn/uploads/1/20240722/0e105ad4f14a0eae03410c565ffe3a26.png"
|
||||
mode="aspectFill" style="border-radius: 20rpx;width: 185rpx;height: 185rpx;">
|
||||
<image v-if="item.files.length>0" :src="apiImgUrl+item.files[0]" mode="aspectFill"
|
||||
style="border-radius: 20rpx;width: 185rpx;height: 185rpx;">
|
||||
</image>
|
||||
<view v-if="item.files.length==0&&index != 0"
|
||||
style="border-radius: 20rpx;width: 185rpx;height: 185rpx;background-color: rgba(24,24,24,0.3);display: inline-block;">
|
||||
<text style="color: #FFFFFF;line-height: 185rpx;">暂无图片</text>
|
||||
</view>
|
||||
<view @click="tn('/pages/packageA/user/my_add')" v-if="index == 0"
|
||||
style="position: absolute;top: 0;border-radius: 20rpx;width: 185rpx;height: 185rpx;background: rgba(24,24,24,0.6);">
|
||||
style="border-radius: 20rpx;width: 185rpx;height: 185rpx;background: rgba(24,24,24,0.6);">
|
||||
<text style="color: #FFFFFF;line-height: 185rpx;">全部动态</text>
|
||||
</view>
|
||||
</view>
|
||||
<view style="padding:10rpx;font-weight: 400;min-height: 100rpx;">
|
||||
<view class="tn-text-ellipsis-2"
|
||||
style="font-weight: 500;text-align: left;font-size: 28rpx">
|
||||
<text>我的全部动态中青企协党委书记、秘书长许...</text>
|
||||
<text>{{item.title}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -224,12 +227,36 @@
|
||||
sqMode: false,
|
||||
page: 1,
|
||||
none: false,
|
||||
my_list: []
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.getTweetsList();
|
||||
this.getMyTweetsList();
|
||||
},
|
||||
methods: {
|
||||
getMyTweetsList() {
|
||||
tweetsList({
|
||||
me: 1,
|
||||
association_name: 1,
|
||||
page: this.page,
|
||||
state: 2,
|
||||
size: 10
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.my_list = res.data;
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
ReachBottom() {
|
||||
console.log('home');
|
||||
this.page = this.page + 1;
|
||||
@ -272,7 +299,7 @@
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.none = false;
|
||||
this.list.push(...res.data.data);
|
||||
this.list.push(...res.data);
|
||||
} else {
|
||||
this.none = true;
|
||||
}
|
||||
@ -302,6 +329,7 @@
|
||||
member_id: uid,
|
||||
related_id: info.id,
|
||||
related_type: 'tweets',
|
||||
member_b_id: info.member_id,
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
@ -324,6 +352,7 @@
|
||||
member_id: uid,
|
||||
related_id: info.id,
|
||||
related_type: 'tweets',
|
||||
member_b_id: info.member_id,
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
@ -361,6 +390,7 @@
|
||||
member_id: uid,
|
||||
related_id: info.id,
|
||||
related_type: 'tweets',
|
||||
member_b_id: info.member_id,
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
@ -383,6 +413,7 @@
|
||||
member_id: uid,
|
||||
related_id: info.id,
|
||||
related_type: 'tweets',
|
||||
member_b_id: info.member_id,
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
|
@ -17,11 +17,11 @@
|
||||
<image class="no-img" src="/static/logo.png" style="width: 100%;display: block;" mode="widthFix">
|
||||
</image>
|
||||
<view style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin-top: 30rpx;"></view>
|
||||
<view style="font-size: 34rpx;font-weight: bold;margin-top: 30rpx;">协会介绍</view>
|
||||
<view style="font-size: 34rpx;font-weight: bold;margin-top: 30rpx;">关于我们</view>
|
||||
<div style="margin-top: 20rpx;color: #666666;" v-html="info.association_desc"></div>
|
||||
</view>
|
||||
<view style="margin-top: 30rpx;padding:30rpx 40rpx;;border-radius: 30rpx;background-color: #FFFFFF;">
|
||||
<view style="font-size: 34rpx;font-weight: bold;">协会介绍</view>
|
||||
<view style="font-size: 34rpx;font-weight: bold;">联系方式</view>
|
||||
<view style="margin-top: 20rpx;font-size: 28rpx;color: #666666;">
|
||||
<text>联系人:</text>
|
||||
<text>河南省青年企业家协会</text>
|
||||
|
@ -352,7 +352,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style scoped>
|
||||
.my_input view {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -12,7 +12,7 @@
|
||||
</tn-nav-bar>
|
||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||
<view style="padding: 30rpx;">
|
||||
<view v-for="(item,index) in 5"
|
||||
<view v-for="(item,index) in list"
|
||||
style="background-color: #FFF;border-radius: 20rpx;margin-bottom: 20rpx;">
|
||||
<view style="padding: 20rpx">
|
||||
<view>
|
||||
@ -21,20 +21,20 @@
|
||||
<view class="tn-flex tn-flex-row-between"
|
||||
style="padding:20rpx 20rpx 10rpx 10rpx;position: relative;">
|
||||
<view style="margin-left: 10rpx;">
|
||||
<image src="/static/my.png" mode="aspectFill"
|
||||
<image :src="apiImgUrl+item.activity_image" mode="aspectFill"
|
||||
style="width: 250rpx;height: 180rpx;border-radius: 20rpx;"></image>
|
||||
</view>
|
||||
<view style="margin-left: 20rpx;width: 54%;">
|
||||
<view class="tn-text-ellipsis-2" style="font-size: 32rpx;font-weight: bold;">
|
||||
河南省青年企业家协会走进省团校开展党史学...
|
||||
{{item.activity_name}}
|
||||
</view>
|
||||
<view style="font-size: 24rpx;margin: 20rpx 0rpx;color: #888888;">
|
||||
<text class="tn-icon-time"></text>
|
||||
<text>2024.07.02-2024.07.05</text>
|
||||
<text>{{item.activity_start_time}}-{{item.activity_end_time}}</text>
|
||||
</view>
|
||||
<view class="tn-text-ellipsis" style="font-size:26rpx;color: #888888;">
|
||||
<text class="tn-icon-location" style="vertical-align: middle;"></text>
|
||||
<text style="vertical-align: middle;">郑州市中原区世贸中心</text>
|
||||
<text style="vertical-align: middle;">{{item.activity_location}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -67,7 +67,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
<view v-if="uid!=userThisInfo.member_id"
|
||||
style="position: fixed;bottom:0px;width: 100%;background-color: #FFFFFF;box-shadow: 0rpx -2rpx 4rpx 0rpx rgba(186,189,199,0.2);padding:30rpx 30rpx 40rpx 30rpx;">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-center">
|
||||
<view
|
||||
|
@ -20,7 +20,8 @@
|
||||
style="background-color: #FFF;border-radius: 20rpx;margin-bottom: 20rpx;">
|
||||
<view style="padding: 20rpx">
|
||||
<view>
|
||||
<view @click="openUrl('/pages/packageB/event/event_info?id='+item.id)"
|
||||
<view
|
||||
@click="openUrl(current==0?'/pages/packageB/event/event_info?id='+item.id:'/pages/packageB/paper/paper_info?id='+item.id)"
|
||||
style="background-color: #FFF;border-radius: 20rpx;">
|
||||
<view class="tn-flex" style="position: relative;">
|
||||
<view style="margin-left: 10rpx;" v-if="item.related_object.cover!=''">
|
||||
|
@ -16,32 +16,40 @@
|
||||
<view style="font-size: 34rpx;font-weight: bold;margin-top: 40rpx;">暂无发票数据</view>
|
||||
<view style="font-size: 28rpx;color: #BABDC7;margin-top: 20rpx;">未查找到您的发票信息,赶快去申请~</view>
|
||||
<view style="margin-top: 80rpx;">
|
||||
<tn-button width="450rpx" height="85rpx" backgroundColor="#3056D3" shape="round"
|
||||
fontColor="#ffffff">去申请发票</tn-button>
|
||||
<tn-button @click="addMod = true" width="450rpx" height="85rpx" backgroundColor="#3056D3"
|
||||
shape="round" fontColor="#ffffff">去申请发票</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
<view style="padding: 30rpx;">
|
||||
<view v-for="item in 5"
|
||||
<view v-for="item in allList"
|
||||
style="margin-bottom: 30rpx;background-color: #FFF;border-radius: 20rpx;padding: 30rpx;">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between">
|
||||
<view style="font-size: 32rpx;font-weight: bold;">好想你健康食品股份有限公司</view>
|
||||
<view style="color: #FF9847;">
|
||||
<view style="font-size: 32rpx;font-weight: bold;">{{item.unit}}</view>
|
||||
<view v-if="item.if_ssue==3" style="color: #FF9847;">
|
||||
<text>待审核</text>
|
||||
<text class="tn-icon-right"></text>
|
||||
</view>
|
||||
<view v-if="item.if_ssue==2" style="color: #E83A30;">
|
||||
<text>被拒绝</text>
|
||||
<text class="tn-icon-right"></text>
|
||||
</view>
|
||||
<view v-if="item.if_ssue==1" style="color: #28B93D;">
|
||||
<text>已开具</text>
|
||||
<text class="tn-icon-right"></text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="view_text" style="color: #666666;">
|
||||
<view>
|
||||
<text>上官绪波 / 2024.07.12</text>
|
||||
<text>{{item.name}} / {{item.createtime}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>发票金额:</text>
|
||||
<text>¥1385</text>
|
||||
<text>¥{{item.money}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 30rpx 0rpx;"></view>
|
||||
<view style="text-align: right;">
|
||||
<tn-button @click="infoMod = true" height="70rpx" width="200rpx" fontColor="#999999"
|
||||
<tn-button @click="openInfoMod(item)" height="70rpx" width="200rpx" fontColor="#999999"
|
||||
shape="round" backgroundColor="#999999" :plain="true">查看</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
@ -104,43 +112,55 @@
|
||||
<view style="background-color: #FFF;border-radius: 20rpx;padding:10rpx 30rpx;">
|
||||
<tn-form ref="form" :labelWidth="150">
|
||||
<tn-form-item label="申请人" prop="name">
|
||||
<tn-input placeholder="申请人" inputAlign="right" :customStyle="{width: '470rpx'}"
|
||||
v-model="addForm.name" />
|
||||
<tn-input placeholder="申请人" inputAlign="right" :clearable="false"
|
||||
:customStyle="{width: '470rpx'}" v-model="addForm.name" />
|
||||
</tn-form-item>
|
||||
<tn-form-item label="公司名称" prop="unit">
|
||||
<tn-input placeholder="公司名称" inputAlign="right" :customStyle="{width: '470rpx'}"
|
||||
v-model="addForm.unit" />
|
||||
<tn-input placeholder="公司名称" inputAlign="right" :clearable="false"
|
||||
:customStyle="{width: '470rpx'}" v-model="addForm.unit" />
|
||||
</tn-form-item>
|
||||
<tn-form-item label="纳税人识别号" :labelWidth="200" prop="taxpayer_identification_number">
|
||||
<tn-input placeholder="纳税人识别号" inputAlign="right" :customStyle="{width: '420rpx'}"
|
||||
v-model="addForm.taxpayer_identification_number" />
|
||||
<tn-input placeholder="纳税人识别号" inputAlign="right" :clearable="false"
|
||||
:customStyle="{width: '420rpx'}" v-model="addForm.taxpayer_identification_number" />
|
||||
</tn-form-item>
|
||||
<tn-form-item label="单位地址" prop="unit_address">
|
||||
<tn-input placeholder="单位地址" inputAlign="right" :customStyle="{width: '470rpx'}"
|
||||
v-model="addForm.unit_address" />
|
||||
<tn-input placeholder="单位地址" inputAlign="right" :clearable="false"
|
||||
:customStyle="{width: '470rpx'}" v-model="addForm.unit_address" />
|
||||
</tn-form-item>
|
||||
<tn-form-item label="单位电话" prop="telephone">
|
||||
<tn-input placeholder="单位电话" inputAlign="right" :customStyle="{width: '470rpx'}"
|
||||
v-model="addForm.telephone" />
|
||||
<tn-input placeholder="单位电话" inputAlign="right" :clearable="false"
|
||||
:customStyle="{width: '470rpx'}" v-model="addForm.telephone" />
|
||||
</tn-form-item>
|
||||
<tn-form-item label="银行基本户账号" :labelWidth="220" prop="bank_basic_account_number">
|
||||
<tn-input placeholder="银行基本户账号" inputAlign="right" :customStyle="{width: '410rpx'}"
|
||||
v-model="addForm.bank_basic_account_number" />
|
||||
<tn-input placeholder="银行基本户账号" :clearable="false" inputAlign="right"
|
||||
:customStyle="{width: '410rpx'}" v-model="addForm.bank_basic_account_number" />
|
||||
</tn-form-item>
|
||||
<tn-form-item label="开户行" prop="bank">
|
||||
<tn-input placeholder="开户行" inputAlign="right" :customStyle="{width: '470rpx'}"
|
||||
v-model="addForm.bank" />
|
||||
<tn-input placeholder="开户行" :clearable="false" inputAlign="right"
|
||||
:customStyle="{width: '470rpx'}" v-model="addForm.bank" />
|
||||
</tn-form-item>
|
||||
<tn-form-item label="发票金额" prop="bank" :borderBottom="false">
|
||||
<tn-input placeholder="发票金额" inputAlign="right" :customStyle="{width: '470rpx'}"
|
||||
v-model="addForm.money" />
|
||||
<tn-form-item label="发票金额" prop="bank" :borderBottom="true">
|
||||
<tn-input placeholder="发票金额" inputAlign="right" :clearable="false"
|
||||
:customStyle="{width: '470rpx'}" v-model="addForm.money" />
|
||||
</tn-form-item>
|
||||
<tn-form-item label="支付凭证" prop="bank" :borderBottom="false">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-right">
|
||||
<view style="text-align: center;">
|
||||
<image v-if="addForm.voucher!=''" :src="apiImgUrl+addForm.voucher"
|
||||
style="width: 200rpx;height: 200rpx"></image>
|
||||
</view>
|
||||
<view style="margin-left: 20rpx;">
|
||||
<tn-button @click="upload_img" backgroundColor="#3056D3" fontColor="#ffffff"
|
||||
size="sm">上传凭证</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
</tn-form-item>
|
||||
</tn-form>
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
style="position: fixed;bottom:0px;width: 100%;background-color: #FFFFFF;box-shadow: 0rpx -2rpx 4rpx 0rpx rgba(186,189,199,0.2);padding:30rpx 30rpx 40rpx 30rpx;">
|
||||
<view
|
||||
<view @click="kp_add_do"
|
||||
style="margin: 0 auto;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:90rpx;">
|
||||
<text>申请发票</text>
|
||||
</view>
|
||||
@ -150,11 +170,11 @@
|
||||
<tn-popup v-model="infoMod" mode="right" :safeAreaInsetBottom="true" width="100%">
|
||||
<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="addMod = false">
|
||||
<view style="padding-left: 15rpx;" @click="infoMod = false">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view>
|
||||
<view style="width: 83%;font-weight: bold;">
|
||||
<text>发票开取</text>
|
||||
<text>开票信息</text>
|
||||
</view>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
@ -163,129 +183,63 @@
|
||||
<view style="padding: 30rpx;">
|
||||
<view style="background-color: #FFF;border-radius: 20rpx;padding: 30rpx;">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between">
|
||||
<view style="font-size: 32rpx;font-weight: bold;">好想你健康食品股份有限公司</view>
|
||||
<view style="color: #FF9847;">待审核</view>
|
||||
<view style="font-size: 32rpx;font-weight: bold;">{{info.unit}}</view>
|
||||
<view v-if="info.if_ssue==3" style="color: #FF9847;">
|
||||
<text>待审核</text>
|
||||
</view>
|
||||
<view v-if="info.if_ssue==2" style="color: #E83A30;">
|
||||
<text>被拒绝</text>
|
||||
</view>
|
||||
<view v-if="info.if_ssue==1" style="color: #28B93D;">
|
||||
<text>已开具</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="view_text" style="font-size: 28rpx;color: #666666;margin-top: 30rpx;">
|
||||
<view>
|
||||
<text>申请人:</text>
|
||||
<text>上官绪波</text>
|
||||
<text>{{info.name}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>申请时间:</text>
|
||||
<text>2024.07.16</text>
|
||||
<text>{{info.createtime}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>单位电话:</text>
|
||||
<text>0371-65560130</text>
|
||||
<text>{{info.telephone}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>单位地址:</text>
|
||||
<text>河南省新郑市中华北路199号</text>
|
||||
<text>{{info.unit_address}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>银行基本户账号:</text>
|
||||
<text>130701012000564</text>
|
||||
<text>{{info.bank_basic_account_number}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>纳税人识别号:</text>
|
||||
<text>310227687656440</text>
|
||||
<text>{{info.taxpayer_identification_number}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>开户行:</text>
|
||||
<text>郑州市金水区建设银行黄河路支行</text>
|
||||
<text>{{info.bank}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>发票金额:</text>
|
||||
<text>¥680</text>
|
||||
<text>¥{{info.money}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
<view v-if="info.if_ssue==1"
|
||||
style="position: fixed;bottom:0px;width: 100%;background-color: #FFFFFF;box-shadow: 0rpx -2rpx 4rpx 0rpx rgba(186,189,199,0.2);padding:30rpx 30rpx 40rpx 30rpx;">
|
||||
<view
|
||||
<view @click="openImg"
|
||||
style="margin: 0 auto;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:90rpx;">
|
||||
<text>下载发票</text>
|
||||
</view>
|
||||
</view>
|
||||
</tn-popup>
|
||||
<!-- <tn-popup v-model="tt_add_show" mode="right" :safeAreaInsetBottom="true" width="100%">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :alpha="true" :bottomShadow="false">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="tt_add_show = false">
|
||||
<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:'选择开票信息'}]" activeColor="#000" :bold="false" :fontSize="34"></tn-tabs>
|
||||
</view>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
<view :style="{paddingTop: vuex_custom_bar_height+'px'}" class="custom-modal-content">
|
||||
<view v-if="!tt_add_show_add" style="padding:0rpx 30rpx 150rpx 30rpx;">
|
||||
<view style="text-align:right;">
|
||||
<tn-button @click="tt_add_show_add = true" backgroundColor="#3D7EFF" size="sm"
|
||||
fontColor="#ffffff">添加开票信息</tn-button>
|
||||
</view>
|
||||
<tn-radio-group v-model="header_id" width="100%" wrap @change="radioGroupChange">
|
||||
<block v-for="(item,index) in tt_list">
|
||||
<tn-radio :name="item.id+''" :size="40" borderColor="#3D7EFF" activeColor="#3D7EFF">
|
||||
<view style="padding: 30rpx 0rpx;margin-left: 30px;">
|
||||
<view>申请人:{{item.name}}</view>
|
||||
<view>公司名称:{{item.unit}}</view>
|
||||
<view>纳税人识别号:{{item.taxpayer_identification_number}}</view>
|
||||
<view>单位地址:{{item.unit_address}}</view>
|
||||
<view>单位电话:{{item.telephone}}</view>
|
||||
<view>银行基本户账号:{{item.bank_basic_account_number}}</view>
|
||||
<view>开户行:{{item.bank}}</view>
|
||||
</view>
|
||||
</tn-radio>
|
||||
</block>
|
||||
</tn-radio-group>
|
||||
</view>
|
||||
<view style="position: fixed;bottom: 80rpx;width: 92%;margin: 0 auto;text-align: center;">
|
||||
<tn-button @click="tt_add_show = false" backgroundColor="#3D7EFF" width="300rpx" height="80rpx"
|
||||
fontColor="#ffffff">确定</tn-button>
|
||||
</view>
|
||||
<view v-if="tt_add_show_add" class="text" style="padding:20rpx 40rpx;">
|
||||
<view style="text-align: center;font-size: 32rpx;font-weight: 600;">添加开票信息</view>
|
||||
<tn-form ref="form" :labelWidth="120">
|
||||
<tn-form-item prop="name">
|
||||
<tn-input placeholder="申请人" :customStyle="{width: '600rpx'}" v-model="addForm.name" />
|
||||
</tn-form-item>
|
||||
<tn-form-item prop="unit">
|
||||
<tn-input placeholder="公司名称" :customStyle="{width: '600rpx'}" v-model="addForm.unit" />
|
||||
</tn-form-item>
|
||||
<tn-form-item prop="taxpayer_identification_number">
|
||||
<tn-input placeholder="纳税人识别号" :customStyle="{width: '600rpx'}"
|
||||
v-model="addForm.taxpayer_identification_number" />
|
||||
</tn-form-item>
|
||||
<tn-form-item prop="unit_address">
|
||||
<tn-input placeholder="单位地址" :customStyle="{width: '600rpx'}"
|
||||
v-model="addForm.unit_address" />
|
||||
</tn-form-item>
|
||||
<tn-form-item prop="telephone">
|
||||
<tn-input placeholder="单位电话" :customStyle="{width: '600rpx'}" v-model="addForm.telephone" />
|
||||
</tn-form-item>
|
||||
<tn-form-item prop="bank_basic_account_number">
|
||||
<tn-input placeholder="银行基本户账号" :customStyle="{width: '600rpx'}"
|
||||
v-model="addForm.bank_basic_account_number" />
|
||||
</tn-form-item>
|
||||
<tn-form-item prop="bank">
|
||||
<tn-input placeholder="开户行" :customStyle="{width: '600rpx'}" v-model="addForm.bank" />
|
||||
</tn-form-item>
|
||||
</tn-form>
|
||||
<view style="text-align: center;margin-top: 50rpx;">
|
||||
<tn-button backgroundColor="#E6E6E6" height="70rpx" fontColor="#ffffff"
|
||||
@click="tt_add_show_add = false" width="40%">取消</tn-button>
|
||||
<tn-button backgroundColor="#3D7EFF" height="70rpx" width="40%" fontColor="#ffffff"
|
||||
style="margin-left: 30rpx;" @click="tt_add_do">提交</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</tn-popup> -->
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -302,6 +256,7 @@
|
||||
data() {
|
||||
return {
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
apiUpUrl: this.$store.state.apiUrl,
|
||||
addMod: false,
|
||||
infoMod: false,
|
||||
tt_add_show_add: false,
|
||||
@ -313,8 +268,9 @@
|
||||
telephone: '',
|
||||
bank_basic_account_number: '',
|
||||
bank: '',
|
||||
association_id: 0,
|
||||
association_id: 1,
|
||||
money: '',
|
||||
voucher: '',
|
||||
},
|
||||
invoice_type_show: false,
|
||||
actionSheetList: [{
|
||||
@ -351,6 +307,10 @@
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
openInfoMod(item) {
|
||||
this.info = item;
|
||||
this.infoMod = true;
|
||||
},
|
||||
radioGroupChange(d) {
|
||||
const item = this.tt_list.find(item => item.id == d);
|
||||
console.log(item);
|
||||
@ -398,14 +358,6 @@
|
||||
|
||||
},
|
||||
kp_add_do() {
|
||||
if (this.header_id == 0) {
|
||||
uni.showToast({
|
||||
title: '请选择开票信息',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.money == '' || this.money <= 0) {
|
||||
uni.showToast({
|
||||
title: '请填写金额',
|
||||
@ -414,12 +366,7 @@
|
||||
});
|
||||
return;
|
||||
}
|
||||
addInvoiceLog({
|
||||
association_id: this.addForm.association_id,
|
||||
header_id: this.header_id,
|
||||
money: this.money,
|
||||
invoice_type: this.invoice_type
|
||||
})
|
||||
addInvoiceLog(this.addForm)
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
@ -429,11 +376,6 @@
|
||||
duration: 2000
|
||||
});
|
||||
this.addMod = false;
|
||||
this.header_id = 0;
|
||||
this.header_id_name = '请选择开票信息';
|
||||
this.invoice_type_name = '普票';
|
||||
this.invoice_type = 1;
|
||||
this.money = '';
|
||||
this.allList = [];
|
||||
this.page = 1;
|
||||
this.getList();
|
||||
@ -518,6 +460,33 @@
|
||||
});
|
||||
})
|
||||
},
|
||||
upload_img() {
|
||||
var user_info = uni.getStorageSync('userInfo');
|
||||
var that = this;
|
||||
uni.chooseMedia({
|
||||
count: 1, //默认9
|
||||
mediaType: ['image'],
|
||||
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ['album'], //从相册选择
|
||||
success: function(res) {
|
||||
console.log(res);
|
||||
var url = res.tempFiles[0].tempFilePath;
|
||||
uni.uploadFile({
|
||||
url: that.apiUpUrl + '/common/upload', //仅为示例,非真实的接口地址
|
||||
filePath: url,
|
||||
name: 'file',
|
||||
formData: {
|
||||
association_id: 1,
|
||||
},
|
||||
success: (uploadFileRes) => {
|
||||
var data = JSON.parse(uploadFileRes.data);
|
||||
console.log(data);
|
||||
that.addForm.voucher = data.data.url;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
goBack() {
|
||||
if (getCurrentPages().length > 1) {
|
||||
uni.navigateBack()
|
||||
|
@ -13,60 +13,79 @@
|
||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||
<view style="padding: 30rpx;">
|
||||
<view style="background-color: #ffffff;padding: 35rpx;border-radius: 20rpx;">
|
||||
<view @click="tn('/pages/packageA/user/my_card_holder')"
|
||||
<template v-for="item in typeList">
|
||||
<view v-if="item.type==0" class="tn-flex tn-flex-center tn-flex-col-center"
|
||||
@click="openMode(item)">
|
||||
<view style="width: 110rpx;height: 110rpx;position: relative;">
|
||||
<image src="/static/msg3.png" style="width: 110rpx;height: 110rpx;border-radius:50%;">
|
||||
</image>
|
||||
<view v-if="item.state_zero_count>0"
|
||||
style="right: -4rpx;top: -5rpx;position: absolute;color: #ffffff;line-height: 40rpx;text-align: center;width: 40rpx;height: 40rpx;border-radius: 50%;border: 1px #ffffff solid;background-color: red;">
|
||||
{{item.state_zero_count>99?'99+':item.state_zero_count}}
|
||||
</view>
|
||||
</view>
|
||||
<view style="margin-left: 20rpx;">
|
||||
<view>
|
||||
<text style="font-size: 32rpx;font-weight: bold;vertical-align: middle;">系统通知</text>
|
||||
</view>
|
||||
<view class="tn-text-ellipsis-2"
|
||||
style="font-size: 28rpx;margin-top: 10rpx;color: #666666;">
|
||||
<text>管理员审核了你发布的动态</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="item.type==0"
|
||||
style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 40rpx 0rpx;"></view>
|
||||
<view v-if="item.type==1" @click="openMode(item)"
|
||||
class="tn-flex tn-flex-center tn-flex-col-center">
|
||||
<view style="width: 110rpx;height: 110rpx;position: relative;">
|
||||
<image src="/static/msg1.png" style="width: 110rpx;height: 110rpx;border-radius:50%;">
|
||||
</image>
|
||||
<view
|
||||
<view v-if="item.state_zero_count>0"
|
||||
style="right: -4rpx;top: -5rpx;position: absolute;color: #ffffff;line-height: 40rpx;text-align: center;width: 40rpx;height: 40rpx;border-radius: 50%;border: 1px #ffffff solid;background-color: red;">
|
||||
5
|
||||
{{item.state_zero_count>99?'99+':item.state_zero_count}}
|
||||
</view>
|
||||
</view>
|
||||
<view style="margin-left: 20rpx;">
|
||||
<view>
|
||||
<text style="font-size: 32rpx;font-weight: bold;vertical-align: middle;">好友验证</text>
|
||||
</view>
|
||||
<view class="tn-text-ellipsis-2" style="font-size: 28rpx;margin-top: 10rpx;color: #666666;">
|
||||
<view class="tn-text-ellipsis-2"
|
||||
style="font-size: 28rpx;margin-top: 10rpx;color: #666666;">
|
||||
<text>您有好友验证消息</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 40rpx 0rpx;"></view>
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center" @click="hdModel= true">
|
||||
<view style="width: 110rpx;height: 110rpx">
|
||||
<view v-if="item.type==1"
|
||||
style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 40rpx 0rpx;"></view>
|
||||
<view v-if="item.type==3" class="tn-flex tn-flex-center tn-flex-col-center"
|
||||
@click="openMode(item)">
|
||||
<view style="width: 110rpx;height: 110rpx;position: relative;">
|
||||
<image src="/static/msg2.png" style="width: 110rpx;height: 110rpx;border-radius:50%;">
|
||||
</image>
|
||||
<view v-if="item.state_zero_count>0"
|
||||
style="right: -4rpx;top: -5rpx;position: absolute;color: #ffffff;line-height: 40rpx;text-align: center;width: 40rpx;height: 40rpx;border-radius: 50%;border: 1px #ffffff solid;background-color: red;">
|
||||
{{item.state_zero_count>99?'99+':item.state_zero_count}}
|
||||
</view>
|
||||
</view>
|
||||
<view style="margin-left: 20rpx;">
|
||||
<view>
|
||||
<text style="font-size: 32rpx;font-weight: bold;vertical-align: middle;">互动消息</text>
|
||||
</view>
|
||||
<view class="tn-text-ellipsis-2" style="font-size: 28rpx;margin-top: 10rpx;color: #666666;">
|
||||
<view class="tn-text-ellipsis-2"
|
||||
style="font-size: 28rpx;margin-top: 10rpx;color: #666666;">
|
||||
<text>有用户对您发布的圈子进行了点赞</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 40rpx 0rpx;"></view>
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center" @click="xtModel = true">
|
||||
<view style="width: 110rpx;height: 110rpx">
|
||||
<image src="/static/msg3.png" style="width: 110rpx;height: 110rpx;border-radius:50%;">
|
||||
</image>
|
||||
</view>
|
||||
<view style="margin-left: 20rpx;">
|
||||
<view>
|
||||
<text style="font-size: 32rpx;font-weight: bold;vertical-align: middle;">系统通知</text>
|
||||
</view>
|
||||
<view class="tn-text-ellipsis-2" style="font-size: 28rpx;margin-top: 10rpx;color: #666666;">
|
||||
<text>管理员审核了你发布的动态</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<tn-popup v-model="hdModel" mode="right" :safeAreaInsetBottom="false" width="100%">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="false" backgroundColor="#FFFFFF">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="hdModel = false">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
@ -76,41 +95,57 @@
|
||||
</view>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
<view :style="{paddingTop: vuex_custom_bar_height+'px'}"
|
||||
style="background-color: #F1F2F8;min-height: 100vh;">
|
||||
<view :style="{paddingTop: vuex_custom_bar_height+'px;'}">
|
||||
<!-- <view style="text-align: right;padding: 20rpx;">
|
||||
<tn-button size="sm" backgroundColor="#3056D3" fontColor="#ffffff" height="60rpx">清理消息</tn-button>
|
||||
</view> -->
|
||||
</view>
|
||||
<scroll-view scroll-y @scrolltolower="hdTolower" style="background-color: #F1F2F8;height: 100vh;">
|
||||
<view class="text" style="padding:30rpx;">
|
||||
<view style="background-color: #FFF;padding: 30rpx;border-radius: 20rpx;">
|
||||
<view v-for="item in 5">
|
||||
<view v-for="(item,index) in contentList"
|
||||
@click="tn('/pages/packageB/paper/paper_info?id='+item.be_related_to_id)">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center">
|
||||
<view style="width: 110rpx;height: 110rpx">
|
||||
<image src="/static/def.png"
|
||||
<image v-if="item.member.photo_image==null||item.member.photo_image==''"
|
||||
src="/static/def.png" style="width: 110rpx;height: 110rpx;border-radius:50%;">
|
||||
</image>
|
||||
<image v-if="item.member.photo_image!=null&&item.member.photo_image!=''"
|
||||
:src="apiImgUrl+item.member.photo_image"
|
||||
style="width: 110rpx;height: 110rpx;border-radius:50%;">
|
||||
</image>
|
||||
</view>
|
||||
<view style="margin-left: 20rpx;">
|
||||
<view>
|
||||
<text
|
||||
style="font-size: 32rpx;font-weight: bold;vertical-align: middle;">李杨</text>
|
||||
style="font-size: 32rpx;font-weight: bold;vertical-align: middle;">{{item.member.nikename}}</text>
|
||||
</view>
|
||||
<view class="tn-text-ellipsis-2"
|
||||
style="font-size: 28rpx;margin-top: 10rpx;color: #666666;">
|
||||
<text class="tn-icon-praise-fill"
|
||||
<text v-if="item.type==1" class="tn-icon-praise-fill"
|
||||
style="color: #3056D3;font-size: 30rpx;"></text>
|
||||
<text>《省青企协团信阳市委新县人民政府 助力大别山干部学院举行》</text>
|
||||
<text v-if="item.type==2" class="tn-icon-star-fill"
|
||||
style="color: #3056D3;font-size: 30rpx;"></text>
|
||||
<text v-if="item.type==4" class="tn-icon-comment-fill"
|
||||
style="color: #3056D3;font-size: 30rpx;"></text>
|
||||
<text style="margin-left: 10rpx;">{{item.tweet.title}}</text>
|
||||
</view>
|
||||
<view style="margin-top: 10rpx;font-size: 24rpx;color: #999999;">{{item.content}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="font-size: 24rpx;color: #AAAAAA;padding-left: 120rpx;margin-top: 20rpx;">
|
||||
2024-07-18
|
||||
09:45</view>
|
||||
<view style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 30rpx 0rpx;"></view>
|
||||
</view>
|
||||
{{item.createtime}}
|
||||
</view>
|
||||
<view v-if="index<contentList.length-1"
|
||||
style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 30rpx 0rpx;"></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</tn-popup>
|
||||
<tn-popup v-model="xtModel" mode="right" :safeAreaInsetBottom="false" width="100%">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="false" backgroundColor="#FFFFFF">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="xtModel = false">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
@ -120,45 +155,155 @@
|
||||
</view>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
<view :style="{paddingTop: vuex_custom_bar_height+'px'}"
|
||||
style="background-color: #F1F2F8;min-height: 100vh;">
|
||||
<view :style="{paddingTop: vuex_custom_bar_height+'px;'}">
|
||||
<!-- <view style="text-align: right;padding: 20rpx;">
|
||||
<tn-button size="sm" backgroundColor="#3056D3" fontColor="#ffffff" height="60rpx">清理消息</tn-button>
|
||||
</view> -->
|
||||
</view>
|
||||
<scroll-view scroll-y @scrolltolower="xtTolower" style="background-color: #F1F2F8;height: 100vh;">
|
||||
<view v-for="(item,index) in contentList" class="text" style="padding:30rpx;">
|
||||
<view v-if="item.system_notification_type==1" @click="set_tn(item)"
|
||||
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.neirong.status==2" style="color: green;">审核通过</text>
|
||||
<text v-if="item.neirong.status==3" style="color: red;">拒绝</text>
|
||||
<text>了你发布的动态:</text>
|
||||
</view>
|
||||
<view style="font-size: 28rpx;color: #666666;margin-top: 20rpx;">
|
||||
{{item.neirong.title}}
|
||||
</view>
|
||||
<view style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">{{item.mail_time}}</view>
|
||||
<view v-if="item.neirong.status==3"
|
||||
style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 30rpx 0rpx;"></view>
|
||||
<view v-if="item.neirong.status==3" style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">
|
||||
拒绝理由: {{item.neirong.remark}}</view>
|
||||
</view>
|
||||
<view v-if="item.system_notification_type==2" @click="tn('/pages/packageA/user/my_invoice')"
|
||||
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.neirong.if_ssue==1" style="color: green;">审核通过</text>
|
||||
<text v-if="item.neirong.if_ssue==2" style="color: red;">拒绝</text>
|
||||
<text>了你的发票申请</text>
|
||||
</view>
|
||||
<view style="font-size: 28rpx;color: #666666;margin-top: 20rpx;">
|
||||
<view>{{item.neirong.unit}}</view>
|
||||
<view style="margin:10rpx 0rpx;">{{item.neirong.name}} / {{item.neirong.createtime}}</view>
|
||||
<view>发票金额: ¥{{item.neirong.money}}</view>
|
||||
</view>
|
||||
<view style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">{{item.mail_time}}</view>
|
||||
<view v-if="item.neirong.if_ssue==2"
|
||||
style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 30rpx 0rpx;"></view>
|
||||
<view v-if="item.neirong.if_ssue==2" style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">
|
||||
拒绝理由: {{item.reason}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
</tn-popup>
|
||||
<tn-popup v-model="hyModel" mode="right" :safeAreaInsetBottom="false" width="100%">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="false" backgroundColor="#FFFFFF">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="hyModel = false">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view>
|
||||
<view style="width: 83%;font-weight: bold;">
|
||||
<text>好友验证</text>
|
||||
</view>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
<view :style="{paddingTop: vuex_custom_bar_height+'px;'}">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-center" style="padding: 30rpx;">
|
||||
<view class="tab_info" @click="getHyList(0)">
|
||||
<view :style="current==0?'font-weight:600;color:#3056D3':''">我申请的</view>
|
||||
<view v-if="current==0"
|
||||
style="position: absolute;width: 50%;height: 8rpx;background-color: #3056D3;left: 0;right: 0;margin: 0 auto;bottom: -15rpx">
|
||||
</view>
|
||||
</view>
|
||||
<view class="tab_info" style="margin-left: 60rpx;" @click="getHyList(1)">
|
||||
<view :style="current==1?'font-weight:600;color:#3056D3':''">我收到的</view>
|
||||
<view v-if="current==1"
|
||||
style="position: absolute;width: 50%;height: 8rpx;background-color: #3056D3;left: 0;right: 0;margin: 0 auto;bottom: -15rpx">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view scroll-y @scrolltolower="xtTolower" style="background-color: #F1F2F8;height: 100vh;">
|
||||
<view class="text" style="padding:30rpx;">
|
||||
<view style="background-color: #FFF;border-radius: 20rpx;padding:30rpx;margin-bottom: 30rpx;">
|
||||
<view style="font-size: 32rpx;font-weight: bold;">
|
||||
管理员<text style="color: green;">审核通过</text>了你发布的动态:
|
||||
<view v-for="(item,index) in contentList">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center">
|
||||
<view
|
||||
@click="tn('/pages/packageA/user/my_card?id='+(current==0?item.member_id:item.member_q_id))">
|
||||
<image v-if="item.member_b_photo_image==null||item.member_b_photo_image==''"
|
||||
src="/static/def.png"
|
||||
style="width: 110rpx;height: 110rpx;border-radius:50%;">
|
||||
</image>
|
||||
<image v-if="item.member_b_photo_image!=null&&item.member_b_photo_image!=''"
|
||||
:src="apiImgUrl+item.member_b_photo_image"
|
||||
style="width: 110rpx;height: 110rpx;border-radius:50%;">
|
||||
</image>
|
||||
</view>
|
||||
<view style="font-size: 28rpx;color: #666666;margin-top: 20rpx;">
|
||||
《省青企协团信阳市委新县人民政府
|
||||
助力大别山干部学院举行》
|
||||
<view style="margin-left: 20rpx;">
|
||||
<view>
|
||||
<text
|
||||
style="font-size: 32rpx;font-weight: bold;vertical-align: middle;">{{current==1?item.member_q_id_name:item.member_nikename}}</text>
|
||||
</view>
|
||||
<view style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">2024-07-18 09:45</view>
|
||||
<view style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 30rpx 0rpx;"></view>
|
||||
<view style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">拒绝理由: 图片信息不足,请完善图片内容</view>
|
||||
</view>
|
||||
<view style="background-color: #FFF;border-radius: 20rpx;padding:30rpx;margin-bottom: 30rpx;">
|
||||
<view style="font-size: 32rpx;font-weight: bold;">
|
||||
管理员<text style="color: green;">审核通过</text>了你的发票申请
|
||||
</view>
|
||||
<view style="font-size: 28rpx;color: #666666;margin-top: 20rpx;">
|
||||
<view>好想你健康食品股份有限公司</view>
|
||||
<view style="margin:10rpx 0rpx;">上官绪波 / 2024.07.10</view>
|
||||
<view>发票金额: ¥680</view>
|
||||
</view>
|
||||
<view style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">2024-07-18 09:45</view>
|
||||
<view style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 30rpx 0rpx;"></view>
|
||||
<view style="font-size: 24rpx;color: #AAAAAA;margin-top: 30rpx;">拒绝理由: 图片信息不足,请完善图片内容</view>
|
||||
<view style="margin-top: 10rpx;font-size: 24rpx;color: #999999;">
|
||||
{{current==1?item.member_q_work_unit:item.member_work_unit}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
<tn-button v-if="item.if_tongyi==0" size="sm" shape="round"
|
||||
backgroundColor="#3056D3" fontColor="#ffffff">已同意</tn-button>
|
||||
<tn-button v-if="item.if_tongyi==1" size="sm" shape="round"
|
||||
backgroundColor="#F1F2F8" fontColor="#888888">被拒绝</tn-button>
|
||||
<tn-button @click="sqMode = true;sqInfo=item" v-if="item.if_tongyi==2" size="sm"
|
||||
shape="round" backgroundColor="#FF7043" fontColor="#ffffff">操作</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="index<contentList.length-1"
|
||||
style="height: 1rpx;border-top: #BABDC7 1rpx dashed;margin: 30rpx 0rpx;"></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</tn-popup>
|
||||
<tn-modal v-model="sqMode" :custom="true">
|
||||
<view>
|
||||
<view style="text-align: center;color: #181818;font-size: 34rpx;font-weight: bold;">操作</view>
|
||||
<view style="color: #777777;font-size: 28rpx;margin-top: 20rpx;">
|
||||
点击确定按钮将同意后对方将看到你的个人名片信息。
|
||||
</view>
|
||||
<view style="margin-top: 20rpx;">
|
||||
<view class="tn-flex tn-flex-center tn-flex-row-between" style="margin-top: 40rpx;">
|
||||
<view>
|
||||
<tn-button @click="updateType(1,sqInfo.mail_id)" width="250rpx" :plain="true" shape="round"
|
||||
size="lg" backgroundColor="#BABDC7" fontColor="#999999">拒绝
|
||||
</tn-button>
|
||||
</view>
|
||||
<view>
|
||||
<tn-button @click="updateType(0,sqInfo.mail_id)" width="250rpx" shape="round"
|
||||
margin="0rpx 0 0 30rpx" size="lg" backgroundColor="#3056D3" fontColor="#ffffff">同意
|
||||
</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</tn-modal>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
msgTypeList,
|
||||
interactionlIndex,
|
||||
MaillogIndex,
|
||||
MaillogUpdate,
|
||||
MaillogUpdateState
|
||||
mailMyMemberPost,
|
||||
MaillogUpdate
|
||||
} from "@/util/api";
|
||||
import store from "@/store";
|
||||
export default {
|
||||
@ -167,94 +312,36 @@
|
||||
return {
|
||||
hdModel: false,
|
||||
xtModel: false,
|
||||
loadingIn: 'loading',
|
||||
uid: 0,
|
||||
hyModel: false,
|
||||
sqMode: false,
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
page: 1,
|
||||
size: 10,
|
||||
list: [],
|
||||
id: 0,
|
||||
if_tongyi: 0,
|
||||
showMode: {
|
||||
content: '',
|
||||
title: '',
|
||||
show: false,
|
||||
key: 1,
|
||||
button: [{
|
||||
text: '取消',
|
||||
backgroundColor: '#E6E6E6',
|
||||
fontColor: '#FFFFFF',
|
||||
},
|
||||
{
|
||||
text: '确定',
|
||||
backgroundColor: 'tn-bg-indigo',
|
||||
fontColor: '#FFFFFF'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
current: 0,
|
||||
tab_list: [{
|
||||
name: '理事会'
|
||||
}, {
|
||||
name: '监事会'
|
||||
}],
|
||||
typeList: [],
|
||||
contentList: [],
|
||||
sqInfo: {}
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
var uid = uni.getStorageSync('uid');
|
||||
this.uid = uid;
|
||||
this.getMaillogIndex();
|
||||
this.getMsgTypeList();
|
||||
},
|
||||
onReachBottom() {
|
||||
this.page = this.page + 1;
|
||||
this.getMaillogIndex();
|
||||
//this.getMaillogIndex();
|
||||
},
|
||||
methods: {
|
||||
all_upadte_do() {
|
||||
MaillogUpdateState({
|
||||
member_b_id: this.uid
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
store.state.msgCount = 0;
|
||||
uni.showToast({
|
||||
title: '操作成功!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
this.showMode.show = false;
|
||||
this.page = 1;
|
||||
this.list = [];
|
||||
this.getMaillogIndex();
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
all_upadte() {
|
||||
this.showMode.show = true;
|
||||
this.showMode.content = '确定修改为全部已读吗?';
|
||||
this.showMode.title = '操作提示';
|
||||
this.showMode.key = 2;
|
||||
},
|
||||
updateType(type, id) {
|
||||
this.showMode.show = true;
|
||||
this.showMode.content = type == 0 ? '确定要通过申请吗?' : '确定要拒绝申请吗?';
|
||||
this.showMode.title = '操作提示';
|
||||
this.showMode.key = 1;
|
||||
this.id = id;
|
||||
this.if_tongyi = type;
|
||||
},
|
||||
setMaillogUpdate() {
|
||||
updateType(key, this_id) {
|
||||
MaillogUpdate({
|
||||
id: this.id,
|
||||
if_tongyi: this.if_tongyi,
|
||||
id: this_id,
|
||||
if_tongyi: key,
|
||||
state: 1, //已读
|
||||
})
|
||||
.then(res => {
|
||||
@ -265,6 +352,7 @@
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
this.getMaillogIndex(1);
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
@ -272,10 +360,6 @@
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
this.showMode.show = false;
|
||||
this.page = 1;
|
||||
this.list = [];
|
||||
this.getMaillogIndex();
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
@ -285,19 +369,23 @@
|
||||
});
|
||||
})
|
||||
},
|
||||
getMaillogIndex() {
|
||||
MaillogIndex({
|
||||
member_b_id: this.uid,
|
||||
getHyList(d) {
|
||||
this.page = 1;
|
||||
this.contentList = [];
|
||||
this.current = d;
|
||||
if (d == 0) {
|
||||
this.geTmailMyMemberPost();
|
||||
} else {
|
||||
this.getMaillogIndex(1);
|
||||
}
|
||||
},
|
||||
geTmailMyMemberPost() {
|
||||
mailMyMemberPost({
|
||||
page: this.page,
|
||||
size: this.size,
|
||||
|
||||
size: 10,
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res.data.length);
|
||||
this.list.push(...res.data);
|
||||
if (res.data.length == 0 || this.list.length < 5) {
|
||||
this.loadingIn = 'nomore';
|
||||
}
|
||||
this.contentList.push(...res.data);
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
@ -307,23 +395,89 @@
|
||||
});
|
||||
})
|
||||
},
|
||||
modeClick(i) {
|
||||
if (i.index == 0) {
|
||||
this.showMode.show = false;
|
||||
openMode(item) {
|
||||
console.log(item);
|
||||
this.page = 1;
|
||||
this.contentList = [];
|
||||
if (item.type == 3) {
|
||||
this.getInteractionlIndex();
|
||||
} else {
|
||||
if (item.type == 0) {
|
||||
this.xtModel = true;
|
||||
this.getMaillogIndex(item.type);
|
||||
} else {
|
||||
this.hyModel = true;
|
||||
this.geTmailMyMemberPost();
|
||||
}
|
||||
if (this.showMode.key == 1 && i.index == 1) {
|
||||
this.setMaillogUpdate();
|
||||
}
|
||||
if (this.showMode.key == 2 && i.index == 1) {
|
||||
this.all_upadte_do();
|
||||
}
|
||||
},
|
||||
getMaillogIndex(type) {
|
||||
MaillogIndex({
|
||||
page: this.page,
|
||||
size: 10,
|
||||
type: type,
|
||||
})
|
||||
.then(res => {
|
||||
|
||||
this.contentList.push(...res.data);
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
getInteractionlIndex() {
|
||||
interactionlIndex({
|
||||
page: this.page,
|
||||
size: 10
|
||||
})
|
||||
.then(res => {
|
||||
this.hdModel = true;
|
||||
this.contentList.push(...res.data.data);
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
hdTolower() {
|
||||
console.log(1);
|
||||
this.page += 1;
|
||||
this.getInteractionlIndex();
|
||||
},
|
||||
getMsgTypeList() {
|
||||
msgTypeList()
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
this.typeList = res.data;
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
// 跳转
|
||||
tn(e) {
|
||||
uni.navigateTo({
|
||||
url: e,
|
||||
});
|
||||
},
|
||||
set_tn(item) {
|
||||
if (item.neirong.status != 3) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/packageB/paper/paper_info?id=' + item.be_related_to_id,
|
||||
});
|
||||
}
|
||||
},
|
||||
goBack() {
|
||||
if (getCurrentPages().length > 1) {
|
||||
uni.navigateBack()
|
||||
@ -423,4 +577,10 @@
|
||||
overflow: hidden;
|
||||
// background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.tab_info {
|
||||
font-size: 32rpx;
|
||||
position: relative;
|
||||
color: #999999;
|
||||
}
|
||||
</style>
|
@ -198,7 +198,8 @@
|
||||
submitDo() {
|
||||
addComment({
|
||||
tweet_id: this.id,
|
||||
content: this.content
|
||||
content: this.content,
|
||||
member_b_id: this.info.member_id
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
|
12
util/api.js
12
util/api.js
@ -13,6 +13,8 @@ export const IndustryList = data => request.post('/industry', data, false);
|
||||
|
||||
export const loginAdd = data => request.post('/move/login/add', data, false);
|
||||
|
||||
export const applyInAdd = data => request.post('/move/member/shenqing', data, false);
|
||||
|
||||
export const loginDo = data => request.post('/move/login/login', data, false);
|
||||
export const addressList = data => request.post('/move/address', data, false);
|
||||
export const newIndustryIndex = data => request.post('/move/industry/index', data, false);
|
||||
@ -117,3 +119,13 @@ export const addComment = data => request.post('/move/tweets/post_comment', data
|
||||
export const removeComment = data => request.post('/move/tweets/remove_comment', data, false);
|
||||
|
||||
export const tweetsDel = data => request.post('/move/tweets/destroy', data, false);
|
||||
|
||||
export const examineType = data => request.post('/move/member/examineType', data, false);
|
||||
|
||||
export const msgTypeList = data => request.post('/move/Maillog/groupList', data, false);
|
||||
|
||||
export const interactionlIndex = data => request.post('/move/Maillog/interactionlIndex', data, false);
|
||||
|
||||
export const mailMyMemberPost = data => request.post('/move/Maillog/mailMyMemberPost', data, false);
|
||||
|
||||
export const getApplyToken = data => request.post('/move/temporary_token/token', data, false);
|
Loading…
x
Reference in New Issue
Block a user