Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1d0f9da3
authored
Jan 12, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
085db1d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
src/config/index.js
src/views/customerTransform/components/selectMember.vue
src/config/index.js
View file @
1d0f9da
...
@@ -13,11 +13,11 @@ import { Http } from 'glsx-common'
...
@@ -13,11 +13,11 @@ import { Http } from 'glsx-common'
let
timeout
=
30000
//超时时间
let
timeout
=
30000
//超时时间
export
const
fetchConfig
=
function
(
isEnv
=
true
)
{
export
const
fetchConfig
=
function
(
isEnv
=
true
)
{
// console.log(1111111)
// console.log(1111111)
if
(
isEnv
)
{
//
if (isEnv) {
let
{
request
}
=
cfg
//
let { request } = cfg
Object
.
assign
(
request
,
{
timeout
})
//
Object.assign(request, { timeout })
return
Promise
.
resolve
(
cfg
)
//
return Promise.resolve(cfg)
}
//
}
//return window.fetch('https://', {}).then(res => res.json())
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config'
)
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config'
)
...
...
src/views/customerTransform/components/selectMember.vue
View file @
1d0f9da
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
>
>
<div
slot=
"staffName"
slot-scope=
"scope"
>
<div
slot=
"staffName"
slot-scope=
"scope"
>
<span>
{{
scope
.
scope
.
staffName
}}
</span>
<span>
{{
scope
.
scope
.
staffName
}}
</span>
<span
class=
"staff-title"
>
{{
scope
.
scope
.
staffTitle
}}
</span>
<span
class=
"staff-title"
v-show=
"scope.scope.staffTitle"
>
{{
scope
.
scope
.
staffTitle
}}
</span>
</div>
</div>
</GLTable>
</GLTable>
</div>
</div>
...
@@ -168,11 +168,11 @@ export default {
...
@@ -168,11 +168,11 @@ export default {
onHidePopover
()
{
onHidePopover
()
{
this
.
popoverVisible
=
false
this
.
popoverVisible
=
false
},
},
listDepartmentTree
(
is
HavCustomer
)
{
listDepartmentTree
(
is
FollowerStaff
)
{
const
params
=
{
addChildrensFlag
:
true
}
const
params
=
{
addChildrensFlag
:
true
}
this
.
loading
=
true
this
.
loading
=
true
params
.
isHavCustomer
=
true
params
.
isHavCustomer
=
true
params
.
is
HavCustomer
=
isHavCustomer
params
.
is
FollowerStaff
=
isFollowerStaff
this
.
$apis
.
customerTransform
.
listDepartmentTree
(
params
).
then
(
res
=>
{
this
.
$apis
.
customerTransform
.
listDepartmentTree
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
this
.
loading
=
false
this
.
loading
=
false
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment