Commit 66bed187 by 前端

Merge branch 'v3.7.0' into 'master'

解决scrm来源

See merge request !92
2 parents ece3aae8 7fd5bcb9
...@@ -18,7 +18,7 @@ export const fetchConfig = function(isEnv = false) { ...@@ -18,7 +18,7 @@ export const fetchConfig = function(isEnv = false) {
return Promise.resolve(cfg) return Promise.resolve(cfg)
} }
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config') return new Http().get('https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
// return new Http().get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=setting-kyq').then(res => res.data) // return new Http().get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=setting-kyq').then(res => res.data)
} }
export const config = { export const config = {
......
...@@ -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!