Browse Source

fix 单一数据源获取项目信息免权限

dev
巴林闲侠 2 years ago
parent
commit
96b15817f6
  1. 3
      api/config.js
  2. 1
      web/client/src/components/workflow/index.jsx

3
api/config.js

@ -160,7 +160,8 @@ const product = {
{ p: '/alarm/service/api', o: 'POST' }, //后端服务告警入库
{ p: '/data/continuity/api', o: 'POST' }, //数据连续性监控入库
{ p: '/page/performance/api', o: 'POST' }, //页面加载性能入库
{ p: '/alarm/video/added_log', o: 'POST' }
{ p: '/alarm/video/added_log', o: 'POST' },
{ p: '/basic-data/workflow/single/allProject', o: 'GET' },
], // 不做认证的路由,也可以使用 exclude: ["*"] 跳过所有路由
apMergeDeVeAnxinProjectId: AP_MERGE_DEVE_ANXINPROJECT_ID,
anxinCloud: {

1
web/client/src/components/workflow/index.jsx

@ -150,6 +150,7 @@ const WorkFlowModal = (props) => {
allowTransparency="true"
ref={iframeRef}
src={`${webEmis}/process/${processId}/apply?token=${user.token}`}
// src={`${webEmis}/process/${processId}/apply?token=${user.token}`}
width={'100%'}
style={{ height: '100vh' }}
frameBorder="0"

Loading…
Cancel
Save