|
|
@@ -92,6 +92,25 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio |
|
|
|
tools.doGet(Dictionaries+'/area_unit', {}, module.areaDictionaries,true); |
|
|
|
//成交价格字典 |
|
|
|
tools.doGet(Dictionaries+'/price_unit', {}, module.unitDictionaries,true); |
|
|
|
|
|
|
|
if (content.dealType && content.projectStatus == '3'){ |
|
|
|
let query = { |
|
|
|
tableName: 't_transaction_deal_publicity', |
|
|
|
bizPath: 'transaction', |
|
|
|
tableId:content.id, |
|
|
|
fileType:'' |
|
|
|
} |
|
|
|
tools.doGet(attachmentQuery, query, module.attachmentQuery,true); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
module.attachmentQuery = function (data) { |
|
|
|
if (data.code == 200) { |
|
|
|
var content = data.rows; |
|
|
|
module.data.attachmentList = content; |
|
|
|
var attachmentListData = template('attachmentListData', module.data); |
|
|
|
$("#attachmentListContent").html(attachmentListData); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@@ -141,4 +160,4 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio |
|
|
|
} |
|
|
|
|
|
|
|
return module; |
|
|
|
}); |
|
|
|
}); |