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

Commit a4d383a2 by 李景熙

修改前后端发布任务和修改任务的数据命名

parent d45ab8f0
......@@ -61,7 +61,7 @@ def create_task():
i += 1
i = 0
while i < len(data['task']['pictureDomains']):
s = Slice.create_pic_slice(tid, data['task']['pictureDomains'][i]['textarea'])
s = Slice.create_pic_slice(tid, data['task']['pictureDomains'][i]['description'])
j = 0
while j < len(data['task']['pictureDomains'][i]['fileList']):
Data.create_data(s.data, data['task']['pictureDomains'][i]['fileList'][j]['name'],
......@@ -71,7 +71,7 @@ def create_task():
i += 1
i = 0
while i < len(data['task']['layerDomains']):
s = Slice.create_layer_slice(tid, data['task']['layerDomains'][i]['textarea'])
s = Slice.create_layer_slice(tid, data['task']['layerDomains'][i]['description'])
j = 0
while j < len(data['task']['layerDomains'][i]['fileName']):
Data.create_data(s.data, data['task']['layerDomains'][i]['fileName'][j]['name'],
......@@ -144,7 +144,7 @@ def get_task_detail():
textPiecesList.append(
{
'fileList': Data.find_url_by_slice(list1[i]['id']),
'textModel': list1[i]['template']
'piecesOptions': list1[i]['template']
}
)
i += 1
......
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