瀏覽代碼

修改写跟进回显问题

Jyt
douzhuo 2 年之前
父節點
當前提交
b320495f2c
共有 5 個檔案被更改,包括 322 行新增223 行删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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
文件差異過大導致無法顯示
查看文件


+ 0
- 2
pages/mine/details2.vue 查看文件

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


</view>
</view>



Loading…
取消
儲存