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

This commit is contained in:
aixianling
2022-03-08 18:03:56 +08:00
3 changed files with 4 additions and 30 deletions

View File

@@ -106,7 +106,7 @@ export default {
params: { params: {
size: 6, size: 6,
current: this.current, current: this.current,
residentId: this.user.residentId, residentId: this.user.residentId ? this.user.residentId : '',
description: this.searchObj, description: this.searchObj,
applyIntegralType: this.value, applyIntegralType: this.value,
auditType: this.currentTab == '0' ? '' : this.currentTab == '1' ? '0' : this.currentTab == 2 ? '1' : '', auditType: this.currentTab == '0' ? '' : this.currentTab == '1' ? '0' : this.currentTab == 2 ? '1' : '',

View File

@@ -118,7 +118,6 @@ export default {
}) })
} }
this.flag = true
this.$instance this.$instance
.post(`/app/appvillagerintegraldeclare/addOrUpdate`, { .post(`/app/appvillagerintegraldeclare/addOrUpdate`, {
name: this.user.realName, name: this.user.realName,
@@ -132,6 +131,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('提交成功') this.$u.toast('提交成功')
uni.$emit('updateList') uni.$emit('updateList')
this.flag = true
setTimeout(() => { setTimeout(() => {
uni.navigateBack() uni.navigateBack()
}, 600) }, 600)

View File

@@ -2,7 +2,7 @@
<div class="Page" v-if="showPage"> <div class="Page" v-if="showPage">
<div class="processNames">{{ detail.processName }}</div> <div class="processNames">{{ detail.processName }}</div>
<div class="types">{{ name }}</div> <div class="types">{{ detail.classificationName }}</div>
<div class="conts" v-html="detail.needToKnow"></div> <div class="conts" v-html="detail.needToKnow"></div>
</div> </div>
@@ -18,8 +18,6 @@ export default {
showPage: false, showPage: false,
id: '', id: '',
detail: {}, detail: {},
classList: {},
name: '',
} }
}, },
computed: {}, computed: {},
@@ -34,34 +32,10 @@ export default {
this.$instance.post(`/app/approval-process-def/info-id?id=${this.id}`).then((res) => { this.$instance.post(`/app/approval-process-def/info-id?id=${this.id}`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.detail = res.data this.detail = res.data
this.typeList() this.showPage = true
} }
}) })
}, },
typeList() {
this.$instance
.post(`/app/zwspapprovalclassification/list-xcx`, null, {
params: {
current: 1,
status: 1,
size: 9999,
},
})
.then((res) => {
if (res.code == 0) {
this.classList = res.data.records
if (this.classList) {
this.classList.map((e) => {
if (this.detail.classificationId == e.id) {
this.name = e.name
}
})
this.showPage = true
}
}
})
},
}, },
} }
</script> </script>