BUG 26029

This commit is contained in:
aixianling
2021-12-24 22:45:52 +08:00
parent 33685758f3
commit 587dd3f899
7 changed files with 174 additions and 241 deletions

View File

@@ -1,13 +1,13 @@
<template>
<div class="form">
<component v-if="refresh" :is="component" @change="onChange" :params="params"/>
<component ref="TabPage" :is="component" @change="onChange" :params="params"/>
</div>
</template>
<script>
import Tabbar from './components/Tabbar.vue'
import AddForm from './components/AddForm.vue'
import Result from './components/Result.vue'
import AddForm from './AddForm.vue'
import Result from './Result.vue'
import {mapActions} from "vuex";
export default {
@@ -37,9 +37,8 @@ export default {
},
onShow() {
document.title = "问卷表单"
this.refresh = false
this.$refs.TabPage?.show()
this.$nextTick(() => {
this.refresh = true
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact', 'shareAppMessage', 'shareWechatMessage']).then(() => {
this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType'])
})