120 lines
3.4 KiB
Vue
120 lines
3.4 KiB
Vue
<template>
|
|
<div class="main-box">
|
|
<a-card :bordered="false">
|
|
<!--查询区域begin-->
|
|
<div class="table-page-search-wrapper">
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
|
<a-row :gutter="24">
|
|
<a-col :xl="6" :lg="8" :md="8" :sm="24">
|
|
<a-form-item label="分标委名称">
|
|
<a-input placeholder="请输入分标委名称" v-model="queryParam.name"></a-input>
|
|
</a-form-item>
|
|
</a-col>
|
|
<a-col :xl="6" :lg="8" :md="8" :sm="24">
|
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
<a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
|
|
<a-button class="reset-button" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
|
|
</span>
|
|
</a-col>
|
|
</a-row>
|
|
</a-form>
|
|
</div>
|
|
<!--查询区域end-->
|
|
|
|
<div>
|
|
<a-table
|
|
ref="table"
|
|
rowKey="id"
|
|
:columns="columns"
|
|
:dataSource="dataSource"
|
|
:pagination="ipagination"
|
|
:loading="loading"
|
|
@change="handleTableChange"
|
|
class="j-table-force-nowrap">
|
|
|
|
<!-- 项目名称-->
|
|
<template slot="projectName" slot-scope="text, record">
|
|
<j-ellipsis :value="text" :length="50" class="project-name" @click="openDetail(record)"></j-ellipsis>
|
|
</template>
|
|
|
|
<!-- 跳转分标委会议-->
|
|
<span slot="action" class="action-span-cell" slot-scope="text,record">
|
|
<a-button type="primary" @click="toCommitteeMeeting(record)">分标委会议<a-icon type="right"/></a-button>
|
|
</span>
|
|
</a-table>
|
|
</div>
|
|
</a-card>
|
|
<sub-bid-committee-detail ref="detail"></sub-bid-committee-detail>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
|
import SubBidCommitteeDetail from '@views/subBidCommittee/modules/SubBidCommitteeDetail'
|
|
|
|
export default {
|
|
name: 'SubBidCommittee',
|
|
components: { SubBidCommitteeDetail },
|
|
mixins: [JeroListMixin],
|
|
data() {
|
|
return {
|
|
columns: [
|
|
{
|
|
title: '分标委列表',
|
|
align: 'left',
|
|
dataIndex: 'name',
|
|
scopedSlots: { customRender: 'projectName' }
|
|
}, {
|
|
title: '',
|
|
dataIndex: 'action',
|
|
align: 'center',
|
|
fixed: 'right',
|
|
width: 160,
|
|
scopedSlots: { customRender: 'action' }
|
|
}
|
|
],
|
|
dataSource: [
|
|
{
|
|
id: 1,
|
|
name: '分标委分标委分标委分标委分标委分标委分标委分标委分标委'
|
|
}
|
|
],
|
|
url: {
|
|
list: '/payCaseCommittee/payCaseCommittee/list'
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
openDetail(record) {
|
|
this.$refs.detail.committeeId = record.id
|
|
this.$refs.detail.open()
|
|
},
|
|
/*
|
|
* 分标委会议
|
|
* */
|
|
toCommitteeMeeting(record){
|
|
this.$router.push({
|
|
path:'/meetingActivity/MeetingActivity',
|
|
query:{
|
|
meetingType:'5',
|
|
id:record.id
|
|
}
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style scoped lang="less">
|
|
@import '~@assets/less/common.less';
|
|
|
|
.project-name {
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
font-family: PingFang SC, PingFang SC-Bold;
|
|
font-weight: 700;
|
|
color: #069f99;
|
|
overflow: hidden;
|
|
word-break: keep-all;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
</style> |