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