|
@@ -10,6 +10,7 @@
|
|
|
:options="serviceOptions"
|
|
|
v-model="serviceId"
|
|
|
:keys="{ label: 'name', value: 'id' }"
|
|
|
+ filterable
|
|
|
></t-select>
|
|
|
</report-header>
|
|
|
<div class="page-main">
|
|
@@ -145,7 +146,7 @@ import {
|
|
|
} from '@/utils/chart';
|
|
|
import { useRequest } from 'vue-request';
|
|
|
import {
|
|
|
- serviceServiceList,
|
|
|
+ qualityServiceList,
|
|
|
qualityAnalysisPie,
|
|
|
qualityAnalysisRadar,
|
|
|
qualityAnalysisProgress,
|
|
@@ -172,7 +173,7 @@ let group = ref('REASON_SUPPLIER');
|
|
|
const serviceOptions = ref([]);
|
|
|
const serviceId = ref('');
|
|
|
const timeChange = (time) => {
|
|
|
- serviceServiceList(timeParams.value).then((res) => {
|
|
|
+ qualityServiceList(timeParams.value).then((res) => {
|
|
|
serviceOptions.value = res || [];
|
|
|
res?.length && (serviceId.value = res[0].id);
|
|
|
});
|