Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
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 887bb47d
authored
Jun 02, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
预发布bug解决
1 parent
b21d8eff
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
11 deletions
src/views/baseInfo/components/departmentTree.vue
src/views/baseInfo/components/merchantTree.vue
src/views/baseInfo/components/search.vue
src/views/baseInfo/relevance.vue
src/views/baseInfo/components/departmentTree.vue
View file @
887bb47
...
...
@@ -79,6 +79,7 @@ export default {
handleClose
()
{
this
.
visible
=
false
this
.
selectLevel
=
[]
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
true
},
submit
()
{
...
...
@@ -92,11 +93,11 @@ export default {
this
.
$emit
(
'select'
,
this
.
checkObj
)
this
.
visible
=
false
this
.
selectLevel
=
[]
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
true
},
// 选中时触发
selectChange
(
val
)
{
console
.
log
(
val
)
this
.
$set
(
this
.
selectLevel
,
val
.
depth
-
1
,
val
)
this
.
lastLevel
=
val
.
childrenNum
?
true
:
false
},
...
...
@@ -111,7 +112,6 @@ export default {
},
// 点击页签,返回
backLevel
(
item
)
{
console
.
log
(
item
)
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
item
.
childrenNum
?
true
:
false
console
.
log
(
this
.
lastLevel
)
...
...
src/views/baseInfo/components/merchantTree.vue
View file @
887bb47
...
...
@@ -78,6 +78,7 @@ export default {
handleClose
()
{
this
.
visible
=
false
this
.
selectLevel
=
[]
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
true
},
submit
()
{
...
...
@@ -91,6 +92,7 @@ export default {
this
.
$emit
(
'selectMerchant'
,
this
.
checkObj
)
this
.
visible
=
false
this
.
selectLevel
=
[]
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
true
},
// 选中时触发
...
...
src/views/baseInfo/components/search.vue
View file @
887bb47
...
...
@@ -99,7 +99,6 @@ export default {
},
// 获取搜索框输入值
handleInput
:
utils
.
debounce
(
function
(
val
)
{
console
.
log
(
333
)
this
.
searchValue
=
val
this
.
pageParams
.
pageNum
=
1
// 判断是商户账户调用还是企业微信调用
...
...
@@ -108,7 +107,7 @@ export default {
return
}
this
.
getSearchList
(
val
)
},
3
00
),
},
1
00
),
// 根据输入内容搜索企微门店数据
getSearchList
(
val
)
{
// this.searchList = []
...
...
@@ -169,7 +168,6 @@ export default {
this
.
searchKey
=
val
this
.
$emit
(
'getCurDepartment'
,
val
)
this
.
visible
=
false
console
.
log
(
this
.
visible
)
},
// 选择企微门店
select
(
val
)
{
...
...
@@ -185,13 +183,11 @@ export default {
},
// 输入框失去焦点调用
handleBlur
()
{
console
.
log
(
111
)
this
.
visible
=
false
// this.searchList = []
},
// 输入框获取焦点
handleFocus
()
{
console
.
log
(
222
)
this
.
pageParams
=
{
pageNum
:
1
,
pageSize
:
10
...
...
@@ -208,10 +204,7 @@ export default {
// 下拉框触底获取下一页数据
load
()
{
this
.
pageParams
.
pageNum
++
console
.
log
(
this
.
count
)
console
.
log
(
this
.
searchList
.
length
)
if
(
this
.
searchList
.
length
<
this
.
count
)
{
console
.
log
(
555
)
if
(
this
.
name
===
'merchant'
)
{
this
.
getMerchantSearchList
()
return
...
...
src/views/baseInfo/relevance.vue
View file @
887bb47
...
...
@@ -102,7 +102,9 @@ export default {
dataList
:
[],
customWidth
:
113
,
shopName
:
''
,
selectedDepartment
:
''
selectedDepartment
:
''
,
tempDepart
:
{},
curTempMerchant
:
{}
}
},
...
...
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