Commit 7862e151 authored by 黄奎's avatar 黄奎

11

parent f6b9c561
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</div> </div>
</div> </div>
<div class="viewbox"> <div class="viewbox">
<table class="appointtable"> <table class="appointtable" :loading="loading">
<template v-for="(rootItem,rootIndex) in dataList"> <template v-for="(rootItem,rootIndex) in dataList">
<thead :key="`r_th_`+rootIndex"> <thead :key="`r_th_`+rootIndex">
<tr> <tr>
...@@ -199,6 +199,7 @@ ...@@ -199,6 +199,7 @@
dataList: [], dataList: [],
TimeList: [], //时段 TimeList: [], //时段
isShowStuConfig: false, isShowStuConfig: false,
loading: false,
}; };
}, },
components: { components: {
...@@ -238,9 +239,8 @@ ...@@ -238,9 +239,8 @@
}, },
methods: { methods: {
//关闭配置弹窗 //关闭配置弹窗
closeStuConfig() closeStuConfig() {
{ this.isShowStuConfig = false;
this.isShowStuConfig=false;
}, },
//获取可约时间段 //获取可约时间段
getTimeList() { getTimeList() {
...@@ -365,7 +365,9 @@ ...@@ -365,7 +365,9 @@
}); });
}, },
getData() { getData() {
this.loading = true;
GetAppointmentPlanStat(this.msg).then(res => { GetAppointmentPlanStat(this.msg).then(res => {
this.loading = false;
let data = JSON.parse(JSON.stringify(res.Data)); let data = JSON.parse(JSON.stringify(res.Data));
this.dataList = data; this.dataList = data;
}); });
...@@ -451,7 +453,6 @@ ...@@ -451,7 +453,6 @@
}, },
} }
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.viewbox { .viewbox {
...@@ -521,5 +522,4 @@ ...@@ -521,5 +522,4 @@
width: 100%; width: 100%;
display: inline-block; display: inline-block;
} }
</style>
</style> \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment