积分申请

This commit is contained in:
liuye
2023-07-05 10:25:09 +08:00
parent 34c91e6829
commit 2c69834d9a

View File

@@ -66,7 +66,7 @@
</template> </template>
<script> <script>
import { mapState } from 'vuex' import {mapActions, mapState} from "vuex";
export default { export default {
name: "integralAdd", name: "integralAdd",
appName: '积分申请', appName: '积分申请',
@@ -102,11 +102,13 @@ export default {
this.getDetail() this.getDetail()
} }
this.$dict.load(['clapEventStatus']) this.$dict.load(['clapEventStatus'])
this.injectJWeixin(['scanQRCode'])
}, },
onShow() { onShow() {
document.title = '积分代申请' document.title = '积分代申请'
}, },
methods: { methods: {
...mapActions(['injectJWeixin']),
submit() { submit() {
if(this.flag) return if(this.flag) return
@@ -201,6 +203,7 @@ export default {
this.handleSelectUser(userList) this.handleSelectUser(userList)
}, },
error: (res) => { error: (res) => {
console.log(res)
if (res.errMsg.indexOf('function_not_exist') > 0) { if (res.errMsg.indexOf('function_not_exist') > 0) {
alert('版本过低请升级') alert('版本过低请升级')
} }