Browse Source

align="center"

master
pengjun 1 month ago
parent
commit
088baa6310
  1. 24
      src/components/patientRegister/PatientRegisterList.vue
  2. 15
      src/components/patientRegister/PatientRegisterRecoverList.vue

24
src/components/patientRegister/PatientRegisterList.vue

@ -2498,32 +2498,22 @@ export default {
//
signByPatientRegisterNo() {
let patientRegisterNo = this.patientRegisterNo
let patientRegisterNos = [this.patientRegisterNo]
let body = {
sType: 1,
patientRegisterNo
patientRegisterNos
}
//console.log(`/api/app/patientregister/getpatientregisterorpatient`, body)
postapi('/api/app/patientregister/getpatientregisterorpatient', body)
postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body)
.then((res) => {
if (res.code != -1) {
if (res.data) {
this.recoverCore([res.data.id])
if (res.code > -1) {
this.patientRegisterNo = ''
}
this.$message.success({ showClose: true, message: '操作成功!' })
}
});
},
//
recoverCore(body) {
postapi(`/api/app/patientregister/updaterecoverguidemany`, body)
.then((res) => {
if (res.code > -1) {
this.$message.success({ showClose: true, message: "操作成功!" });
}
})
},
btnDragColDesign() {
this.dragColDesign = deepCopy(this.dragCol);

15
src/components/patientRegister/PatientRegisterRecoverList.vue

@ -4,7 +4,7 @@
<el-table :data="dataList" width="100%" :height="window.pageHeight < 600 ? 350 : window.pageHeight - 220" row-key="id"
size="small" highlight-current-row ref="dataList" @selection-change="handleSelectionChange" @row-click="rowClick">
<el-table-column type="selection" width="40" align="center" />
<el-table-column prop="isRecoverGuide" label="回收" width="50">
<el-table-column prop="isRecoverGuide" label="回收" align="center" width="50">
<template slot-scope="scope">
<el-checkbox :value="scope.row.isRecoverGuide == 'Y'" />
</template>
@ -233,19 +233,16 @@ export default {
//
signByPatientRegisterNo() {
let patientRegisterNo = this.patientRegisterNo
let patientRegisterNos = [this.patientRegisterNo]
let body = {
sType: 1,
patientRegisterNo
patientRegisterNos
}
//console.log(`/api/app/patientregister/getpatientregisterorpatient`, body)
postapi('/api/app/patientregister/getpatientregisterorpatient', body)
postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body)
.then((res) => {
if (res.code != -1) {
if (res.data) {
this.recoverCore([res.data.id])
if (res.code > -1) {
this.patientRegisterNo = ''
}
this.$message.success({ showClose: true, message: '操作成功!' })
}
});
},

Loading…
Cancel
Save