Commit 4e2bbb1c authored by danfuman's avatar danfuman

修改

parent 689779f9
import request from "@/utils/request"; import request from "@/utils/request";
//企业数据统计 //集团数据统计
export function statistic(data) { export function infoMemberCount(data) {
return request({ return request({
url: '/enterprise/statistic', url: '/combine/info/memberCount',
method: 'post', method: 'post',
data: data data: data
}) })
......
...@@ -94,31 +94,29 @@ export default { ...@@ -94,31 +94,29 @@ export default {
this.sideRoute = JSON.parse(JSON.stringify(this.defaultRoute)) this.sideRoute = JSON.parse(JSON.stringify(this.defaultRoute))
let arr = JSON.parse(JSON.stringify(val)) let arr = JSON.parse(JSON.stringify(val))
for(var i in arr){ for(var i in arr){
for(var j in arr[i]){ switch (i) {
// switch (j) { case 'member':
// case 'ownershipStructure': if(arr[i]<1){
// if(arr[i][j]<1){ this.sideRoute[0].disabled = true;
// this.sideRoute[0].disabled = true; }
// } break;
// break; case 'qualification':
// case 'qualification': if(arr[i]<1){
// if(arr[i][j]<1){ this.sideRoute[1].disabled = true;
// this.sideRoute[1].disabled = true; }
// } break;
// break; case 'performance':
// case 'performance': if(arr[i]<1){
// if(arr[i][j]<1){ this.sideRoute[2].disabled = true;
// this.sideRoute[2].disabled = true; }
// } break;
// break; case 'biddingAnnouncement':
// case 'biddingAnnouncement': if(arr[i]<1){
// if(arr[i][j]<1){ this.sideRoute[3].disabled = true;
// this.sideRoute[3].disabled = true; }
// } break;
// break; default:
// default: break;
// break;
// }
} }
} }
this.defaultRoute = JSON.parse(JSON.stringify(this.sideRoute)) this.defaultRoute = JSON.parse(JSON.stringify(this.sideRoute))
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
import Performance from "./component/performance" import Performance from "./component/performance"
import Zhaobiao from "./component/zhaobiao" import Zhaobiao from "./component/zhaobiao"
import { infoHeader } from '@/api/detail/party-a/index' import { infoHeader } from '@/api/detail/party-a/index'
import {combineMemberLogo,statistic} from '@/api/detail/groupAccount/groupAccount' import {combineMemberLogo,infoMemberCount} from '@/api/detail/groupAccount/groupAccount'
import elementResizeDetectorMaker from "element-resize-detector" import elementResizeDetectorMaker from "element-resize-detector"
export default { export default {
name: 'GroupAccount', name: 'GroupAccount',
...@@ -59,12 +59,12 @@ ...@@ -59,12 +59,12 @@
combineMemberLogo({combineId: this.customerId}).then(res=>{ combineMemberLogo({combineId: this.customerId}).then(res=>{
this.details=res.data; this.details=res.data;
}) })
// statistic({companyId: this.$route.query.cid}).then(res=>{ infoMemberCount({combineId: this.customerId}).then(res=>{
// console.log(res.data) console.log(res.data)
// if(res.code==200){ if(res.code==200){
// this.statisticObj = res.data this.statisticObj = res.data
// } }
// }) })
// if (this.$route.query.path) { // 获取跳转对应板块 // if (this.$route.query.path) { // 获取跳转对应板块
// this.currentPath.pathName = this.$route.query.path // this.currentPath.pathName = this.$route.query.path
// } // }
......
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