Browse Source

djlist seo

master
pengjun 1 year ago
parent
commit
0af0c8f14e
  1. 16
      src/components/patientRegister/PatientRegisterList.vue

16
src/components/patientRegister/PatientRegisterList.vue

@ -910,17 +910,19 @@ export default {
//
this.loadOpts.totalCount = res.data.totalCount
let curLoad = res.data.items
let oldCount = 0
// let oldCount = 0
if (body.skipCount == 0) { //
this.tableData = [];
} else {
// ,
oldCount = this.tableData.length
}
curLoad.forEach((e, index) => {
this.tableData.push(Object.assign({ index: Number(oldCount) + Number(index), choosed: false }, e))
})
this.tableData = this.tableData.concat(curLoad)
// else {
// // ,
// oldCount = this.tableData.length
// }
// curLoad.forEach((e, index) => {
// this.tableData.push(Object.assign({ index: Number(oldCount) + Number(index), choosed: false }, e))
// })
//
if (this.dataTransOpts.tableS.patient_register.id) {

Loading…
Cancel
Save