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

This commit is contained in:
aixianling
2023-05-15 15:08:10 +08:00
7 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@
<div v-html="detail.content"/> <div v-html="detail.content"/>
</AiItem> </AiItem>
<AiItem label="附件" top-label> <AiItem label="附件" top-label>
<AiUploader :def="detail.files" disabled/> <AiUploader :def="detail.files" disabled preview/>
</AiItem> </AiItem>
</AiGroup> </AiGroup>
</div> </div>

View File

@@ -42,9 +42,6 @@ export default {
uni.previewImage({ uni.previewImage({
current: this.image, current: this.image,
urls: [this.image], urls: [this.image],
success() {
sessionStorage.setItem("previewImage", " 1")
}
}) })
} else { } else {
this.previewFile({size: 1, ...this.file}) this.previewFile({size: 1, ...this.file})

View File

@@ -61,7 +61,7 @@ export default {
methods: { methods: {
getAllGrids() { getAllGrids() {
this.selectList = [] this.selectList = []
let url = `/app/appgirdinfo/listByInfo` let url = this.query.axiosUrl ? this.query.axiosUrl : `/app/appgirdinfo/listByInfo`
this.$instance.post(url).then(res => { this.$instance.post(url).then(res => {
if (res?.data) { if (res?.data) {
let parents = res.data?.map(e => e.parentGirdId) let parents = res.data?.map(e => e.parentGirdId)

View File

@@ -102,7 +102,7 @@ export default {
} }
}, },
onReady() { onReady() {
uni.setNavigationBarTitle({title: "东盛e家"}) uni.setNavigationBarTitle({title: "数字巫溪"})
}, },
onLoad() { onLoad() {
this.autoLogin().then(() => { this.autoLogin().then(() => {
@@ -239,7 +239,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用东盛e家~', title: '欢迎使用数字巫溪~',
path: `/pages/AppHome/AppHome` path: `/pages/AppHome/AppHome`
} }
}, },

View File

@@ -175,7 +175,7 @@ export default {
}, },
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用数字乡村治理服务一体化平台~', title: '欢迎使用数字巫溪治理服务一体化平台~',
path: `/pages/AppModules/AppModules` path: `/pages/AppModules/AppModules`
} }
}, },

View File

@@ -103,6 +103,9 @@ export default {
methods: { methods: {
tabClick(index) { tabClick(index) {
this.currentTab = index this.currentTab = index
if(!this.currentTab) {
this.getInfo()
}
}, },
getInfo() { getInfo() {
this.$loading() this.$loading()

View File

@@ -46,7 +46,7 @@
<h2>所属网格</h2> <h2>所属网格</h2>
</div> </div>
<div class="form-item__right"> <div class="form-item__right">
<AiPagePicker type="gird" v-model="form.girdId" :params="{formType:2}" @select="handleSelectGrid" nodeKey="id"> <AiPagePicker type="gird" v-model="form.girdId" :params="{formType:2, axiosUrl:'/app/appgirdinfo/listAllByWuxi'}" @select="handleSelectGrid" nodeKey="id">
<AiMore v-model="form.girdName"/> <AiMore v-model="form.girdName"/>
</AiPagePicker> </AiPagePicker>
</div> </div>