|
|
@ -25,22 +25,22 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-top: 15px; height: 240px;overflow-y: auto;"> |
|
|
<div style="margin-top: 15px; height: 240px;overflow-y: auto;"> |
|
|
<div style="display: flex;justify-content: space-between;"> |
|
|
<div style="display: flex;justify-content: space-between;"> |
|
|
<div> |
|
|
|
|
|
|
|
|
<div style="display: flex"> |
|
|
<span>导入成功数:</span> |
|
|
<span>导入成功数:</span> |
|
|
<div>{{ importState.importSuccessNum }}</div> |
|
|
<div>{{ importState.importSuccessNum }}</div> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
|
|
|
|
|
|
<div style="display: flex"> |
|
|
<span>导入错误数:</span> |
|
|
<span>导入错误数:</span> |
|
|
<div>{{ importState.importErrorNum }}</div> |
|
|
<div>{{ importState.importErrorNum }}</div> |
|
|
</div> |
|
|
</div> |
|
|
<div></div> |
|
|
<div></div> |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-top: 5px; display: flex;justify-content: space-between;"> |
|
|
<div style="margin-top: 5px; display: flex;justify-content: space-between;"> |
|
|
<div> |
|
|
|
|
|
|
|
|
<div style="display: flex"> |
|
|
<span>删除成功数:</span> |
|
|
<span>删除成功数:</span> |
|
|
<div>{{ importState.deleteSuccessNum }}</div> |
|
|
<div>{{ importState.deleteSuccessNum }}</div> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
|
|
|
|
|
|
<div style="display: flex"> |
|
|
<span>删除错误数:</span> |
|
|
<span>删除错误数:</span> |
|
|
<div>{{ importState.deleteErrorNum }}</div> |
|
|
<div>{{ importState.deleteErrorNum }}</div> |
|
|
</div> |
|
|
</div> |
|
|
@ -91,10 +91,10 @@ export default { |
|
|
customerOrgRegisterList: [], //体检次数列表 |
|
|
customerOrgRegisterList: [], //体检次数列表 |
|
|
customerOrgRegisterId: '', //体检次数 |
|
|
customerOrgRegisterId: '', //体检次数 |
|
|
importState: { |
|
|
importState: { |
|
|
importSuccessNum: "", |
|
|
|
|
|
importErrorNum: "", |
|
|
|
|
|
deleteSuccessNum: "", |
|
|
|
|
|
deleteErrorNum: "", |
|
|
|
|
|
|
|
|
importSuccessNum: null, |
|
|
|
|
|
importErrorNum: null, |
|
|
|
|
|
deleteSuccessNum: null, |
|
|
|
|
|
deleteErrorNum: null, |
|
|
importErrorMessages: "", |
|
|
importErrorMessages: "", |
|
|
deleteErrorMessages: "" |
|
|
deleteErrorMessages: "" |
|
|
}, |
|
|
}, |
|
|
@ -200,7 +200,8 @@ export default { |
|
|
postapi('/api/app/patientregister/CreatePatientRegisterFromCustomerOrgInterface', body) |
|
|
postapi('/api/app/patientregister/CreatePatientRegisterFromCustomerOrgInterface', body) |
|
|
.then(res => { |
|
|
.then(res => { |
|
|
if (res.code > -1 && res.data) { |
|
|
if (res.code > -1 && res.data) { |
|
|
this.importState = res.data |
|
|
|
|
|
|
|
|
Object.assign(this.importState,res.data,{importErrorMessages: `${res.data.importErrorMessages}`, |
|
|
|
|
|
deleteErrorMessages: `${res.data.deleteErrorMessages}`}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
@ -218,7 +219,14 @@ export default { |
|
|
handler(newVal, oldVal) { |
|
|
handler(newVal, oldVal) { |
|
|
//console.log(`watch 职业病 newVal: ${newVal}, oldVal: ${oldVal} `); |
|
|
//console.log(`watch 职业病 newVal: ${newVal}, oldVal: ${oldVal} `); |
|
|
if (newVal != oldVal) { |
|
|
if (newVal != oldVal) { |
|
|
this.importState = {} |
|
|
|
|
|
|
|
|
this.importState = { |
|
|
|
|
|
importSuccessNum: null, |
|
|
|
|
|
importErrorNum: null, |
|
|
|
|
|
deleteSuccessNum: null, |
|
|
|
|
|
deleteErrorNum: null, |
|
|
|
|
|
importErrorMessages: "", |
|
|
|
|
|
deleteErrorMessages: "" |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|