修改评估结果的页面布局

This commit is contained in:
sunFlower
2023-01-13 14:09:23 +08:00
parent 421aa6778b
commit b5b214099f
3 changed files with 44 additions and 24 deletions
@@ -56,12 +56,12 @@
<div style="margin-top: 20px"> <div style="margin-top: 20px">
<span class="text">{{$t('filingExternalOpinions')}}:</span> <span class="text">{{$t('filingExternalOpinions')}}:</span>
<div @click="clickButtonToUpload('opinionArchiveId')" style="color: #21c9cc" <div @click="clickButtonToUpload('opinionArchiveId')" style="color: #21c9cc"
v-if="formInline.createBy == this.userInfoQuery.username" class="operator-text"> v-if="formInline.createBy == this.userInfoQuery.username" class="operator-text-index">
<a-button type="primary" style="margin-right: 8px;height: 32px"> <a-button type="primary" style="margin-right: 8px;height: 32px">
{{$t('clickUpload')}} {{$t('clickUpload')}}
</a-button> </a-button>
</div> </div>
<div @click="seeFileClick(formInline.opinionArchiveId)" style="color: #21c9cc" class="operator-text"> <div @click="seeFileClick(formInline.opinionArchiveId)" style="color: #21c9cc" class="operator-text-index">
<a-button type="primary" style="margin-right: 8px;height: 32px"> <a-button type="primary" style="margin-right: 8px;height: 32px">
{{$t('viewFile')}} {{$t('viewFile')}}
</a-button> </a-button>
@@ -164,7 +164,10 @@
} }
}) })
} }
getAction('/project/projectUserPermission/hasProcessControlButton', {type: 'LawsOpinionGather',id : this.$route.query.id}).then((res) => { getAction('/project/projectUserPermission/hasProcessControlButton', {
type: 'LawsOpinionGather',
id: this.$route.query.id
}).then((res) => {
this.flag = res this.flag = res
}) })
}, },
@@ -381,4 +384,10 @@
overflow: hidden; overflow: hidden;
text-align: right; text-align: right;
} }
.operator-text-index {
display: inline-block;
/*margin-right: 16px;*/
margin-left: 16px;
}
</style> </style>
@@ -102,6 +102,7 @@
<script> <script>
import { getAction, postAction, deleteAction, putAction } from '@/api/manage' import { getAction, postAction, deleteAction, putAction } from '@/api/manage'
import problemKnowledgeBaseList from './components/problemKnowledgeBaseList' import problemKnowledgeBaseList from './components/problemKnowledgeBaseList'
export default { export default {
name: 'collection', name: 'collection',
components: { components: {
@@ -326,7 +327,7 @@
.collection { .collection {
.collection-search-wrapper { .collection-search-wrapper {
margin-bottom: 20px; /*margin-bottom: 20px;*/
} }
.colloction-table { .colloction-table {
@@ -367,6 +368,10 @@
.box-button { .box-button {
height: 38px; height: 38px;
} }
::v-deep .ant-card-body {
padding: 0 24px!important;
}
</style> </style>
<style lang="less"> <style lang="less">
/*.collection{*/ /*.collection{*/
@@ -10,7 +10,7 @@
:wrapper-col='wrapperCol' :wrapper-col='wrapperCol'
> >
<a-row :gutter='24'> <a-row :gutter='24'>
<a-col :span='9'> <a-col :span='8'>
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text" :title="$t('areaOfResponsibility')"> <div class="title-text" :title="$t('areaOfResponsibility')">
<span>{{$t('areaOfResponsibility')}}</span> <span>{{$t('areaOfResponsibility')}}</span>
@@ -32,7 +32,7 @@
</div> </div>
</a-col> </a-col>
<a-col :span='9'> <a-col :span='8'>
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text" :title="$t('RelatedItems')"> <div class="title-text" :title="$t('RelatedItems')">
<span>{{$t('RelatedItems')}}</span> <span>{{$t('RelatedItems')}}</span>
@@ -50,9 +50,11 @@
</div> </div>
</a-col> </a-col>
<a-col :span='6' style='margin-top: 4px;'> <a-col :span='8' style='margin-top: 2px;'>
<span style="float: right;margin-right: 8px">
<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>
</span>
</a-col> </a-col>
</a-row> </a-row>
</a-form-model> </a-form-model>
@@ -524,6 +526,10 @@
color: red; color: red;
margin-right: 4px; margin-right: 4px;
} }
.box-button{
height:38px;
}
</style> </style>
<style lang='less'> <style lang='less'>
.area-module { .area-module {