This commit is contained in:
2024-04-16 14:20:13 +08:00
parent 6972bc535e
commit 56bc4656b1

View File

@ -190,10 +190,11 @@ export default {
phoneopen: false,
propagandaopen: false,
specialDiseaseNodeopen: false,
loading: null,
};
},
mounted() {
this.info();
this.info(0);
},
methods: {
//
@ -227,19 +228,32 @@ export default {
this.lookitem = {}
},
clicknameitem(item, index) {
this.itemindex = index
this.loading = this.$loading({
lock: true,
text: '加载数据中',
spinner: 'el-icon-loading',
background: 'rgba(255,255,255,0.7)'
});
if (index == 1) {
this.query.taskCreateType = 'MANUAL_CREATE'
} else {
this.query.taskCreateType = 'MANUAL_MATCHE'
}
this.info();
this.info(index);
},
info() {
info(index) {
this.loading = this.$loading({
lock: true,
text: '加载数据中',
spinner: 'el-icon-loading',
background: 'rgba(255,255,255,0.7)'
});
this.query.patientId = this.$route.query.patientId
getList(this.query).then(res => {
if (res.data.length > 0) {
this.categorylist = res.data
this.itemindex = index
this.loading.close();
}
})
},