bug
This commit is contained in:
@@ -218,8 +218,7 @@
|
||||
:isShowTip="true"
|
||||
:instance="instance"
|
||||
v-model="form.fileList"
|
||||
fileType="file"
|
||||
acceptType=".zip, .rar, .doc, .docx, .xls, .ppt, .pptx, .pdf, .txt, .jpg, .png"
|
||||
acceptType=".zip,.rar,.doc,.docx,.xls,.ppt,.pptx,.pdf,.txt,.jpg,.png,.xlsx"
|
||||
:limit="9">
|
||||
<template slot="tips">
|
||||
最多上传9个附件,单个文件最大10MB<br/>
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
<ai-select v-model="search.sex" placeholder="请选择性别" :selectList="dict.getDict('sex')"
|
||||
@change="search.current = 1, getList()"></ai-select>
|
||||
<ai-search label="年龄">
|
||||
<ai-range v-model="search.age" ref="resetagefoo" @change="search.current = 1, getList()"
|
||||
@closeVal="search.age = []"/>
|
||||
<ai-range v-model="age" ref="resetagefoo" @change="search.current = 1, getList()"
|
||||
@closeVal="age = []"/>
|
||||
</ai-search>
|
||||
<ai-search label="入党时间">
|
||||
<el-date-picker
|
||||
@@ -120,7 +120,6 @@ export default {
|
||||
current: 1,
|
||||
size: 10,
|
||||
con: '',
|
||||
age: [],
|
||||
sex: '',
|
||||
joinPartyStart: '',
|
||||
joinPartyEnd: ''
|
||||
@@ -138,6 +137,7 @@ export default {
|
||||
],
|
||||
tableData: [],
|
||||
ids: '',
|
||||
age: []
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -181,10 +181,15 @@ export default {
|
||||
this.loading = true
|
||||
partyOrgId = partyOrgId || this.selected.id
|
||||
this.instance.post(`/app/apppartydevelop/list`, null, {
|
||||
params: {partyOrgId, ...this.search, ageStart: this.search.age[0] || '', ageEnd: this.search.age[1] || '',}
|
||||
params: {partyOrgId, ...this.search, ageStart: this.age[0] || '', ageEnd: this.age[1] || '',}
|
||||
}).then(res => {
|
||||
this.loading = false
|
||||
if (res?.data) {
|
||||
res.data.records.map((item) => {
|
||||
if(item.applyJoinPartyTime) {
|
||||
item.applyJoinPartyTime = item.applyJoinPartyTime.substring(0, 10)
|
||||
}
|
||||
})
|
||||
this.tableData = res.data.records
|
||||
this.total = res.data.total
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user