Parcourir la source

修改写跟进回显问题

Jyt
douzhuo il y a 2 ans
Parent
révision
b320495f2c
5 fichiers modifiés avec 322 ajouts et 223 suppressions
  1. +1
    -3
      pages/center/consumer/consumerDetail.vue
  2. +24
    -8
      pages/center/consumer/newFollowup/newFollowup.vue
  3. +3
    -3
      pages/index/consumer/index.vue
  4. +294
    -207
      pages/mine/details.vue
  5. +0
    -2
      pages/mine/details2.vue

+ 1
- 3
pages/center/consumer/consumerDetail.vue Voir le fichier

@@ -385,15 +385,13 @@
res.forEach(item => {
item.agentName = this.customerInfo.agentName
})


this.fllowList = res;
})
},
// 新增跟进
followRecordAdd() {
uni.navigateTo({
url: `/pages/center/consumer/newFollowup/newFollowup?id=${this.customerId}`
url: `/pages/center/consumer/newFollowup/newFollowup?id=${this.customerId}&level=${this.customerInfo.level}&clientStageName=${this.customerInfo.clientStageName}`
})
},
// 去编辑


+ 24
- 8
pages/center/consumer/newFollowup/newFollowup.vue Voir le fichier

@@ -59,8 +59,9 @@
<view class="screen-record-text">
跟进内容
</view>
<view class="screen-record-tab">
<input type="text" placeholder="请输入跟进内容" v-model="screen.con" />
<view class="screen-record-tab" style="padding: 20rpx 0;align-items: center;">
<!-- <input type="text" placeholder="请输入跟进内容" v-model="screen.con" /> -->
<textarea placeholder="请输入跟进内容" v-model="screen.con" auto-height />
</view>
</view>
<view class="screen-foot">
@@ -97,13 +98,18 @@
customerType: [],
customerId: '',
orgCode: '',
// 上级页面选中的
clientStageName: '', // 选中的标签
level: '', // 选中的标签
}
},
onShow() {
this.orgCode = uni.getStorageSync('orgCode')
},
onLoad(e) {
this.customerId = e.id
if (e.id) this.customerId = e.id
if (e.clientStageName) this.clientStageName = e.clientStageName
if (e.level) this.screen.level = e.level
this.buildingID = uni.getStorageSync('buildingID').id;
this.recordList = []
// this.getMyCustom()
@@ -132,6 +138,11 @@
}
this.$u.post('/customer/getStage', premo)
.then(res => {
res.map((item, index) => {
if (item.stageName == this.clientStageName) {
this.screen.state = index
}
})
this.stateList = res
})

@@ -242,9 +253,7 @@
}

.screen-record {
height: 192rpx;
// width: 100%;
overflow: hidden;
width: 100%;
padding: 0 30rpx;
box-sizing: border-box;
border-bottom: 1px solid #CCCCCC;
@@ -261,11 +270,16 @@
margin-top: 30rpx;
width: 100%;
display: flex;
flex-wrap: wrap;

input {
flex-grow: 1;
}

textarea {
flex-grow: 1;
}

.screen-record-chose {
width: 151rpx;
height: 60rpx;
@@ -276,6 +290,7 @@
text-align: center;
line-height: 60rpx;
margin-right: 22rpx;
margin-bottom: 22rpx;
}

.screen-record-nochose {
@@ -287,6 +302,7 @@
text-align: center;
line-height: 60rpx;
margin-right: 22rpx;
margin-bottom: 22rpx;
}

}


+ 3
- 3
pages/index/consumer/index.vue Voir le fichier

@@ -91,7 +91,7 @@
<view class="content-last">
<!-- <view class="content-last-tab">添加提醒</view>
<view class="content-last-tab">拨打电话</view> -->
<view class="content-last-tab" @click.stop="gotoFollowUp(item.id)">写跟进</view>
<view class="content-last-tab" @click.stop="gotoFollowUp(item)">写跟进</view>
</view>
</template>

@@ -674,9 +674,9 @@
url: '/pages/center/consumer/consumerSearch'
});
},
gotoFollowUp(id) {
gotoFollowUp(item) {
uni.navigateTo({
url: `/pages/center/consumer/newFollowup/newFollowup?id=${id}`
url: `/pages/center/consumer/newFollowup/newFollowup?id=${item.id}&level=${item.level}&clientStageName=${item.clientStageName}`
})
},
},


+ 294
- 207
pages/mine/details.vue
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 0
- 2
pages/mine/details2.vue Voir le fichier

@@ -204,8 +204,6 @@
src="../../static/images/audioinfo2.png" mode=""></image>
<view @click.stop="Receivedetailsabouttab('Receivedetailsabout')">接待信息</view>
</view>


</view>
</view>



Chargement…
Annuler
Enregistrer