修改导入

This commit is contained in:
shidongli 2024-12-25 17:54:09 +08:00
parent 9c03aff80f
commit 23b069d757

View File

@ -458,7 +458,7 @@ export default {
type: String,
default: 'false'
},
query:{
query: {
type: Object,
default: () => ({})
@ -468,7 +468,7 @@ export default {
},
data() {
return {
querlist:{},//
querlist: {},//
departmentsshow: false,//
loading: false,
patientInfoList: [],
@ -550,6 +550,9 @@ export default {
},
}
},
created(){
this.gettreelist();
},
mounted() {
// /
this.minShowCtrol()
@ -559,10 +562,10 @@ export default {
},
watch: {
query:{
query: {
handler(val) {
console.log(val, 'val')
this.querlist=val
this.querlist = val
},
deep: true,
@ -617,7 +620,6 @@ export default {
submitUpload() {
if (this.isDistinct == true) {
this.action.data.isDistinct = 1
} else {
this.action.data.isDistinct = 0
}
@ -697,7 +699,6 @@ export default {
additem(item, index) {
this.indexadd = index
this.reset();
this.gettreelist();
this.infocompare();
this.getinfolist();
this.getinfo();
@ -707,8 +708,6 @@ export default {
this.openadd = true
if (localStorage.getItem('roleKey') != 'admin') {
this.getLeafIds(this.treeOptions)
this.formadd.hospitalAgencyIdtwo = JSON.parse(localStorage.getItem('user')).hospitalAgencyId;
this.formadd.hospitalAgencyName=JSON.parse(localStorage.getItem('user')).nickName;
}
console.log(item, index, 'item')
// this.$emit('additem',item,index)
@ -728,6 +727,7 @@ export default {
},
getLeafIds(nodes) {
console.log(nodes, ';node')
this.formadd.hospitalAgencyIdtwo = JSON.parse(localStorage.getItem('user')).hospitalAgencyId;
let leafIds = [];
nodes.forEach(node => {