|
|
|
|
@ -5,15 +5,15 @@
|
|
|
|
|
<slot>
|
|
|
|
|
<span style="padding: 0 6px;word-break: keep-all;">创建日期</span>
|
|
|
|
|
<span>
|
|
|
|
|
<DatePicker placeholder="请选择日期" type="date" placement="bottom-start" style="width: 180px"></DatePicker>
|
|
|
|
|
<DatePicker :value="selectDate" placeholder="请选择日期" type="date" placement="bottom-start" style="width: 180px" @on-change="(e)=>selectDate = e"></DatePicker>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<span style="padding: 0 6px;word-break: keep-all;">关键字</span>
|
|
|
|
|
<span>
|
|
|
|
|
<Input placeholder="请输入关键字" style="width: 180px"></Input>
|
|
|
|
|
<Input v-model="keywords" placeholder="请输入关键字" style="width: 180px"></Input>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<Button type="primary" style="margin-left: 10px" ghost @click="contractId = '',pageIndex = 1">重置</Button>
|
|
|
|
|
<Button type="primary" style="margin-left: 10px" ghost @click="contractId = '',pageIndex = 1,keywords = '',selectDate = ''">重置</Button>
|
|
|
|
|
<Button type="primary" style="margin-left: 10px" @click="getFundLogs">查询</Button>
|
|
|
|
|
</slot>
|
|
|
|
|
</lx-header>
|
|
|
|
|
@ -64,6 +64,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
selectDate:'',
|
|
|
|
|
keywords:'',
|
|
|
|
|
list:[],
|
|
|
|
|
contractId:'',
|
|
|
|
|
total:0,
|
|
|
|
|
@ -128,7 +130,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
async getFundLogs(){
|
|
|
|
|
const res = await getFundLog({page_size:10,page:this.pageIndex,contract_id:this.contractId})
|
|
|
|
|
const res = await getFundLog({page_size:10,page:this.pageIndex,contract_id:this.contractId,keyword:this.keywords,date:this.selectDate})
|
|
|
|
|
this.list = res.data
|
|
|
|
|
this.total = res.total
|
|
|
|
|
},
|
|
|
|
|
|