|
@@ -134,8 +134,12 @@ function getTenderTreeHtml () {
|
|
|
}
|
|
|
$(document).ready(function () {
|
|
|
initTenderTree();
|
|
|
- const html = getTenderTreeHtml();
|
|
|
- $('#copyModalContent').html(html);
|
|
|
+ $('#tenderBtn').click(() => {
|
|
|
+ const html = getTenderTreeHtml();
|
|
|
+ $('#copyModalContent').html(html);
|
|
|
+ $('#sort input[value="'+ addDataCollect +'"]').prop('checked', true);
|
|
|
+ $('#sort').modal('show');
|
|
|
+ });
|
|
|
|
|
|
$('#tender_dataCollect_btn').click(function () {
|
|
|
// 获取是否新增展示到决策大屏
|
|
@@ -153,6 +157,7 @@ $(document).ready(function () {
|
|
|
if (parseInt(add_datacollect) === addDataCollect) {
|
|
|
is_collect_update = false;
|
|
|
}
|
|
|
+ console.log(_.sortBy(dcTidList), _.sortBy(noTidList), is_list_update, is_collect_update);
|
|
|
if (is_list_update || is_collect_update) {
|
|
|
postData('/setting/datacollect/save', { type: 'tender', add_datacollect: parseInt(add_datacollect), tids: noTidList }, function (result) {
|
|
|
addDataCollect = result.addDataCollect;
|