普通项目管理接口;分标委页面;工作组项目会议维护页面
This commit is contained in:
@@ -37,7 +37,8 @@
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="年份" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<j-date show-type="year" date-format="YYYY" placeholder="请选择年份" v-model="queryParam.year"></j-date>
|
||||
<j-year-date style="width:100%" placeholder="请选择年份"
|
||||
v-model="queryParam.year"></j-year-date>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
@@ -65,25 +66,55 @@
|
||||
<!-- 操作按钮区域-->
|
||||
<div class="table-operator">
|
||||
<a-button type="primary" icon="plus" @click="handleAdd">新增</a-button>
|
||||
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl"
|
||||
@change="handleImportExcel">
|
||||
<a-button type="primary" icon="import">导入</a-button>
|
||||
</a-upload>
|
||||
<a-button type="primary" icon="export" @click="handleExportXls('企业管理')">导出</a-button>
|
||||
<a-button type="primary" icon="download" @click="downTemplate('企业管理导入模板')">下载模板</a-button>
|
||||
<a-button type="danger" icon="delete" @click="batchDel">批量删除</a-button>
|
||||
<a-button type="primary" @click="">发布-提醒</a-button>
|
||||
</div>
|
||||
<!-- /操作按钮区域-end-->
|
||||
|
||||
<!-- table表格区域-->
|
||||
<div>
|
||||
<a-table
|
||||
ref="table"
|
||||
size="middle"
|
||||
bordered
|
||||
rowKey="id"
|
||||
:columns="columns"
|
||||
:scroll="{x: 1500}"
|
||||
:dataSource="dataSource"
|
||||
:pagination="ipagination"
|
||||
:loading="loading"
|
||||
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
||||
@change="handleTableChange"
|
||||
class="j-table-force-nowrap">
|
||||
|
||||
<!-- 工作组名称-->
|
||||
<template slot="projectName" slot-scope="text, record">
|
||||
<div class="project-name" @click="goMemberUnitMaintenance(record)">{{ text }}</div>
|
||||
</template>
|
||||
|
||||
<template slot="text" slot-scope="text,record">
|
||||
<j-ellipsis :value="text" :length="20"></j-ellipsis>
|
||||
</template>
|
||||
|
||||
<span slot="action" class="action-span-cell" slot-scope="text, record">
|
||||
<a @click="">上传文件</a>
|
||||
<a @click="">报名信息</a>
|
||||
<a @click="handleEdit(record)">编辑</a>
|
||||
<a @click="handleDelete(record.id)">删除</a>
|
||||
</span>
|
||||
</a-table>
|
||||
</div>
|
||||
</a-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||
import JDate from '@comp/jero/JDate'
|
||||
import JYearDate from '@comp/jero/JYearDate'
|
||||
|
||||
export default {
|
||||
name: 'ConferenceMaintenance',
|
||||
components: { JDate },
|
||||
components: { JYearDate },
|
||||
mixins: [JeroListMixin],
|
||||
data() {
|
||||
return {
|
||||
@@ -98,26 +129,75 @@ export default {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 10 }
|
||||
},
|
||||
columns: [
|
||||
{
|
||||
title: '序号',
|
||||
dataIndex: '',
|
||||
key: 'rowIndex',
|
||||
width: 60,
|
||||
align: 'center',
|
||||
customRender: function (t, r, index) {
|
||||
return parseInt(index) + 1
|
||||
}
|
||||
}, {
|
||||
title: '会议名称',
|
||||
align: 'center',
|
||||
dataIndex: '',
|
||||
scopedSlots: { customRender: 'projectName' }
|
||||
}, {
|
||||
title: '会议类型',
|
||||
align: 'center',
|
||||
width: 140,
|
||||
dataIndex: ''
|
||||
}, {
|
||||
title: '负责人',
|
||||
align: 'center',
|
||||
dataIndex: '',
|
||||
}, {
|
||||
title: '召开时间',
|
||||
align: 'center',
|
||||
dataIndex: '',
|
||||
width: 180,
|
||||
}, {
|
||||
title: '年份',
|
||||
align: 'center',
|
||||
dataIndex: '',
|
||||
width: 120,
|
||||
}, {
|
||||
title: '已提醒',
|
||||
align: 'center',
|
||||
width: 80,
|
||||
dataIndex: ''
|
||||
}, {
|
||||
title: '创建时间',
|
||||
align: 'center',
|
||||
dataIndex: '',
|
||||
width: 180,
|
||||
}, {
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: 180,
|
||||
scopedSlots: { customRender: 'action' }
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: '',
|
||||
delete: '',
|
||||
deleteBatch: '',
|
||||
exportXlsUrl: '',
|
||||
importExcelUrl: '',
|
||||
downTemplateUrl: ''
|
||||
},
|
||||
exportXlsUrl: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function(){
|
||||
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.workingGroupProject = this.$route.query.workingGroupProject
|
||||
this.workingGroupProjectId = this.$route.query.workingGroupProjectId
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 返回工作组项目列表
|
||||
*/
|
||||
backWorkingGroupProject() {
|
||||
this.$router.push({
|
||||
path: '/projectManagement/WorkingGroupProjectManagement'
|
||||
|
||||
Reference in New Issue
Block a user