From eddd56a0dee3ce7712d0117f58bbd4f56e69610e Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Mon, 15 Aug 2022 13:52:24 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=90=8D=E7=A7=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/gridScoreManage.vue | 29 ++++++++++++++-----
.../components/gridScoreRules.vue | 14 ++++-----
.../components/gridScoreStatistics.vue | 11 ++++---
3 files changed, 34 insertions(+), 20 deletions(-)
diff --git a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreManage.vue b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreManage.vue
index 101b85f2..5ebb18ca 100644
--- a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreManage.vue
+++ b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreManage.vue
@@ -4,7 +4,7 @@
- 批量调整积分
+ 批量调整积分
@@ -37,7 +37,7 @@
- 调整积分
+ 调整积分
详情
@@ -45,15 +45,15 @@
+ @closed="form={},chooseUserList=[]">
-
@@ -119,6 +119,7 @@ export default {
value: 'id',
checkStrictly: true,
},
+ chooseUserList: []
}
},
created() {
@@ -154,7 +155,7 @@ export default {
...this.page,
...this.search,
current: this.current,
-
+
}
}).then(res => {
if(res?.data) {
@@ -167,6 +168,7 @@ export default {
selectPerson(val) {
this.personList = val
this.form.ids = this.personList.map(e => e.id)
+ // .concat(this.chooseUserList.map(v=>v.id))
// if (val) {
// this.form.residentId = val.id
// this.personList = [{...val}]
@@ -175,6 +177,19 @@ export default {
// this.personList = []
// }
},
+ changeIntegral(row,type) {
+ console.log(row);
+ if(type==0) {
+ this.dialog = true
+ } else if(type ==1) {
+ this.chooseUserList = [{
+ id: row.id,
+ name: row.userName
+ }]
+ // this.personList = this.chooseUserList.map(e => e.id)
+ this.dialog = true
+ }
+ },
getGridList() {
this.instance.post(`/app/appgirdinfo/listAll3`).then((res) => {
if (res.code == 0) {
@@ -211,7 +226,7 @@ export default {
},
changeTableSort(col) {
- // console.log(col);
+ console.log(col);
if(col.prop === 'integral') { // 剩余积分
// col.order === 'ascending' &&
// col.order === 'descending' &&
diff --git a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreRules.vue b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreRules.vue
index 05cc45b5..fb8b4cba 100644
--- a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreRules.vue
+++ b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreRules.vue
@@ -431,13 +431,13 @@ export default {
.post(`/app/appgirdinfo/listAll3`, null, null)
.then((res) => {
if (res.code == 0) {
- res.data.forEach((item)=>{
- const isChecked = this.girdInfoList.find((checkedId)=>{
- return item.id === checkedId
- })
- if(isChecked) item.checkType = true
- })
- console.log(res.data)
+ // res.data.forEach((item)=>{
+ // const isChecked = this.girdInfoList.find((checkedId)=>{
+ // return item.id === checkedId
+ // })
+ // if(isChecked) item.checkType = true
+ // })
+ // console.log(res.data)
this.treeObj.treeList = this.girdToTree(res.data);
this.girdInfoList.map((e) => {
diff --git a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreStatistics.vue b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreStatistics.vue
index 73610c6c..39ef9556 100644
--- a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreStatistics.vue
+++ b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreStatistics.vue
@@ -97,7 +97,7 @@
{{ details.integralCalcType==0? '-' : '+' }}{{ details.changeIntegral }}
-
+
@@ -168,9 +168,6 @@ export default {
userSortListY: [],
girdSortListX: [],
girdSortListY: [],
- fileOps: {
- name: ''
- },
}
},
computed: {
@@ -450,9 +447,11 @@ export default {
if(res?.data) {
this.details = res.data
if(res.data.enclosure) {
- this.fileDownLoad = [{ url:res.data.enclosure }]
let str = res.data.enclosure.split('/')
- this.fileOps.name = str?.[str.length - 1]
+ this.fileDownLoad = [{
+ url:res.data.enclosure,
+ name: str?.[str.length - 1]
+ }]
}
}
})