Merge pull request 'de' (#790) from de into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/790
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="home-bg" v-if="AuthStore.roles.length">
|
<div class="home-bg" v-if="AuthStore.roles.length">
|
||||||
<el-row gutter="10">
|
<el-row gutter="10">
|
||||||
<el-col :xs="24" :sm="24" :md="24" :lg="17" :xl="17">
|
<el-col :xs="24" :sm="24" :md="24" :lg="17" :xl="17">
|
||||||
<div class="top-left">
|
<div class="top-left" id="topLeft">
|
||||||
<el-card shadow="never">
|
<el-card shadow="never">
|
||||||
<div class="notice-title">早上好,小i提醒您<span>有<span>{{ taskTabList[0].num }}</span>个审批待立项</span></div>
|
<div class="notice-title">早上好,小i提醒您<span>有<span>{{ taskTabList[0].num }}</span>个审批待立项</span></div>
|
||||||
<el-row class="statistics">
|
<el-row class="statistics">
|
||||||
@@ -210,7 +210,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="fund-pie" style="text-align: left;margin-left: 60px;margin-top: 10px">研发投入资金统计图</div>
|
<div class="fund-pie" style="text-align: left;margin-left: 70px;margin-top: 10px">研发投入资金统计图</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -288,6 +288,7 @@ import {getArticle} from "@/api/article";
|
|||||||
|
|
||||||
const AuthStore = useAuthStore()
|
const AuthStore = useAuthStore()
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
const topLeftHeight = ref('')
|
||||||
const activeName = ref('first')
|
const activeName = ref('first')
|
||||||
const docActiveTab = ref('first')
|
const docActiveTab = ref('first')
|
||||||
const totalMoney = ref('45000')
|
const totalMoney = ref('45000')
|
||||||
@@ -389,7 +390,58 @@ const todoList = ref([
|
|||||||
totalTime: '10',
|
totalTime: '10',
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
const noticeList = ref([])
|
const noticeList = ref([
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,升级通知,期间部分服务将暂升级通知,期间部分服务将暂升级通知,期间部分服务将暂将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停4324234'
|
||||||
|
// }, {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// articleTitle: '系统升级通知,期间部分服务将暂停4324234'
|
||||||
|
// }
|
||||||
|
])
|
||||||
const rulesList = ref([])
|
const rulesList = ref([])
|
||||||
const helpDocList = ref([])
|
const helpDocList = ref([])
|
||||||
const problemList = ref([])
|
const problemList = ref([])
|
||||||
@@ -562,7 +614,11 @@ const moneyPieOption = ref({
|
|||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
// getTodoList()
|
// getTodoList()
|
||||||
await getResearchChart()
|
await getResearchChart()
|
||||||
|
// nextTick(() => {
|
||||||
|
// let topLeft=document.getElementById('topLeft')
|
||||||
|
// console.info("🚀 ~method:topLeft -----", topLeft.offsetHeight)
|
||||||
|
// topLeftHeight.value=topLeft.offsetHeight
|
||||||
|
// })
|
||||||
noticeList.value = await getArticleList(0)
|
noticeList.value = await getArticleList(0)
|
||||||
rulesList.value = await getArticleList(1)
|
rulesList.value = await getArticleList(1)
|
||||||
helpDocList.value = await getArticleList(2)
|
helpDocList.value = await getArticleList(2)
|
||||||
@@ -618,7 +674,6 @@ const getTodoList = () => {
|
|||||||
const getResearchChart = () => {
|
const getResearchChart = () => {
|
||||||
getResearchFundChart().then(res => {
|
getResearchFundChart().then(res => {
|
||||||
if (res.code === 1000) {
|
if (res.code === 1000) {
|
||||||
console.info("🚀 ~method:res -----", res.data, res.data.rdCompanyList)
|
|
||||||
totalMoney.value = res.data.totalAmount
|
totalMoney.value = res.data.totalAmount
|
||||||
moneyData.value = res.data.rdCompanyList
|
moneyData.value = res.data.rdCompanyList
|
||||||
if (moneyPieOption.value.series && moneyPieOption.value.series?.length > 0) {
|
if (moneyPieOption.value.series && moneyPieOption.value.series?.length > 0) {
|
||||||
@@ -639,8 +694,6 @@ const getArticleList = async (articleType) => {
|
|||||||
let {data, code, msg} = await getArticle({articleType: articleType})
|
let {data, code, msg} = await getArticle({articleType: articleType})
|
||||||
if (code === 1000) {
|
if (code === 1000) {
|
||||||
return data.rows
|
return data.rows
|
||||||
// todoList.value=res.data.rows
|
|
||||||
// todoNum.value=res.data.total
|
|
||||||
} else {
|
} else {
|
||||||
ElNotification({
|
ElNotification({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
@@ -772,6 +825,15 @@ const handleView = (row) => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@media (min-width: 1200px) and (max-width: 1920px) {
|
||||||
|
.right-top {
|
||||||
|
height: 684px !important;
|
||||||
|
}
|
||||||
|
.home-bg .notice-block {
|
||||||
|
height: 624px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1500px) {
|
@media only screen and (max-width: 1500px) {
|
||||||
.statistics {
|
.statistics {
|
||||||
.block {
|
.block {
|
||||||
@@ -875,14 +937,14 @@ const handleView = (row) => {
|
|||||||
.legend {
|
.legend {
|
||||||
margin-top: 14px;
|
margin-top: 14px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-direction: column;
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
> div:last-child {
|
> div:last-child {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
|
margin-left: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-name {
|
.company-name {
|
||||||
@@ -890,7 +952,7 @@ const handleView = (row) => {
|
|||||||
color: rgba(0, 0, 0, 0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-right: 30px;
|
//margin-right: 30px;
|
||||||
//white-space: nowrap;
|
//white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user