|
@@ -27,7 +27,7 @@
|
|
<!-- 操作按钮区域 -->
|
|
<!-- 操作按钮区域 -->
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
<!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>-->
|
|
<!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>-->
|
|
- <a-button type="primary" icon="download" @click="handleExportXls('样品过期审核通过表')">导出</a-button>
|
|
|
|
|
|
+ <!-- <a-button type="primary" icon="download" @click="handleExportXls('样品过期审核通过表')">导出</a-button> -->
|
|
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
<!-- <a-button type="primary" icon="import">导入</a-button>-->
|
|
<!-- <a-button type="primary" icon="import">导入</a-button>-->
|
|
</a-upload>
|
|
</a-upload>
|
|
@@ -43,10 +43,10 @@
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
<!-- table区域-begin -->
|
|
<div>
|
|
<div>
|
|
- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
|
|
|
+ <!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
|
|
|
|
<a-table
|
|
<a-table
|
|
ref="table"
|
|
ref="table"
|
|
@@ -58,7 +58,6 @@
|
|
:dataSource="dataSource"
|
|
:dataSource="dataSource"
|
|
:pagination="ipagination"
|
|
:pagination="ipagination"
|
|
:loading="loading"
|
|
:loading="loading"
|
|
- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
|
class="j-table-force-nowrap"
|
|
class="j-table-force-nowrap"
|
|
@change="handleTableChange">
|
|
@change="handleTableChange">
|
|
|
|
|
|
@@ -126,16 +125,16 @@
|
|
description: '样品过期审核通过表管理页面',
|
|
description: '样品过期审核通过表管理页面',
|
|
// 表头
|
|
// 表头
|
|
columns: [
|
|
columns: [
|
|
- {
|
|
|
|
- title: '#',
|
|
|
|
- dataIndex: '',
|
|
|
|
- key:'rowIndex',
|
|
|
|
- width:60,
|
|
|
|
- align:"center",
|
|
|
|
- customRender:function (t,r,index) {
|
|
|
|
- return parseInt(index)+1;
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
|
|
+ // {
|
|
|
|
+ // title: '#',
|
|
|
|
+ // dataIndex: '',
|
|
|
|
+ // key:'rowIndex',
|
|
|
|
+ // width:60,
|
|
|
|
+ // align:"center",
|
|
|
|
+ // customRender:function (t,r,index) {
|
|
|
|
+ // return parseInt(index)+1;
|
|
|
|
+ // }
|
|
|
|
+ // },
|
|
// {
|
|
// {
|
|
// title:'样品过期申请表id',
|
|
// title:'样品过期申请表id',
|
|
// align:"center",
|
|
// align:"center",
|
|
@@ -220,4 +219,9 @@
|
|
</script>
|
|
</script>
|
|
<style scoped>
|
|
<style scoped>
|
|
@import '~@assets/less/common.less';
|
|
@import '~@assets/less/common.less';
|
|
|
|
+ ::v-deep .ant-card-body{
|
|
|
|
+ padding-top: 0px !important;
|
|
|
|
+ padding-left: 10px !important;
|
|
|
|
+ padding-right: 10px !important;
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|