[update] 会员管理-成员维护-复制

This commit is contained in:
lideqin
2024-03-08 18:04:27 +08:00
parent 99d901cc2c
commit 492359cb34
3 changed files with 15 additions and 15 deletions
@@ -406,7 +406,7 @@ export default {
},
// 复制
handleMemberCopy (record) {
this.$refs.memberCopyModal.open(record.id, 'one')
this.$refs.memberCopyModal.open(record.id, false)
},
// 批量复制
handleMemberBatchCopy () {
@@ -415,7 +415,7 @@ export default {
return
}
const ids = this.selectedRowKeys.join(',')
this.$refs.memberCopyModal.open(ids, 'batch')
this.$refs.memberCopyModal.open(ids, true)
},
// 编辑会员权益
handleMemberEquity (record) {
@@ -166,15 +166,15 @@ export default {
/*
* 标协证书维护
* */
handleCertificate(record){
this.$router.push({
path: '/incomePayments/memberManage/CertificateMaintenanceList',
query: {
id: record.id,
projectName: record.projectName
}
})
},
// handleCertificate(record){
// this.$router.push({
// path: '/incomePayments/memberManage/CertificateMaintenanceList',
// query: {
// id: record.id,
// projectName: record.projectName
// }
// })
// },
// 其他资料
handleOtherData (record) {
this.$router.push({
@@ -129,13 +129,13 @@ export default {
},
disableMixinCreated: true,
memberIds: '',
copyType: '' // 复制类型:one,操作栏单条复制,batch批量复制
isBatchCopy: false // 是否是批量复制
}
},
methods: {
open (ids, copyType) {
open (ids, isBatchCopy) {
this.memberIds = ids
this.copyType = copyType
this.isBatchCopy = isBatchCopy
this.loadData()
this.visible = true
},
@@ -156,7 +156,7 @@ export default {
const param = {}
param.projectId = this.selectedRowKeys[0]
let func
if (this.copyType === 'one') {
if (!this.isBatchCopy) {
func = memberCopy
param.id = this.memberIds
} else {