| | |
| | | } else if (data === 'enterpriseRelationshipMining') { |
| | | this.title1 = '企业挖掘' |
| | | this.showBoolean = true |
| | | } else if (data === 'zoneAnalyses'||data==='zongheEvaluates'||data==='zhengxinCompenys'||data==='rongziStructures'||data==='zonedynamics') { |
| | | } else if (data === 'zoneAnalyses'||data==='zongheEvaluates'||data==='zhengxinCompanys'||data==='rongziStructures'||data==='zonedynamics') { |
| | | this.title1 = '政信大数据' |
| | | this.showBoolean = true |
| | | } else { |
| | |
| | | |
| | | <li> |
| | | <span class="ivu-icon custom custom-gongsi1"></span> |
| | | <span class="two_class" name="zhengxinCompenys" @click="setVersionInfo('zhengxinCompenys')">城投平台</span> |
| | | <span class="two_class" name="zhengxinCompanys" @click="setVersionInfo('zhengxinCompanys')">城投平台</span> |
| | | </li> |
| | | |
| | | <!-- <li> |
| | |
| | | this.$router.push({path:'/cityInvestmentZone'}) |
| | | }else if(params==="zoneAnalyses"){ |
| | | this.$router.push({path:'/zoneAnalyse'}) |
| | | }else if(params==="zhengxinCompenys"){ |
| | | this.$router.push({path:'/zhengxinCompenys'}) |
| | | }else if(params==="zhengxinCompanys"){ |
| | | this.$router.push({path:'/zhengxinCompanys'}) |
| | | }else if(params==="rongziStructures"){ |
| | | this.$router.push({path:'/rongziStructures'}) |
| | | }else if(params==="zongheEvaluates"){ |
| | |
| | | <slot></slot> |
| | | <div> |
| | | <Menu ref="menu" v-show="!collapsed" :active-name="activeName" :open-names="openedNames" :accordion="accordion" |
| | | :theme="theme" width="auto" @on-select="handleSelect"> |
| | | <template v-for="item in menuList" v-if="item.name == mainTag"> |
| | | :theme="theme" width="auto" @on-select="handleSelect"> |
| | | <!-- <template v-for="item in menuList" v-if="item.name == mainTag"> |
| | | <template v-for="list in item.children"> |
| | | <template v-if="list.children && list.children.length === 1"> |
| | | <side-menu-item v-if="showChildren(list)" :key="`menu-${list.name}`" :parent-item="list"></side-menu-item> |
| | |
| | | <span>{{ showTitle(list) }}</span></menu-item> |
| | | </template> |
| | | </template> |
| | | </template> |
| | | </template> --> |
| | | <Tree ref="tree" :data="menuNew" :render="renderMenu" class="demo-tree-render" @on-select-change="handleSelect" |
| | | @on-toggle-expand="toggleExpand"></Tree> |
| | | <!-- <el-tree :data="menuNew" :props="defaultProps" accordion @node-click="handleNodeClick"></el-tree> --> |
| | | |
| | | </Menu> |
| | | <div class="menu-collapsed" v-show="collapsed" :list="menuList"> |
| | | <template v-for="item in menuList"> |
| | | <collapsed-menu v-if="item.children && item.children.length >=1 && item.name == mainTag" |
| | | @on-click="handleSelect" hide-title :root-icon-size="rootIconSize" :icon-size="iconSize" |
| | | :theme="theme" :parent-item="item" :key="`drop-menu-${item.name}`"></collapsed-menu> |
| | | <collapsed-menu v-if="item.children && item.children.length >= 1 && item.name == mainTag" |
| | | @on-click="handleSelect" hide-title :root-icon-size="rootIconSize" :icon-size="iconSize" :theme="theme" |
| | | :parent-item="item" :key="`drop-menu-${item.name}`"></collapsed-menu> |
| | | <Tooltip max-width="200" transfer v-else-if="item.name == mainTag" |
| | | :content= "showTitle(item.children && item.children[0] ? item.children[0] : item)" placement="right" |
| | | :key="`drop-menu-${item.name}`"> |
| | | <a @click="handleSelect(getNameOrHref(item, true))" class="drop-menu-a" :style="{textAlign: 'center'}"> |
| | | :content="showTitle(item.children && item.children[0] ? item.children[0] : item)" placement="right" |
| | | :key="`drop-menu-${item.name}`"> |
| | | <a @click="handleSelect(getNameOrHref(item, true))" class="drop-menu-a" :style="{ textAlign: 'center' }"> |
| | | <Icon :size="rootIconSize" :color="textColor" |
| | | :custom="item.icon || (item.children && item.children[0].icon)"></Icon> |
| | | :custom="item.icon || (item.children && item.children[0].icon)"></Icon> |
| | | </a> |
| | | </Tooltip> |
| | | </template> |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import { getToken } from '@/libs/util' |
| | | import SideMenuItem from './side-menu-item.vue' |
| | | import CollapsedMenu from './collapsed-menu.vue' |
| | | import {getUnion} from '@/libs/tools' |
| | | import { getUnion } from '@/libs/tools' |
| | | import mixin from './mixin' |
| | | |
| | | import { resolveComponent } from 'vue' |
| | | import $ from 'jquery' |
| | | export default { |
| | | name: 'SideMenu', |
| | | mixins: [mixin], |
| | |
| | | return { |
| | | openedNames: [], |
| | | loadingF: true, |
| | | NotLoading: false |
| | | NotLoading: false, |
| | | menuNew: [], |
| | | defaultProps: { |
| | | children: 'children', |
| | | label: 'title' |
| | | }, |
| | | token: getToken(), |
| | | index: 0, |
| | | selectName: '' |
| | | } |
| | | }, |
| | | methods: { |
| | | |
| | | handleNodeClick(data) { |
| | | console.log(data); |
| | | localStorage.setItem('powerAccess', data.name) |
| | | this.$emit('on-select', data.name) |
| | | }, |
| | | toggleExpand(item) { |
| | | console.log(item.name, this.selectName); |
| | | if (item.expand) { |
| | | if (item.name == this.menuNew[this.index].name) { |
| | | this.$nextTick(() => { |
| | | let routeName = location.hash.replace('#/', '') |
| | | let that = this |
| | | let arr = [] |
| | | let number = 0 |
| | | $("span[class^='ivu-tree-title']").each(function (i) { |
| | | arr.push($('.ivu-tree-title').eq(i)[0].innerText) |
| | | }); |
| | | console.log(arr); |
| | | for (let i = 0; i < arr.length; i++) { |
| | | if (this.selectName == arr[i]) { |
| | | number = i |
| | | } |
| | | } |
| | | $("span[class^='ivu-tree-title']").each(function (i) { |
| | | if (i == number) { |
| | | console.log(i); |
| | | $('.ivu-tree-title').eq(i).addClass('selectMenu').siblings().removeClass('selectMenu') |
| | | } |
| | | }); |
| | | for (let i = 0; i < this.menuNew.length; i++) { |
| | | if (i != this.index) { |
| | | this.menuNew[i].expand = false |
| | | this.menuNew = JSON.parse(JSON.stringify(this.menuNew)) |
| | | } |
| | | } |
| | | |
| | | }) |
| | | } else { |
| | | for (let i = 0; i < this.menuNew.length; i++) { |
| | | if (this.menuNew[i].name != item.name) { |
| | | this.menuNew[i].expand = false |
| | | this.menuNew = JSON.parse(JSON.stringify(this.menuNew)) |
| | | } |
| | | } |
| | | } |
| | | } else { |
| | | for (let i = 0; i < this.menuNew.length; i++) { |
| | | this.menuNew[i].expand = false |
| | | this.menuNew = JSON.parse(JSON.stringify(this.menuNew)) |
| | | } |
| | | } |
| | | }, |
| | | handleSelect(name) { |
| | | localStorage.setItem('powerAccess',name) |
| | | this.$emit('on-select', name) |
| | | // |
| | | let nameList = ['newsFlashEx_tool', 'piaoDetail', 'piaoOverdue', 'piaoOverAlways', 'piaoNoInfo', 'piaoDelayInfo', 'piaoNotice', 'bankCreditNo', 'bankMarket', 'rentMarket', 'receivablesMarket', |
| | | 'trustMarket', 'AssetManagementFinancing', 'PledgeMovableProperty', 'MovablePropertyRegistration', 'zoneAnalyse', 'zhengxinAreas', 'zhengxinCompanys', 'zhengxinCompanys', 'zonedynamics', 'zonedynamics', |
| | | 'publicMessage_tool', 'financeCollateralPledge', 'rongziDebt', 'rongziBank', 'rongziRent', 'rongziYingshou', 'rongziXintuo', 'rongziZiguan', 'rongziDiya', 'shangShiInfo', 'shangShiInfos', 'xinSanBanInfo', 'xinSanBanInfos', 'basicAttributes_tool', 'bankPunishNewEvent'] |
| | | |
| | | if (!this.token && nameList.indexOf(name[0].name) < 0) { |
| | | // this.getMenuNew() |
| | | // let routeName = location.hash.replace('#/', '') |
| | | // let num = 0 |
| | | // for (let i = 0; i < this.menuNew.length; i++) { |
| | | // num++ |
| | | // for (let k = 0; k < this.menuNew[i].children.length; k++) { |
| | | // num++ |
| | | // if (this.menuNew[i].children[k].name == routeName) { |
| | | // $('.ivu-tree-title').eq(num - 1).addClass('selectMenu') |
| | | // } |
| | | // } |
| | | // } |
| | | // for (let i = 0; i < this.menuNew.length; i++) { |
| | | // if (this.menuNew[i].name != item.name) { |
| | | // this.menuNew[i].expand = false |
| | | // this.menuNew = JSON.parse(JSON.stringify(this.menuNew)) |
| | | // } |
| | | // } |
| | | |
| | | this.$nextTick(() => { |
| | | // let routeName = location.hash.replace('#/', '') |
| | | let that = this |
| | | let arr = [] |
| | | let number = 0 |
| | | $('.ivu-tree-title').removeClass('ivu-tree-title-selected') |
| | | $('.selectMenu').removeClass('selectMenu') |
| | | $("span[class^='ivu-tree-title']").each(function (i) { |
| | | |
| | | arr.push($('.ivu-tree-title').eq(i)[0].innerText) |
| | | }); |
| | | console.log(arr); |
| | | for (let i = 0; i < arr.length; i++) { |
| | | if (this.selectName == arr[i]) { |
| | | number = i |
| | | } |
| | | } |
| | | $("span[class^='ivu-tree-title']").each(function (i) { |
| | | if (i == number) { |
| | | console.log(i); |
| | | $('.ivu-tree-title').eq(i).addClass('selectMenu').siblings().removeClass('selectMenu') |
| | | } |
| | | }); |
| | | for (let i = 0; i < this.menuNew.length; i++) { |
| | | if (i != this.index) { |
| | | this.menuNew[i].expand = false |
| | | this.menuNew = JSON.parse(JSON.stringify(this.menuNew)) |
| | | } |
| | | } |
| | | }) |
| | | |
| | | |
| | | this.$store.commit('openloginModal', true) |
| | | } else if (!this.token && nameList.indexOf(name[0].name) > -1) { |
| | | localStorage.setItem('powerAccess', name[0].name) |
| | | this.$emit('on-select', name[0].name) |
| | | } else if (this.token) { |
| | | localStorage.setItem('powerAccess', name[0].name) |
| | | this.$emit('on-select', name[0].name) |
| | | } |
| | | |
| | | |
| | | }, |
| | | getOpenedNamesByActiveName(name) { |
| | | return this.$route.matched.map(item => item.name).filter(item => item !== name) |
| | |
| | | updateOpenName(name) { |
| | | if (name === this.$config.homeName) this.openedNames = [] |
| | | else this.openedNames = this.getOpenedNamesByActiveName(name) |
| | | }, |
| | | renderMenu(h, { root, node, data }) { |
| | | // console.log({ root, node, data }); |
| | | return h('span', { |
| | | style: { |
| | | display: "inline-block", |
| | | }, |
| | | class: data.selected ? 'selectMenu' : '', |
| | | url: data.name |
| | | |
| | | }, [h('span', [ |
| | | h('span', { |
| | | class: data.icon, |
| | | style: { |
| | | marginRight: '2px' |
| | | } |
| | | }), |
| | | h('span', data.title) |
| | | |
| | | ])]) |
| | | }, |
| | | getMenuNew() { |
| | | // this.menuNew = [] |
| | | // this.menuNew = JSON.parse(JSON.stringify(this.menuNew)) |
| | | let data = [] |
| | | this.menuNew = JSON.parse(JSON.stringify(data)) |
| | | for (let i = 0; i < this.menuList.length; i++) { |
| | | let arr = { |
| | | title: '', |
| | | expand: true, |
| | | icon: '', |
| | | children: [], |
| | | meta: {}, |
| | | name: '', |
| | | nodeKey: null, |
| | | iconClass: '' |
| | | } |
| | | arr.meta = this.menuList[i].meta |
| | | arr.title = this.menuList[i].meta.title |
| | | arr.icon = this.menuList[i].icon |
| | | arr.name = this.menuList[i].name |
| | | arr.nodeKey = this.menuList[i].nodeKey |
| | | arr.iconClass = this.menuList[i].icon |
| | | for (let k = 0; k < this.menuList[i].children.length; k++) { |
| | | arr.children.push({ |
| | | icon: this.menuList[i].children[k].icon, |
| | | name: this.menuList[i].children[k].name, |
| | | nodeKey: this.menuList[i].children[k].nodeKey, |
| | | meta: this.menuList[i].children[k].meta, |
| | | title: this.menuList[i].children[k].meta.title, |
| | | notCache: this.menuList[i].children[k].notCache, |
| | | }) |
| | | |
| | | } |
| | | this.menuNew.push(arr) |
| | | } |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | this.NotLoading = false |
| | | }, 1000) |
| | | return this.$store.state.app.mainTag |
| | | } |
| | | }, |
| | | |
| | | }, |
| | | created() { |
| | | this.getMenuNew() |
| | | |
| | | }, |
| | | mounted() { |
| | | this.openedNames = getUnion(this.openedNames, this.getOpenedNamesByActiveName(name)) |
| | | let routeName = location.hash.replace('#/', '') |
| | | let num = 0 |
| | | this.index = 0 |
| | | for (let i = 0; i < this.menuNew.length; i++) { |
| | | num++ |
| | | for (let k = 0; k < this.menuNew[i].children.length; k++) { |
| | | num++ |
| | | if (this.menuNew[i].children[k].name == routeName) { |
| | | this.index = i |
| | | |
| | | this.selectName = this.menuNew[i].children[k].title |
| | | console.log(this.menuNew[i].children[k].title, this.selectName); |
| | | $('.ivu-tree-title').eq(num - 1).addClass('selectMenu') |
| | | } |
| | | } |
| | | } |
| | | for (let i = 0; i < this.menuNew.length; i++) { |
| | | if (i != this.index) { |
| | | this.menuNew[i].expand = false |
| | | this.menuNew = JSON.parse(JSON.stringify(this.menuNew)) |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | margin-top: 0px !important; |
| | | } |
| | | |
| | | .ivu-menu-submenu-title > i, .ivu-menu-submenu-title span > i { |
| | | .ivu-menu-submenu-title>i, |
| | | .ivu-menu-submenu-title span>i { |
| | | margin-right: 12px !important; |
| | | } |
| | | |
| | |
| | | .side-menu-wrapper .ivu-spin { |
| | | color: #fff |
| | | } |
| | | |
| | | .demo-tree-render .ivu-tree-arrow { |
| | | position: relative; |
| | | left: 20px; |
| | | top: 5px; |
| | | } |
| | | |
| | | .demo-tree-render .ivu-tree-title { |
| | | color: #BEC3BC; |
| | | padding: 5px 24px; |
| | | |
| | | } |
| | | |
| | | .demo-tree-render .ivu-tree-title:hover { |
| | | color: #000; |
| | | |
| | | |
| | | } |
| | | |
| | | .selectMenu { |
| | | color: #000 !important; |
| | | background-color: #d5e8fc !important; |
| | | } |
| | | |
| | | /deep/ .ivu-tree-title-selected { |
| | | color: #BEC3BC; |
| | | } |
| | | |
| | | .ivu-tree-title-selected /deep/ .selectMenu { |
| | | color: #BEC3BC; |
| | | } |
| | | |
| | | // .demo-tree-render .ivu-tree-title:hover { |
| | | // color: #fff !important; |
| | | // background-color: #1b2a39 !important; |
| | | // width: 260px; |
| | | // } |
| | | </style> |
| | |
| | | return ['ParentView', ...this.tagNavList.length ? this.tagNavList.filter(item => !(item.meta && item.meta.notCache)).map(item => item.name) : []] |
| | | }, |
| | | menuList() { |
| | | console.log(this.$store.getters.menuList); |
| | | return this.$store.getters.menuList |
| | | }, |
| | | local() { |
| | |
| | | { |
| | | index: 2, route: [ |
| | | 'zoneAnalyse', |
| | | 'zhengxinCompenys', |
| | | 'zhengxinCompeny', |
| | | 'zhengxinCompanys', |
| | | 'zhengxinCompanys', |
| | | 'zonedynamics', |
| | | 'zonedynamic', |
| | | 'zonedynamics', |
| | | 'zongheEvaluate', |
| | | ] |
| | | }, |
| | |
| | | { |
| | | index: 2, route: [ |
| | | 'zoneAnalyse', |
| | | 'zhengxinCompenys', |
| | | 'zhengxinCompeny', |
| | | 'zhengxinCompanys', |
| | | 'zhengxinCompanys', |
| | | 'zonedynamics', |
| | | 'zonedynamic', |
| | | 'zonedynamics', |
| | | 'zongheEvaluate', |
| | | ] |
| | | }, |
| | |
| | | |
| | | let bool = true |
| | | let nameList = ['newsFlashEx_tool', 'piaoDetail', 'piaoOverdue', 'piaoOverAlways', 'piaoNoInfo', 'piaoDelayInfo', 'piaoNotice', 'bankCreditNo', 'bankMarket', 'rentMarket', 'receivablesMarket', |
| | | 'trustMarket', 'AssetManagementFinancing', 'PledgeMovableProperty', 'MovablePropertyRegistration', 'zoneAnalyse', 'zhengxinAreas', 'zhengxinCompeny', 'zhengxinCompenys', 'zonedynamic', 'zonedynamics', |
| | | 'trustMarket', 'AssetManagementFinancing', 'PledgeMovableProperty', 'MovablePropertyRegistration', 'zoneAnalyse', 'zhengxinAreas', 'zhengxinCompanys', 'zhengxinCompanys', 'zonedynamics', 'zonedynamics', |
| | | 'publicMessage_tool', 'financeCollateralPledge', 'rongziDebt', 'rongziBank', 'rongziRent', 'rongziYingshou', 'rongziXintuo', 'rongziZiguan', 'rongziDiya', 'shangShiInfo', 'shangShiInfos', 'xinSanBanInfo', 'xinSanBanInfos', 'basicAttributes_tool', 'bankPunishNewEvent'] //无权限控制的页面 |
| | | let arr = ['newsDetail', 'rongziDebtDetail', 'publicMessage_tool', 'menuPublicInfo', 'loanSchemeAndRecoveryPlan', 'offSiteCheckQYTP', 'fundMonitoring', 'paymentMonitoring', 'siteCheck', 'controlList', 'managementItem', 'basicAttributes_tool', 'reportFormsManage', 'rentExchange', 'rentExchangeCompany'] |
| | | let arr = ['newsDetail', 'rongziDebtDetail', 'publicMessage_tool', 'menuPublicInfo', 'loanSchemeAndRecoveryPlan', 'offSiteCheckQYTP', 'fundMonitoring', 'paymentMonitoring', 'siteCheck', 'controlList', 'managementItem', 'basicAttributes_tool', 'reportFormsManageEx', 'rentExchange', 'rentExchangeCompany'] |
| | | // 'publicMessage_tool', |
| | | router.beforeEach((to, from, next) => { |
| | | store.commit('routeNameChange',JSON.stringify({url:to.name,title:to.meta.title}) ) |
| | |
| | | if (routesTop1[i].route.indexOf(to.name) > -1) { |
| | | |
| | | store.commit('routeIndexChange', routesTop1[i].index) |
| | | // this.activeRouteIndex = routes[i].index |
| | | } |
| | | } |
| | | |
| | |
| | | if (routesTop2[i].route.indexOf(to.name) > -1) { |
| | | |
| | | store.commit('routeIndexChange', routesTop2[i].index) |
| | | // this.activeRouteIndex = routes[i].index |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | // name: homeName // 跳转到homeName页 |
| | | // }) |
| | | } else if (!token && nameList.indexOf(to.name) > -1) { |
| | | // console.log(to.name); |
| | | let data = { |
| | | name: localStorage.getItem('powerAccess'), |
| | | id: null |
| | |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | store.commit('setAccess', res.data.Data.access) |
| | | let a = { name: localStorage.getItem('setUrlRec') } |
| | | turnTo(a, res.data.Data.access, next) |
| | | } else { |
| | | } |
| | | }, res => { |
| | | }) |
| | | // 未登陆且要跳转的页面是白名单 |
| | | next() // 跳转 |
| | | // next() // 跳转 |
| | | // 跳转 |
| | | } else if (!token && nameList.indexOf(to.name) < 0) { |
| | | store.commit('openloginModal', true) |
| | |
| | | } |
| | | let bool = true |
| | | let nameList = ['login', 'forgot', 'register','newsFlashEx_tool','piaoDetail','piaoOverdue','piaoOverAlways','piaoNoInfo','piaoDelayInfo','piaoNotice','bankCreditNo','bankMarket','rentMarket','receivablesMarket', |
| | | 'trustMarket','AssetManagementFinancing', 'PledgeMovableProperty','MovablePropertyRegistration','zoneAnalyse','zhengxinAreas','zhengxinCompeny','zonedynamic', |
| | | 'trustMarket','AssetManagementFinancing', 'PledgeMovableProperty','MovablePropertyRegistration','zoneAnalyse','zhengxinAreas','zhengxinCompanys','zonedynamics', |
| | | 'publicMessage_tool','financeCollateralPledge','rongziDebt','rongziBank','rongziRent','rongziYingshou','rongziXintuo','rongziZiguan','rongziDiya','shangShiInfo','xinSanBanInfo','basicAttributes_tool','bankPunishNewEvent'] //无权限控制的页面 |
| | | |
| | | let arr = ['newsDetail', 'rongziDebtDetail', 'menuPublicInfo', 'publicMessage_tool', 'loanSchemeAndRecoveryPlan', 'offSiteCheckQYTP', 'fundMonitoring', 'paymentMonitoring', 'siteCheck', 'controlList', 'managementItem', 'basicAttributes_tool', 'reportFormsManage', 'rentExchange', 'rentExchangeCompany'] |
| | | let arr = ['newsDetail', 'rongziDebtDetail', 'menuPublicInfo', 'publicMessage_tool', 'loanSchemeAndRecoveryPlan', 'offSiteCheckQYTP', 'fundMonitoring', 'paymentMonitoring', 'siteCheck', 'controlList', 'managementItem', 'basicAttributes_tool', 'reportFormsManageEx', 'rentExchange', 'rentExchangeCompany'] |
| | | // let arr = ['piaoDetail'] |
| | | router.beforeEach((to, from, next) => { |
| | | console.log(to.name,from.name); |
| | |
| | | ] |
| | | }, |
| | | { |
| | | path: '/zhengxinCompenys', |
| | | name: 'zhengxinCompenys', |
| | | redirect: '/zhengxinCompeny', |
| | | path: '/zhengxinCompanys', |
| | | name: 'zhengxinCompanys', |
| | | redirect: '/zhengxinCompanys', |
| | | meta: { |
| | | notCache: true, |
| | | access: ['no_admin', 'zhengxinCompenys', 'zhengxinPlats'], |
| | | access: ['no_admin', 'zhengxinCompanys', 'zhengxinPlats'], |
| | | icon: 'custom custom-gongsi1', |
| | | title: '城投平台' |
| | | }, |
| | | component: Main, |
| | | children: [{ |
| | | path: '/zhengxinCompeny', |
| | | name: 'zhengxinCompeny', |
| | | path: '/zhengxinCompanys', |
| | | name: 'zhengxinCompanys', |
| | | meta: { |
| | | access: ['no_admin', 'zhengxinCompenys'], |
| | | access: ['no_admin', 'zhengxinCompanys'], |
| | | notCache: true, |
| | | icon: 'custom custom-caizhengquhua', |
| | | title: '城投平台' |
| | | }, |
| | | component: () => |
| | | import('@/view/chengtou/zhengxinCompeny.vue') |
| | | import('@/view/chengtou/zhengxinCompanys.vue') |
| | | }, |
| | | { |
| | | path: '/zhengxinPlats', |
| | |
| | | { |
| | | path: '/zonedynamics', |
| | | name: 'zonedynamics', |
| | | redirect: '/zonedynamic', |
| | | redirect: '/zonedynamics', |
| | | meta: { |
| | | notCache: true, |
| | | access: ['no_admin', 'zonedynamics'], |
| | |
| | | }, |
| | | component: Main, |
| | | children: [{ |
| | | path: '/zonedynamic', |
| | | name: 'zonedynamic', |
| | | path: '/zonedynamics', |
| | | name: 'zonedynamics', |
| | | meta: { |
| | | access: ['no_admin', 'zonedynamics'], |
| | | notCache: true, |
| | |
| | | { |
| | | path: '/reportForms', |
| | | name: 'reportForms', |
| | | redirect: '/reportFormsManage', |
| | | redirect: '/reportFormsManageEx', |
| | | meta: { |
| | | notCache: true, |
| | | access: ['no_admin', 'reportFormsManageEx'], |
| | |
| | | }, |
| | | component: Main, |
| | | children: [{ |
| | | path: '/reportFormsManage', |
| | | name: 'reportFormsManage', |
| | | path: '/reportFormsManageEx', |
| | | name: 'reportFormsManageEx', |
| | | meta: { |
| | | access: ['no_admin', 'reportFormsManageEx'], |
| | | notCache: true, |
| | |
| | | </template> |
| | | </Table> |
| | | <div style="text-align: center;margin-top: 12px;margin-bottom: 12px"> |
| | | <span>如所需使用财报不在选项中,请前往 <router-link style="color:#169bd5;border-bottom: 1px solid #169bd5;cursor: pointer" target="_blank" :to="{path:'/reportFormsManage'}">"报表管理"</router-link>添加报表后再刷新本页。</span> |
| | | <span>如所需使用财报不在选项中,请前往 <router-link style="color:#169bd5;border-bottom: 1px solid #169bd5;cursor: pointer" target="_blank" :to="{path:'/reportFormsManageEx'}">"报表管理"</router-link>添加报表后再刷新本页。</span> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | |
| | | <span>温馨提示</span> |
| | | </p> |
| | | <div> |
| | | <div>所选财报不符合资产总计=负债总计+所有者权益(或股东权益)总计,请前往<router-link style="color:#169bd5;border-bottom: 1px solid #169bd5;cursor: pointer" target="_blank" :to="{path:'/reportFormsManage',query:{FromType:FromTypeParams,Period:PeriodParams,ProjId:ProjIdParams,ReportType:ReportTypeParams,ShortTime:ShortTimeParams,SubjectId:SubjectIdParams,TimeStart:TimeStartParams,Title:TitleParams,id:idParams}}">"报表管理"</router-link>页修改后重新选择财报</div> |
| | | <div>所选财报不符合资产总计=负债总计+所有者权益(或股东权益)总计,请前往<router-link style="color:#169bd5;border-bottom: 1px solid #169bd5;cursor: pointer" target="_blank" :to="{path:'/reportFormsManageEx',query:{FromType:FromTypeParams,Period:PeriodParams,ProjId:ProjIdParams,ReportType:ReportTypeParams,ShortTime:ShortTimeParams,SubjectId:SubjectIdParams,TimeStart:TimeStartParams,Title:TitleParams,id:idParams}}">"报表管理"</router-link>页修改后重新选择财报</div> |
| | | <div class="clearfix" style="width: 200px;margin:20px auto 0px;"> |
| | | <Button size="large" custom-icon="custom custom-queding" style="float: left;" type="primary" |
| | | @click="CheckCapTotal=false">确认 |
| | |
| | | * 跳转至报表管理 |
| | | **/ |
| | | // goToReport(){ |
| | | // this.$router.push({path: '/reportFormsManage'}) |
| | | // this.$router.push({path: '/reportFormsManageEx'}) |
| | | // }, |
| | | firstFilter (params) { |
| | | |
| File was renamed from src/view/chengtou/zhengxinCompeny.vue |
| | |
| | | import publicMessage from '../diligenceTools/gongkaixinxi/gongshang.vue' |
| | | import $ from "jquery"; |
| | | export default { |
| | | name: 'zhengxinCompeny', |
| | | name: 'zhengxinCompanys', |
| | | components: { publicMessage }, |
| | | data() { |
| | | return { |
| | |
| | | <template> |
| | | <div class="zonedynamic" style="position: relative;"> |
| | | <div class="zonedynamics" style="position: relative;"> |
| | | <!-- <Button v-show="warningShow" @click="warning">Display warning prompt</Button> --> |
| | | <div> |
| | | <Card class="customTitle"> |
| | |
| | | |
| | | |
| | | export default { |
| | | name: 'zonedynamic', |
| | | name: 'zonedynamics', |
| | | components: { |
| | | }, |
| | | data() { |
| | |
| | | <tab3_2 :name="name"></tab3_2> |
| | | </div> |
| | | <div v-if="tab == 'tab3'"> |
| | | <tab3_3 :name="name"></tab3_3> |
| | | <tab3_3 :name="name" :tab="tab"></tab3_3> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | <div ref="echartsDom" style="width: 100%;height: 450px;margin-top: 12px;"> |
| | | </div> |
| | | </div> --> |
| | | <div style="margin-top: 12px;position: relative;"> |
| | | <div v-show="loadingCount > 27" style="margin-top: 12px;position: relative;"> |
| | | <span style="position: absolute;top: 6px;right: 0;z-index: 7;"> |
| | | {{ |
| | | `更新时间 : ${date_fenShi}` |
| | |
| | | @on-change="changeStkHoldertradePageIndex" show-elevator style="float: right;margin-top: 12px;" /> |
| | | </div> |
| | | </div> |
| | | <div style="margin-top: 12px;"> |
| | | <div v-show="loadingCount > 27" style="margin-top: 12px;"> |
| | | <div class="newTitle" id="gongSiZiLiao"> |
| | | 公司资料 |
| | | </div> |
| | |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | <div style="margin-top: 12px;"> |
| | | <div v-show="loadingCount > 27" style="margin-top: 12px;"> |
| | | <div class="newTitle" id="guBenGuDong"> |
| | | 股本股东 |
| | | </div> |
| | |
| | | @on-change="changeShareStructurePageIndex" show-elevator style="float: right;margin-top: 12px;" /> |
| | | </div> |
| | | </div> |
| | | <div style="margin-top: 12px;"> |
| | | <div v-show="loadingCount > 27" style="margin-top: 12px;"> |
| | | <div class="newTitle" id="caiWuBaoBiao"> |
| | | 财务报表 |
| | | </div> |
| | |
| | | @on-change="changeDisclosureDatePageIndex" show-elevator style="float: right;margin-top: 12px;" /> |
| | | </div> |
| | | </div> |
| | | <div style="margin-top: 12px;"> |
| | | <div v-show="loadingCount > 27" style="margin-top: 12px;"> |
| | | <div class="newTitle" id="gongSiGongGao"> |
| | | 公司公告 |
| | | </div> |
| | |
| | | </Table> |
| | | </div> |
| | | </div> |
| | | <div style="margin-top: 12px;"> |
| | | <div v-show="loadingCount > 27" style="margin-top: 12px;"> |
| | | <div class="newTitle" id="zhongDaShiXiang"> |
| | | 重大事项 |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div v-if="assignListTotalItem || issuanceListTotalItem || allotmentListTotalItem" style="margin-top: 12px;"> |
| | | <div v-if="(assignListTotalItem || issuanceListTotalItem || allotmentListTotalItem)&&loadingCount > 27" style="margin-top: 12px;"> |
| | | <div class="newTitle" id="fenHongRongZi"> |
| | | 分红融资 |
| | | </div> |
| | |
| | | // this.getEquityThroughAndInvest() |
| | | this.dir = 'down' |
| | | this.GetTycOpenInvestTree() |
| | | |
| | | } else if (this.tab == 'tab3') { |
| | | this.dir = 'up' |
| | | this.GetTycOpenInvestTree() |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | }, |
| | | |
| | | mounted() { |
| | | // this.GetTycOpenInvestTree() |
| | | if (this.name) { |
| | | // this.getEquityThroughAndInvest() |
| | | |
| | | } |
| | | this.ratio = this.CustomMethods.getRatio() |
| | | if (this.ratio < 125) { |
| | | this.ratio = 125 |
| | |
| | | quickSearch(item) { |
| | | this.searchName = item |
| | | this.selectedName = item |
| | | // this.pageIndex = 1 |
| | | this.changeTab('tab1') |
| | | }, |
| | | changeTab(e) { |
| | | this.tab = e |
| | | |
| | | // this.pageIndex = 1 |
| | | // if (this.tab == 'tab1') { |
| | | // this.GetTycTaxCredit() |
| | | // } else if (this.tab == 'tab2') { |
| | | // this.GetHolderList() |
| | | // } |
| | | setTimeout(() => { |
| | | this.refreshSearchInfoList() |
| | | }, 1500); |
| | |
| | | } else { |
| | | this.$store.commit('setMainTag', 'login') |
| | | this.$router.push({ |
| | | name: 'newsFlashEx_tool' |
| | | name: 'login' |
| | | }) |
| | | } |
| | | resolve(data) |
| | |
| | | } else { |
| | | this.$store.commit('setMainTag', 'login') |
| | | this.$router.push({ |
| | | name: this.$config.homeName |
| | | // name: this.$config.homeName |
| | | name: 'login' |
| | | }) |
| | | // this.$router.push({ |
| | | // name: res.Data.currentRedirect |
| | |
| | | } else { |
| | | this.$store.commit('setMainTag', 'login') |
| | | this.$router.push({ |
| | | name: this.$config.homeName |
| | | // name: this.$config.homeName |
| | | name: 'login' |
| | | }) |
| | | // this.$router.push({ |
| | | // name: res.Data.currentRedirect |
| | |
| | | }, |
| | | { |
| | | title: '城投平台', |
| | | url: 'zhengxinCompenys', |
| | | url: 'zhengxinCompanys', |
| | | disabled: false |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | title: '城投平台', |
| | | url: 'zhengxinCompenys', |
| | | url: 'zhengxinCompanys', |
| | | disabled: false |
| | | }, |
| | | { |
| | |
| | | { url: 'MovablePropertyRegistration', url2: 'MovablePropertyRegistration' }, |
| | | |
| | | { url: 'zoneAnalyses', url2: 'zoneAnalyse' }, |
| | | { url: 'zhengxinCompenys', url2: 'zhengxinCompeny' }, |
| | | { url: 'zonedynamics', url2: 'zonedynamic' }, |
| | | { url: 'zhengxinCompanys', url2: 'zhengxinCompanys' }, |
| | | { url: 'zonedynamics', url2: 'zonedynamics' }, |
| | | { url: 'zongheEvaluates', url2: 'zongheEvaluate' }, |
| | | |
| | | { url: 'publicMessage_tool', url2: 'publicMessage_tool' }, |
| | |
| | | { url: 'MovablePropertyRegistration', url2: 'MovablePropertyRegistration' }, |
| | | |
| | | { url: 'zoneAnalyses', url2: 'zoneAnalyse' }, |
| | | { url: 'zhengxinCompenys', url2: 'zhengxinCompeny' }, |
| | | { url: 'zonedynamics', url2: 'zonedynamic' }, |
| | | { url: 'zhengxinCompanys', url2: 'zhengxinCompanys' }, |
| | | { url: 'zonedynamics', url2: 'zonedynamics' }, |
| | | { url: 'zongheEvaluates', url2: 'zongheEvaluate' }, |
| | | |
| | | { url: 'publicMessage_tool', url2: 'publicMessage_tool' }, |
| | |
| | | let urlInfo = JSON.parse(this.$store.state.user.routeName) |
| | | for (let i = 0; i < this.routes1.length; i++) { |
| | | if (this.routes1[i].url === urlInfo.url || this.routes1[i].url2 === urlInfo.url) { |
| | | console.log(i, this.routes1[i], urlInfo.url); |
| | | // console.log(i, this.routes1[i], urlInfo.url); |
| | | $('.dropList').eq(i).addClass('routeBack').siblings().removeClass('routeBack') |
| | | } |
| | | } |
| | |
| | | } else { |
| | | this.$store.commit('setMainTag', 'login') |
| | | this.$router.push({ |
| | | name: 'newsFlashEx_tool' |
| | | name: 'login' |
| | | }) |
| | | } |
| | | resolve(data) |
| | |
| | | // if (this.$store.state.user.userUrl != '') { |
| | | localStorage.setItem('powerAccess', "newdiligenceTools") |
| | | this.getUserInfo().then(res => { |
| | | this.$store.commit('openloginModal', false) |
| | | this.$store.state.user.current = '' |
| | | localStorage.setItem('CompanyRemark', CompanyRemark) |
| | | localStorage.setItem('RateGradeFlag', '') |
| | |
| | | this.$store.commit('setMainTag', 'login') |
| | | this.$router.push({ |
| | | // name: this.$config.homeName |
| | | name: 'newsFlashEx_tool' |
| | | name: 'login' |
| | | }) |
| | | // this.$router.push({ |
| | | // name: res.Data.currentRedirect |
| | |
| | | // if (this.$store.state.user.userUrl != '') { |
| | | localStorage.setItem('powerAccess', "newdiligenceTools") |
| | | this.getUserInfo().then(res => { |
| | | this.$store.commit('openloginModal', false) |
| | | this.$store.state.user.current = '' |
| | | localStorage.setItem('CompanyRemark', CompanyRemark) |
| | | localStorage.setItem('RateGradeFlag', '') |
| | |
| | | this.$store.commit('setMainTag', 'login') |
| | | this.$router.push({ |
| | | // name: this.$config.homeName |
| | | name: 'newsFlashEx_tool' |
| | | name: 'login' |
| | | }) |
| | | // this.$router.push({ |
| | | // name: res.Data.currentRedirect |
| | |
| | | }, |
| | | { |
| | | title: '城投平台', |
| | | url: 'zhengxinCompeny', |
| | | url: 'zhengxinCompanys', |
| | | disabled:false |
| | | }, |
| | | { |
| | |
| | | import customfuzhu from '@/view/reportForms/customfuzhu.vue' |
| | | import axios from '@/libs/api.request' |
| | | export default { |
| | | name: 'reportFormsManage', |
| | | name: 'reportFormsManageEx', |
| | | components: { |
| | | showProjectMessage, |
| | | addcolumns, |