文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 7c88f243 by Wang Yuhang

Merge branch 'develop' of ssh://gitlab.redhtc.com:1422/Berlincen/DA-Platform into dev

parents c31610db 2163a879
...@@ -89,11 +89,17 @@ def find_slice_by_task(task_id): ...@@ -89,11 +89,17 @@ def find_slice_by_task(task_id):
index = 0 index = 0
list = [] list = []
while index < len(find): while index < len(find):
if find[index].type == 0:
t = "文本"
elif find[index].type == 1:
t = "图像"
else:
t = "图层"
list.append( list.append(
{ {
'id': find[index].slice_id, 'id': find[index].slice_id,
'fileNum': find[index].document_number, 'fileNum': find[index].document_number,
'type': find[index].type, 'type': t,
'template': find[index].model_id 'template': find[index].model_id
} }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment