Commit 8e9a664c by 前端

解决scrm来源

1 parent ece3aae8
...@@ -383,7 +383,9 @@ export default { ...@@ -383,7 +383,9 @@ export default {
fileUrl: '' fileUrl: ''
}) })
} }
// console.log(params) if (this.routeInfo.addOrEdit == 1){
params.createdSource = 2
}
var apiName = this.routeInfo.addOrEdit == 1 ? 'addEmployeeApi' : 'updateEmployeeApi' var apiName = this.routeInfo.addOrEdit == 1 ? 'addEmployeeApi' : 'updateEmployeeApi'
this.$apis.employee[apiName](params).then(res => { this.$apis.employee[apiName](params).then(res => {
this.$message({ this.$message({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!