Commit 7fed7056 by 王志慧

修改更进人

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