This commit is contained in:
liuye
2022-11-03 11:45:08 +08:00
parent 5f691befb0
commit 37d61417ad

View File

@@ -67,7 +67,9 @@ export default {
} }
}, },
created () { created () {
this.getList() this.$dict.load('integralCalcType').then(()=> {
this.getList()
})
}, },
computed: { computed: {
...mapState(['user']), ...mapState(['user']),
@@ -109,7 +111,7 @@ export default {
this.$refs.form.validate((valid)=> { this.$refs.form.validate((valid)=> {
if(valid) { if(valid) {
this.flag = true this.flag = true
this.instance.post(`/appwechatintegraldetail/addOrUpdate`, { this.instance.post(`api/appwechatintegraldetail/addOrUpdate`, {
calcType: this.form.calcType, calcType: this.form.calcType,
integral: this.form.integral, integral: this.form.integral,
openId: this.form.openId, openId: this.form.openId,