积分申请
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="addPoints">
|
||||
<div class="item">
|
||||
<div class="item_left"><span class="red">*</span><span class="color-666">事件类型</span></div>
|
||||
<AiSelect dict="fpAssistanceMeasures" v-model="form.applyItem"/>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="item_left"><span class="red">*</span><span class="color-666">申请事项</span></div>
|
||||
<div class="input"><u-input v-model="form.applyItem" type="text" placeholder="请输入" /></div>
|
||||
@@ -7,7 +11,7 @@
|
||||
|
||||
<div class="item">
|
||||
<div class="item_left"><span class="red">*</span><span class="color-666">积分数量</span></div>
|
||||
<div class="input"><u-input v-model="form.applyIntegral" type="number" placeholder="请输入"/></div>
|
||||
<div class="input"><u-input v-model="form.applyIntegral" type="number" disabled placeholder="请输入"/></div>
|
||||
</div>
|
||||
|
||||
<div class="items">
|
||||
@@ -37,10 +41,11 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(opt) {
|
||||
document.title = '积分申请'
|
||||
if(opt) {
|
||||
this.getDetail(opt.id)
|
||||
}
|
||||
document.title = '积分申请'
|
||||
this.$dict.load('fpAssistanceMeasures')
|
||||
},
|
||||
methods: {
|
||||
getDetail(id) {
|
||||
|
||||
@@ -92,7 +92,7 @@ export default {
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
if (res?.data) {
|
||||
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user