Commit 44a4c478 authored by Marcus's avatar Marcus

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

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