Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2022-03-15 17:04:44 +08:00
4 changed files with 6 additions and 3 deletions

View File

@@ -128,6 +128,7 @@ export default {
current: this.current, current: this.current,
createUserId: this.currentTabs == 1 ? this.user.id : '', createUserId: this.currentTabs == 1 ? this.user.id : '',
title: this.keyword, title: this.keyword,
areaId: this.areaId,
}, },
}) })
.then((res) => { .then((res) => {

View File

@@ -104,6 +104,9 @@ export default {
}, },
onLoad() { onLoad() {
this.isGirdUser() this.isGirdUser()
uni.$on('update').then(() => {
this.isGirdUser()
})
}, },
onShow() { onShow() {
document.title = '返乡登记' document.title = '返乡登记'
@@ -170,7 +173,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
this.girdId = res.data[0].id this.girdId = res.data[0].id
this.girdName = res.data[0].girdName this.girdName = res.data[0].girdName
this.getList() this.getListInit()
this.getTotal() this.getTotal()
} }
}) })

View File

@@ -126,7 +126,6 @@ export default {
params: { params: {
size: this.size, size: this.size,
current: this.current, current: this.current,
areaId: this.areaId,
createUserId: this.currentTabs == 1 ? this.user.id : '', createUserId: this.currentTabs == 1 ? this.user.id : '',
title: this.keyword, title: this.keyword,
}, },

View File

@@ -41,7 +41,7 @@
<div class="line"></div> <div class="line"></div>
<u-form-item label="图片(最多9张)" prop="images" class="avatars" label-position="top" :border-bottom="false"> <u-form-item label="图片(最多9张)" prop="images" class="avatars" label-position="top" :border-bottom="false">
<AiUploader :def.sync="forms.images" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2" sourceType="camera"></AiUploader> <AiUploader :def.sync="forms.images" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
</u-form-item> </u-form-item>
</u-form> </u-form>
</div> </div>