8dc86919 by zhangmeng

看板

1 parent 143b1c46
......@@ -26,12 +26,13 @@ export function getYS000(url) {
* 营业收入
* @returns {*}
*/
export function getYS001(url) {
export function getYS001(url, objData) {
return request({
method: 'post',
data: {
'INTERFACEID': 'YS001',
'USERCONTEXT': url
'USERCONTEXT': url,
'FIELD': objData
}
})
}
......@@ -40,12 +41,13 @@ export function getYS001(url) {
* 应收余额
* @returns {*}
*/
export function getYS002(url) {
export function getYS002(url, objData) {
return request({
method: 'post',
data: {
'INTERFACEID': 'YS002',
'USERCONTEXT': url
'USERCONTEXT': url,
'FIELD': objData
}
})
}
......@@ -54,12 +56,13 @@ export function getYS002(url) {
* 现金余额
* @returns {*}
*/
export function getYS003(url) {
export function getYS003(url, objData) {
return request({
method: 'post',
data: {
'INTERFACEID': 'YS003',
'USERCONTEXT': url
'USERCONTEXT': url,
'FIELD': objData
}
})
}
......@@ -68,12 +71,13 @@ export function getYS003(url) {
* DSO天数
* @returns {*}
*/
export function getYS004(url) {
export function getYS004(url, objData) {
return request({
method: 'post',
data: {
'INTERFACEID': 'YS004',
'USERCONTEXT': url
'USERCONTEXT': url,
'FIELD': objData
}
})
}
......@@ -82,12 +86,13 @@ export function getYS004(url) {
* (五)董事会得分、领导重点关注
* @returns {*}
*/
export function getYS005(url) {
export function getYS005(url, objData) {
return request({
method: 'post',
data: {
'INTERFACEID': 'YS005',
'USERCONTEXT': url
'USERCONTEXT': url,
'FIELD': objData
}
})
}
......@@ -96,12 +101,13 @@ export function getYS005(url) {
* 左侧 应收账款
* @returns {*}
*/
export function getYS006(url) {
export function getYS006(url, objData) {
return request({
method: 'post',
data: {
'INTERFACEID': 'YS006',
'USERCONTEXT': url
'USERCONTEXT': url,
'FIELD': objData
}
})
}
......@@ -110,12 +116,13 @@ export function getYS006(url) {
* 右侧 开票计划与执行
* @returns {*}
*/
export function getYS007(url) {
export function getYS007(url, objData) {
return request({
method: 'post',
data: {
'INTERFACEID': 'YS007',
'USERCONTEXT': url
'USERCONTEXT': url,
'FIELD': objData
}
})
}
......@@ -125,12 +132,13 @@ export function getYS007(url) {
* 右侧 回款
* @returns {*}
*/
export function getYS008(url) {
export function getYS008(url, objData) {
return request({
method: 'post',
data: {
'INTERFACEID': 'YS008',
'USERCONTEXT': url
'USERCONTEXT': url,
'FIELD': objData
}
})
}
......@@ -139,12 +147,13 @@ export function getYS008(url) {
* 右侧 右侧模块-逾期360天以上未开票
* @returns {*}
*/
export function getYS009(url) {
export function getYS009(url, objData) {
return request({
method: 'post',
data: {
'INTERFACEID': 'YS009',
'USERCONTEXT': url
'USERCONTEXT': url,
'FIELD': objData
}
})
}
......
......@@ -49,14 +49,19 @@ export const constantRoutes = [
}
]
},
// {
// path: '/:pathMatch(.*)*',
// component: () => import('@/views/error/404'),
// hidden: true
// },
{
path: '/:pathMatch(.*)*',
component: () => import('@/views/error/404'),
path: '/401',
component: () => import('@/views/error/401'),
hidden: true
},
{
path: '/401',
component: () => import('@/views/error/401'),
path: '/404',
component: () => import('@/views/error/404'),
hidden: true
},
{
......
<template>
<div class="errPage-container">
<el-button icon="arrow-left" class="pan-back-btn" @click="back">
返回
</el-button>
<!-- <el-button class="pan-back-btn" icon="arrow-left" @click="back">-->
<!-- 返回-->
<!-- </el-button>-->
<el-row>
<el-col :span="12">
<h1 class="text-jumbo text-ginormous">
401错误!
404错误!
</h1>
<h2>您没有访问权限!</h2>
<h6>对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面</h6>
<ul class="list-unstyled">
<li class="link-type">
<router-link to="/">
回首页
</router-link>
</li>
</ul>
<!-- <ul class="list-unstyled">-->
<!-- <li class="link-type">-->
<!-- <router-link to="/">-->
<!-- 回首页-->
<!-- </router-link>-->
<!-- </li>-->
<!-- </ul>-->
</el-col>
<el-col :span="12">
<img :src="errGif" width="313" height="428" alt="Girl has dropped her ice cream.">
<img :src="errGif" alt="Girl has dropped her ice cream." height="428" width="313">
</el-col>
</el-row>
</div>
......@@ -28,13 +28,13 @@
<script setup>
import errImage from '@/assets/401_images/401.gif'
const { proxy } = getCurrentInstance()
const {proxy} = getCurrentInstance()
const errGif = ref(errImage + '?' + +new Date())
function back() {
if (proxy.$route.query.noGoBack) {
proxy.$router.push({ path: '/' })
proxy.$router.push({path: '/'})
} else {
proxy.$router.go(-1)
}
......@@ -46,33 +46,41 @@ function back() {
width: 800px;
max-width: 100%;
margin: 100px auto;
.pan-back-btn {
background: #008489;
color: #fff;
border: none !important;
}
.pan-gif {
margin: 0 auto;
display: block;
}
.pan-img {
display: block;
margin: 0 auto;
width: 100%;
}
.text-jumbo {
font-size: 60px;
font-weight: 700;
color: #484848;
}
.list-unstyled {
font-size: 14px;
li {
padding-bottom: 5px;
}
a {
color: #008489;
text-decoration: none;
&:hover {
text-decoration: underline;
}
......
<template>
<div class="main">
<el-row class="w100">
<el-col :span="type==''?8:12">
<left-page :type="type" :url="result"/>
<el-col :span="type==''?8:12">
<left-page :obj="obj" :type="type" :url="result"/>
</el-col>
<el-col v-if="type==''" :span="8">
<center-page :type="type=='是'" :url="result"/>
<el-col v-if="type==''" :span="8">
<center-page :obj="obj" :type="type=='否'" :url="result"/>
</el-col>
<el-col :span="type==''?8:12">
<right-page :type="type" :url="result"/>
<el-col :span="type==''?8:12">
<right-page :obj="obj" :type="type" :url="result"/>
</el-col>
</el-row>
</div>
</template>
......@@ -20,27 +21,32 @@ import LeftPage from "@/viewsPc/vip/leftPage"
import CenterPage from "@/viewsPc/vip/centerPage"
import RightPage from "@/viewsPc/vip/rightPage"
import {getYS000} from '@/api/server.js'
import {ref, onMounted} from 'vue'
import {ref, onMounted, getCurrentInstance} from 'vue'
import Errorhome from '@/views/error/404.vue'
const type = ref('')
const type = ref('')
const url = ref()
const obj = ref({})
const result = ref()
// const url = ref('http://192.168.1.152:8899/login/sid=5342b777-d86a-4967-a18b-7329a3fca56b#/')
// const url = ref('http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/')
url.value = window.location.href
url.value = 'http://192.168.1.152:8899/login/sid=5342b777-d86a-4967-a18b-7329a3fca56b#/'
// url.value ='http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/'
// url.value = window.location.href
result.value = url.value?.split('=')[1]?.split('#')[0];
onMounted(() => {
console.log(url.value)
console.log(result.value)
if (result.value) handelGetYS000()
if (result.value) {
handelGetYS000()
} else {
// handelGetYS000()
}
})
async function handelGetYS000() {
const res = await getYS000(result.value)
type.value = res.data?.IFBASE || '否'
obj.value = res.data
}
......
......@@ -13,7 +13,7 @@
<div><img alt="" class="rTop-img" src="@/assets/image/more@2x.png"></div>
</div>
<div class="rBotton">
<ScrollingData :data="form.leaderinfo" speed="1"/>
<ScrollingData :data="form.leaderinfo" :speed=".3"/>
</div>
</div>
</div>
......@@ -106,6 +106,11 @@ const props = defineProps({
url: {
type: String,
default: undefined
},
boj: {
type: Object,
default: () => {
}
}
})
......@@ -393,6 +398,7 @@ const handelBing1 = (arr1, arr2) => {
show: true, // 显示标签
position: 'center', // 位置居中
formatter: (arr1.TOTAL / 10000).toFixed(), // 文字内容
color: "#ffff",
rich: {
total: {
fontSize: 5,
......@@ -434,6 +440,7 @@ const handelBing1 = (arr1, arr2) => {
show: false, // 显示标签
position: 'center', // 位置居中
formatter: (arr1.TOTAL / 10000).toFixed(), // 文字内容
color: "#ffff",
rich: {
total: {
fontSize: 5,
......@@ -560,6 +567,7 @@ const handelBing2 = (row1, row2) => {
show: true, // 显示标签
position: 'center', // 位置居中
formatter: (row1.TOTAL / 10000).toFixed() || 0, // 文字内容
color: "#ffff",
rich: {
total: {
fontSize: 5,
......@@ -676,6 +684,7 @@ const handelBing3 = (row1, row2) => {
show: true, // 显示标签
position: 'center', // 位置居中
formatter: (row1.TOTAL / 10000).toFixed() || 0, // 文字内容
color: "#ffff",
rich: {
total: {
fontSize: 5,
......@@ -1354,7 +1363,7 @@ onUnmounted(() => {
font-weight: 600;
font-size: calc(20 * 100vw / 1920);
color: #FFFFFF;
text-shadow: 0px 2px 0px rgba(0, 1, 1, 0.41);
//text-shadow: 0px 2px 0px rgba(0, 1, 1, 0.41);
background: linear-gradient(180deg, #75E2E9 0%, #FFFFFF 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
......@@ -1399,7 +1408,7 @@ onUnmounted(() => {
font-weight: 600;
font-size: calc(20 * 100vw / 1920);
color: #FFFFFF;
text-shadow: 0 2px 0 rgba(0, 1, 1, 0.41);
//text-shadow: 0 2px 0 rgba(0, 1, 1, 0.41);
background: linear-gradient(180deg, #75E2E9 0%, #FFFFFF 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
......
......@@ -808,7 +808,7 @@ onUnmounted(() => {
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
padding: calc(12 * 100vw / 1920) calc(5 * 100vw / 1920) 0;
font-size: calc(14 * 100vw / 1920);
font-size: calc(22 * 100vw / 1920);
position: relative;
&::after {
......
......@@ -595,7 +595,8 @@ const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => {
label: {
formatter: BC + '%',
position: 'end', // 可选值: 'start', 'middle', 'end'
distance: [-20, 40]
distance: [-20, 40],
color: "#fff"
}
}
]
......@@ -1002,7 +1003,7 @@ onUnmounted(() => {
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
padding: calc(12 * 100vw / 1920) calc(5 * 100vw / 1920) 0;
font-size: calc(14 * 100vw / 1920);
font-size: calc(22 * 100vw / 1920);
position: relative;
&::after {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!