BUG 25331

This commit is contained in:
aixianling
2021-12-09 18:31:25 +08:00
parent 21730aa629
commit 8110844bd2
2 changed files with 56 additions and 62 deletions

View File

@@ -1,48 +1,48 @@
<template>
<div class="form">
<component
:is="component"
@change="onChange"
:params="params">
:is="component"
@change="onChange"
:params="params">
</component>
</div>
</template>
<script>
import Tabbar from './components/Tabbar.vue'
import AddForm from './components/AddForm.vue'
import Result from './components/Result.vue'
import Tabbar from './components/Tabbar.vue'
import AddForm from './components/AddForm.vue'
import Result from './components/Result.vue'
export default {
name: 'AppAskForm',
appName: '问卷表单管理',
export default {
name: 'AppAskForm',
appName: '问卷表单管理',
data () {
return {
component: 'Tabbar',
params: {}
}
data() {
return {
component: 'Tabbar',
params: {}
}
},
components: {
Tabbar,
Result,
AddForm
},
methods: {
onChange(e) {
this.params = e.params
this.component = e.type
},
components: {
Tabbar,
Result,
AddForm
},
onLoad () {
},
mounted () {
},
methods: {
onChange (e) {
this.params = e.params
this.component = e.type
},
emitShow() {
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact', 'shareAppMessage', 'shareWechatMessage']).then(() => {
this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType'])
})
}
}
}
</script>
<style lang="scss" scoped>