Commit 44a4c478 authored by Marcus's avatar Marcus

跟进列表错误显示,客诉跟进获取联系人列表id错了

parent 5532557c
......@@ -134,7 +134,8 @@ export default {
*/
name: "CustomerFollow",
props: {
customerId: Number
id: Number,
customerId: Number,
},
data() {
return {
......@@ -179,7 +180,7 @@ export default {
resetCustomerFollowForm() {
this.customerFollow.form = {
"bizId": this.customerId,
"bizId": this.id,
"contactName": undefined,
"feedback": undefined,
"followMethod": undefined,
......@@ -190,7 +191,7 @@ export default {
}
},
getCustomerFollowList() {
getCustomerFollowPage({bizId: this.customerId}).then(r => {
getCustomerFollowPage({bizId: this.id}).then(r => {
this.customerFollowList = r.data.list
})
}
......
......@@ -147,7 +147,7 @@
</el-table>
</el-tab-pane>
<el-tab-pane label="跟进">
<customer-follow ref="customerFollow" :customer-id="id"></customer-follow>
<customer-follow ref="customerFollow" :id="id"></customer-follow>
</el-tab-pane>
<el-tab-pane label="客户投诉">
<customer-complaint ref="customerComplaint" :customer-id="id" hidden-search></customer-complaint>
......
......@@ -128,7 +128,7 @@
</el-form-item>
</el-form>
<customer-follow v-show="!!this.form.id" :customer-id="form.id"></customer-follow>
<customer-follow v-if="!!this.form.id" :id="form.id" :customer-id="form.customerId"></customer-follow>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm">确 定</el-button>
......
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