Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wxcp_app into dev
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<span class="tips">*</span>党员信息
|
<span class="tips">*</span>党员信息
|
||||||
</div>
|
</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<AiPagePicker type="party" @select="handlePartySelect" single>
|
<AiPagePicker type="party" @select="handlePartySelect" single :isFourParty="true">
|
||||||
<AiMore v-model="form.partyName" placeholder="请选择"/>
|
<AiMore v-model="form.partyName" placeholder="请选择"/>
|
||||||
</AiPagePicker>
|
</AiPagePicker>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -161,6 +161,11 @@ export default {
|
|||||||
color: #333;
|
color: #333;
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: hidden;
|
||||||
}
|
}
|
||||||
.info{
|
.info{
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
|
|||||||
@@ -57,22 +57,32 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
this.$http.post(`/app/appparty/list`, null, {
|
var url = this.$route.query.isFourParty ? '/app/appparty/listByFourParty?size=999' : '/app/appparty/list'
|
||||||
|
this.$http.post(url, null, {
|
||||||
params: {
|
params: {
|
||||||
current: this.current,
|
current: this.current,
|
||||||
size: 20,
|
size: 20,
|
||||||
areaId: this.user.areaId,
|
areaId: this.user.areaId,
|
||||||
con: this.name
|
con: this.name,
|
||||||
|
name: this.name
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
res.data.records.forEach(e => {
|
|
||||||
e.isCheck = this.selected.includes(e.idNumber)
|
|
||||||
})
|
|
||||||
if (this.current > 1 && this.current > res.data.pages) {
|
if (this.current > 1 && this.current > res.data.pages) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
|
if(this.$route.query.isFourParty) {
|
||||||
|
res.data.forEach(e => {
|
||||||
|
e.isCheck = this.selected.includes(e.idNumber)
|
||||||
|
})
|
||||||
|
this.list = this.current > 1 ? [...this.list, ...res.data] : res.data
|
||||||
|
}else {
|
||||||
|
res.data.records.forEach(e => {
|
||||||
|
e.isCheck = this.selected.includes(e.idNumber)
|
||||||
|
})
|
||||||
|
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user