changes
This commit is contained in:
parent
77304e2e80
commit
bd2a1a9cf2
|
@ -148,8 +148,11 @@ def func(iid_list: list, db: Session = Depends(get_db)):
|
|||
for param in params:
|
||||
param_dict = dict()
|
||||
param_dict['参数'] = param.ename
|
||||
data = param.path.split("-")
|
||||
param_dict['加载路径'] = data
|
||||
path = param.path
|
||||
if path:
|
||||
param_dict['加载路径'] = param.path.split("-")
|
||||
else:
|
||||
param_dict['加载路径'] = None
|
||||
index['指标参数'].append(param_dict)
|
||||
result['指标及权重'].append(index)
|
||||
|
||||
|
|
Loading…
Reference in New Issue