字典
This commit is contained in:
@@ -67,7 +67,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
this.$dict.load('integralCalcType').then(()=> {
|
||||||
this.getList()
|
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user