table宽度
This commit is contained in:
@@ -33,19 +33,19 @@
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col v-if="!isData" :xl="8" :lg="24" :md="24" :sm="24">
|
<a-col v-if="!isData" :xl="8" :lg="24" :md="24" :sm="24">
|
||||||
<a-form-item label="会议时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="会议时间" :labelCol="labelCol1" :wrapperCol="wrapperCol1">
|
||||||
<j-date
|
<j-date
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
placeholder="请选择开始日期"
|
placeholder="请选择开始日期"
|
||||||
class="query-group-cust"
|
class="query-group-cust"
|
||||||
v-model="queryParam.meetingStartTime">
|
v-model="queryParam.startTime">
|
||||||
</j-date>
|
</j-date>
|
||||||
<span class="query-group-split-cust"></span>
|
<span class="query-group-split-cust"></span>
|
||||||
<j-date
|
<j-date
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
placeholder="请选择结束日期"
|
placeholder="请选择结束日期"
|
||||||
class="query-group-cust"
|
class="query-group-cust"
|
||||||
v-model="queryParam.meetingEndTime">
|
v-model="queryParam.endTime">
|
||||||
</j-date>
|
</j-date>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -121,11 +121,21 @@ export default {
|
|||||||
key: 'id'
|
key: 'id'
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
|
xl: { span: 6 },
|
||||||
|
xs: { span: 24 },
|
||||||
|
sm: { span: 24 }
|
||||||
|
},
|
||||||
|
labelCol1: {
|
||||||
xl: { span: 8 },
|
xl: { span: 8 },
|
||||||
xs: { span: 24 },
|
xs: { span: 24 },
|
||||||
sm: { span: 24 }
|
sm: { span: 24 }
|
||||||
},
|
},
|
||||||
wrapperCol: {
|
wrapperCol: {
|
||||||
|
xl: { span: 6 },
|
||||||
|
xs: { span: 24 },
|
||||||
|
sm: { span: 24 }
|
||||||
|
},
|
||||||
|
wrapperCol1: {
|
||||||
xl: { span: 8 },
|
xl: { span: 8 },
|
||||||
xs: { span: 24 },
|
xs: { span: 24 },
|
||||||
sm: { span: 24 }
|
sm: { span: 24 }
|
||||||
@@ -166,6 +176,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '下载次数',
|
title: '下载次数',
|
||||||
|
width: '126px',
|
||||||
dataIndex: 'downLodeTime',
|
dataIndex: 'downLodeTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
customRender: function( text ) {
|
customRender: function( text ) {
|
||||||
@@ -174,6 +185,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '上传时间',
|
title: '上传时间',
|
||||||
|
width: '126px',
|
||||||
dataIndex: 'upLodeTime',
|
dataIndex: 'upLodeTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
customRender: function(text) {
|
customRender: function(text) {
|
||||||
@@ -186,6 +198,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '上传人',
|
title: '上传人',
|
||||||
|
width: '100px',
|
||||||
dataIndex: 'upLodePeople',
|
dataIndex: 'upLodePeople',
|
||||||
align: 'center'
|
align: 'center'
|
||||||
},
|
},
|
||||||
@@ -193,6 +206,7 @@ export default {
|
|||||||
title: '操作',
|
title: '操作',
|
||||||
dataIndex: '',
|
dataIndex: '',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: '300px',
|
||||||
scopedSlots: { customRender: 'action' }
|
scopedSlots: { customRender: 'action' }
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -236,6 +250,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '下载次数',
|
title: '下载次数',
|
||||||
|
width: '126px',
|
||||||
dataIndex: 'downLodeTime',
|
dataIndex: 'downLodeTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
customRender: function( text ) {
|
customRender: function( text ) {
|
||||||
@@ -244,6 +259,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '上传时间',
|
title: '上传时间',
|
||||||
|
width: '126px',
|
||||||
dataIndex: 'upLodeTime',
|
dataIndex: 'upLodeTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
customRender: function(text) {
|
customRender: function(text) {
|
||||||
@@ -256,6 +272,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '上传人',
|
title: '上传人',
|
||||||
|
width: '100px',
|
||||||
dataIndex: 'upLodePeople',
|
dataIndex: 'upLodePeople',
|
||||||
align: 'center'
|
align: 'center'
|
||||||
},
|
},
|
||||||
@@ -263,6 +280,7 @@ export default {
|
|||||||
title: '操作',
|
title: '操作',
|
||||||
dataIndex: '',
|
dataIndex: '',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: '300px',
|
||||||
scopedSlots: { customRender: 'action' }
|
scopedSlots: { customRender: 'action' }
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -391,7 +409,8 @@ export default {
|
|||||||
},
|
},
|
||||||
// 资料树选中事件
|
// 资料树选中事件
|
||||||
select(selectedKeys) {
|
select(selectedKeys) {
|
||||||
this.selectedMeetKeys = []
|
this.selectedMeetKeys = [] // 取消其他的节点的选中状态
|
||||||
|
this.queryParam = {} // 清空搜索条件
|
||||||
this.isData = true
|
this.isData = true
|
||||||
this.url.list = 'payDataFile/payDataFile/list'
|
this.url.list = 'payDataFile/payDataFile/list'
|
||||||
if (this.filters.id !== selectedKeys[0]){ // 目录id发生改变,重新获取表格数据
|
if (this.filters.id !== selectedKeys[0]){ // 目录id发生改变,重新获取表格数据
|
||||||
@@ -402,6 +421,7 @@ export default {
|
|||||||
// 会议树选中事件
|
// 会议树选中事件
|
||||||
selectMeet(selectedKeys) {
|
selectMeet(selectedKeys) {
|
||||||
this.selectedKeys = []
|
this.selectedKeys = []
|
||||||
|
this.queryParam = {} // 清空搜索条件
|
||||||
this.isData = false
|
this.isData = false
|
||||||
this.url.list = 'payDataFile/payDataFile/listMeeting'
|
this.url.list = 'payDataFile/payDataFile/listMeeting'
|
||||||
if (this.filters.id !== selectedKeys[0]){ // 目录id发生改变,重新获取表格数据
|
if (this.filters.id !== selectedKeys[0]){ // 目录id发生改变,重新获取表格数据
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<a-row>
|
<a-row>
|
||||||
<a-col>
|
<a-col>
|
||||||
<a-form-item label="文件" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="文件" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<j-upload file-type="all" file-type-error-message="请上传文件" :multiple="false" :number="10"
|
<j-upload file-type="all" file-type-error-message="请上传文件" :multiple="true" :number="10"
|
||||||
:return-id="true"
|
:return-id="true"
|
||||||
:fileList="fileList"
|
:fileList="fileList"
|
||||||
v-decorator="['dataId', validatorRules.dataId]"
|
v-decorator="['dataId', validatorRules.dataId]"
|
||||||
|
|||||||
Reference in New Issue
Block a user