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

add page model headerinfo

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