|
@@ -1609,7 +1609,7 @@ $(document).ready(function() {
|
|
|
}
|
|
}
|
|
|
refreshTenderFileType() {
|
|
refreshTenderFileType() {
|
|
|
const html = [];
|
|
const html = [];
|
|
|
- for (const tft of this.tenderFileType) html.push(`<option value="${tft.value}">${tft.text}</option>`);
|
|
|
|
|
|
|
+ for (const tft of this.tenderFileType) html.push(`<option value="${tft.value}">${_.escape(tft.text)}</option>`);
|
|
|
$('#tf-type').html(html.join(''));
|
|
$('#tf-type').html(html.join(''));
|
|
|
}
|
|
}
|
|
|
refreshSelects(tender) {
|
|
refreshSelects(tender) {
|
|
@@ -1639,7 +1639,7 @@ $(document).ready(function() {
|
|
|
this.tenderFileType.push({ value: 'change', text: '变更令', select: tender.change.map(x => ({ value: x.cid, text: x.code })) });
|
|
this.tenderFileType.push({ value: 'change', text: '变更令', select: tender.change.map(x => ({ value: x.cid, text: x.code })) });
|
|
|
}
|
|
}
|
|
|
if (tender.change_plan && tender.change_plan.length > 0) {
|
|
if (tender.change_plan && tender.change_plan.length > 0) {
|
|
|
- this.tenderFileType.push({ value: 'change_plan', text: '变更方案', select: tender.change_plan.map(x => ({ value: x.id, text: x.code })) });
|
|
|
|
|
|
|
+ this.tenderFileType.push({ value: 'change_plan', text: planName, select: tender.change_plan.map(x => ({ value: x.id, text: x.code })) });
|
|
|
}
|
|
}
|
|
|
if (tender.change_apply && tender.change_apply.length > 0) {
|
|
if (tender.change_apply && tender.change_apply.length > 0) {
|
|
|
this.tenderFileType.push({ value: 'change_apply', text: '变更申请', select: tender.change_apply.map(x => ({ value: x.id, text: x.code })) });
|
|
this.tenderFileType.push({ value: 'change_apply', text: '变更申请', select: tender.change_apply.map(x => ({ value: x.id, text: x.code })) });
|
|
@@ -1666,7 +1666,7 @@ $(document).ready(function() {
|
|
|
const checked = f.checked ? 'checked' : '';
|
|
const checked = f.checked ? 'checked' : '';
|
|
|
html.push(`<td><input type="checkbox" name="rf-check" rfid="${f.rf_id}" ${checked}></td>`);
|
|
html.push(`<td><input type="checkbox" name="rf-check" rfid="${f.rf_id}" ${checked}></td>`);
|
|
|
html.push(`<td>${f.filename}${f.fileext}</td>`);
|
|
html.push(`<td>${f.filename}${f.fileext}</td>`);
|
|
|
- html.push(`<td>${typeStr.join(' - ')}</td>`);
|
|
|
|
|
|
|
+ html.push(`<td>${_.escape(typeStr.join(' - '))}</td>`);
|
|
|
html.push('</tr>');
|
|
html.push('</tr>');
|
|
|
}
|
|
}
|
|
|
$('#rf-files').html(html.join(''));
|
|
$('#rf-files').html(html.join(''));
|