看板
Showing
7 changed files
with
178 additions
and
140 deletions
| ... | @@ -26,12 +26,13 @@ export function getYS000(url) { | ... | @@ -26,12 +26,13 @@ export function getYS000(url) { |
| 26 | * 营业收入 | 26 | * 营业收入 |
| 27 | * @returns {*} | 27 | * @returns {*} |
| 28 | */ | 28 | */ |
| 29 | export function getYS001(url) { | 29 | export function getYS001(url, objData) { |
| 30 | return request({ | 30 | return request({ |
| 31 | method: 'post', | 31 | method: 'post', |
| 32 | data: { | 32 | data: { |
| 33 | 'INTERFACEID': 'YS001', | 33 | 'INTERFACEID': 'YS001', |
| 34 | 'USERCONTEXT': url | 34 | 'USERCONTEXT': url, |
| 35 | 'FIELD': objData | ||
| 35 | } | 36 | } |
| 36 | }) | 37 | }) |
| 37 | } | 38 | } |
| ... | @@ -40,12 +41,13 @@ export function getYS001(url) { | ... | @@ -40,12 +41,13 @@ export function getYS001(url) { |
| 40 | * 应收余额 | 41 | * 应收余额 |
| 41 | * @returns {*} | 42 | * @returns {*} |
| 42 | */ | 43 | */ |
| 43 | export function getYS002(url) { | 44 | export function getYS002(url, objData) { |
| 44 | return request({ | 45 | return request({ |
| 45 | method: 'post', | 46 | method: 'post', |
| 46 | data: { | 47 | data: { |
| 47 | 'INTERFACEID': 'YS002', | 48 | 'INTERFACEID': 'YS002', |
| 48 | 'USERCONTEXT': url | 49 | 'USERCONTEXT': url, |
| 50 | 'FIELD': objData | ||
| 49 | } | 51 | } |
| 50 | }) | 52 | }) |
| 51 | } | 53 | } |
| ... | @@ -54,12 +56,13 @@ export function getYS002(url) { | ... | @@ -54,12 +56,13 @@ export function getYS002(url) { |
| 54 | * 现金余额 | 56 | * 现金余额 |
| 55 | * @returns {*} | 57 | * @returns {*} |
| 56 | */ | 58 | */ |
| 57 | export function getYS003(url) { | 59 | export function getYS003(url, objData) { |
| 58 | return request({ | 60 | return request({ |
| 59 | method: 'post', | 61 | method: 'post', |
| 60 | data: { | 62 | data: { |
| 61 | 'INTERFACEID': 'YS003', | 63 | 'INTERFACEID': 'YS003', |
| 62 | 'USERCONTEXT': url | 64 | 'USERCONTEXT': url, |
| 65 | 'FIELD': objData | ||
| 63 | } | 66 | } |
| 64 | }) | 67 | }) |
| 65 | } | 68 | } |
| ... | @@ -68,12 +71,13 @@ export function getYS003(url) { | ... | @@ -68,12 +71,13 @@ export function getYS003(url) { |
| 68 | * DSO天数 | 71 | * DSO天数 |
| 69 | * @returns {*} | 72 | * @returns {*} |
| 70 | */ | 73 | */ |
| 71 | export function getYS004(url) { | 74 | export function getYS004(url, objData) { |
| 72 | return request({ | 75 | return request({ |
| 73 | method: 'post', | 76 | method: 'post', |
| 74 | data: { | 77 | data: { |
| 75 | 'INTERFACEID': 'YS004', | 78 | 'INTERFACEID': 'YS004', |
| 76 | 'USERCONTEXT': url | 79 | 'USERCONTEXT': url, |
| 80 | 'FIELD': objData | ||
| 77 | } | 81 | } |
| 78 | }) | 82 | }) |
| 79 | } | 83 | } |
| ... | @@ -82,12 +86,13 @@ export function getYS004(url) { | ... | @@ -82,12 +86,13 @@ export function getYS004(url) { |
| 82 | * (五)董事会得分、领导重点关注 | 86 | * (五)董事会得分、领导重点关注 |
| 83 | * @returns {*} | 87 | * @returns {*} |
| 84 | */ | 88 | */ |
| 85 | export function getYS005(url) { | 89 | export function getYS005(url, objData) { |
| 86 | return request({ | 90 | return request({ |
| 87 | method: 'post', | 91 | method: 'post', |
| 88 | data: { | 92 | data: { |
| 89 | 'INTERFACEID': 'YS005', | 93 | 'INTERFACEID': 'YS005', |
| 90 | 'USERCONTEXT': url | 94 | 'USERCONTEXT': url, |
| 95 | 'FIELD': objData | ||
| 91 | } | 96 | } |
| 92 | }) | 97 | }) |
| 93 | } | 98 | } |
| ... | @@ -96,12 +101,13 @@ export function getYS005(url) { | ... | @@ -96,12 +101,13 @@ export function getYS005(url) { |
| 96 | * 左侧 应收账款 | 101 | * 左侧 应收账款 |
| 97 | * @returns {*} | 102 | * @returns {*} |
| 98 | */ | 103 | */ |
| 99 | export function getYS006(url) { | 104 | export function getYS006(url, objData) { |
| 100 | return request({ | 105 | return request({ |
| 101 | method: 'post', | 106 | method: 'post', |
| 102 | data: { | 107 | data: { |
| 103 | 'INTERFACEID': 'YS006', | 108 | 'INTERFACEID': 'YS006', |
| 104 | 'USERCONTEXT': url | 109 | 'USERCONTEXT': url, |
| 110 | 'FIELD': objData | ||
| 105 | } | 111 | } |
| 106 | }) | 112 | }) |
| 107 | } | 113 | } |
| ... | @@ -110,12 +116,13 @@ export function getYS006(url) { | ... | @@ -110,12 +116,13 @@ export function getYS006(url) { |
| 110 | * 右侧 开票计划与执行 | 116 | * 右侧 开票计划与执行 |
| 111 | * @returns {*} | 117 | * @returns {*} |
| 112 | */ | 118 | */ |
| 113 | export function getYS007(url) { | 119 | export function getYS007(url, objData) { |
| 114 | return request({ | 120 | return request({ |
| 115 | method: 'post', | 121 | method: 'post', |
| 116 | data: { | 122 | data: { |
| 117 | 'INTERFACEID': 'YS007', | 123 | 'INTERFACEID': 'YS007', |
| 118 | 'USERCONTEXT': url | 124 | 'USERCONTEXT': url, |
| 125 | 'FIELD': objData | ||
| 119 | } | 126 | } |
| 120 | }) | 127 | }) |
| 121 | } | 128 | } |
| ... | @@ -125,12 +132,13 @@ export function getYS007(url) { | ... | @@ -125,12 +132,13 @@ export function getYS007(url) { |
| 125 | * 右侧 回款 | 132 | * 右侧 回款 |
| 126 | * @returns {*} | 133 | * @returns {*} |
| 127 | */ | 134 | */ |
| 128 | export function getYS008(url) { | 135 | export function getYS008(url, objData) { |
| 129 | return request({ | 136 | return request({ |
| 130 | method: 'post', | 137 | method: 'post', |
| 131 | data: { | 138 | data: { |
| 132 | 'INTERFACEID': 'YS008', | 139 | 'INTERFACEID': 'YS008', |
| 133 | 'USERCONTEXT': url | 140 | 'USERCONTEXT': url, |
| 141 | 'FIELD': objData | ||
| 134 | } | 142 | } |
| 135 | }) | 143 | }) |
| 136 | } | 144 | } |
| ... | @@ -139,12 +147,13 @@ export function getYS008(url) { | ... | @@ -139,12 +147,13 @@ export function getYS008(url) { |
| 139 | * 右侧 右侧模块-逾期360天以上未开票 | 147 | * 右侧 右侧模块-逾期360天以上未开票 |
| 140 | * @returns {*} | 148 | * @returns {*} |
| 141 | */ | 149 | */ |
| 142 | export function getYS009(url) { | 150 | export function getYS009(url, objData) { |
| 143 | return request({ | 151 | return request({ |
| 144 | method: 'post', | 152 | method: 'post', |
| 145 | data: { | 153 | data: { |
| 146 | 'INTERFACEID': 'YS009', | 154 | 'INTERFACEID': 'YS009', |
| 147 | 'USERCONTEXT': url | 155 | 'USERCONTEXT': url, |
| 156 | 'FIELD': objData | ||
| 148 | } | 157 | } |
| 149 | }) | 158 | }) |
| 150 | } | 159 | } | ... | ... |
| 1 | import { | 1 | import { |
| 2 | createWebHistory, | 2 | createWebHistory, |
| 3 | createWebHashHistory, | 3 | createWebHashHistory, |
| 4 | createRouter | 4 | createRouter |
| 5 | } from 'vue-router' | 5 | } from 'vue-router' |
| 6 | /* Layout */ | 6 | /* Layout */ |
| 7 | import Layout from '@/layoutPc' | 7 | import Layout from '@/layoutPc' |
| ... | @@ -38,103 +38,108 @@ import {ElMessage} from "element-plus"; | ... | @@ -38,103 +38,108 @@ import {ElMessage} from "element-plus"; |
| 38 | 38 | ||
| 39 | // 公共路由 | 39 | // 公共路由 |
| 40 | export const constantRoutes = [ | 40 | export const constantRoutes = [ |
| 41 | { | 41 | { |
| 42 | path: '/redirect', | 42 | path: '/redirect', |
| 43 | component: Layout, | 43 | component: Layout, |
| 44 | hidden: true, | 44 | hidden: true, |
| 45 | children: [ | ||
| 46 | { | ||
| 47 | path: '/redirect/:path(.*)', | ||
| 48 | component: () => import('@/views/redirect/index') | ||
| 49 | } | ||
| 50 | ] | ||
| 51 | }, | ||
| 52 | // { | ||
| 53 | // path: '/:pathMatch(.*)*', | ||
| 54 | // component: () => import('@/views/error/404'), | ||
| 55 | // hidden: true | ||
| 56 | // }, | ||
| 57 | { | ||
| 58 | path: '/401', | ||
| 59 | component: () => import('@/views/error/401'), | ||
| 60 | hidden: true | ||
| 61 | }, | ||
| 62 | { | ||
| 63 | path: '/404', | ||
| 64 | component: () => import('@/views/error/404'), | ||
| 65 | hidden: true | ||
| 66 | }, | ||
| 67 | { | ||
| 68 | path: '/index', | ||
| 69 | redirect: '/' | ||
| 70 | }, | ||
| 71 | { | ||
| 72 | path: '/', | ||
| 73 | component: Layout, | ||
| 74 | children: [ | ||
| 75 | { | ||
| 76 | path: '', | ||
| 77 | component: () => import('@/viewsPc/home'), | ||
| 78 | name: 'home' | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | path: 'center', | ||
| 82 | component: () => import('@/viewsPc/center/index'), | ||
| 45 | children: [ | 83 | children: [ |
| 46 | { | 84 | { |
| 47 | path: '/redirect/:path(.*)', | 85 | path: 'myInfo', |
| 48 | component: () => import('@/views/redirect/index') | 86 | component: () => import('@/viewsPc/center/myInfo'), |
| 49 | } | 87 | name: 'myInfo', |
| 88 | meta: {title: '个人中心'} | ||
| 89 | }, | ||
| 90 | { | ||
| 91 | path: 'myPassword', | ||
| 92 | component: () => import('@/viewsPc/center/myPassword'), | ||
| 93 | name: 'myPassword', | ||
| 94 | meta: {title: '修改密码'} | ||
| 95 | } | ||
| 50 | ] | 96 | ] |
| 51 | }, | 97 | } |
| 52 | { | 98 | ] |
| 53 | path: '/:pathMatch(.*)*', | 99 | } |
| 54 | component: () => import('@/views/error/404'), | ||
| 55 | hidden: true | ||
| 56 | }, | ||
| 57 | { | ||
| 58 | path: '/401', | ||
| 59 | component: () => import('@/views/error/401'), | ||
| 60 | hidden: true | ||
| 61 | }, | ||
| 62 | { | ||
| 63 | path: '/index', | ||
| 64 | redirect: '/' | ||
| 65 | }, | ||
| 66 | { | ||
| 67 | path: '/', | ||
| 68 | component: Layout, | ||
| 69 | children: [ | ||
| 70 | { | ||
| 71 | path: '', | ||
| 72 | component: () => import('@/viewsPc/home'), | ||
| 73 | name: 'home' | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | path: 'center', | ||
| 77 | component: () => import('@/viewsPc/center/index'), | ||
| 78 | children: [ | ||
| 79 | { | ||
| 80 | path: 'myInfo', | ||
| 81 | component: () => import('@/viewsPc/center/myInfo'), | ||
| 82 | name: 'myInfo', | ||
| 83 | meta: {title: '个人中心'} | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | path: 'myPassword', | ||
| 87 | component: () => import('@/viewsPc/center/myPassword'), | ||
| 88 | name: 'myPassword', | ||
| 89 | meta: {title: '修改密码'} | ||
| 90 | } | ||
| 91 | ] | ||
| 92 | } | ||
| 93 | ] | ||
| 94 | } | ||
| 95 | ] | 100 | ] |
| 96 | 101 | ||
| 97 | const router = createRouter({ | 102 | const router = createRouter({ |
| 98 | // history: createWebHistory(import.meta.env.VITE_APP_CONTEXT_PATH), | 103 | // history: createWebHistory(import.meta.env.VITE_APP_CONTEXT_PATH), |
| 99 | history: createWebHashHistory(import.meta.env.VITE_APP_CONTEXT_PATH), | 104 | history: createWebHashHistory(import.meta.env.VITE_APP_CONTEXT_PATH), |
| 100 | routes: constantRoutes, | 105 | routes: constantRoutes, |
| 101 | scrollBehavior(to, from, savedPosition) { | 106 | scrollBehavior(to, from, savedPosition) { |
| 102 | if (savedPosition) { | 107 | if (savedPosition) { |
| 103 | return savedPosition | 108 | return savedPosition |
| 104 | } else { | 109 | } else { |
| 105 | return {top: 0} | 110 | return {top: 0} |
| 106 | } | ||
| 107 | } | 111 | } |
| 112 | } | ||
| 108 | }) | 113 | }) |
| 109 | NProgress.configure({showSpinner: false}) | 114 | NProgress.configure({showSpinner: false}) |
| 110 | 115 | ||
| 111 | router.beforeEach((to, from, next) => { | 116 | router.beforeEach((to, from, next) => { |
| 112 | NProgress.start() | 117 | NProgress.start() |
| 113 | next() | 118 | next() |
| 114 | // if (getToken()) { | 119 | // if (getToken()) { |
| 115 | // // 判断当前用户是否已拉取完user_info信息 | 120 | // // 判断当前用户是否已拉取完user_info信息 |
| 116 | // if (!useUserStore().user) { | 121 | // if (!useUserStore().user) { |
| 117 | // | 122 | // |
| 118 | // isRelogin.show = true | 123 | // isRelogin.show = true |
| 119 | // useUserStore().getInfo().then(() => { | 124 | // useUserStore().getInfo().then(() => { |
| 120 | // isRelogin.show = false | 125 | // isRelogin.show = false |
| 121 | // next() // hack方法 确保addRoutes已完成 | 126 | // next() // hack方法 确保addRoutes已完成 |
| 122 | // }).catch(err => { | 127 | // }).catch(err => { |
| 123 | // useUserStore().logOut().then(() => { | 128 | // useUserStore().logOut().then(() => { |
| 124 | // ElMessage.error(err) | 129 | // ElMessage.error(err) |
| 125 | // next({path: '/'}) | 130 | // next({path: '/'}) |
| 126 | // }) | 131 | // }) |
| 127 | // }) | 132 | // }) |
| 128 | // } else { | 133 | // } else { |
| 129 | // next() | 134 | // next() |
| 130 | // } | 135 | // } |
| 131 | // } else { | 136 | // } else { |
| 132 | // // 没有token | 137 | // // 没有token |
| 133 | // next() | 138 | // next() |
| 134 | // } | 139 | // } |
| 135 | }) | 140 | }) |
| 136 | 141 | ||
| 137 | router.afterEach((to) => { | 142 | router.afterEach((to) => { |
| 138 | NProgress.done() | 143 | NProgress.done() |
| 139 | }) | 144 | }) |
| 140 | export default router | 145 | export default router | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div class="errPage-container"> | 2 | <div class="errPage-container"> |
| 3 | <el-button icon="arrow-left" class="pan-back-btn" @click="back"> | 3 | <!-- <el-button class="pan-back-btn" icon="arrow-left" @click="back">--> |
| 4 | 返回 | 4 | <!-- 返回--> |
| 5 | </el-button> | 5 | <!-- </el-button>--> |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="12"> | 7 | <el-col :span="12"> |
| 8 | <h1 class="text-jumbo text-ginormous"> | 8 | <h1 class="text-jumbo text-ginormous"> |
| 9 | 401错误! | 9 | 404错误! |
| 10 | </h1> | 10 | </h1> |
| 11 | <h2>您没有访问权限!</h2> | 11 | <h2>您没有访问权限!</h2> |
| 12 | <h6>对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面</h6> | 12 | <h6>对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面</h6> |
| 13 | <ul class="list-unstyled"> | 13 | <!-- <ul class="list-unstyled">--> |
| 14 | <li class="link-type"> | 14 | <!-- <li class="link-type">--> |
| 15 | <router-link to="/"> | 15 | <!-- <router-link to="/">--> |
| 16 | 回首页 | 16 | <!-- 回首页--> |
| 17 | </router-link> | 17 | <!-- </router-link>--> |
| 18 | </li> | 18 | <!-- </li>--> |
| 19 | </ul> | 19 | <!-- </ul>--> |
| 20 | </el-col> | 20 | </el-col> |
| 21 | <el-col :span="12"> | 21 | <el-col :span="12"> |
| 22 | <img :src="errGif" width="313" height="428" alt="Girl has dropped her ice cream."> | 22 | <img :src="errGif" alt="Girl has dropped her ice cream." height="428" width="313"> |
| 23 | </el-col> | 23 | </el-col> |
| 24 | </el-row> | 24 | </el-row> |
| 25 | </div> | 25 | </div> |
| ... | @@ -28,13 +28,13 @@ | ... | @@ -28,13 +28,13 @@ |
| 28 | <script setup> | 28 | <script setup> |
| 29 | import errImage from '@/assets/401_images/401.gif' | 29 | import errImage from '@/assets/401_images/401.gif' |
| 30 | 30 | ||
| 31 | const { proxy } = getCurrentInstance() | 31 | const {proxy} = getCurrentInstance() |
| 32 | 32 | ||
| 33 | const errGif = ref(errImage + '?' + +new Date()) | 33 | const errGif = ref(errImage + '?' + +new Date()) |
| 34 | 34 | ||
| 35 | function back() { | 35 | function back() { |
| 36 | if (proxy.$route.query.noGoBack) { | 36 | if (proxy.$route.query.noGoBack) { |
| 37 | proxy.$router.push({ path: '/' }) | 37 | proxy.$router.push({path: '/'}) |
| 38 | } else { | 38 | } else { |
| 39 | proxy.$router.go(-1) | 39 | proxy.$router.go(-1) |
| 40 | } | 40 | } |
| ... | @@ -46,33 +46,41 @@ function back() { | ... | @@ -46,33 +46,41 @@ function back() { |
| 46 | width: 800px; | 46 | width: 800px; |
| 47 | max-width: 100%; | 47 | max-width: 100%; |
| 48 | margin: 100px auto; | 48 | margin: 100px auto; |
| 49 | |||
| 49 | .pan-back-btn { | 50 | .pan-back-btn { |
| 50 | background: #008489; | 51 | background: #008489; |
| 51 | color: #fff; | 52 | color: #fff; |
| 52 | border: none !important; | 53 | border: none !important; |
| 53 | } | 54 | } |
| 55 | |||
| 54 | .pan-gif { | 56 | .pan-gif { |
| 55 | margin: 0 auto; | 57 | margin: 0 auto; |
| 56 | display: block; | 58 | display: block; |
| 57 | } | 59 | } |
| 60 | |||
| 58 | .pan-img { | 61 | .pan-img { |
| 59 | display: block; | 62 | display: block; |
| 60 | margin: 0 auto; | 63 | margin: 0 auto; |
| 61 | width: 100%; | 64 | width: 100%; |
| 62 | } | 65 | } |
| 66 | |||
| 63 | .text-jumbo { | 67 | .text-jumbo { |
| 64 | font-size: 60px; | 68 | font-size: 60px; |
| 65 | font-weight: 700; | 69 | font-weight: 700; |
| 66 | color: #484848; | 70 | color: #484848; |
| 67 | } | 71 | } |
| 72 | |||
| 68 | .list-unstyled { | 73 | .list-unstyled { |
| 69 | font-size: 14px; | 74 | font-size: 14px; |
| 75 | |||
| 70 | li { | 76 | li { |
| 71 | padding-bottom: 5px; | 77 | padding-bottom: 5px; |
| 72 | } | 78 | } |
| 79 | |||
| 73 | a { | 80 | a { |
| 74 | color: #008489; | 81 | color: #008489; |
| 75 | text-decoration: none; | 82 | text-decoration: none; |
| 83 | |||
| 76 | &:hover { | 84 | &:hover { |
| 77 | text-decoration: underline; | 85 | text-decoration: underline; |
| 78 | } | 86 | } | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div class="main"> | 2 | <div class="main"> |
| 3 | <el-row class="w100"> | 3 | <el-row class="w100"> |
| 4 | <el-col :span="type=='是'?8:12"> | 4 | <el-col :span="type=='否'?8:12"> |
| 5 | <left-page :type="type" :url="result"/> | 5 | <left-page :obj="obj" :type="type" :url="result"/> |
| 6 | </el-col> | 6 | </el-col> |
| 7 | <el-col v-if="type=='是'" :span="8"> | 7 | <el-col v-if="type=='否'" :span="8"> |
| 8 | <center-page :type="type=='是'" :url="result"/> | 8 | <center-page :obj="obj" :type="type=='否'" :url="result"/> |
| 9 | </el-col> | 9 | </el-col> |
| 10 | <el-col :span="type=='是'?8:12"> | 10 | <el-col :span="type=='否'?8:12"> |
| 11 | <right-page :type="type" :url="result"/> | 11 | <right-page :obj="obj" :type="type" :url="result"/> |
| 12 | </el-col> | 12 | </el-col> |
| 13 | </el-row> | 13 | </el-row> |
| 14 | |||
| 14 | </div> | 15 | </div> |
| 15 | 16 | ||
| 16 | </template> | 17 | </template> |
| ... | @@ -20,27 +21,32 @@ import LeftPage from "@/viewsPc/vip/leftPage" | ... | @@ -20,27 +21,32 @@ import LeftPage from "@/viewsPc/vip/leftPage" |
| 20 | import CenterPage from "@/viewsPc/vip/centerPage" | 21 | import CenterPage from "@/viewsPc/vip/centerPage" |
| 21 | import RightPage from "@/viewsPc/vip/rightPage" | 22 | import RightPage from "@/viewsPc/vip/rightPage" |
| 22 | import {getYS000} from '@/api/server.js' | 23 | import {getYS000} from '@/api/server.js' |
| 23 | import {ref, onMounted} from 'vue' | 24 | import {ref, onMounted, getCurrentInstance} from 'vue' |
| 25 | import Errorhome from '@/views/error/404.vue' | ||
| 24 | 26 | ||
| 25 | const type = ref('否') | 27 | const type = ref('是') |
| 26 | const url = ref() | 28 | const url = ref() |
| 29 | const obj = ref({}) | ||
| 27 | const result = ref() | 30 | const result = ref() |
| 28 | 31 | ||
| 29 | // const url = ref('http://192.168.1.152:8899/login/sid=5342b777-d86a-4967-a18b-7329a3fca56b#/') | 32 | url.value = 'http://192.168.1.152:8899/login/sid=5342b777-d86a-4967-a18b-7329a3fca56b#/' |
| 30 | // const url = ref('http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/') | 33 | // url.value ='http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/' |
| 31 | url.value = window.location.href | 34 | // url.value = window.location.href |
| 32 | result.value = url.value?.split('=')[1]?.split('#')[0]; | 35 | result.value = url.value?.split('=')[1]?.split('#')[0]; |
| 33 | 36 | ||
| 34 | onMounted(() => { | 37 | onMounted(() => { |
| 35 | console.log(url.value) | 38 | if (result.value) { |
| 36 | console.log(result.value) | 39 | handelGetYS000() |
| 37 | if (result.value) handelGetYS000() | 40 | } else { |
| 41 | // handelGetYS000() | ||
| 42 | } | ||
| 38 | }) | 43 | }) |
| 39 | 44 | ||
| 40 | 45 | ||
| 41 | async function handelGetYS000() { | 46 | async function handelGetYS000() { |
| 42 | const res = await getYS000(result.value) | 47 | const res = await getYS000(result.value) |
| 43 | type.value = res.data?.IFBASE || '否' | 48 | type.value = res.data?.IFBASE || '否' |
| 49 | obj.value = res.data | ||
| 44 | } | 50 | } |
| 45 | 51 | ||
| 46 | 52 | ... | ... |
| ... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
| 13 | <div><img alt="" class="rTop-img" src="@/assets/image/more@2x.png"></div> | 13 | <div><img alt="" class="rTop-img" src="@/assets/image/more@2x.png"></div> |
| 14 | </div> | 14 | </div> |
| 15 | <div class="rBotton"> | 15 | <div class="rBotton"> |
| 16 | <ScrollingData :data="form.leaderinfo" speed="1"/> | 16 | <ScrollingData :data="form.leaderinfo" :speed=".3"/> |
| 17 | </div> | 17 | </div> |
| 18 | </div> | 18 | </div> |
| 19 | </div> | 19 | </div> |
| ... | @@ -106,6 +106,11 @@ const props = defineProps({ | ... | @@ -106,6 +106,11 @@ const props = defineProps({ |
| 106 | url: { | 106 | url: { |
| 107 | type: String, | 107 | type: String, |
| 108 | default: undefined | 108 | default: undefined |
| 109 | }, | ||
| 110 | boj: { | ||
| 111 | type: Object, | ||
| 112 | default: () => { | ||
| 113 | } | ||
| 109 | } | 114 | } |
| 110 | 115 | ||
| 111 | }) | 116 | }) |
| ... | @@ -393,6 +398,7 @@ const handelBing1 = (arr1, arr2) => { | ... | @@ -393,6 +398,7 @@ const handelBing1 = (arr1, arr2) => { |
| 393 | show: true, // 显示标签 | 398 | show: true, // 显示标签 |
| 394 | position: 'center', // 位置居中 | 399 | position: 'center', // 位置居中 |
| 395 | formatter: (arr1.TOTAL / 10000).toFixed(), // 文字内容 | 400 | formatter: (arr1.TOTAL / 10000).toFixed(), // 文字内容 |
| 401 | color: "#ffff", | ||
| 396 | rich: { | 402 | rich: { |
| 397 | total: { | 403 | total: { |
| 398 | fontSize: 5, | 404 | fontSize: 5, |
| ... | @@ -434,6 +440,7 @@ const handelBing1 = (arr1, arr2) => { | ... | @@ -434,6 +440,7 @@ const handelBing1 = (arr1, arr2) => { |
| 434 | show: false, // 显示标签 | 440 | show: false, // 显示标签 |
| 435 | position: 'center', // 位置居中 | 441 | position: 'center', // 位置居中 |
| 436 | formatter: (arr1.TOTAL / 10000).toFixed(), // 文字内容 | 442 | formatter: (arr1.TOTAL / 10000).toFixed(), // 文字内容 |
| 443 | color: "#ffff", | ||
| 437 | rich: { | 444 | rich: { |
| 438 | total: { | 445 | total: { |
| 439 | fontSize: 5, | 446 | fontSize: 5, |
| ... | @@ -560,6 +567,7 @@ const handelBing2 = (row1, row2) => { | ... | @@ -560,6 +567,7 @@ const handelBing2 = (row1, row2) => { |
| 560 | show: true, // 显示标签 | 567 | show: true, // 显示标签 |
| 561 | position: 'center', // 位置居中 | 568 | position: 'center', // 位置居中 |
| 562 | formatter: (row1.TOTAL / 10000).toFixed() || 0, // 文字内容 | 569 | formatter: (row1.TOTAL / 10000).toFixed() || 0, // 文字内容 |
| 570 | color: "#ffff", | ||
| 563 | rich: { | 571 | rich: { |
| 564 | total: { | 572 | total: { |
| 565 | fontSize: 5, | 573 | fontSize: 5, |
| ... | @@ -676,6 +684,7 @@ const handelBing3 = (row1, row2) => { | ... | @@ -676,6 +684,7 @@ const handelBing3 = (row1, row2) => { |
| 676 | show: true, // 显示标签 | 684 | show: true, // 显示标签 |
| 677 | position: 'center', // 位置居中 | 685 | position: 'center', // 位置居中 |
| 678 | formatter: (row1.TOTAL / 10000).toFixed() || 0, // 文字内容 | 686 | formatter: (row1.TOTAL / 10000).toFixed() || 0, // 文字内容 |
| 687 | color: "#ffff", | ||
| 679 | rich: { | 688 | rich: { |
| 680 | total: { | 689 | total: { |
| 681 | fontSize: 5, | 690 | fontSize: 5, |
| ... | @@ -1354,7 +1363,7 @@ onUnmounted(() => { | ... | @@ -1354,7 +1363,7 @@ onUnmounted(() => { |
| 1354 | font-weight: 600; | 1363 | font-weight: 600; |
| 1355 | font-size: calc(20 * 100vw / 1920); | 1364 | font-size: calc(20 * 100vw / 1920); |
| 1356 | color: #FFFFFF; | 1365 | color: #FFFFFF; |
| 1357 | text-shadow: 0px 2px 0px rgba(0, 1, 1, 0.41); | 1366 | //text-shadow: 0px 2px 0px rgba(0, 1, 1, 0.41); |
| 1358 | background: linear-gradient(180deg, #75E2E9 0%, #FFFFFF 100%); | 1367 | background: linear-gradient(180deg, #75E2E9 0%, #FFFFFF 100%); |
| 1359 | -webkit-background-clip: text; | 1368 | -webkit-background-clip: text; |
| 1360 | -webkit-text-fill-color: transparent; | 1369 | -webkit-text-fill-color: transparent; |
| ... | @@ -1399,7 +1408,7 @@ onUnmounted(() => { | ... | @@ -1399,7 +1408,7 @@ onUnmounted(() => { |
| 1399 | font-weight: 600; | 1408 | font-weight: 600; |
| 1400 | font-size: calc(20 * 100vw / 1920); | 1409 | font-size: calc(20 * 100vw / 1920); |
| 1401 | color: #FFFFFF; | 1410 | color: #FFFFFF; |
| 1402 | text-shadow: 0 2px 0 rgba(0, 1, 1, 0.41); | 1411 | //text-shadow: 0 2px 0 rgba(0, 1, 1, 0.41); |
| 1403 | background: linear-gradient(180deg, #75E2E9 0%, #FFFFFF 100%); | 1412 | background: linear-gradient(180deg, #75E2E9 0%, #FFFFFF 100%); |
| 1404 | -webkit-background-clip: text; | 1413 | -webkit-background-clip: text; |
| 1405 | -webkit-text-fill-color: transparent; | 1414 | -webkit-text-fill-color: transparent; | ... | ... |
| ... | @@ -808,7 +808,7 @@ onUnmounted(() => { | ... | @@ -808,7 +808,7 @@ onUnmounted(() => { |
| 808 | -webkit-background-clip: text; | 808 | -webkit-background-clip: text; |
| 809 | -webkit-text-fill-color: transparent; | 809 | -webkit-text-fill-color: transparent; |
| 810 | padding: calc(12 * 100vw / 1920) calc(5 * 100vw / 1920) 0; | 810 | padding: calc(12 * 100vw / 1920) calc(5 * 100vw / 1920) 0; |
| 811 | font-size: calc(14 * 100vw / 1920); | 811 | font-size: calc(22 * 100vw / 1920); |
| 812 | position: relative; | 812 | position: relative; |
| 813 | 813 | ||
| 814 | &::after { | 814 | &::after { | ... | ... |
| ... | @@ -595,7 +595,8 @@ const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => { | ... | @@ -595,7 +595,8 @@ const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => { |
| 595 | label: { | 595 | label: { |
| 596 | formatter: BC + '%', | 596 | formatter: BC + '%', |
| 597 | position: 'end', // 可选值: 'start', 'middle', 'end' | 597 | position: 'end', // 可选值: 'start', 'middle', 'end' |
| 598 | distance: [-20, 40] | 598 | distance: [-20, 40], |
| 599 | color: "#fff" | ||
| 599 | } | 600 | } |
| 600 | } | 601 | } |
| 601 | ] | 602 | ] |
| ... | @@ -1002,7 +1003,7 @@ onUnmounted(() => { | ... | @@ -1002,7 +1003,7 @@ onUnmounted(() => { |
| 1002 | -webkit-background-clip: text; | 1003 | -webkit-background-clip: text; |
| 1003 | -webkit-text-fill-color: transparent; | 1004 | -webkit-text-fill-color: transparent; |
| 1004 | padding: calc(12 * 100vw / 1920) calc(5 * 100vw / 1920) 0; | 1005 | padding: calc(12 * 100vw / 1920) calc(5 * 100vw / 1920) 0; |
| 1005 | font-size: calc(14 * 100vw / 1920); | 1006 | font-size: calc(22 * 100vw / 1920); |
| 1006 | position: relative; | 1007 | position: relative; |
| 1007 | 1008 | ||
| 1008 | &::after { | 1009 | &::after { | ... | ... |
-
Please register or sign in to post a comment