pengjun 1 month ago
parent
commit
47592d2536
  1. BIN
      public/pic/transparent.png
  2. 13
      src/components/patientRegister/customerOrgTreeAll.vue
  3. 12
      src/views/customerOrg/patientRegister.vue

BIN
public/pic/transparent.png

After

Width: 1  |  Height: 1  |  Size: 2.7 KiB

13
src/components/patientRegister/customerOrgTreeAll.vue

@ -114,7 +114,11 @@ export default {
//
getCustomerOrgAll() {
return new Promise((resolve, reject) => {
getapi("/api/app/customerorg/getbycodeall")
let url = '/api/app/CustomerOrg/GetSimpleByCodeAll'
if(this.LocalConfig.patientRegister.dispCustomerOrgCode == 'Y'){
url = "/api/app/customerorg/getbycodeall"
}
getapi(url)
.then((res) => {
if (res.code > -1) {
let treeData = reMadeOrgTree(deepCopy(res.data), this.LocalConfig.patientRegister.dispCustomerOrgCode);
@ -137,8 +141,11 @@ export default {
getCustomerOrgChild(parentId) {
return new Promise((resolve, reject) => {
console.log('new Date()3', now())
postapi('/api/app/CustomerOrg/GetCustomerOrgByParentId', { parentId })
let url = '/api/app/CustomerOrg/GetCustomerOrgSimpleByParentId'
if(this.LocalConfig.patientRegister.dispCustomerOrgCode == 'Y'){
url = '/api/app/CustomerOrg/GetCustomerOrgByParentId'
}
postapi(url, { parentId })
.then(res => {
if (res.code > -1) {
console.log('new Date()4', now())

12
src/views/customerOrg/patientRegister.vue

@ -78,12 +78,12 @@ export default {
}
});
//
getapi("/api/app/for-sex").then((res) => {
if (res.code == 1) {
this.dict.forSex = res.data;
}
});
//
// getapi("/api/app/for-sex").then((res) => {
// if (res.code == 1) {
// this.dict.forSex = res.data;
// }
// });
//
getapi("/api/app/organization-units/organization-unit-by-is-peis").then(

Loading…
Cancel
Save