Commit 0a58d3f5 by ‘巴博尔’

修改

parent 6891837f
...@@ -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();
}, },
......
...@@ -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`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment