关于XX工程报告管理平台问题贴
问题1:报告未选择编写人
已驳回页面
https://oa.8888.com/report/reportList?approveStatus=2&showQueryParamTips=true&createId=12345&createBy=///
报告完善界面
https://oa.8888.com/report/reportEdit?id=888888
查看报告网址:
https://oa.8888.com/report/reportLook?id=888888
编写报告网址:
https://oa.8888.com/report/reportEdit?id=888888
系统报告未选择编写人,可自行在编写报告网址中手动填写编写人2(报告id可在取号人台账上查看)
注意:编写报告网址仅有编写权限的人员才能打开
问题2:内嵌标签页打开网址
以下内容在控制台内执行,可实现查看报告、完善报告等功能(id根据需要填写)
刷新当前页面,所有控制台改写的按钮逻辑会自动恢复原样
查看报告页面:
document.querySelectorAll('.el-button--text').forEach(btn => {
if(btn.innerText === '查看'){
btn.onclick = function(e){
e.preventDefault();
e.stopPropagation();
// 调用当前Vue实例,走系统内部标签页,不整页刷新
const vue = document.getElementById('app').__vue__;
vue.$router.push({ path:'/report/reportLook', query:{id:'888888'} });
}
}
});
完善报告页面:
document.querySelectorAll('.el-button--text').forEach(btn => {
if(btn.innerText === '完善'){
btn.onclick = function(e){
e.preventDefault();
e.stopPropagation();
// 调用当前Vue实例,走系统内部标签页,不整页刷新
const vue = document.getElementById('app').__vue__;
vue.$router.push({ path:'/report/reportEdit', query:{id:'888888'} });
}
}
});

浙公网安备 33010602011771号