更新pipeline跳转

This commit is contained in:
pengluan 2022-08-03 10:14:20 +08:00
parent b505512457
commit 37cece292e
6 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
{
"files": {
"main.js": "./static/js/main.da732006.js",
"static/js/805.1e3ae630.chunk.js": "./static/js/805.1e3ae630.chunk.js",
"main.js": "./static/js/main.ae22b537.js",
"static/js/805.9c1ecd6b.chunk.js": "./static/js/805.9c1ecd6b.chunk.js",
"static/js/31.4e25c8af.chunk.js": "./static/js/31.4e25c8af.chunk.js",
"static/css/347.b3f525d1.chunk.css": "./static/css/347.b3f525d1.chunk.css",
"static/js/347.f8686cf3.chunk.js": "./static/js/347.f8686cf3.chunk.js",
@ -71,6 +71,6 @@
"static/media/app.less": "./static/media/app.eab37f702388f3e63396.less"
},
"entrypoints": [
"static/js/main.da732006.js"
"static/js/main.ae22b537.js"
]
}

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="./manifest.json"/><title>机器学习平台</title><script defer="defer" src="./static/js/main.da732006.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="app"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="./manifest.json"/><title>机器学习平台</title><script defer="defer" src="./static/js/main.ae22b537.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="app"></div></body></html>

View File

@ -1182,7 +1182,7 @@ class Pipeline_ModelView_Base():
@expose("/web/workflow/<pipeline_id>", methods=["GET"])
def web_workflow(self,pipeline_id):
url = conf.get('MODEL_URLS', {}).get('workflow', '') + '?filter=' + urllib.parse.quote(json.dumps([{"key": "label", "value": '"pipeline-id": "%s"'%pipeline_id}], ensure_ascii=False))
url = conf.get('MODEL_URLS', {}).get('workflow', '') + '?filter=' + urllib.parse.quote(json.dumps([{"key": "labels", "value": '"pipeline-id": "%s"'%pipeline_id}], ensure_ascii=False))
print(url)
return redirect(url)