Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
aeb3511a
Commit
aeb3511a
authored
Mar 11, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 评价管理菜单调整
parent
f99ad2f9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
36 deletions
+39
-36
evaluation.js
src/router/modules/evaluation.js
+7
-15
charts.vue
src/views/evaluation/charts.vue
+1
-2
manage.vue
src/views/evaluation/manage.vue
+30
-0
newest.vue
src/views/evaluation/newest.vue
+1
-17
problem.vue
src/views/evaluation/problem.vue
+0
-1
suggestion.vue
src/views/evaluation/suggestion.vue
+0
-1
No files found.
src/router/modules/evaluation.js
View file @
aeb3511a
...
...
@@ -8,31 +8,23 @@ export default {
path
:
'evaluation'
,
name
:
'服务监督'
,
component
:
()
=>
import
(
/* webpackChunkName: "evaluation" */
'../../views/evaluation/index.vue'
),
redirect
:
'/evaluation/
newest
'
,
redirect
:
'/evaluation/
manage
'
,
children
:
[
{
path
:
'index'
,
name
:
'最新评价'
,
// component: newest,
redirect
:
'/evaluation/
newest
'
,
redirect
:
'/evaluation/
manage
'
,
meta
:
{
path
:
'/evaluation/
newest
'
path
:
'/evaluation/
manage
'
}
},
{
path
:
'
newest
'
,
name
:
'
最新评价
'
,
component
:
()
=>
import
(
/* webpackChunkName: "evaluation" */
'../../views/evaluation/
newest
.vue'
),
path
:
'
manage
'
,
name
:
'
评价管理
'
,
component
:
()
=>
import
(
/* webpackChunkName: "evaluation" */
'../../views/evaluation/
manage
.vue'
),
meta
:
{
path
:
'/evaluation/newest'
}
},
{
path
:
'charts'
,
name
:
'评论概览'
,
component
:
()
=>
import
(
/* webpackChunkName: "evaluation" */
'../../views/evaluation/charts.vue'
),
meta
:
{
path
:
'/evaluation/charts'
path
:
'/evaluation/manage'
}
},
{
...
...
src/views/evaluation/charts.vue
View file @
aeb3511a
<
template
>
<section
class=
"eval-charts"
>
<div
class=
"dm-form__wrap"
>
<div
class=
"page-tip"
>
以下数据取自近180天
</div>
<store-group
width=
"240"
class=
"pr5"
:model=
"storeGroupData"
@
commit-store=
"getStoreGroup"
></store-group>
<span
class=
"pl10 danger-color"
>
*以下数据取自近180天
</span>
</div>
<div
class=
"dm-form__wrap"
>
<h3
class=
"dm-title__label"
>
...
...
@@ -77,7 +77,6 @@ export default {
};
},
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'企业管理'
,
path
:
''
},
{
name
:
'服务监督'
,
path
:
'/evaluation'
},
{
name
:
'评价概览'
,
path
:
''
}]);
// eslint-disable-line
this
.
evaluateOverviewEchart
(
1
);
this
.
evaluateOverviewEchart
(
2
);
this
.
evaluateOverviewEchart
(
3
);
...
...
src/views/evaluation/manage.vue
0 → 100644
View file @
aeb3511a
<
template
>
<el-tabs
class=
"evaluation-manage"
v-model=
"activeName"
>
<el-tab-pane
label=
"最新评价"
name=
"first"
>
<newest></newest>
</el-tab-pane>
<el-tab-pane
label=
"评价概览"
name=
"second"
>
<charts></charts>
</el-tab-pane>
</el-tabs>
</
template
>
<
script
>
import
Newest
from
'./newest.vue'
;
import
Charts
from
'./charts.vue'
;
export
default
{
name
:
'Manage'
,
components
:
{
Newest
,
Charts
},
data
()
{
return
{
activeName
:
'first'
};
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
.evaluation-manage
/
deep
/
.el-tabs__nav-wrap
{
padding-left
:
20px
;
}
</
style
>
src/views/evaluation/newest.vue
View file @
aeb3511a
<
template
>
<section
class=
"eval-newest dm-wrap"
v-loading=
"loading"
>
<div
class=
"page-tip"
>
最新评价会在评价时间的隔天展示在小程序端附近门店的门店详情处
</div>
<div
class=
"clearfix pb22"
>
<store-group
width=
"240"
class=
"pr5"
:model=
"storeGroupData"
@
commit-store=
"getStoreGroup"
></store-group>
<el-date-picker
v-if=
"$route.meta.type !== 'bad'"
class=
"w250"
v-model=
"dateTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"refresh"
></el-date-picker>
...
...
@@ -169,23 +170,6 @@ export default {
},
created
()
{
this
.
getTableList
();
if
(
this
.
$route
.
params
.
type
)
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'企业管理'
,
path
:
''
},
{
name
:
'服务监督'
,
path
:
'/evaluation'
},
{
name
:
'评价概览'
,
path
:
'/evaluation/index/charts'
},
{
name
:
'差评详情'
,
path
:
''
}]);
// eslint-disable-line
}
else
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'企业管理'
,
path
:
''
},
{
name
:
'服务监督'
,
path
:
'/evaluation'
},
{
name
:
'最新评价'
,
path
:
''
}]);
// eslint-disable-line
}
},
beforeDestroy
()
{
this
.
$store
.
commit
(
'mutations_layoutTips'
,
''
);
},
mounted
()
{
this
.
getEvaluateSetting
();
this
.
$store
.
commit
(
'mutations_layoutTips'
,
`<div class="layout--tips">
<i class="el-icon-info"></i>最新评价会在评价时间的隔天展示在小程序端附近门店的门店详情处
</div>`
);
},
watch
:
{
$route
(
val
)
{
...
...
src/views/evaluation/problem.vue
View file @
aeb3511a
...
...
@@ -58,7 +58,6 @@ export default {
};
},
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'企业管理'
,
path
:
''
},
{
name
:
'服务监督'
,
path
:
'/evaluation'
},
{
name
:
'投诉与建议'
,
path
:
'/evaluation/suggestion'
},
{
name
:
'投诉与建议处理'
,
path
:
''
}]);
// eslint-disable-line
this
.
getSuggestionsDetail
();
},
computed
:
{
...
...
src/views/evaluation/suggestion.vue
View file @
aeb3511a
...
...
@@ -90,7 +90,6 @@ export default {
this
.
listParams
.
status
=
Number
(
this
.
$route
.
query
.
status
)
||
''
;
this
.
pageSuggestionsList
();
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'企业管理'
,
path
:
''
},
{
name
:
'服务监督'
,
path
:
'/evaluation'
},
{
name
:
'投诉与建议'
,
path
:
'/suggestion'
}]);
// eslint-disable-line
},
methods
:
{
search
()
{
...
...
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