Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-drainage
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 64b26969
authored
Jun 14, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.4.0' of
http://192.168.3.233:8090/saas/scrm-micro-drainage
into v2.4.0
2 parents
47c5c539
e5307d0f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
16 deletions
src/components/selectCrowd/index.vue
src/setup/render.js
src/views/market/config.vue
src/components/selectCrowd/index.vue
View file @
64b2696
...
@@ -108,6 +108,7 @@ export default {
...
@@ -108,6 +108,7 @@ export default {
this
.
getCrowdList
()
this
.
getCrowdList
()
})
})
},
},
// this.$refs.crowdTable.tableHeightValues = '250'
getCrowdList
()
{
getCrowdList
()
{
var
params
=
{
var
params
=
{
req
:
{
req
:
{
...
@@ -119,6 +120,7 @@ export default {
...
@@ -119,6 +120,7 @@ export default {
pageNum
:
this
.
$refs
.
crowdTable
.
page
.
pageNum
pageNum
:
this
.
$refs
.
crowdTable
.
page
.
pageNum
}
}
}
}
this
.
$apis
.
channel
.
queryCrowdtree
(
params
).
then
(
res
=>
{
this
.
$apis
.
channel
.
queryCrowdtree
(
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
crowdUnitList
this
.
tableData
=
res
.
crowdUnitList
this
.
tableTotal
=
res
.
total
this
.
tableTotal
=
res
.
total
...
...
src/setup/render.js
View file @
64b2696
...
@@ -12,19 +12,19 @@ import Vue from 'vue'
...
@@ -12,19 +12,19 @@ import Vue from 'vue'
import
store
from
'@/store'
import
store
from
'@/store'
import
{
VueRouter
}
from
'@/router'
import
{
VueRouter
}
from
'@/router'
const
render
=
(
base
,
routes
)
=>
{
const
render
=
(
base
,
routes
)
=>
{
const
router
=
new
VueRouter
({
const
router
=
new
VueRouter
({
base
,
base
,
routes
,
routes
,
mode
:
'history'
mode
:
'history'
})
})
router
.
afterEach
(()
=>
{
router
.
afterEach
(()
=>
{
document
.
querySelector
(
"#app"
).
scrollTop
=
0
;
document
.
querySelector
(
'#app'
).
scrollTop
=
0
})
})
const
vm
=
new
Vue
({
const
vm
=
new
Vue
({
router
,
router
,
store
,
store
,
render
:
h
=>
h
(
App
)
render
:
h
=>
h
(
App
)
}).
$mount
(
'#app'
)
}).
$mount
(
'#app'
)
return
{
router
,
vm
}
return
{
router
,
vm
}
}
}
export
default
render
\ No newline at end of file
\ No newline at end of file
export
default
render
src/views/market/config.vue
View file @
64b2696
...
@@ -426,6 +426,8 @@ export default {
...
@@ -426,6 +426,8 @@ export default {
.
then
(()
=>
{
.
then
(()
=>
{
this
.
labeling
=
[]
this
.
labeling
=
[]
this
.
crowding
=
[]
this
.
crowding
=
[]
this
.
contactNum
=
0
console
.
log
(
'清空'
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
selectType
=
oldVal
this
.
selectType
=
oldVal
...
@@ -439,6 +441,7 @@ export default {
...
@@ -439,6 +441,7 @@ export default {
})
})
.
then
(()
=>
{
.
then
(()
=>
{
this
.
clearFile
()
this
.
clearFile
()
console
.
log
(
'清空了'
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
selectType
=
oldVal
this
.
selectType
=
oldVal
...
@@ -539,6 +542,7 @@ export default {
...
@@ -539,6 +542,7 @@ export default {
},
},
handleSaveImport
()
{
handleSaveImport
()
{
const
groupIds
=
this
.
crowding
.
map
(
item
=>
item
.
crowdId
)
const
groupIds
=
this
.
crowding
.
map
(
item
=>
item
.
crowdId
)
if
(
groupIds
.
length
==
0
)
return
this
.
loading
=
true
this
.
loading
=
true
let
params
=
{
let
params
=
{
exportUrl
:
this
.
exportUrl
,
exportUrl
:
this
.
exportUrl
,
...
@@ -547,7 +551,6 @@ export default {
...
@@ -547,7 +551,6 @@ export default {
groupIds
groupIds
}
}
this
.
$apis
.
marketing
.
exportAdd
(
params
).
then
(
res
=>
{
this
.
$apis
.
marketing
.
exportAdd
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
)
{
if
(
res
)
{
if
(
this
.
selectType
==
1
)
{
if
(
this
.
selectType
==
1
)
{
this
.
contactNum
=
res
.
totalCount
this
.
contactNum
=
res
.
totalCount
...
@@ -662,6 +665,7 @@ export default {
...
@@ -662,6 +665,7 @@ export default {
this
.
$refs
.
screenTagForm
.
init
(
this
.
labeling
)
this
.
$refs
.
screenTagForm
.
init
(
this
.
labeling
)
},
},
handleCrowd
()
{
handleCrowd
()
{
console
.
log
(
this
.
crowding
)
this
.
$refs
.
selectCrowdForm
.
init
(
this
.
crowding
)
this
.
$refs
.
selectCrowdForm
.
init
(
this
.
crowding
)
},
},
crowdChecked
(
item
)
{
crowdChecked
(
item
)
{
...
...
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