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 {
...
@@ -79,6 +79,7 @@ export default {
handleClose
()
{
handleClose
()
{
this
.
visible
=
false
this
.
visible
=
false
this
.
selectLevel
=
[]
this
.
selectLevel
=
[]
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
true
this
.
lastLevel
=
true
},
},
submit
()
{
submit
()
{
...
@@ -92,11 +93,11 @@ export default {
...
@@ -92,11 +93,11 @@ export default {
this
.
$emit
(
'select'
,
this
.
checkObj
)
this
.
$emit
(
'select'
,
this
.
checkObj
)
this
.
visible
=
false
this
.
visible
=
false
this
.
selectLevel
=
[]
this
.
selectLevel
=
[]
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
true
this
.
lastLevel
=
true
},
},
// 选中时触发
// 选中时触发
selectChange
(
val
)
{
selectChange
(
val
)
{
console
.
log
(
val
)
this
.
$set
(
this
.
selectLevel
,
val
.
depth
-
1
,
val
)
this
.
$set
(
this
.
selectLevel
,
val
.
depth
-
1
,
val
)
this
.
lastLevel
=
val
.
childrenNum
?
true
:
false
this
.
lastLevel
=
val
.
childrenNum
?
true
:
false
},
},
...
@@ -111,7 +112,6 @@ export default {
...
@@ -111,7 +112,6 @@ export default {
},
},
// 点击页签,返回
// 点击页签,返回
backLevel
(
item
)
{
backLevel
(
item
)
{
console
.
log
(
item
)
this
.
checkObj
.
first
=
''
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
item
.
childrenNum
?
true
:
false
this
.
lastLevel
=
item
.
childrenNum
?
true
:
false
console
.
log
(
this
.
lastLevel
)
console
.
log
(
this
.
lastLevel
)
...
...
src/views/baseInfo/components/merchantTree.vue
View file @
887bb47
...
@@ -78,6 +78,7 @@ export default {
...
@@ -78,6 +78,7 @@ export default {
handleClose
()
{
handleClose
()
{
this
.
visible
=
false
this
.
visible
=
false
this
.
selectLevel
=
[]
this
.
selectLevel
=
[]
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
true
this
.
lastLevel
=
true
},
},
submit
()
{
submit
()
{
...
@@ -91,6 +92,7 @@ export default {
...
@@ -91,6 +92,7 @@ export default {
this
.
$emit
(
'selectMerchant'
,
this
.
checkObj
)
this
.
$emit
(
'selectMerchant'
,
this
.
checkObj
)
this
.
visible
=
false
this
.
visible
=
false
this
.
selectLevel
=
[]
this
.
selectLevel
=
[]
this
.
checkObj
.
first
=
''
this
.
lastLevel
=
true
this
.
lastLevel
=
true
},
},
// 选中时触发
// 选中时触发
...
...
src/views/baseInfo/components/search.vue
View file @
887bb47
...
@@ -99,7 +99,6 @@ export default {
...
@@ -99,7 +99,6 @@ export default {
},
},
// 获取搜索框输入值
// 获取搜索框输入值
handleInput
:
utils
.
debounce
(
function
(
val
)
{
handleInput
:
utils
.
debounce
(
function
(
val
)
{
console
.
log
(
333
)
this
.
searchValue
=
val
this
.
searchValue
=
val
this
.
pageParams
.
pageNum
=
1
this
.
pageParams
.
pageNum
=
1
// 判断是商户账户调用还是企业微信调用
// 判断是商户账户调用还是企业微信调用
...
@@ -108,7 +107,7 @@ export default {
...
@@ -108,7 +107,7 @@ export default {
return
return
}
}
this
.
getSearchList
(
val
)
this
.
getSearchList
(
val
)
},
3
00
),
},
1
00
),
// 根据输入内容搜索企微门店数据
// 根据输入内容搜索企微门店数据
getSearchList
(
val
)
{
getSearchList
(
val
)
{
// this.searchList = []
// this.searchList = []
...
@@ -169,7 +168,6 @@ export default {
...
@@ -169,7 +168,6 @@ export default {
this
.
searchKey
=
val
this
.
searchKey
=
val
this
.
$emit
(
'getCurDepartment'
,
val
)
this
.
$emit
(
'getCurDepartment'
,
val
)
this
.
visible
=
false
this
.
visible
=
false
console
.
log
(
this
.
visible
)
},
},
// 选择企微门店
// 选择企微门店
select
(
val
)
{
select
(
val
)
{
...
@@ -185,13 +183,11 @@ export default {
...
@@ -185,13 +183,11 @@ export default {
},
},
// 输入框失去焦点调用
// 输入框失去焦点调用
handleBlur
()
{
handleBlur
()
{
console
.
log
(
111
)
this
.
visible
=
false
this
.
visible
=
false
// this.searchList = []
// this.searchList = []
},
},
// 输入框获取焦点
// 输入框获取焦点
handleFocus
()
{
handleFocus
()
{
console
.
log
(
222
)
this
.
pageParams
=
{
this
.
pageParams
=
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
pageSize
:
10
...
@@ -208,10 +204,7 @@ export default {
...
@@ -208,10 +204,7 @@ export default {
// 下拉框触底获取下一页数据
// 下拉框触底获取下一页数据
load
()
{
load
()
{
this
.
pageParams
.
pageNum
++
this
.
pageParams
.
pageNum
++
console
.
log
(
this
.
count
)
console
.
log
(
this
.
searchList
.
length
)
if
(
this
.
searchList
.
length
<
this
.
count
)
{
if
(
this
.
searchList
.
length
<
this
.
count
)
{
console
.
log
(
555
)
if
(
this
.
name
===
'merchant'
)
{
if
(
this
.
name
===
'merchant'
)
{
this
.
getMerchantSearchList
()
this
.
getMerchantSearchList
()
return
return
...
...
src/views/baseInfo/relevance.vue
View file @
887bb47
...
@@ -102,7 +102,9 @@ export default {
...
@@ -102,7 +102,9 @@ export default {
dataList
:
[],
dataList
:
[],
customWidth
:
113
,
customWidth
:
113
,
shopName
:
''
,
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