提交 7ddd29c2 编写于 作者: 张磊's avatar 张磊

add page model headerinfo

上级 cc33356f
......@@ -101,7 +101,8 @@ export default {
<style scoped lang="scss">
.coop-container {
position: relative;
margin: 0px 15px;
top: -14px;
//margin: 0px 15px;
&-status {
position: absolute;
top: 6px;
......
......@@ -180,7 +180,6 @@ export default {
watch: {
percentData: {
handler(newValue) {
console.log('--percentData', newValue);
return newValue;
},
deep: true,
......
......@@ -477,7 +477,6 @@ export default {
getAreaOrOrgList(params).then((res) => {
if (res.code === '000000') {
this.projectInfo = res.data.doctorInfoRep;
console.log('--projectInfo', this.projectInfo);
const t = this.shortName(this.projectInfo.projectName) || '项目名称';
this.headerInfo = Object.assign({}, { ...this.headerInfo, title: t });
this.queryGDParams.originalFlag = res.data.doctorInfoRep.originalFlag;
......
<template>
<!-- 专项合作首页: 我参与的,其它项目 -->
<div class="pro-list-container">
<!-- <CommonHeader :title="title"></CommonHeader> -->
<PageModel
ref="PageModel"
:header-info="headerInfo"
@onService="goKf"
/>
<CoopListItem
style="margin: 10px 0"
:data-list="projectList"
/>
<CoopListItem :data-list="projectList" />
</div>
</template>
<script>
......@@ -32,7 +28,7 @@ export default {
title: '学情报告',
backMethod: 'native',
},
token: '5A8C8B5D697941C8A0303DBFD6247E55',
token: '0434E93C02524BE1BA103658B2BFC835',
projectList: [],
isShowKf: true,
headerEl: null,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册