diff --git a/public/pic/transparent.png b/public/pic/transparent.png new file mode 100644 index 0000000..71db71e Binary files /dev/null and b/public/pic/transparent.png differ diff --git a/src/components/patientRegister/customerOrgTreeAll.vue b/src/components/patientRegister/customerOrgTreeAll.vue index c746452..4ec923f 100644 --- a/src/components/patientRegister/customerOrgTreeAll.vue +++ b/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()) diff --git a/src/views/customerOrg/patientRegister.vue b/src/views/customerOrg/patientRegister.vue index fe9ddf6..bf983fd 100644 --- a/src/views/customerOrg/patientRegister.vue +++ b/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(