|
|
@ -1,9 +1,11 @@ |
|
|
<template> |
|
|
<template> |
|
|
<section class="padding"> |
|
|
<section class="padding"> |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-input v-model="filters.key" style="width: 40%;" placeholder="模糊查询"></el-input> |
|
|
|
|
|
<mdp-date-range v-model="filters" start-key="startBizDate" end-key="endBizDate"></mdp-date-range> |
|
|
|
|
|
<el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmRptDatas" icon="el-icon-search">查询</el-button> |
|
|
|
|
|
|
|
|
<el-input v-model="filters.key" style="width: 30%;" placeholder="模糊查询"></el-input> |
|
|
|
|
|
<el-checkbox v-model="filters.myCreate" true-label="1" false-label="0">我的</el-checkbox> |
|
|
|
|
|
|
|
|
|
|
|
<mdp-date-range v-model="filters" start-key="startBizDate" style="width:250px;" end-key="endBizDate"></mdp-date-range> |
|
|
|
|
|
<el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmRptDatas" icon="el-icon-search"></el-button> |
|
|
<span style="float:right;"> |
|
|
<span style="float:right;"> |
|
|
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true" icon="el-icon-delete" plain></el-button> |
|
|
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true" icon="el-icon-delete" plain></el-button> |
|
|
</span> |
|
|
</span> |
|
|
@ -12,12 +14,12 @@ |
|
|
<!--列表 XmRptData xm_rpt_data--> |
|
|
<!--列表 XmRptData xm_rpt_data--> |
|
|
<el-table ref="xmRptDataTable" :data="xmRptDatas" :height="maxTableHeight" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> |
|
|
<el-table ref="xmRptDataTable" :data="xmRptDatas" :height="maxTableHeight" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> |
|
|
<el-table-column type="selection" width="55" show-overflow-tooltip fixed="left"></el-table-column> |
|
|
<el-table-column type="selection" width="55" show-overflow-tooltip fixed="left"></el-table-column> |
|
|
<el-table-column prop="rptName" label="报告名称" min-width="120" show-overflow-tooltip> |
|
|
|
|
|
|
|
|
<el-table-column prop="rptName" label="报告名称" min-width="250" show-overflow-tooltip> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span> {{scope.row.rptName}} </span> |
|
|
<span> {{scope.row.rptName}} </span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="bizDate" label="业务日期" min-width="120" show-overflow-tooltip> |
|
|
|
|
|
|
|
|
<el-table-column prop="bizDate" label="业务日期" min-width="100" show-overflow-tooltip> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span> {{scope.row.bizDate}} </span> |
|
|
<span> {{scope.row.bizDate}} </span> |
|
|
</template> |
|
|
</template> |
|
|
@ -67,6 +69,7 @@ export default { |
|
|
key: '', |
|
|
key: '', |
|
|
startBizDate:'', |
|
|
startBizDate:'', |
|
|
endBizDate:'', |
|
|
endBizDate:'', |
|
|
|
|
|
myCreate:'0', |
|
|
}, |
|
|
}, |
|
|
xmRptDatas: [],//查询结果 |
|
|
xmRptDatas: [],//查询结果 |
|
|
pageInfo:{//分页数据 |
|
|
pageInfo:{//分页数据 |
|
|
@ -150,6 +153,10 @@ export default { |
|
|
params.startBizDate=this.filters.startBizDate |
|
|
params.startBizDate=this.filters.startBizDate |
|
|
params.endBizDate=this.filters.endBizDate |
|
|
params.endBizDate=this.filters.endBizDate |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(this.filters.myCreate=='1'){ |
|
|
|
|
|
params.cuserid=this.userInfo.userid |
|
|
|
|
|
} |
|
|
this.load.list = true; |
|
|
this.load.list = true; |
|
|
listXmRptData(params).then((res) => { |
|
|
listXmRptData(params).then((res) => { |
|
|
var tips=res.data.tips; |
|
|
var tips=res.data.tips; |
|
|
|