| | |
| | | }, |
| | | { |
| | | index: 4, route: [ |
| | | 'enterpriseRelationshipMining', |
| | | '_homeEx', |
| | | 'rentExchangeCompany', |
| | | 'rentExchangeCompanyZF', |
| | | 'rentExchangeZF' |
| | | |
| | | ] |
| | | }, |
| | | { |
| | | index: 5, route: [ |
| | | 'fundMonitoring', |
| | | 'controlList', |
| | | 'bankPunishNewEvent', |
| | |
| | | restoreTrash, |
| | | loginwechat |
| | | } from '@/api/user' |
| | | import {setToken, getToken} from '@/libs/util' |
| | | import {setToken, getToken,} from '@/libs/util' |
| | | import {Message} from 'view-design' |
| | | |
| | | export default { |
| | | state: { |
| | | RealName: '', |
| | | userName: '', |
| | | // userName: '', |
| | | userName: localStorage.getItem('userName') || '', |
| | | userId: '', |
| | | defaultworkflow: '', |
| | | avatorImgPath: '', |
| | | // avatorImgPath: '', |
| | | avatorImgPath: localStorage.getItem('avatorImgPath') || '', |
| | | RateGradeFlag: true, |
| | | localAccess:'', |
| | | token: getToken(), |
| | |
| | | }, |
| | | setUserName (state, name) { |
| | | state.userName = name |
| | | // setToken(token) |
| | | }, |
| | | setRealName (state, RealName) { |
| | | state.RealName = RealName |
| | |
| | | title: '被处罚人(个人)', |
| | | key: 'xm', |
| | | align: 'center', |
| | | width: 150, |
| | | width: 250, |
| | | // slot: 'NameOfTenantSlot', |
| | | fixed: 'left', |
| | | render: (h, params) => { |
| | |
| | | this.selectListOp = [] |
| | | this.loadingsele = true |
| | | let data = { |
| | | keyword: this.addControlForm.CompanyName |
| | | name: this.addControlForm.CompanyName |
| | | } |
| | | axios.request({ |
| | | url: '/QiChaCha/FuzzySearch', |
| | | // url: '/QiChaCha/FuzzySearch', |
| | | url: '/QiChaCha/GetTycSearch2', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | this.selectListOp = res.data.Data |
| | | console.log(res.data.Data); |
| | | this.selectListOp = JSON.parse(JSON.stringify(res.data.Data.Items)) |
| | | this.loadingsele = false |
| | | } else { |
| | | this.loadingsele = false |
| | |
| | | show: true |
| | | }, |
| | | { |
| | | title: '智能分析平台', |
| | | icon: require('../../assets/images/home/home14.png'), |
| | | children: [ |
| | | { |
| | | title: '企业关系挖掘', |
| | | url: 'enterpriseRelationshipMining', |
| | | disabled: true |
| | | }, |
| | | { |
| | | title: '企业评估-通用版', |
| | | url: '_homeEx', |
| | | disabled: true |
| | | }, |
| | | { |
| | | title: '企业评估-租赁公司', |
| | | url: 'rentExchange', |
| | | disabled: true |
| | | }, |
| | | { |
| | | title: '企业评估-城投平台', |
| | | url: 'rentExchangeZF', |
| | | disabled: true |
| | | }, |
| | | ] |
| | | |
| | | }, |
| | | { |
| | | title: '监控中心', |
| | | icon: require('../../assets/images/home/home_15.png'), |
| | | children: [ |
| | |
| | | { url: 'xinSanBanInfos', url2: 'xinSanBanInfos' }, |
| | | { url: 'basicAttributes_tool', url2: 'basicAttributes_tool' }, |
| | | |
| | | { url: 'enterpriseRelationshipMining', url2: 'enterpriseRelationshipMining' }, |
| | | { url: '_homeEx', url2: '_homeEx' }, |
| | | { url: 'rentExchange', url2: 'rentExchange' }, |
| | | { url: 'rentExchangeZF', url2: 'rentExchangeZF' }, |
| | | |
| | | |
| | | { url: 'fundMonitoring', url2: 'fundMonitoring' }, |
| | | { url: 'controlList', url2: 'controlList' }, |
| | | { url: 'bankPunishNewEvent', url2: 'bankPunishNewEvent' }, |
| | |
| | | |
| | | methods: { |
| | | chooseRoute(e, index) { |
| | | console.log(e,index); |
| | | this.activeIndex = 100 |
| | | console.log(this.activeIndex); |
| | | sessionStorage.setItem('loginClick', e.url) |
| | |
| | | } |
| | | }, |
| | | changeMenu(item, index) { |
| | | console.log(item, index); |
| | | if (index == 0) { |
| | | this.activeIndex = index |
| | | localStorage.setItem('powerAccess', 'login') |
| | |
| | | 'messageUnreadCount' |
| | | ]), |
| | | token() { |
| | | console.log(this.$store.state.user.token); |
| | | return this.$store.state.user.token |
| | | }, |
| | | userName() { |
| | |
| | | this.getUserInfo().then(res => { |
| | | this.$store.commit('openloginModal', false) |
| | | this.$store.state.user.current = '' |
| | | localStorage.setItem('avatorImgPath', res.Data.avator) |
| | | localStorage.setItem('CompanyRemark', CompanyRemark) |
| | | localStorage.setItem('RateGradeFlag', '') |
| | | localStorage.setItem('inputType', '') |
| | |
| | | console.log(res); |
| | | this.$store.commit('openloginModal', false) |
| | | this.$store.state.user.current = '' |
| | | localStorage.setItem('avatorImgPath', res.Data.avator) |
| | | localStorage.setItem('CompanyRemark', CompanyRemark) |
| | | localStorage.setItem('RateGradeFlag', '') |
| | | localStorage.setItem('inputType', '') |