积分维护
This commit is contained in:
@@ -47,15 +47,13 @@
|
||||
</ai-list>
|
||||
<ai-dialog title="详情" :visible.sync="dialog" :customFooter="true" :destroyOnClose="true" width="720px">
|
||||
<ai-wrapper>
|
||||
<ai-info-item label="户主:" :value="dialogInfo.familyName"/>
|
||||
<ai-info-item label="对象:" :value="dialogInfo.residentName"/>
|
||||
<ai-info-item label="事件:" :value="dialogInfo.eventDesc" isLine/>
|
||||
<ai-info-item label="时间:" :value="dialogInfo.doTime" isLine/>
|
||||
<ai-info-item label="积分:">
|
||||
{{ dialogInfo.changeIntegral >= 0 ? '增加' : '减少' }}
|
||||
<span style="color:#26f" v-text="Math.abs(dialogInfo.changeIntegral)"/>分
|
||||
<ai-info-item label="党员:" :value="dialogInfo.partyName" isLine/>
|
||||
<ai-info-item label="事件:" :value="dict.getLabel('partyIntegralDetailType',dialogInfo.type)" dict/>
|
||||
<ai-info-item label="类型:">
|
||||
{{ dialogInfo.partyIntegralDetailType == 1 ? '加分' : '减分' }}
|
||||
</ai-info-item>
|
||||
<ai-info-item label="积分余额:" :value="dialogInfo.nowIntegral"/>
|
||||
<ai-info-item label="分值:" :value="dialogInfo.integral" isLine/>
|
||||
<ai-info-item label="时间:" :value="dialogInfo.createTime" isLine/>
|
||||
</ai-wrapper>
|
||||
<div class="dialog-footer" slot="footer">
|
||||
<el-button @click="dialog=false">关闭</el-button>
|
||||
@@ -100,7 +98,7 @@ export default {
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.$dict.load(["integralDeclareDoType","integralDetailType",]).then(() => {
|
||||
this.$dict.load(["integralDeclareDoType","integralDetailType","partyIntegralDetailType"]).then(() => {
|
||||
this.getList();
|
||||
});
|
||||
},
|
||||
@@ -122,11 +120,11 @@ export default {
|
||||
|
||||
timeChange() {
|
||||
if (this.searchDotime) {
|
||||
this.search.doTimeStart = this.searchDotime[0]
|
||||
this.search.doTimeEnd = this.searchDotime[1]
|
||||
this.search.startTime = this.searchDotime[0]
|
||||
this.search.endTime = this.searchDotime[1]
|
||||
} else {
|
||||
this.search.doTimeStart = null
|
||||
this.search.doTimeEnd = null
|
||||
this.search.startTime = null
|
||||
this.search.endTime = null
|
||||
}
|
||||
this.search.current = 1
|
||||
this.getList()
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
<el-button type="primary" icon="iconfont iconAdd" @click="dialog=true"
|
||||
:disabled="!permissions('app_appvillagerintegraldetail_change')">添加
|
||||
</el-button>
|
||||
<ai-import :instance="instance" :dict="dict" name="积分调整" type="appvillagerintegraldetail"
|
||||
v-if="permissions('app_appvillagerintegraldetail_change')" @success="getList"/>
|
||||
</template>
|
||||
</ai-search-bar>
|
||||
<ai-table
|
||||
@@ -47,7 +45,7 @@
|
||||
<ai-select v-model="form.integralCalcType" :selectList="dict.getDict('integralCalcType')"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="积分" prop="changeIntegral">
|
||||
<el-input v-model.trim.num="form.changeIntegral" placeholder="请输入正数" size="small"></el-input>
|
||||
<el-input v-model.trim.num ="form.changeIntegral" placeholder="请输入正数" size="small"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</ai-dialog>
|
||||
|
||||
Reference in New Issue
Block a user