|
@@ -23,7 +23,7 @@
|
|
<a-button @click="openModal1">说明</a-button>
|
|
<a-button @click="openModal1">说明</a-button>
|
|
</div>
|
|
</div>
|
|
<div class="tw-flex tw-gap-4">
|
|
<div class="tw-flex tw-gap-4">
|
|
- <table class="custom-table">
|
|
|
|
|
|
+ <table class="custom-table" style="width: 400px">
|
|
<tr>
|
|
<tr>
|
|
<th>分数段</th>
|
|
<th>分数段</th>
|
|
<th>频数</th>
|
|
<th>频数</th>
|
|
@@ -40,8 +40,12 @@
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
|
|
|
|
- <div style="width: 400px; height: 300px">
|
|
|
|
- <v-chart class="chart" :option="segementsLine(course)" />
|
|
|
|
|
|
+ <div style="flex-grow: 1">
|
|
|
|
+ <v-chart
|
|
|
|
+ class="chart"
|
|
|
|
+ :option="segementsLine(course)"
|
|
|
|
+ :autoresize="true"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -55,7 +59,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div v-if="course.rangeConfig" class="tw-flex tw-gap-4">
|
|
<div v-if="course.rangeConfig" class="tw-flex tw-gap-4">
|
|
- <table class="custom-table">
|
|
|
|
|
|
+ <table class="custom-table" style="width: 450px">
|
|
<tr>
|
|
<tr>
|
|
<th>分数段</th>
|
|
<th>分数段</th>
|
|
<th>频数</th>
|
|
<th>频数</th>
|
|
@@ -72,8 +76,12 @@
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
|
|
|
|
- <div style="width: 400px; height: 300px">
|
|
|
|
- <v-chart class="chart" :option="rangeSegementsLine(course)" />
|
|
|
|
|
|
+ <div style="flex-grow: 1">
|
|
|
|
+ <v-chart
|
|
|
|
+ class="chart"
|
|
|
|
+ :option="rangeSegementsLine(course)"
|
|
|
|
+ :autoresize="true"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div v-else>请先进行分段设置。</div>
|
|
<div v-else>请先进行分段设置。</div>
|
|
@@ -320,5 +328,3 @@ function rangeSegementsLine(course: any) {
|
|
} as EChartsOption;
|
|
} as EChartsOption;
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
-
|
|
|
|
-<style scoped></style>
|
|
|