Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-vue
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PeiZhen-Java
peizhen-vue
Commits
0a58d3f5
Commit
0a58d3f5
authored
Oct 10, 2023
by
‘巴博尔’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
6891837f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
src/views/index.vue
+6
-5
vue.config.js
+2
-2
No files found.
src/views/index.vue
View file @
0a58d3f5
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<h2>
{{
sumA
}}
</h2>
<h2>
{{
sumA
}}
</h2>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
v-if=
"user.roleId != 3"
>
<div
class=
"index-content-nav-item"
>
<div
class=
"index-content-nav-item"
>
<div
class=
"index-content-nav-item-top"
>
<div
class=
"index-content-nav-item-top"
>
<h3>
总销售额
</h3>
<h3>
总销售额
</h3>
...
@@ -84,10 +84,11 @@
...
@@ -84,10 +84,11 @@
<h2>
{{
sumC
}}
</h2>
<h2>
{{
sumC
}}
</h2>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
"user.roleId == 3"
>
<el-col
:span=
"4"
>
<div
class=
"index-content-nav-item"
>
<div
class=
"index-content-nav-item"
>
<div
class=
"index-content-nav-item-top"
>
<div
class=
"index-content-nav-item-top"
>
<h3>
平台收益
</h3>
<h3
v-if=
"user.roleId == 3"
>
机构收益
</h3>
<h3
v-else
>
平台收益
</h3>
<el-select
<el-select
v-model=
"valueD"
v-model=
"valueD"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -279,10 +280,10 @@ export default {
...
@@ -279,10 +280,10 @@ export default {
console
.
log
(
"user"
,
this
.
user
);
console
.
log
(
"user"
,
this
.
user
);
this
.
dataUserAxios
();
this
.
dataUserAxios
();
this
.
dataEmployeesAxios
();
this
.
dataEmployeesAxios
();
if
(
this
.
user
.
roleId
!=
3
)
{
this
.
saleroomAxios
();
this
.
saleroomAxios
();
if
(
this
.
user
.
roleId
==
3
)
{
this
.
platformRevenueAxios
();
}
}
this
.
platformRevenueAxios
();
this
.
orderQuantityAxios
();
this
.
orderQuantityAxios
();
this
.
orderQuantityEchartsAxios
();
this
.
orderQuantityEchartsAxios
();
},
},
...
...
vue.config.js
View file @
0a58d3f5
...
@@ -36,8 +36,8 @@ module.exports = {
...
@@ -36,8 +36,8 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://localhost:8089`,
// target: `http://localhost:8089`,
//
target: `https://peizheng.shanpeikj.com/api`,
target
:
`https://peizheng.shanpeikj.com/api`
,
target
:
`http://192.168.0.169:8089`
,
//
target: `http://192.168.0.169:8089`,
// target: `http://192.168.0.137:8089`,
// target: `http://192.168.0.137:8089`,
// target: `http://192.168.0.199:8089`,
// target: `http://192.168.0.199:8089`,
// target: `http://192.168.0.125:8089`,
// target: `http://192.168.0.125:8089`,
...
...
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