123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774 |
- import React, {Component} from 'react';
- import {
- Image,
- TouchableOpacity,
- ScrollView,
- Text,
- View,
- DeviceEventEmitter,
- } from 'react-native';
- import NetInfo from '@react-native-community/netinfo';
- import {GetDataPost} from '../../data/encryption';
- import {IndividualStorageData, RetrieveData} from '../../data/storage';
- import {ShowToast} from '../../components/rootToast/root_toast';
- import Swiper from 'react-native-swiper';
- import {NoticeBar, WhiteSpace} from '@ant-design/react-native';
- import home_css from './home_css';
- import moment from 'moment';
- export default class home_page extends Component {
- constructor(props) {
- super(props);
- this.state = {
- name: '',
- info: '',
- totalAmt: 0.0,
- totalTaxes: 0.0,
- sumNum: 0.0,
- authority: '',
- landingStatus: 0, //登陆状态,0:表示未登陆,1:表示已登陆
- curCompany: '首页',
- userType: 2,
- online: 0, //网络链接,0:表示网络链接失败,1:表示网络链接正常
- onlineEntNum: 0, //在线企业数
- allEntNum: 0, //所有企业数
- serverNum: 0, //服务器数量
- shelvesEntNum: 0, //月新增上架企业数
- invoicedQuantity: 0, //月累计开票数量
- invoicedAmount: 0.0, //月累计开票金额
- onlineServiceProviderNum: 0, //服务商在线数量
- allServiceProviderNum: 0, //服务商总数
- serverOnlineEntNum: 0, //在线企业数
- serverAllEntNum: 0, //所有企业数
- onlinePersonnelNum: 0, //在线人员数量
- allRegisterPersonnelNum: 0, //总注册人数
- };
- this.fetchDefaultEnt();
- }
- render() {
- return (
- <View>
- <ScrollView style={home_css.homePageBak}>
- <View style={home_css.topImgBak}>
- <Swiper style={home_css.wrapper} showsButtons={false} autoplay={true}>
- <View style={home_css.slide1}>
- <Text style={home_css.text}>Hello Swiper</Text>
- </View>
- <View style={home_css.slide2}>
- <Text style={home_css.text}>Beautiful</Text>
- </View>
- <View style={home_css.slide3}>
- <Text style={home_css.text}>And simple</Text>
- </View>
- </Swiper>
- </View>
- <View>
- <NoticeBar
- onPress={() => alert('click')}
- marqueeProps={{loop: true, style: {fontSize: 12, color: 'red'}}}>
- Notice: The arrival time of incomes and transfers of Yu 'E Bao
- will be delayed during National Day.
- </NoticeBar>
- </View>
- <View style={home_css.taxItemBak}>
- <View style={home_css.tapBtnBak}>
- {this.state.landingStatus === 1 ? (
- this.state.authority.includes('sys:entInfo:preInit') ? (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(1);
- }}>
- <Image
- source={require('../../source/img/homeImg/taxManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>企业上架</Text>
- </TouchableOpacity>
- ) : (
- <TouchableOpacity />
- )
- ) : (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(1);
- }}>
- <Image
- source={require('../../source/img/homeImg/taxManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>企业上架</Text>
- </TouchableOpacity>
- )}
- {this.state.landingStatus === 1 ? (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(2);
- }}>
- <Image
- source={require('../../source/img/homeImg/productManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>人员管理</Text>
- </TouchableOpacity>
- ) : (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(2);
- }}>
- <Image
- source={require('../../source/img/homeImg/productManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>人员管理</Text>
- </TouchableOpacity>
- )}
- {this.state.landingStatus === 1 ? (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(3);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>操作审计</Text>
- </TouchableOpacity>
- ) : (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(3);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>操作审计</Text>
- </TouchableOpacity>
- )}
- {this.state.landingStatus === 1 ? (
- this.state.authority.includes('sys:entInfo:pageByMachineId') ? (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(4);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>企业列表</Text>
- </TouchableOpacity>
- ) : (
- <TouchableOpacity />
- )
- ) : (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(4);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>企业列表</Text>
- </TouchableOpacity>
- )}
- {this.state.landingStatus === 1 ? (
- this.state.authority.includes('sys:invoice:view') ? (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(6);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>开票列表</Text>
- </TouchableOpacity>
- ) : (
- <TouchableOpacity />
- )
- ) : (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(6);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>开票列表</Text>
- </TouchableOpacity>
- )}
- {this.state.landingStatus === 1 ? (
- this.state.authority.includes('sys:hongchong:view') ? (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(8);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>红冲列表</Text>
- </TouchableOpacity>
- ) : (
- <TouchableOpacity />
- )
- ) : (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(8);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>红冲列表</Text>
- </TouchableOpacity>
- )}
- {this.state.landingStatus === 1 ? (
- this.state.authority.includes('isp:machineInfo:view') ? (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(5);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>服务器列表</Text>
- </TouchableOpacity>
- ) : (
- <TouchableOpacity />
- )
- ) : (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(5);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>服务器列表</Text>
- </TouchableOpacity>
- )}
- {this.state.landingStatus === 1 ? (
- this.state.authority.includes('isp:info:list:view') ? (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(7);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>服务商列表</Text>
- </TouchableOpacity>
- ) : (
- <TouchableOpacity />
- )
- ) : (
- <TouchableOpacity
- style={home_css.tapBtnBakCol}
- onPress={() => {
- this.getLandingStatus(7);
- }}>
- <Image
- source={require('../../source/img/homeImg/userManagement.png')}
- style={home_css.tapBtnImg}
- />
- <Text style={home_css.tapBtnTips}>服务商列表</Text>
- </TouchableOpacity>
- )}
- {/*<TouchableOpacity*/}
- {/* style={home_css.tapBtnBakCol}*/}
- {/* onPress={() => {*/}
- {/* this.getLandingStatus(15);*/}
- {/* }}>*/}
- {/* <Image*/}
- {/* source={require('../../source/img/homeImg/userManagement.png')}*/}
- {/* style={home_css.tapBtnImg}*/}
- {/* />*/}
- {/* <Text style={home_css.tapBtnTips}>测试</Text>*/}
- {/*</TouchableOpacity>*/}
- </View>
- </View>
- {this.state.userType == 2 ? (
- <View>
- <View style={home_css.yxTopicBak}>
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.onlineEntNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>在线企业数</Text>
- </TouchableOpacity>
- </View>
- <View style={home_css.statisticsView} />
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.allEntNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>所有企业数</Text>
- </TouchableOpacity>
- </View>
- </View>
- <View style={home_css.yxTopicBak}>
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.serverNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>服务器数量</Text>
- </TouchableOpacity>
- </View>
- <View style={home_css.statisticsView} />
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.shelvesEntNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>
- 月新增上架企业数
- </Text>
- </TouchableOpacity>
- </View>
- </View>
- <View style={home_css.yxTopicBak}>
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.invoicedQuantity}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>
- 月累计开票数量
- </Text>
- </TouchableOpacity>
- </View>
- <View style={home_css.statisticsView} />
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.invoicedAmount}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>
- 月累计开票金额
- </Text>
- </TouchableOpacity>
- </View>
- </View>
- </View>
- ) : (
- <View />
- )}
- {this.state.userType == 3 ? (
- <View>
- <View style={home_css.yxTopicBak}>
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.onlineServiceProviderNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>
- 服务商在线数量
- </Text>
- </TouchableOpacity>
- </View>
- <View style={home_css.statisticsView} />
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.allServiceProviderNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>服务商总数</Text>
- </TouchableOpacity>
- </View>
- </View>
- <View style={home_css.yxTopicBak}>
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.serverOnlineEntNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>企业在线数量</Text>
- </TouchableOpacity>
- </View>
- <View style={home_css.statisticsView} />
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.serverAllEntNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>企业总数</Text>
- </TouchableOpacity>
- </View>
- </View>
- <View style={home_css.yxTopicBak}>
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.onlinePersonnelNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>在线人员数量</Text>
- </TouchableOpacity>
- </View>
- <View style={home_css.statisticsView} />
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity style={[home_css.yxTopicItem]}>
- <Text style={home_css.yxTopicItemTextC}>
- {this.state.allRegisterPersonnelNum}
- </Text>
- <Text style={home_css.yxTopicItemTextA}>总注册人数</Text>
- </TouchableOpacity>
- </View>
- </View>
- </View>
- ) : (
- <View />
- )}
- <View style={home_css.yxTopicBak}>
- {this.state.online == 1 ? (
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity
- style={{
- width: 140,
- height: 50,
- margin: 10,
- justifyContent: 'center',
- alignItems: 'center',
- }}>
- <View
- style={{
- flexDirection: 'row',
- justifyContent: 'space-between',
- alignItems: 'center',
- }}>
- <Text
- style={[home_css.yxTopicItemTextA, {marginRight: 10}]}>
- 网络
- </Text>
- <Text style={{color: '#72C040'}}>已连接</Text>
- <Image
- source={require('../../source/img/online/success.png')}
- style={{
- width: 30,
- height: 30,
- margin: 5,
- borderRadius: 50,
- }}
- />
- </View>
- </TouchableOpacity>
- </View>
- ) : (
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity
- style={{
- width: 140,
- height: 50,
- margin: 10,
- justifyContent: 'center',
- alignItems: 'center',
- }}>
- <View
- style={{
- flexDirection: 'row',
- justifyContent: 'space-between',
- alignItems: 'center',
- }}>
- <Text
- style={[home_css.yxTopicItemTextA, {marginRight: 10}]}>
- 网络
- </Text>
- <Text style={{color: '#D75054'}}>未连接</Text>
- <Image
- source={require('../../source/img/online/fail.png')}
- style={{
- width: 30,
- height: 30,
- margin: 5,
- borderRadius: 50,
- }}
- />
- </View>
- </TouchableOpacity>
- </View>
- )}
- <View style={home_css.statisticsView} />
- <View style={home_css.yxTopicBottom}>
- <TouchableOpacity
- style={{
- width: 140,
- height: 50,
- margin: 10,
- justifyContent: 'center',
- alignItems: 'center',
- }}>
- <View
- style={{
- flexDirection: 'row',
- justifyContent: 'space-between',
- alignItems: 'center',
- }}>
- <Text style={[home_css.yxTopicItemTextA, {marginRight: 10}]}>
- 税控
- </Text>
- <Text style={{color: '#D75054'}}>未连接</Text>
- <Image
- source={require('../../source/img/online/fail.png')}
- style={{
- width: 30,
- height: 30,
- margin: 5,
- borderRadius: 50,
- }}
- />
- </View>
- </TouchableOpacity>
- </View>
- </View>
- </ScrollView>
- </View>
- );
- }
- componentDidMount() {
- console.disableYellowBox = true;
- NetInfo.fetch().done((status) => {
- if (status.type != 'none') {
- this.setState({
- online: 1,
- });
- }
- });
- this.setLoginType();
- this.getAuthority();
- this.getHomeData();
- // 收到监听
- this.listener = DeviceEventEmitter.addListener(
- 'updateCurMon',
- (message) => {
- // 收到监听后想做的事情 // 监听
- this.fetchDefaultEnt();
- },
- );
- }
- componentWillUnmount() {
- // 移除监听
- if (this.listener) {
- this.listener.remove();
- }
- this.setState = (state, callback) => {
- return;
- };
- }
- //根据登陆帐号获取帐号类型
- setLoginType = async () => {
- let userType = await RetrieveData('usertype');
- userType = userType.substring(1, userType.length - 1);
- this.setState({
- userType: userType,
- });
- };
- //获取当前默认绑定企业
- fetchDefaultEnt = async () => {
- //const defaultFirm =await RetrieveData('defaultEnt');
- //console.log( "default ent:" + JSON.stringify(defaultFirm));
- //console.log( "default ent:");
- const res = await RetrieveData('token');
- const account = await RetrieveData('account');
- if (res && account) {
- let token = res.substring(1, res.length - 1);
- let mobile = account.substring(1, account.length - 1);
- const url = 'https://app.taxbk.cn:9443/auth/comm/user/findDefaultChoose';
- let response = await GetDataPost(
- url,
- token,
- {
- mobile: mobile,
- },
- false,
- 2,
- );
- if (response.code != 0) {
- ShowToast(response.msg);
- } else {
- this.setState({curCompany: response.data.entName});
- //console.log("当前默认绑定企业: "+JSON.stringify(response.data));
- await IndividualStorageData(
- 'defaultEnt',
- JSON.stringify(response.data),
- );
- // await this.getKPStatsMonth(response.data.entTaxId);
- this.props.navigation.setOptions({
- headerTitleAlign: 'center',
- headerTitle: (props) => {
- return (
- <View
- style={{
- flexDirection: 'row',
- justifyContent: 'center',
- alignItems: 'center',
- }}>
- <Text style={{color: '#fff', fontSize: 16, fontWeight: '700'}}>
- {this.state.curCompany ? this.state.curCompany : '首页'}
- </Text>
- <TouchableOpacity
- onPress={async () => {
- const res = await RetrieveData('token');
- const account = await RetrieveData('account');
- if (res && account) {
- this.props.navigation.navigate('enterprise_list');
- } else {
- ShowToast('请先登录');
- }
- }}>
- {/*<Image*/}
- {/* source={require('../../source/img/homeImg/change.png')}*/}
- {/* style={{marginLeft: 5, width: 14, height: 14}}*/}
- {/*/>*/}
- </TouchableOpacity>
- </View>
- );
- },
- headerStyle: {backgroundColor: '#00A2FE', borderWidth: 0},
- });
- }
- } else {
- this.setState({
- sumNum: 0.0,
- totalAmt: 0.0,
- totalTaxes: 0.0,
- curCompany: '首页',
- });
- this.props.navigation.setOptions({
- headerTitle: (props) => {
- //console.log("==="+ this.state.curCompany);
- return (
- <View
- style={{
- flexDirection: 'row',
- justifyContent: 'center',
- alignItems: 'flex-end',
- }}>
- <Text style={{color: '#fff', fontSize: 20, fontWeight: '600'}}>
- {this.state.curCompany ? this.state.curCompany : '首页'}
- </Text>
- </View>
- );
- },
- headerTintColor: '#fff',
- });
- }
- };
- //判断是否登陆
- getLandingStatus = async (type) => {
- const account = await RetrieveData('account');
- if (account) {
- this.setState({
- landingStatus: 1,
- });
- if (type == 1) {
- this.props.navigation.navigate('enterprise_shelves');
- }
- if (type == 2) {
- this.props.navigation.navigate('personnel_list');
- }
- if (type == 3) {
- this.props.navigation.navigate('operation_audit_list');
- }
- if (type == 4) {
- this.props.navigation.navigate('enterprise_information');
- }
- if (type == 5) {
- this.props.navigation.navigate('server_list');
- }
- if (type == 6) {
- this.props.navigation.navigate('invoice_inquiry');
- }
- if (type == 7) {
- this.props.navigation.navigate('service_provider_list');
- }
- if (type == 8) {
- this.props.navigation.navigate('invoice_inquiry_red_rush');
- }
- if (type == 15) {
- this.props.navigation.navigate('Test');
- }
- } else {
- this.setState({
- landingStatus: 0,
- });
- this.props.navigation.navigate('login_head');
- }
- };
- //获取权限信息
- getAuthority = async () => {
- const authority = await RetrieveData('authority');
- if (authority) {
- this.setState({
- authority: authority,
- landingStatus: 1,
- });
- }
- };
- //获取首页数据
- getHomeData = async () => {
- let account = await RetrieveData('account');
- let token = await RetrieveData('token');
- if (token && account) {
- account = account.substring(1, account.length - 1);
- token = token.substring(1, token.length - 1);
- const url = 'https://app.taxbk.cn:9443/sys/stat/home';
- GetDataPost(
- url,
- token,
- {
- mobile: account,
- },
- false,
- 2,
- ).then((res) => {
- this.setState({
- onlineEntNum: res.data.onlineEntCnt,
- allEntNum: res.data.entCnt,
- shelvesEntNum: res.data.newInitEntCnt,
- invoicedAmount: res.data.monthInvoiceAmt,
- serverNum: res.data.machineCnt,
- invoicedQuantity: res.data.monthInvoiceCnt,
- serverOnlineEntNum: res.data.onlineEntCnt,
- serverAllEntNum: res.data.entCnt,
- allRegisterPersonnelNum: res.data.userCnt,
- allServiceProviderNum: res.data.ispCnt,
- onlinePersonnelNum: res.data.onlineUserCnt,
- onlineServiceProviderNum: res.data.onlineIspCnt,
- });
- });
- }
- };
- }
|