提交
This commit is contained in:
parent
9067f6b353
commit
23f8c938f2
|
|
@ -12,55 +12,39 @@
|
|||
</el-form-item>-->
|
||||
|
||||
<el-form-item label="Dataset">
|
||||
<el-select v-model="datasetId" placeholder="请选择" class="dark-select" popper-class="dark-select-popper" style="width: 120px" @change="getCaseData">
|
||||
<el-option
|
||||
v-for="item in datasetIdOptions"
|
||||
:key="item.id"
|
||||
:label="item.id"
|
||||
:value="item.id"
|
||||
>
|
||||
<el-select v-model="datasetId" placeholder="请选择" class="dark-select" popper-class="dark-select-popper"
|
||||
style="width: 120px" @change="getCaseData">
|
||||
<el-option v-for="item in datasetIdOptions" :key="item.id" :label="item.id" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="Case">
|
||||
<el-select v-model="queryParams.case_no" :disabled="!datasetId" placeholder="请选择" class="dark-select" popper-class="dark-select-popper" style="width: 180px" @change="caseChange">
|
||||
<el-option
|
||||
v-for="item in caseOptions"
|
||||
:key="item.case_no"
|
||||
:label="item.case_no"
|
||||
:value="item.case_no"
|
||||
>
|
||||
<el-select v-model="queryParams.case_no" :disabled="!datasetId" placeholder="请选择" class="dark-select"
|
||||
popper-class="dark-select-popper" style="width: 180px" @change="caseChange">
|
||||
<el-option v-for="item in caseOptions" :key="item.case_no" :label="item.case_no" :value="item.case_no">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="Classify">
|
||||
<el-select v-model="modelTypes" multiple placeholder="请选择" class="dark-select" popper-class="dark-select-popper" style="width: 400px" @change="modelTypeChange">
|
||||
<el-option
|
||||
v-for="item in selectOptions"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
>
|
||||
<el-select v-model="modelTypes" multiple placeholder="请选择" class="dark-select"
|
||||
popper-class="dark-select-popper" style="width: 400px" @change="modelTypeChange">
|
||||
<el-option v-for="item in selectOptions" :key="item.value" :label="item.label" :value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="">
|
||||
<el-upload
|
||||
ref="upload"
|
||||
v-model:file-list="fileList"
|
||||
class="upload-demo"
|
||||
:auto-upload="false"
|
||||
:limit="1"
|
||||
:multiple="false"
|
||||
:show-file-list="false"
|
||||
:on-change="handleChange"
|
||||
<el-upload ref="upload" v-model:file-list="fileList" class="upload-demo" :auto-upload="false" :limit="1"
|
||||
:multiple="false" :show-file-list="false" :on-change="handleChange"
|
||||
style="height: 32px; margin-left: 12px;">
|
||||
<el-button type="primary" icon="upload" style="background-color: #7393b7; border-color: #7393b7; border-radius: 0;">Upload</el-button>
|
||||
<el-button type="primary" icon="upload"
|
||||
style="background-color: #7393b7; border-color: #7393b7; border-radius: 0;">Upload</el-button>
|
||||
</el-upload>
|
||||
<!-- <el-button type="primary" icon="search" style="background-color: #7393b7; border-color: #7393b7; border-radius: 0; margin-left: 12px;" @click="onSearch">Select</el-button> -->
|
||||
<el-button type="primary" icon="document" style="background-color: #7393b7; border-color: #7393b7; border-radius: 0; margin-left: 12px;" @click="onDownload">Download</el-button>
|
||||
<el-button type="primary" icon="document"
|
||||
style="background-color: #7393b7; border-color: #7393b7; border-radius: 0; margin-left: 12px;"
|
||||
@click="onDownload">Download</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
|
|
@ -173,6 +157,8 @@ export default {
|
|||
handleChange(file, fileList) {
|
||||
if (file) {
|
||||
this.currentFile = file.raw || file
|
||||
this.onSearch()
|
||||
|
||||
} else {
|
||||
this.currentFile = null
|
||||
}
|
||||
|
|
@ -284,6 +270,7 @@ export default {
|
|||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.section-head {
|
||||
height: 32px;
|
||||
padding: 0 13px;
|
||||
|
|
@ -293,18 +280,22 @@ export default {
|
|||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.list-box {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.filter-wrap {
|
||||
height: 50px;
|
||||
margin-top: 16px;
|
||||
|
||||
::v-deep .el-form-item__label {
|
||||
font-size: 16px;
|
||||
color: #a7bacf;
|
||||
}
|
||||
}
|
||||
|
||||
.chart-wrap {
|
||||
flex: 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user