wangxiaohua 3 years ago
parent
commit
408d564aeb
14 changed files with 66 additions and 20 deletions
  1. +4
    -4
      pages/center/consumer/consumerDetail.vue
  2. +6
    -0
      pages/center/consumer/consumerSearch.vue
  3. +1
    -1
      pages/center/records/index.vue
  4. +43
    -1
      pages/center/records/recordSearch.vue
  5. +3
    -4
      pages/index/index.vue
  6. +1
    -1
      pages/index/learning.vue
  7. +1
    -1
      pages/index/personal.vue
  8. +1
    -1
      pages/learning/Equinoctiallearning.vue
  9. +1
    -1
      pages/learning/Keywordsearch.vue
  10. +1
    -1
      pages/learning/ScoringPlaylist.vue
  11. +1
    -1
      pages/learning/Thefulltext/search.vue
  12. +1
    -2
      pages/mine/Changehepassword.vue
  13. +1
    -1
      pages/mine/Myprofile.vue
  14. +1
    -1
      pages/mine/ScoringPlaylist.vue

+ 4
- 4
pages/center/consumer/consumerDetail.vue View File

@@ -21,9 +21,9 @@
</view> </view>
<view class="content-sec-lab"> <view class="content-sec-lab">
客户标签: 客户标签:
<view class="content-sec-tips">投资</view>
<view class="content-sec-tips">理财专用</view>
<view class="content-sec-tips">学区</view>
<text v-if="item.demand.cusSemanticWordsList.length==0">暂无</text>
<view v-else class="content-sec-tips" v-for="(che,ind) in customerInfo.demand.cusSemanticWordsList" :key='ind'>{{che.name}}</view>
</view> </view>
<view class="content-sec-lab"> <view class="content-sec-lab">
顾问姓名:<view class="content-sec-lab1">{{customerInfo.agentName}}</view> 顾问姓名:<view class="content-sec-lab1">{{customerInfo.agentName}}</view>
@@ -280,7 +280,7 @@
}) })
return return
} }
if(res[0].recordDuration>360){
if(res[0].merge==0){
let newobj = res[0]; let newobj = res[0];
uni.navigateTo({ uni.navigateTo({
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}` url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}`


+ 6
- 0
pages/center/consumer/consumerSearch.vue View File

@@ -65,6 +65,12 @@
} }
}, },
methods:{ methods:{
// 客户详情
gotoDetail(id) {
uni.navigateTo({
url: `/pages/center/consumer/consumerDetail?id=${id}`
})
},
searchinfo(){ searchinfo(){
this.nextPage=1; this.nextPage=1;
this.recordList=[]; this.recordList=[];


+ 1
- 1
pages/center/records/index.vue View File

@@ -216,7 +216,7 @@
return return
}else{ }else{
let newobj = res[0]; let newobj = res[0];
if(res[0].recordDuration>360){
if(res[0].merge==0){
uni.navigateTo({ uni.navigateTo({
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}` url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}`
}) })


+ 43
- 1
pages/center/records/recordSearch.vue View File

@@ -6,7 +6,7 @@
<!-- <view @click="searchinfo()">搜索</view> --> <!-- <view @click="searchinfo()">搜索</view> -->
<view class="content"> <view class="content">
<view class="content-tips" v-for="(item,index) in recordList" :key='index'>
<view class="content-tips" v-for="(item,index) in recordList" :key='index' @click="tapThevisiting(item)">
<view class="content-first"> <view class="content-first">
<view class="left"> <view class="left">
<view class="img">{{item.agentName.slice(0,1)}}</view> <view class="img">{{item.agentName.slice(0,1)}}</view>
@@ -63,6 +63,48 @@
} }
}, },
methods:{ methods:{
tapThevisiting(item) {
if(item.status==0){
uni.showToast({
icon: "none",
title: "排队中"
})
return
}else{
const parames = {
pageNum: 1,
pageSize: 100,
query: {
customerId: item.id,
}
}
var item={
bg:0,
customerId:item.id,
}
this.$u.post("/corpus/findByPage", parames).then(res => {
if(res==null){
uni.showToast({
icon: "none",
title: "暂无音频"
})
return
}else{
let newobj = res[0];
if(res[0].merge==0){
uni.navigateTo({
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}`
})
}else{
uni.navigateTo({
url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"1"}`
})
}
}
})
}
},
searchinfo(){ searchinfo(){
this.nextPage=1; this.nextPage=1;
this.recordList=[]; this.recordList=[];


+ 3
- 4
pages/index/index.vue View File

@@ -183,7 +183,6 @@
</template> </template>


<script> <script>
var util = require("../../utils/util.js");
var config = require("../../config"); var config = require("../../config");
export default { export default {
data() { data() {
@@ -278,7 +277,7 @@
sumCustomer: data.data.data.sumCustomer, sumCustomer: data.data.data.sumCustomer,
receivingCustomer: data.data.data.receivingCustomer, receivingCustomer: data.data.data.receivingCustomer,
activeCustomer: data.data.data.activeCustomer, activeCustomer: data.data.data.activeCustomer,
sumDuration: util.formatSecond(data.data.data.sumDuration),
sumDuration: Math.floor(data.data.data.sumDuration),
tagCustomer: data.data.data.tagCustomer, tagCustomer: data.data.data.tagCustomer,
fraction: data.data.data.fraction, fraction: data.data.data.fraction,
receptionCount:data.data.data.receptionCount receptionCount:data.data.data.receptionCount
@@ -307,7 +306,7 @@
sumCustomer: data.data.data.sumCustomer, sumCustomer: data.data.data.sumCustomer,
receivingCustomer: data.data.data.receivingCustomer, receivingCustomer: data.data.data.receivingCustomer,
activeCustomer: data.data.data.activeCustomer, activeCustomer: data.data.data.activeCustomer,
sumDuration: util.formatSecond(data.data.data.sumDuration),
sumDuration:Math.floor(data.data.data.sumDuration/60) || 0,
tagCustomer: data.data.data.tagCustomer, tagCustomer: data.data.data.tagCustomer,
fraction: data.data.data.fraction, fraction: data.data.data.fraction,
receptionCount:data.data.data.receptionCount receptionCount:data.data.data.receptionCount
@@ -574,7 +573,7 @@
font-weight: 600; font-weight: 600;
color: #333333; color: #333333;
text-align: center; text-align: center;
margin-top: 36rpx;
margin-top: 28rpx;
} }


.shebenchetext { .shebenchetext {


+ 1
- 1
pages/index/learning.vue View File

@@ -90,7 +90,7 @@
} }
this.$u.post("/corpus/findByPage", parames).then(res => { this.$u.post("/corpus/findByPage", parames).then(res => {
var newobj = res[0]; var newobj = res[0];
if(res[0].recordDuration>360){
if(res[0].merge==0){
uni.navigateTo({ uni.navigateTo({
url: `/pages/learning/Thefulltext/index2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(cet)}&stateisshow=${"2"}` url: `/pages/learning/Thefulltext/index2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(cet)}&stateisshow=${"2"}`
}) })


+ 1
- 1
pages/index/personal.vue View File

@@ -141,7 +141,7 @@
z-index: 2; z-index: 2;
width: 100%; width: 100%;
height: 212rpx; height: 212rpx;
border-radius: 25rpx;
border-radius: 12rpx;
margin-top: 42rpx; margin-top: 42rpx;
display: flex; display: flex;




+ 1
- 1
pages/learning/Equinoctiallearning.vue View File

@@ -56,7 +56,7 @@
} }
this.$u.post("/corpus/fendianFindByPage", parames).then(res => { this.$u.post("/corpus/fendianFindByPage", parames).then(res => {
var newobj = res[0]; var newobj = res[0];
if(res[0].recordDuration>360){
if(res[0].merge==0){
uni.navigateTo({ uni.navigateTo({
url: `/pages/learning/Equinoctial/index2?customerId=${newobj.customerId}&biaoqian=${this.biaoqian}&startTime=${item.startTime}&startFile=${item.startFile}` url: `/pages/learning/Equinoctial/index2?customerId=${newobj.customerId}&biaoqian=${this.biaoqian}&startTime=${item.startTime}&startFile=${item.startFile}`
}) })


+ 1
- 1
pages/learning/Keywordsearch.vue View File

@@ -118,7 +118,7 @@
} }
} }
this.$u.post("/corpus/findByPage", parames).then(res => { this.$u.post("/corpus/findByPage", parames).then(res => {
if(res[0].recordDuration>360){
if(res[0].merge==0){
let newobj = res[0]; let newobj = res[0];
uni.navigateTo({ uni.navigateTo({
url: `/pages/main/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(d[0])}&stateisshow=${'2'}` url: `/pages/main/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(d[0])}&stateisshow=${'2'}`


+ 1
- 1
pages/learning/ScoringPlaylist.vue View File

@@ -77,7 +77,7 @@
} }
} }
this.$u.post("/corpus/findByPage", parames).then(res => { this.$u.post("/corpus/findByPage", parames).then(res => {
if(res[0].recordDuration>360){
if(res[0].merge==0){
let newobj = res[0]; let newobj = res[0];
uni.navigateTo({ uni.navigateTo({
url: `/pages/main/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(d[0])}&stateisshow=${'2'}` url: `/pages/main/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(d[0])}&stateisshow=${'2'}`


+ 1
- 1
pages/learning/Thefulltext/search.vue View File

@@ -115,7 +115,7 @@
} }
} }
this.$u.post("/corpus/findByPage", parames).then(res => { this.$u.post("/corpus/findByPage", parames).then(res => {
if(res[0].recordDuration>360){
if(res[0].merge==0){
let newobj = res[0]; let newobj = res[0];
uni.navigateTo({ uni.navigateTo({
url: `/pages/main/learning/Thefulltext/index2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(itemobjhh)}&stateisshow=${'2'}` url: `/pages/main/learning/Thefulltext/index2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(itemobjhh)}&stateisshow=${'2'}`


+ 1
- 2
pages/mine/Changehepassword.vue View File

@@ -98,7 +98,7 @@
.inpTextBox { .inpTextBox {
color: #BBBFC8; color: #BBBFC8;
text-align: left; text-align: left;
border-bottom: 1px solid #EAF1FF;
border-bottom: 1px solid #EEEEEE;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
@@ -117,7 +117,6 @@
.inpTextName { .inpTextName {
color: #020F28; color: #020F28;
font-size: 32rpx; font-size: 32rpx;
font-weight: bold;
} }


.inpTextBox1 { .inpTextBox1 {


+ 1
- 1
pages/mine/Myprofile.vue View File

@@ -130,7 +130,7 @@
background: #fff; background: #fff;
box-sizing: border-box; box-sizing: border-box;
line-height: 100rpx; line-height: 100rpx;
border-bottom: 2rpx solid #E0E0E0;
border-bottom: 1rpx solid #EEEEEE;
} }


.headPicture { .headPicture {


+ 1
- 1
pages/mine/ScoringPlaylist.vue View File

@@ -77,7 +77,7 @@
} }
} }
this.$u.post("/corpus/findByPage", parames).then(res => { this.$u.post("/corpus/findByPage", parames).then(res => {
if(res[0].recordDuration>360){
if(res[0].merge==0){
let newobj = res[0]; let newobj = res[0];
uni.navigateTo({ uni.navigateTo({
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(d[0])}&stateisshow=${'2'}` url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(d[0])}&stateisshow=${'2'}`


Loading…
Cancel
Save