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

add page model headerinfo

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