Commit 25e8e81d by sunchao

团队业绩、积分查询bug修复

parent da3e50c2
......@@ -7,7 +7,7 @@
</view>
<!-- // 一级循环 -->
<view class="content-sam-box">
<view class="" v-for="(pointItem,index) in list">
<view class="" v-for="(pointItem,index) in dataList">
<view class="content-sa" style=" " v-if="felTyle == 'achievement'">
<view class="content-box-title"
style="display: flex;align-items: center;margin-left: 6rpx;flex: 1;">
......@@ -90,7 +90,7 @@
},
mounted() {
// this.alist = this.dataList
this.list = JSON.parse(JSON.stringify(this.dataList))
// this.list = JSON.parse(JSON.stringify(this.dataList))
// this.$nextTick(() => {
// })
......
<template>
<view class="container">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top:-10rpx;left: 20rpx;"></text>
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"
:style="{top:queryType==1? '16rpx':'-10rpx'}"></text>
<view class="others" v-if="queryType == 2">
<text>身份信息</text>
<view class="others_item">
......@@ -16,7 +17,7 @@
<view class="certifyImgBox">
<image :src="item?.cerUrl" mode="widthFix"></image>
<view>认证编号:{{item?.authenticationCode}}</view>
<view>有效期至:{{item?.endDate}}</view>
<view>有效期至:{{dateFormat(item?.endDate)}}</view>
</view>
</view>
</view>
......@@ -30,7 +31,7 @@
<script>
import api from '../../api/api';
import common from '../../common/common';
import dataHandling from "@/util/dataHandling";
export default{
data(){
return {
......@@ -48,6 +49,9 @@
this.getResult();
},
methods:{
dateFormat(val){
return dataHandling.dateFormat(val,'yyyy-MM-dd')
},
goBack(){
let back = getCurrentPages();
if(back && back.length>1) {
......@@ -102,17 +106,23 @@
text-align: center;
margin-top: 10%;
}
.certifyInfoItem{
background-color: #fff;
margin-bottom: 10rpx;
padding: 20rpx 0;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
image{
max-width: 60%;
height: auto;
.certifyListContent{
.certifyInfoItem{
background-color: #fff;
margin-bottom: 10rpx;
padding: 20rpx 0;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
.certifyImgBox{
text-align: center;
}
image{
max-width: 60%;
height: auto;
}
}
}
</style>
\ No newline at end of file
<template>
<view class="container" style="position: relative;">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top:0;left: 20rpx;"></text>
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top:-20rpx;left: 20rpx;"></text>
<view class="record_wrapper" v-if="cffpFortuneDeductionList.length > 0">
<view class="recordContent" v-for="(item,index) in cffpFortuneDeductionList" :key="index">
<image :src="item.deductionUrl" mode="widthFix"></image>
......@@ -65,7 +65,7 @@
<style lang="scss">
.record_wrapper{
margin-top: 30rpx;
margin-top: 40rpx;
.recordContent{
display: flex;
margin-bottom: 20rpx;
......
......@@ -364,12 +364,14 @@
}
uni-image {
margin-top: 40rpx;
width: 60% !important;
}
.tips {
width: 100%;
text-align: center;
// font-size: 28rpx;
}
}
</style>
......@@ -37,7 +37,7 @@
<view class="certifyImgBox">
<image :src="item.cerUrl" alt="" srcset="" mode="widthFix"></image>
<view>认证编号:{{item.authenticationCode}}</view>
<view>有效期至:{{item.endDate}}</view>
<view>有效期至:{{dateFormat(item.endDate)}}</view>
</view>
</view>
</view>
......
......@@ -17,6 +17,10 @@
</view>
<view class="opt_wrapper">
<!-- <view style="width: 33%;">销售以来</view> -->
<view class="timeSelectContent" v-if="timeFlag =='D'">
<view class="uni-input">{{fortuneDate}}
</view>
</view>
<!-- 年月时间选择 -->
<view class="timeSelectContent" v-if="timeFlag !='D'">
<picker mode="date" :value="fortuneDate" :end="maxDate" :fields="fields" @change="bindDateChange">
......@@ -24,7 +28,6 @@
<text class="iconfont icon-youjiantou"></text>
</view>
</picker>
</view>
</view>
</view>
......
......@@ -71,7 +71,6 @@
},
components:{},
onLoad(options){
this.fortuneDate = options.fortuneDate;
this.productType = options.productType;
this.timeFlag = options.timeFlag;
this.commissionType = options.commissionType;
......@@ -86,6 +85,9 @@
if(this.timeFlag == 'D'){
this.fortuneDate = `${new Date().getFullYear()}-${new Date().getMonth() + 1}-${new Date().getDate()}`
}
if(options.fortuneDate){
this.fortuneDate = options.fortuneDate;
}
this.getCommissionType();
this.getProductType();
this.getDetail();
......
......@@ -58,7 +58,7 @@
},
mounted() {
this.switchTab(2)
this.switchTab(1)
this.getmyseatem()
},
methods:{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment