From 1ad46daa814faca6a3cac7a4ff693e65b85a90d5 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Wed, 23 Feb 2022 20:31:44 +0800
Subject: [PATCH] 27679
---
src/apps/AppIntegralAudit/AppIntegralAudit.vue | 2 +-
src/apps/AppIntegralAudit/detail.vue | 13 ++++++++-----
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/apps/AppIntegralAudit/AppIntegralAudit.vue b/src/apps/AppIntegralAudit/AppIntegralAudit.vue
index 0ce8a914..413f5c68 100644
--- a/src/apps/AppIntegralAudit/AppIntegralAudit.vue
+++ b/src/apps/AppIntegralAudit/AppIntegralAudit.vue
@@ -20,7 +20,7 @@
{{ $dict.getLabel('integralDeclareStatus',item.auditStatus) }}
-
{{ item.auditIntegral }}
+
+-{{ item.auditIntegral }}
diff --git a/src/apps/AppIntegralAudit/detail.vue b/src/apps/AppIntegralAudit/detail.vue
index dde7c973..363dba48 100644
--- a/src/apps/AppIntegralAudit/detail.vue
+++ b/src/apps/AppIntegralAudit/detail.vue
@@ -48,7 +48,7 @@
积分方式
-
{{ data.integral }}
+
+-{{ data.integral }}
@@ -134,6 +134,7 @@ export default {
auditOpinion: '', // 不通过理由
ruleName: '',
integral: '',
+ integralType: ''
},
typeList: [],
}
@@ -173,13 +174,13 @@ export default {
}
},
typeChange(e) {
- console.log(e);
this.data.ruleName = e[0].label
this.data.id = e[0].value
this.data.integral = e[0].value
this.typeList.map((item) => {
if(item.id == e[0].value) {
this.data.integral = item.integral
+ this.data.integralType = item.integralType
}
})
},
@@ -200,15 +201,17 @@ export default {
return this.$u.toast('请输入不通过理由')
}
}
+ // var auditIntegral = this.data.integralType == 1 ? '+' : '-'
+ // auditIntegral = auditIntegral + this.data.integral
this.$http.post('/app/appvillagerintegraldeclare/examine',null,{
params: {
id: this.id,
pass: this.opts,
auditRuleId: this.data.id,
auditIntegralType: this.data.auditIntegralType,
- auditIntegral: this.data.integral,
+ auditIntegral: audithis.data.integralTypetIntegral,
opinion: this.data.auditOpinion,
- auditRuleName: this.data.ruleName
+ auditRuleName: this.data.ruleName,
}
}).then(()=>{
this.$u.toast('保存成功')
@@ -220,7 +223,7 @@ export default {
}
},
onShow() {
- document.title = '积分审核'
+ document.title = '积分审核详情'
},