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

@@ -30,17 +30,17 @@
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>

View File

@@ -112,16 +112,11 @@ export default {
},
created() {
this.$loading()
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact']).then(() => {
this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType']).then(() => {
this.getList()
})
})
},
methods: {
...mapActions(['injectJWeixin', 'wxInvoke']),
...mapActions(['wxInvoke']),
linkTo(url) {
this.isShow = false
@@ -172,7 +167,6 @@ export default {
this.isShow = false
}
if (data.tapIndex === 0 || data.tapIndex === 1) {
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
if (data.tapIndex === 0) {
this.wxInvoke(['shareAppMessage', {
title: this.info.title,
@@ -192,7 +186,6 @@ export default {
this.isShow = false
}])
}
})
}
}
})
@@ -311,6 +304,7 @@ export default {
.form {
height: 100vh;
overflow: hidden;
::v-deep .u-search {
margin-bottom: 0 !important;