diff --git a/packages/party/AppPartyScore/psDetail.vue b/packages/party/AppPartyScore/psDetail.vue
index d1e2d5bc..7c6085ba 100644
--- a/packages/party/AppPartyScore/psDetail.vue
+++ b/packages/party/AppPartyScore/psDetail.vue
@@ -10,6 +10,13 @@
+
+
+
+ 编辑
+
+
+
@@ -31,6 +38,13 @@
+
+
+
+
+
+
+
@@ -50,7 +64,15 @@ export default {
{label: "变动积分", prop: "integral", align: 'center'},
{label: "剩余积分", prop: "residualIntegral", align: 'center'},
{label: "调整说明", prop: "remark"},
- ]
+ ],
+ dialog: false,
+ form: {},
+ rules: {
+ learningIntegral: [
+ {required: true, message: "请输入学习强国积分"},
+ {pattern: /^\d+$/g, message: "请输入正整数"}
+ ]
+ }
}
},
methods: {
@@ -66,6 +88,23 @@ export default {
},
back() {
this.$router.push({})
+ },
+ submit() {
+ this.$refs.DialogForm.validate(v => {
+ if (v) {
+ this.instance.post("/app/appparty/editLearningIntegral", this.form).then(res => {
+ if (res?.code == 0) {
+ this.$message.success("提交成功!")
+ this.dialog = false
+ this.getDetail()
+ }
+ })
+ }
+ })
+ },
+ handleEditLearningIntergral(partyMemberId) {
+ this.dialog = true
+ this.form = {partyMemberId}
}
},
created() {
@@ -86,9 +125,8 @@ export default {
color: #26f;
}
- .staCard {
+ ::v-deep.staCard {
font-size: 14px;
- line-height: 28px;
b {
font-size: 24px;
@@ -98,6 +136,17 @@ export default {
& + .staCard {
margin-left: 16px;
}
+
+ .ai-card__body {
+ position: relative;
+
+ .el-button {
+ position: absolute;
+ right: 32px;
+ top: 6px;
+ }
+ }
+
}
}
diff --git a/packages/party/AppPartyScore/psList.vue b/packages/party/AppPartyScore/psList.vue
index c26dd67b..76f265eb 100644
--- a/packages/party/AppPartyScore/psList.vue
+++ b/packages/party/AppPartyScore/psList.vue
@@ -39,6 +39,7 @@ export default {
{label: "姓名", prop: "name"},
{label: "个人积分", prop: "integral", align: "center"},
{label: "家庭积分", prop: "familySurplusIntegral", align: "center"},
+ {label: "学习强国", prop: "learningIntegral", align: "center"},
{slot: "options"}
]
},