首页-知识库-数据展示

This commit is contained in:
gaoyuanwei 2022-06-22 16:36:04 +08:00
parent 2b79dd385d
commit f082474aba
1 changed files with 12 additions and 16 deletions

View File

@ -56,20 +56,14 @@
</div> </div>
<div class="item"> <div class="item">
<div class="zs">知识库</div> <div class="zs">知识库</div>
<div class="name"> <div
1-关于组织实施青岛市虚拟现实产业发展行动计划20222024的通知 class="name"
</div> v-for="(item, index) in zsList"
<div class="name"> :key="item.id"
2-关于印发青岛市加快集成电路产业发展若干政策措施的通知 :class="index == 4 ? 'name-last' : ''"
</div> @click="selectOne(item.id)"
<div class="name"> >
3-关于印发青岛西海岸新区高质量发展行动方案2022-2024的通知 {{ index + 1 }}-{{ item.name }}
</div>
<div class="name">
4-关于印发2022年青岛市人民政府立法工作计划的通知
</div>
<div class="name name-last">
5-关于印发青岛市实施硕果计划加快促进科技成果转移转化若干政策措施的通知
</div> </div>
<div class="btn" @click="jumpPage('知识库')">查看更多</div> <div class="btn" @click="jumpPage('知识库')">查看更多</div>
</div> </div>
@ -86,6 +80,8 @@
const router = useRouter() const router = useRouter()
const zjList = ref([]) const zjList = ref([])
const yyList = ref([]) const yyList = ref([])
//
const zsList = ref([])
// const jcList = ref([]) // const jcList = ref([])
const paramsGetResources = { const paramsGetResources = {
districtId: '', districtId: '',
@ -100,13 +96,13 @@
const getAppResources = (type, obj) => { const getAppResources = (type, obj) => {
paramsGetResources.type = type paramsGetResources.type = type
pageWithAttrs(paramsGetResources).then((res) => { pageWithAttrs(paramsGetResources).then((res) => {
console.log('查询列表============>', res.data.data.records) console.log('知识库查询列表============>', res.data.data.records)
obj.value = res.data.data.records obj.value = res.data.data.records
}) })
} }
getAppResources('组件服务', zjList) getAppResources('组件服务', zjList)
getAppResources('应用资源', yyList) getAppResources('应用资源', yyList)
// getAppResources('', jcList) getAppResources('知识库', zsList)
function jumpPage(type) { function jumpPage(type) {
// store // store