Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
d8cf1f14
Commit
d8cf1f14
authored
Jun 09, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/4月-菜单和权限' into test
parents
412ea444
1fb7879b
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
44 additions
and
29 deletions
+44
-29
button-code.js
menu-data/button-code.js
+1
-1
create-menu-json.js
menu-data/create-menu-json.js
+16
-1
result.xlsx
menu-data/result.xlsx
+0
-0
app-detail.vue
src/components/app/app-detail.vue
+1
-1
card-get-record.vue
src/components/app/card/card-get-record.vue
+1
-1
card-send-record.vue
src/components/app/card/card-send-record.vue
+1
-1
select-card.vue
src/components/app/card/select-card.vue
+1
-1
select-group.vue
src/components/app/customer/select-group.vue
+1
-1
taskView.vue
src/components/app/taskView.vue
+1
-1
salesleads-task-info.vue
src/components/review/salesleads-task-info.vue
+1
-1
badEvaluateDetail.vue
src/views/apps/badEvaluate/badEvaluateDetail.vue
+1
-1
badEvaluateRecord.vue
src/views/apps/badEvaluate/badEvaluateRecord.vue
+1
-1
cardList.vue
src/views/apps/card/cardList.vue
+1
-1
cardRecord.vue
src/views/apps/card/cardRecord.vue
+3
-3
dailyRecord.vue
src/views/apps/cloudDaily/dailyRecord.vue
+5
-5
memberGroupList.vue
src/views/apps/customerApp/memberGroupList.vue
+1
-1
memberTagSet.vue
src/views/apps/customerApp/memberTagSet.vue
+1
-1
monthTask.vue
src/views/apps/quota/monthTask.vue
+1
-1
monthTaskDetail.vue
src/views/apps/quota/monthTaskDetail.vue
+1
-1
storeMonthTask.vue
src/views/apps/quota/storeMonthTask.vue
+1
-1
grStoreDetail.vue
src/views/salesleads/groupSend/grStoreDetail.vue
+1
-1
taskDetail.vue
src/views/salesleads/trafficTask/taskDetail.vue
+1
-1
taskRecord.vue
src/views/salesleads/trafficTask/taskRecord.vue
+1
-1
taskViewDetail.vue
src/views/salesleads/trafficTask/taskViewDetail.vue
+1
-1
No files found.
menu-data/button-code.js
View file @
d8cf1f14
...
...
@@ -175,7 +175,7 @@ module.exports = {
},
monthList
:
{
// 1.门店月指标 (按钮,控制“门店月指标”页面内所有操作权限);
monthTarget
:
[
'门店月指标'
,
1
,
0
,
'storeMonthTask'
],
monthTarget
:
[
'门店月指标'
,
0
,
0
,
'storeMonthTask'
],
// 2.商户日权重 (按钮,控制“商户日权重月指标”页面内所有操作权限);
dayTarget
:
[
'商户日权重'
,
1
,
0
,
'companyDaySet'
]
},
...
...
menu-data/create-menu-json.js
View file @
d8cf1f14
...
...
@@ -168,7 +168,22 @@ function createXls() {
})
}
})
// return
let
rightErr
=
false
;
menuJson
.
forEach
(
el
=>
{
if
(
el
.
isRight
==
0
)
{
const
result
=
[]
menuJson
.
forEach
(
item
=>
{
if
(
item
.
parentCode
==
el
.
menuCode
&&
item
.
isRight
==
1
)
{
result
.
push
(
item
);
}
})
if
(
result
.
length
>
0
)
{
rightErr
=
true
;
console
.
log
(
result
,
'不受权限控制的页面下不可以挂受权限控制的子页面'
)
}
}
})
if
(
rightErr
)
return
;
const
jsonArray
=
[...
menuJson
,
...
buttonJson
].
map
(
item
=>
{
return
{
'菜单名称'
:
item
.
menuName
,
...
...
menu-data/result.xlsx
View file @
d8cf1f14
No preview for this file type
src/components/app/app-detail.vue
View file @
d8cf1f14
...
...
@@ -501,7 +501,7 @@ export default {
})
}
that
.
groupListData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/components/app/card/card-get-record.vue
View file @
d8cf1f14
...
...
@@ -287,7 +287,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
false
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/components/app/card/card-send-record.vue
View file @
d8cf1f14
...
...
@@ -347,7 +347,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
false
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/components/app/card/select-card.vue
View file @
d8cf1f14
...
...
@@ -167,7 +167,7 @@ export default {
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
false
;
}
...
...
src/components/app/customer/select-group.vue
View file @
d8cf1f14
...
...
@@ -166,7 +166,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
false
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/components/app/taskView.vue
View file @
d8cf1f14
...
...
@@ -389,7 +389,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
if
(
val
==
1
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
multipleTable
.
toggleAllSelection
();
...
...
src/components/review/salesleads-task-info.vue
View file @
d8cf1f14
...
...
@@ -222,7 +222,7 @@ export default {
that
.
tableData
=
[];
if
(
resData
.
errorCode
==
1
&&
resData
.
result
)
{
that
.
tableData
=
Array
.
isArray
(
resData
.
result
.
list
)
?
resData
.
result
.
list
:
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
||
0
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
}
else
{
errMsg
.
errorMsg
(
resData
);
}
...
...
src/views/apps/badEvaluate/badEvaluateDetail.vue
View file @
d8cf1f14
...
...
@@ -384,7 +384,7 @@ export default {
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/views/apps/badEvaluate/badEvaluateRecord.vue
View file @
d8cf1f14
...
...
@@ -439,7 +439,7 @@ export default {
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
false
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/views/apps/card/cardList.vue
View file @
d8cf1f14
...
...
@@ -223,7 +223,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/views/apps/card/cardRecord.vue
View file @
d8cf1f14
...
...
@@ -256,8 +256,8 @@ export default {
search
:
that
.
searchInput
||
''
,
// 搜索字段
pageNum
:
that
.
currentPage
,
// 当前页
pageSize
:
that
.
pageSize
,
// 一页显示个数
startDate
:
this
.
dateRange
[
0
]
||
''
,
endDate
:
this
.
dateRange
[
1
]
||
''
,
startDate
:
Array
.
isArray
(
this
.
dateRange
)
?
this
.
dateRange
[
0
]
:
''
,
endDate
:
Array
.
isArray
(
this
.
dateRange
)
?
this
.
dateRange
[
1
]
:
''
,
cardStatus
:
this
.
cardStatus
};
postRequest
(
'/haoban-app-customer-web/cardCoupon/find-card-log-page'
,
para
)
...
...
@@ -266,7 +266,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/views/apps/cloudDaily/dailyRecord.vue
View file @
d8cf1f14
...
...
@@ -413,11 +413,6 @@ export default {
}
},
mounted
()
{
let
that
=
this
;
that
.
activeBrand
=
that
.
brandId
;
if
(
!!
that
.
brandId
)
{
that
.
getTableList
();
}
let
start
=
new
Date
();
start
=
new
Date
(
start
.
setMonth
(
start
.
getMonth
()
-
3
));
const
end
=
new
Date
();
...
...
@@ -440,6 +435,11 @@ export default {
.
padStart
(
2
,
'0'
)
);
this
.
conditionObj
.
dateRange
=
[
startDate
.
join
(
'-'
),
endDate
.
join
(
'-'
)];
let
that
=
this
;
that
.
activeBrand
=
that
.
brandId
;
if
(
!!
that
.
brandId
)
{
that
.
getTableList
();
}
},
components
:
{
multipleDel
,
...
...
src/views/apps/customerApp/memberGroupList.vue
View file @
d8cf1f14
...
...
@@ -304,7 +304,7 @@ export default {
});
}
that
.
groupListData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/views/apps/customerApp/memberTagSet.vue
View file @
d8cf1f14
...
...
@@ -45,7 +45,7 @@
</el-select>
</div>
<div
class=
"btn-group"
>
<el-button
@
click=
"drawer = true"
type=
"primary"
:disabled=
"!canSync || !canUseCount"
:class=
"['sync-btn', isShake ? 'shake' : '']"
>
待开启同步标签(
{{
tagIds
.
length
}}
)
</el-button><span
v-if=
"canUseCount === 0"
class=
"no-use-count"
>
本月同步次数已用尽
</span>
<el-button
v-if=
"$getButtonLimit($buttonCode.willSyncTag)"
:limit-code=
"$buttonCode.willSyncTag"
@
click=
"drawer = true"
type=
"primary"
:disabled=
"!canSync || !canUseCount"
:class=
"['sync-btn', isShake ? 'shake' : '']"
>
待开启同步标签(
{{
tagIds
.
length
}}
)
</el-button><span
v-if=
"canUseCount === 0"
class=
"no-use-count"
>
本月同步次数已用尽
</span>
</div>
</div>
<div
class=
"tag-content-bottom"
>
...
...
src/views/apps/quota/monthTask.vue
View file @
d8cf1f14
...
...
@@ -274,7 +274,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
false
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/views/apps/quota/monthTaskDetail.vue
View file @
d8cf1f14
...
...
@@ -439,7 +439,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/views/apps/quota/storeMonthTask.vue
View file @
d8cf1f14
...
...
@@ -281,7 +281,7 @@ export default {
}
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
return
;
}
errMsg
.
errorMsg
(
resData
);
...
...
src/views/salesleads/groupSend/grStoreDetail.vue
View file @
d8cf1f14
...
...
@@ -326,7 +326,7 @@ export default {
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
||
0
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
}
else
{
errMsg
.
errorMsg
(
resData
);
}
...
...
src/views/salesleads/trafficTask/taskDetail.vue
View file @
d8cf1f14
...
...
@@ -669,7 +669,7 @@ export default {
});
}
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
if
(
val
==
1
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
multipleTable
.
toggleAllSelection
();
...
...
src/views/salesleads/trafficTask/taskRecord.vue
View file @
d8cf1f14
...
...
@@ -396,7 +396,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
if
(
val
==
1
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
multipleTable
.
toggleAllSelection
();
...
...
src/views/salesleads/trafficTask/taskViewDetail.vue
View file @
d8cf1f14
...
...
@@ -456,7 +456,7 @@ export default {
that
.
loading
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
tableData
=
resData
.
result
.
list
||
[];
that
.
total
=
resData
.
result
.
pageInfo
.
total
;
that
.
total
=
resData
.
result
.
pageInfo
?
resData
.
result
.
pageInfo
.
total
:
0
;
if
(
val
==
1
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
multipleTable
.
toggleAllSelection
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment