修改评估结果的页面布局

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,14 +56,14 @@
<div style="margin-top: 20px">
<span class="text">{{$t('filingExternalOpinions')}}:</span>
<div @click="clickButtonToUpload('opinionArchiveId')" style="color: #21c9cc"
v-if="formInline.createBy == this.userInfoQuery.username" class="operator-text">
<a-button type="primary"style="margin-right: 8px;height: 32px">
{{$t('clickUpload')}}
v-if="formInline.createBy == this.userInfoQuery.username" class="operator-text-index">
<a-button type="primary" style="margin-right: 8px;height: 32px">
{{$t('clickUpload')}}
</a-button>
</div>
<div @click="seeFileClick(formInline.opinionArchiveId)" style="color: #21c9cc" class="operator-text">
<a-button type="primary"style="margin-right: 8px;height: 32px">
{{$t('viewFile')}}
<div @click="seeFileClick(formInline.opinionArchiveId)" style="color: #21c9cc" class="operator-text-index">
<a-button type="primary" style="margin-right: 8px;height: 32px">
{{$t('viewFile')}}
</a-button>
</div>
</div>
@@ -94,10 +94,10 @@
total: 0,
pageSize: 10,
pageNo: 1,
flag:false,
flag: false,
dataSource: [],
formInline: {},
administrators:false,
administrators: false,
userInfoQuery: {},
columns: [
{
@@ -164,8 +164,11 @@
}
})
}
getAction('/project/projectUserPermission/hasProcessControlButton', {type: 'LawsOpinionGather',id : this.$route.query.id}).then((res) => {
this.flag = res
getAction('/project/projectUserPermission/hasProcessControlButton', {
type: 'LawsOpinionGather',
id: this.$route.query.id
}).then((res) => {
this.flag = res
})
},
methods: {
@@ -215,7 +218,7 @@
actiProcInstId: this.actiProcInstId
}
downloadFile('/lawsOpinionGather/lawsOpinionAssessmentResultEO/exportXls',
this.$route.query.serialNumber+ ' ' +this.$t('evaluationResults') + '.zip', query)
this.$route.query.serialNumber + ' ' + this.$t('evaluationResults') + '.zip', query)
},
getData() {
this.formInline = JSON.parse(JSON.stringify(this.$route.query))
@@ -381,4 +384,10 @@
overflow: hidden;
text-align: right;
}
.operator-text-index {
display: inline-block;
/*margin-right: 16px;*/
margin-left: 16px;
}
</style>
@@ -102,15 +102,16 @@
<script>
import { getAction, postAction, deleteAction, putAction } from '@/api/manage'
import problemKnowledgeBaseList from './components/problemKnowledgeBaseList'
export default {
name: 'collection',
components:{
components: {
problemKnowledgeBaseList
},
data() {
return {
selectedRowKeys: [],
activeTab:this.$t('DocumentLibrary'),
activeTab: this.$t('DocumentLibrary'),
queryParams: {
pageNo: 1,
pageSize: 10
@@ -126,7 +127,7 @@
key: 'serialNumber',
scopedSlots: { customRender: 'serialNumber' },
align: 'left',
sorter:true,
sorter: true,
ellipsis: true,
width: 180
},
@@ -143,7 +144,7 @@
align: 'left',
width: 180,
ellipsis: true,
sorter:true,
sorter: true,
dataIndex: 'state'
},
{
@@ -151,7 +152,7 @@
align: 'left',
width: 180,
ellipsis: true,
sorter:true,
sorter: true,
dataIndex: 'createTime'
},
{
@@ -175,11 +176,11 @@
methods: {
tableOnChange(pagination, filters, sorter) {
this.orderBy = sorter.order == 'ascend' ? '1' : '2'
if(sorter.columnKey == 'serialNumber'){
if (sorter.columnKey == 'serialNumber') {
this.orderByField = 'serial_number'
} else if(sorter.columnKey == 'createTime') {
} else if (sorter.columnKey == 'createTime') {
this.orderByField = 'create_time'
} else{
} else {
this.orderByField = sorter.columnKey
}
this.loadData()
@@ -205,7 +206,7 @@
}
})
},//搜索
callback(event){
callback(event) {
},
searchQuery() {
@@ -326,7 +327,7 @@
.collection {
.collection-search-wrapper {
margin-bottom: 20px;
/*margin-bottom: 20px;*/
}
.colloction-table {
@@ -367,6 +368,10 @@
.box-button {
height: 38px;
}
::v-deep .ant-card-body {
padding: 0 24px!important;
}
</style>
<style lang="less">
/*.collection{*/
@@ -10,7 +10,7 @@
:wrapper-col='wrapperCol'
>
<a-row :gutter='24'>
<a-col :span='9'>
<a-col :span='8'>
<div class="box-title-text">
<div class="title-text" :title="$t('areaOfResponsibility')">
<span>{{$t('areaOfResponsibility')}}</span>
@@ -32,7 +32,7 @@
</div>
</a-col>
<a-col :span='9'>
<a-col :span='8'>
<div class="box-title-text">
<div class="title-text" :title="$t('RelatedItems')">
<span>{{$t('RelatedItems')}}</span>
@@ -50,9 +50,11 @@
</div>
</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' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>
</span>
</a-col>
</a-row>
</a-form-model>
@@ -524,6 +526,10 @@
color: red;
margin-right: 4px;
}
.box-button{
height:38px;
}
</style>
<style lang='less'>
.area-module {