Compare commits
2 Commits
b1681711e9
...
1325d5af6d
Author | SHA1 | Date |
---|---|---|
|
1325d5af6d | 1 month ago |
|
9523afc21a | 1 month ago |
7 changed files with 301 additions and 43 deletions
@ -0,0 +1,21 @@ |
|||
import request from "@/http/http"; |
|||
|
|||
//政策文件
|
|||
export function zhxxList(data) { |
|||
return request({ |
|||
url: "/enterprise/zhxx/zc/list", |
|||
method: "post", |
|||
data: data |
|||
}); |
|||
} |
|||
|
|||
//政策文件
|
|||
export function zhxxDetail(id) { |
|||
return request({ |
|||
url: `enterprise/zhxx/${id}`, |
|||
method: "get", |
|||
}); |
|||
} |
|||
|
|||
|
|||
|
@ -0,0 +1,97 @@ |
|||
<template> |
|||
<div class="doc-wrap"></div> |
|||
</template> |
|||
<script> |
|||
import { zhxxDetail } from "@/api/zhxx"; |
|||
export default { |
|||
name: "policyDocDetail", |
|||
|
|||
data() { |
|||
return { |
|||
id: this.$route.query.id || "" |
|||
}; |
|||
}, |
|||
mounted() { |
|||
this.getDetail(); |
|||
}, |
|||
methods: { |
|||
getDetail() { |
|||
zhxxDetail(this.id).then(res => { |
|||
console.log("xxxxxx", res); |
|||
}); |
|||
} |
|||
} |
|||
}; |
|||
</script> |
|||
<style scoped lang="less"> |
|||
.doc-wrap { |
|||
overflow: hidden; |
|||
width: 100%; |
|||
padding: 20px; |
|||
background-color: #fff; |
|||
border-radius: 8px; |
|||
.table-title { |
|||
height: 47px; |
|||
line-height: 47px; |
|||
background-color: #f6f6f6; |
|||
|
|||
span { |
|||
font-family: PingFangSC, PingFang SC; |
|||
font-weight: 600; |
|||
font-size: 16px; |
|||
color: #333333; |
|||
font-style: normal; |
|||
|
|||
&::before { |
|||
content: ""; |
|||
display: inline-block; |
|||
width: 3px; |
|||
height: 16px; |
|||
background: #005eb7; |
|||
margin-right: 10px; |
|||
vertical-align: middle; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.data-list { |
|||
.item { |
|||
padding-left: 10px; |
|||
position: relative; |
|||
display: flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
height: 40px; |
|||
line-height: 40px; |
|||
border-bottom: 1px solid #f0f0f0; |
|||
cursor: pointer; |
|||
|
|||
&::hover { |
|||
span { |
|||
color: #005eb7; |
|||
} |
|||
} |
|||
span { |
|||
font-family: PingFangSC, PingFang SC; |
|||
font-weight: 400; |
|||
font-size: 14px; |
|||
color: #333333; |
|||
font-style: normal; |
|||
} |
|||
|
|||
&::before { |
|||
position: absolute; |
|||
top: 18px; |
|||
left: 0; |
|||
content: ""; |
|||
display: inline-block; |
|||
width: 5px; |
|||
height: 5px; |
|||
background: #005eb7; |
|||
margin-right: 10px; |
|||
vertical-align: middle; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</style> |
Loading…
Reference in new issue