|
@@ -24,8 +24,9 @@ class dataRerecords {
|
|
|
return
|
|
|
}
|
|
|
this.code = code
|
|
|
- this.global.popup.setSize(800, 550);
|
|
|
+ this.global.popup.setSize(800, 600);
|
|
|
const popup = this.global.popup.show("数据补录", this.initTemplat());
|
|
|
+ $('.content-btn').css('display', 'none')
|
|
|
this.popup = popup
|
|
|
this.initEvent(popup)
|
|
|
this.pbsInfoInit(popup)
|
|
@@ -88,17 +89,18 @@ class dataRerecords {
|
|
|
}
|
|
|
rerecordData(id) {
|
|
|
let data = {
|
|
|
- isweb: true,
|
|
|
+ isWeb: true,
|
|
|
dataType: this.popup.domObj.find("input[name='dataType']:checked").val(),
|
|
|
fileUIds: [id],
|
|
|
tdCode: this.tdtechId,
|
|
|
pdCode: this.pdtechId,
|
|
|
partCode: this.pipeId,
|
|
|
- pbsCode: this.pbsCode
|
|
|
+ pbsCode: this.pbsCode,
|
|
|
}
|
|
|
this.global.baseAjaxSend.sendAjax(this.global, data, this.nodeOrPipe === 'POINT' ? this.newpsnodeSupplementUrl : this.newpspipeSupplementUrl, "POST", result => {
|
|
|
if (result.code !== -1) {
|
|
|
this.global.toast.show('补录数据成功')
|
|
|
+ this.global.showScanPhotos(true);
|
|
|
} else {
|
|
|
this.global.toast.show('补录数据失败')
|
|
|
}
|
|
@@ -331,8 +333,8 @@ class dataRerecords {
|
|
|
},
|
|
|
columns: columns,
|
|
|
ordering: false,
|
|
|
- paging: true,
|
|
|
- pageLength: 4,
|
|
|
+ paging: false,
|
|
|
+
|
|
|
info: true,
|
|
|
searching: true,
|
|
|
scrollCollapse: false,
|
|
@@ -351,8 +353,10 @@ class dataRerecords {
|
|
|
}
|
|
|
return {
|
|
|
tdtechId: that.tdtechId,
|
|
|
- current: that.dataTable != null ? that.dataTable.page.info().page + 1 : 1,
|
|
|
- size: that.dataTable != null ? that.dataTable.page.info().length : 4,
|
|
|
+
|
|
|
+
|
|
|
+ current: 1,
|
|
|
+ size: 999
|
|
|
}
|
|
|
},
|
|
|
url: that.global.apiRoot + '/tofly-sxgk/procedurenew/page',
|