[liang] 3 years ago
parent
commit
444b4d08fd
  1. 9
      src/components/companySummary/talent.vue
  2. 4
      src/main.js
  3. 6
      src/views/Brand.vue

9
src/components/companySummary/talent.vue

@ -120,8 +120,8 @@ export default {
let option = { let option = {
title: { title: {
text: `总金额: ${this.chartData ? this.chartData.totalAmount || 0 : 0}`, text: `总金额: ${this.chartData ? this.chartData.totalAmount || 0 : 0}`,
top: 20, top: '12%',
left: 200, left: '45%',
textStyle: { textStyle: {
// //
color: '#fff', color: '#fff',
@ -129,10 +129,9 @@ export default {
}, },
legend: { legend: {
right: 210, right: '35%',
orient: 'vertical', orient: 'vertical',
top: 60, top: '25%',
bottom: 20,
data: legendData, data: legendData,
icon: "circle", icon: "circle",
textStyle: { textStyle: {

4
src/main.js

@ -14,10 +14,10 @@ import dayjs from 'dayjs'
import '@/assets/styles/base.scss' import '@/assets/styles/base.scss'
import '@/assets/styles/common.scss' import '@/assets/styles/common.scss'
import '@/assets/iconfont/iconfont.css' import '@/assets/iconfont/iconfont.css'
import loadingViewerVue from 'loading-view-vue'
Vue.use(loadingViewerVue)
Vue.use(vueParticles) Vue.use(vueParticles)
Vue.use(Vcomp) Vue.use(Vcomp)
Vue.config.productionTip = false Vue.config.productionTip = false
Vue.prototype.axios = axios Vue.prototype.axios = axios
Vue.prototype.dayjs = dayjs Vue.prototype.dayjs = dayjs

6
src/views/Brand.vue

@ -141,7 +141,6 @@ import { BiApi } from "@/api/form";
import "@/assets/js/flexible"; import "@/assets/js/flexible";
import "@/assets/js/china"; import "@/assets/js/china";
import countTo from "vue-count-to"; import countTo from "vue-count-to";
const paramsArr = window.location.href.split('?') const paramsArr = window.location.href.split('?')
let authCode = '' let authCode = ''
if (paramsArr.length > 1) { if (paramsArr.length > 1) {
@ -203,10 +202,15 @@ export default {
}, },
mounted() { mounted() {
if (authCode && typeof +authCode === 'number') { if (authCode && typeof +authCode === 'number') {
this.$showLoading();
this.heart(); this.heart();
setTimeout(() => { setTimeout(() => {
this.getEchart(); this.getEchart();
}, 800); }, 800);
// loading
setTimeout(() => {
this.$hideLoading();
}, 900);
} else { } else {
// console.log('', authCode); // console.log('', authCode);
alert('授权码为空,请从系统调用页面!') alert('授权码为空,请从系统调用页面!')

Loading…
Cancel
Save