Merge remote-tracking branch 'origin/master'

ywj_dev
郑明梁 2 years ago
commit 64bffcba15

@ -100,6 +100,7 @@
import {getUdiInfos, thirdSysDetail,} from "@/api/basic/product/udiRelevance"; import {getUdiInfos, thirdSysDetail,} from "@/api/basic/product/udiRelevance";
import {filterByUuid} from "@/api/basic/product/udiInfo"; import {filterByUuid} from "@/api/basic/product/udiInfo";
import {bindBasicHospProduct, saveBasicHospType,getBindList} from "@/api/basic/basicHospType"; import {bindBasicHospProduct, saveBasicHospType,getBindList} from "@/api/basic/basicHospType";
import { sysFilter } from '@/api/basic/udiRelevance'
@ -167,6 +168,18 @@ export default {
this.filterQuery.page = 1; this.filterQuery.page = 1;
this.getList(); this.getList();
}, },
getSysFilter() {
sysFilter()
.then((response) => {
this.loading = false;
this.filterList = response.data.list || [];
})
.catch(() => {
this.loading = false;
this.filterList = [];
});
},
getList() { getList() {
getBindList(this.filterQuery) getBindList(this.filterQuery)
.then((response) => { .then((response) => {
@ -224,6 +237,7 @@ export default {
created() { created() {
this.filterQuery.bindType=1 this.filterQuery.bindType=1
this.getList(); this.getList();
this.getSysFilter();
}, },
}; };

@ -99,6 +99,7 @@
<script> <script>
import {bindBasicHospProduct, saveBasicHospType,unbindBasicHospProduct,getBindList} from "@/api/basic/basicHospType"; import {bindBasicHospProduct, saveBasicHospType,unbindBasicHospProduct,getBindList} from "@/api/basic/basicHospType";
import { sysFilter } from '@/api/basic/udiRelevance'
@ -179,6 +180,18 @@ export default {
this.total = 0; this.total = 0;
}); });
}, },
getSysFilter() {
sysFilter()
.then((response) => {
this.loading = false;
this.filterList = response.data.list || [];
})
.catch(() => {
this.loading = false;
this.filterList = [];
});
},
hideSearch() { hideSearch() {
this.showSearch = !this.showSearch; this.showSearch = !this.showSearch;
}, },
@ -216,6 +229,7 @@ export default {
created() { created() {
this.filterQuery.relCode=this.rId this.filterQuery.relCode=this.rId
this.getList(); this.getList();
this.getSysFilter();
}, },
}; };
</script> </script>

@ -503,7 +503,8 @@ export default {
this.formData = { this.formData = {
pid: row.id, pid: row.id,
pcode: row.code, pcode: row.code,
status: 1 status: 1,
spUse:false
} }
// this.getStatusTreeselect(); // this.getStatusTreeselect();
filterList().then(response => { filterList().then(response => {

Loading…
Cancel
Save