UI界面变更-上报库管理-参数项查看页

This commit is contained in:
刘彦泽
2022-12-30 11:03:49 +08:00
parent cc4abf64da
commit a7fb5b2ce6
@@ -42,6 +42,7 @@
v-model="formInline.paramsName"></a-input> v-model="formInline.paramsName"></a-input>
</div> </div>
</a-col> </a-col>
<template v-if="toggleSearchStatus">
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text" :title="$t('dre')"> <div class="title-text" :title="$t('dre')">
@@ -70,10 +71,15 @@
v-model="formInline.sdtName"/> v-model="formInline.sdtName"/>
</div> </div>
</a-col> </a-col>
</template>
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons"> <span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
<a-col :md="6" :sm="24"> <a-col :md="6" :sm="24">
<a-button class="box-button" type="primary" @click="searchQuery">{{$t('query')}}</a-button> <a-button class="box-button" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
<a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button> <a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button>
<a @click="handleToggleSearch" style="margin-left: 8px">
{{ !toggleSearchStatus ? $t('open') : $t('away') }}
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
</a>
</a-col> </a-col>
</span> </span>
</a-row> </a-row>
@@ -163,6 +169,7 @@
}, },
data() { data() {
return { return {
toggleSearchStatus: false,
columns: [], columns: [],
selectedRowKeys: [], selectedRowKeys: [],
formInline: {}, formInline: {},
@@ -236,6 +243,9 @@
document.title = this.$t('ParameterViewPage') document.title = this.$t('ParameterViewPage')
}, },
methods: { methods: {
handleToggleSearch() {
this.toggleSearchStatus = !this.toggleSearchStatus
},
Getlist() { Getlist() {
getAction(this.url.tableHeader, { paramsManifestId: this.$route.query.id, flag: 8 }).then((res) => { getAction(this.url.tableHeader, { paramsManifestId: this.$route.query.id, flag: 8 }).then((res) => {
if (res.success) { if (res.success) {
@@ -474,7 +484,7 @@
.Virtual-detail-content { .Virtual-detail-content {
margin-top: 68px; margin-top: 68px;
padding: 0 38px 0 38px; padding: 0 0 0 38px;
box-sizing: border-box; box-sizing: border-box;
font-size: 16px; font-size: 16px;