Commit 2cd449f2 authored by huangjie's avatar huangjie

*

parent a7bad7a8
This diff is collapsed.
...@@ -66,6 +66,7 @@ export const constantRoutes = [ ...@@ -66,6 +66,7 @@ export const constantRoutes = [
path: '', path: '',
component: Layout, component: Layout,
redirect: 'index', redirect: 'index',
hidden: true,
children: [ children: [
{ {
path: 'index', path: 'index',
......
<template> <template>
<div style="text-align: center;padding-top: 150px">欢迎进入大数据经营管理支撑服务平台</div> <!--<div style="text-align: center;padding-top: 150px">欢迎进入大数据经营管理支撑服务平台</div>-->
</template> </template>
<script> <script>
export default { export default {
name: "Index", name: "Index",
created() {
this.$tab.closeOpenPage({path:'/index/gys'})
}
} }
</script> </script>
<!--<template>--> <!--<template>-->
......
<template>
<div style="padding: 24px;border-radius: 4px">
<img src="@/assets/images/projectCostLedger/BI.png" class="widimgs">
</div>
</template>
<script>
export default {
name: 'BI'
}
</script>
<style scoped>
.widimgs{
width: 100%;
height: 100%;
border-radius: 4px;
}
</style>
<template>
<div style="padding: 24px;border-radius: 4px">
<img src="@/assets/images/projectCostLedger/1920.png" class="widimgs">
</div>
</template>
<script>
export default {
name: 'gys'
}
</script>
<style scoped>
.widimgs{
width: 100%;
height: 100%;
border-radius: 4px;
}
</style>
...@@ -426,7 +426,7 @@ ...@@ -426,7 +426,7 @@
.bgimg{ .bgimg{
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url("../assets/images/login/img.png") no-repeat center; background: url("../assets/images/login/img1.png") no-repeat center;
background-size: cover; background-size: cover;
padding-top: 10%; padding-top: 10%;
padding-left: 14%; padding-left: 14%;
......
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
breadCrumbTrigger(item) { breadCrumbTrigger(item) {
console.log(item); console.log(item);
if (item.path == "root") { if (item.path == "root") {
this.$router.push("/projectCostLedger"); this.$router.push("/projectCostLedger/list");
} }
} }
}, },
......
...@@ -336,6 +336,9 @@ ...@@ -336,6 +336,9 @@
param.projectId = tree.id param.projectId = tree.id
setTimeout(() => { setTimeout(() => {
getProjectHistoryInfo(param).then(res => { getProjectHistoryInfo(param).then(res => {
res.data.forEach(item=>{
item.projectText = item.projectName.replace(/<\/?[^>]+(style=('|")[^'"]*)?>/gi, '')
})
resolve(res.data) resolve(res.data)
}) })
}, 1000) }, 1000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment