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

add page model headerinfo

上级 b70d2307
...@@ -180,6 +180,7 @@ export default { ...@@ -180,6 +180,7 @@ export default {
watch: { watch: {
percentData: { percentData: {
handler(newValue) { handler(newValue) {
console.log('--percentData', newValue);
return newValue; return newValue;
}, },
deep: true, deep: true,
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
white-space: nowrap; white-space: nowrap;
&.fixed { &.fixed {
position: fixed; position: fixed;
top: 40px; top: 56px;
width: 100%; width: 100%;
z-index: 1000000000; z-index: 1000000000;
background: #fff; background: #fff;
......
...@@ -324,7 +324,7 @@ export default { ...@@ -324,7 +324,7 @@ export default {
studyRankList: [], studyRankList: [],
costRankList: [], costRankList: [],
projectId: '', projectId: '',
token: '0434E93C02524BE1BA103658B2BFC835', token: '5A8C8B5D697941C8A0303DBFD6247E55',
isOrgStat: false, isOrgStat: false,
// 区域选择通用接口参数 // 区域选择通用接口参数
queryParams: { queryParams: {
...@@ -464,10 +464,6 @@ export default { ...@@ -464,10 +464,6 @@ export default {
window.innerHeight || window.innerHeight ||
0 0
); );
// return {
// 'width': docE && docE.clientWidth || body && body.offsetWidth || window.innerWidth || 0,
// 'height': docE && docE.clientHeight || body && body.offsetHeight || window.innerHeight || 0
// };
}, },
// 切换机构人员列表中的tabs // 切换机构人员列表中的tabs
...@@ -481,8 +477,9 @@ export default { ...@@ -481,8 +477,9 @@ 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;
this.headerInfo.title = console.log('--projectInfo', this.projectInfo);
this.shortName(this.projectInfo.projectName) || '项目名称'; const t = this.shortName(this.projectInfo.projectName) || '项目名称';
this.headerInfo = Object.assign({}, { ...this.headerInfo, title: t });
this.queryGDParams.originalFlag = res.data.doctorInfoRep.originalFlag; this.queryGDParams.originalFlag = res.data.doctorInfoRep.originalFlag;
if (!this.queryGDParams.regionId) { if (!this.queryGDParams.regionId) {
this.setOriginalFlag(res.data.doctorInfoRep.originalFlag); this.setOriginalFlag(res.data.doctorInfoRep.originalFlag);
......
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
title: '学情报告', title: '学情报告',
backMethod: 'native', backMethod: 'native',
}, },
token: '0434E93C02524BE1BA103658B2BFC835', token: '5A8C8B5D697941C8A0303DBFD6247E55',
projectList: [], projectList: [],
isShowKf: true, isShowKf: true,
headerEl: null, headerEl: null,
......
...@@ -1387,10 +1387,10 @@ ...@@ -1387,10 +1387,10 @@
axios "^0.18.0" axios "^0.18.0"
vue "^2.5.17" vue "^2.5.17"
"@pica-kit/page-model@^1.0.8": "@pica-kit/page-model@^1.0.10":
version "1.0.8" version "1.0.10"
resolved "http://192.168.110.93:4873/@pica-kit%2fpage-model/-/page-model-1.0.8.tgz#29ca9fd26c4b966ae83858411603a9837aebec1a" resolved "http://192.168.110.93:4873/@pica-kit%2fpage-model/-/page-model-1.0.10.tgz#d4e6b05d316e27d99323d0128a1ca973e1d23dfe"
integrity sha512-MfL2Nye1BeeoGuQL5+fbwq/P3fvyz/1xP3dbHXehWO3dXXd1YtfHnnLlpk3NV0gm9SzeEgRbLgMtQa+L3qXYDQ== integrity sha512-H6YrYPr1j6+cibnPlyOLUr31RWtv55TSg8teulrx37JX9uiNrbp95ruDVoNswIPcecSFBQAWwstvpQ2sagfIDQ==
dependencies: dependencies:
axios "^0.21.4" axios "^0.21.4"
callapp-lib "^3.5.1" callapp-lib "^3.5.1"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册