Commit 7fed7056 by 王志慧

修改更进人

1 parent af709cdd
......@@ -79,22 +79,22 @@ export default {
this.followListData.push({ followName: '' })
},
handleSave() {
if (this.followName == '') {
if (this.followListData[this.followListData.length - 1].followName == '' && this.followName == '') {
this.$message({
type: 'error',
message: '请输入跟进人'
})
return
}
this.$apis.claims.addFollowPerson({ followName: this.followName }).then(res => {
this.$message({
type: 'success',
message: '添加成功!'
if (this.followName) {
this.$apis.claims.addFollowPerson({ followName: this.followName }).then(res => {
this.$message({
type: 'success',
message: '添加成功!'
})
})
// this.isFollowSync = false
this.$emit('handleClose')
})
}
this.$emit('handleClose')
},
handleCancel() {
// this.isFollowSync = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!