30248
This commit is contained in:
@@ -60,7 +60,7 @@ export default {
|
|||||||
module = 'wangge'
|
module = 'wangge'
|
||||||
}
|
}
|
||||||
this.setModule(module)
|
this.setModule(module)
|
||||||
this.getToken({...this.form, module, corpId: 'wpytYEDgAAcpXjmlYkYwKO60JDGDWrXg'}).then(token => {
|
this.getToken({...this.form, module, corpId}).then(token => {
|
||||||
if (token) {
|
if (token) {
|
||||||
this.login(token)
|
this.login(token)
|
||||||
if (module != 'AppCountryAlbum') {
|
if (module != 'AppCountryAlbum') {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<!-- @select="areaSelect" -->
|
<!-- @select="areaSelect" -->
|
||||||
<u-form label-width="auto">
|
<u-form label-width="auto">
|
||||||
<u-form-item label="区域选择" right-icon="arrow-right" class="areaIds">
|
<u-form-item label="区域选择" right-icon="arrow-right" class="areaIds">
|
||||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @input="seachObj" :name.sync="areaName" selectRoot/>
|
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="changeArea" :name.sync="areaName" selectRoot/>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u-form>
|
</u-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -101,8 +101,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
var residentType = ['', 0, 1][this.currentTabs]
|
var residentType = ['', 0, 1][this.currentTabs]
|
||||||
this.$http
|
this.$http.post('/app/appresident/list', null, {
|
||||||
.post('/app/appresident/list', null, {
|
|
||||||
params: {
|
params: {
|
||||||
size: 20,
|
size: 20,
|
||||||
current: this.current,
|
current: this.current,
|
||||||
@@ -111,8 +110,7 @@ export default {
|
|||||||
residentType: residentType,
|
residentType: residentType,
|
||||||
auditStatus: 1
|
auditStatus: 1
|
||||||
},
|
},
|
||||||
})
|
}).then((res) => {
|
||||||
.then((res) => {
|
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
||||||
|
|
||||||
@@ -132,7 +130,7 @@ export default {
|
|||||||
uni.navigateTo({url: `./DetailCard?id=${item.id}`})
|
uni.navigateTo({url: `./DetailCard?id=${item.id}`})
|
||||||
},
|
},
|
||||||
|
|
||||||
seachObj(e) {
|
changeArea(e) {
|
||||||
this.areaId = e
|
this.areaId = e
|
||||||
this.current = 1
|
this.current = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
Reference in New Issue
Block a user