UI界面变更-项目参数任务

This commit is contained in:
刘彦泽
2022-12-29 16:16:04 +08:00
parent 70ff9c8789
commit 5fd0c14c11
3 changed files with 18 additions and 8 deletions
@@ -653,7 +653,7 @@
if (res.type) {
this.columns.push({
dataIndex: res.db_field_name,
align: 'center',
align: 'left',
ellipsis: true,
sorter: res.sort,
width: 500
@@ -669,7 +669,7 @@
this.columns.push({
title: res.db_field_txt,
dataIndex: res.db_field_name,
align: 'center',
align: 'left',
// ellipsis: true,
fixed: res.click5 ? 'left' : '',
sorter: res.sort,
@@ -44,6 +44,7 @@
<!-- :triggerChange="false" :dictCode="'cert_category'"/>-->
<!-- </div>-->
<!-- </a-col>-->
<template v-if="toggleSearchStatus">
<a-col :md="6" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('NareaOfResponsibility')">
@@ -73,6 +74,7 @@
v-model="formInline.sdt"></j-input>
</div>
</a-col>
</template>
<!-- <a-col :md="6" :sm="8">-->
<!-- <div class="box-title-text">-->
<!-- <div class="title-text" :title="$t('status')">-->
@@ -103,6 +105,10 @@
:fieldList="fieldList"/>
<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 @click="handleToggleSearch" style="margin-left: 8px">
{{ !toggleSearchStatus ? $t('open') : $t('away') }}
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
</a>
</a-col>
</span>
</a-row>
@@ -545,6 +551,7 @@
// R&H Manager manager
// 系统管理员 admin
// 游客 guest
toggleSearchStatus: false,
columns: [
{
title: this.$t('title'),
@@ -719,6 +726,9 @@
},
methods: {
...mapGetters(['userInfo']),
handleToggleSearch() {
this.toggleSearchStatus = !this.toggleSearchStatus
},
handleCancelRoleSwitching() {
this.visibleRoleSwitching = false
},
@@ -101,21 +101,21 @@
columns: [
{
title: this.$t('RelatedItems'),
align: 'center',
align: 'left',
dataIndex: 'projectName',
ellipsis: true,
width: 170
},
{
title: this.$t('ListTitle'),
align: 'center',
align: 'left',
dataIndex: 'title',
ellipsis: true,
width: 170
},
{
title: this.$t('relatedVersion'),
align: 'center',
align: 'left',
dataIndex: 'version',
ellipsis: true,
width: 170,
@@ -123,7 +123,7 @@
},
{
title: this.$t('completednum'),
align: 'center',
align: 'left',
dataIndex: 'waitFillNum',
ellipsis: true,
width: 170,
@@ -131,7 +131,7 @@
},
{
title: this.$t('filledBynum'),
align: 'center',
align: 'left',
dataIndex: 'waitSdtNum',
ellipsis: true,
width: 170,
@@ -139,7 +139,7 @@
},
{
title: this.$t('parameterToBeInitiatednum'),
align: 'center',
align: 'left',
dataIndex: 'waitCollectNum',
ellipsis: true,
width: 170,