Commit c6013759 by zhangxw

跟进人配置修改

1 parent 2805a95c
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel">取消</el-button> <el-button size="small" @click="handleCancel">取消</el-button>
<el-button type="primary" size="small" @click="handleCancel">确定</el-button> <el-button type="primary" size="small" @click="handleSave">确定</el-button>
</span> </span>
</GLDialog> </GLDialog>
</template> </template>
...@@ -106,6 +106,16 @@ export default { ...@@ -106,6 +106,16 @@ export default {
this.getFollowPersonList() this.getFollowPersonList()
}) })
}, },
handleSave() {
if (this.followListData.length > 0 && this.followListData[this.followListData.length - 1].followAccountUuid == '') {
this.$message({
type: 'error',
message: '请选择跟进人'
})
return
}
this.$emit('handleClose')
},
handleCancel() { handleCancel() {
this.$emit('handleClose') this.$emit('handleClose')
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!