Commit 94746a9e authored by zhengyi's avatar zhengyi

跟进记录批量修改状态功能修正

parent f685f659
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
center center
:title="$t('修改跟进状态')" :title="$t('修改跟进状态')"
:visible="show" :visible="show"
@close="close" @close="customerFollowUpdateStatusClose"
width="30%"> width="30%">
<div style="width: 100%;min-height: 60px;text-align: center"> <div style="width: 100%;min-height: 60px;text-align: center">
<el-form label-width="120px"> <el-form label-width="120px">
...@@ -71,8 +71,10 @@ export default { ...@@ -71,8 +71,10 @@ export default {
}).then(r => { }).then(r => {
if (r.code === 0) { if (r.code === 0) {
this.$message.success(this.$t('修改成功!')) this.$message.success(this.$t('修改成功!'))
this.$emit("refresh")
this.customerFollowUpdateStatusClose()
} }
getCustomerFollowList()
}) })
}, },
getCustomerFollowList() { getCustomerFollowList() {
...@@ -86,7 +88,7 @@ export default { ...@@ -86,7 +88,7 @@ export default {
this.loading = false this.loading = false
}) })
}, },
close() { customerFollowUpdateStatusClose() {
this.status = null; this.status = null;
this.$emit('update:show', false) this.$emit('update:show', false)
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<pagination :total="customerFollowTotal" :page.sync="followForm.pageNo" :limit.sync="followForm.pageSize" @pagination="getCustomerFollowList" /> <pagination :total="customerFollowTotal" :page.sync="followForm.pageNo" :limit.sync="followForm.pageSize" @pagination="getCustomerFollowList" />
</el-card> </el-card>
<customer-follow ref="customerFollow" @handleCustomerFollowAdd="handleCustomerFollowAdd" @refresh="handleQuery" v-if="customerFollowVisible" :customer-id="customerId" :customerService="customerService" :customerNumber="customerNumber" /> <customer-follow ref="customerFollow" @handleCustomerFollowAdd="handleCustomerFollowAdd" @refresh="handleQuery" v-if="customerFollowVisible" :customer-id="customerId" :customerService="customerService" :customerNumber="customerNumber" />
<customer-follow-update-status :show.sync="updateStatus" :followup-ids.sync="selectCustomerFollowList"></customer-follow-update-status> <customer-follow-update-status :show.sync="updateStatus" :followup-ids.sync="selectCustomerFollowList" @refresh="handleQuery" />
</div> </div>
</template> </template>
......
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