[update] 会员管理-成员维护-复制
This commit is contained in:
@@ -406,7 +406,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 复制
|
// 复制
|
||||||
handleMemberCopy (record) {
|
handleMemberCopy (record) {
|
||||||
this.$refs.memberCopyModal.open(record.id, 'one')
|
this.$refs.memberCopyModal.open(record.id, false)
|
||||||
},
|
},
|
||||||
// 批量复制
|
// 批量复制
|
||||||
handleMemberBatchCopy () {
|
handleMemberBatchCopy () {
|
||||||
@@ -415,7 +415,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
const ids = this.selectedRowKeys.join(',')
|
const ids = this.selectedRowKeys.join(',')
|
||||||
this.$refs.memberCopyModal.open(ids, 'batch')
|
this.$refs.memberCopyModal.open(ids, true)
|
||||||
},
|
},
|
||||||
// 编辑会员权益
|
// 编辑会员权益
|
||||||
handleMemberEquity (record) {
|
handleMemberEquity (record) {
|
||||||
|
|||||||
@@ -166,15 +166,15 @@ export default {
|
|||||||
/*
|
/*
|
||||||
* 标协证书维护
|
* 标协证书维护
|
||||||
* */
|
* */
|
||||||
handleCertificate(record){
|
// handleCertificate(record){
|
||||||
this.$router.push({
|
// this.$router.push({
|
||||||
path: '/incomePayments/memberManage/CertificateMaintenanceList',
|
// path: '/incomePayments/memberManage/CertificateMaintenanceList',
|
||||||
query: {
|
// query: {
|
||||||
id: record.id,
|
// id: record.id,
|
||||||
projectName: record.projectName
|
// projectName: record.projectName
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
},
|
// },
|
||||||
// 其他资料
|
// 其他资料
|
||||||
handleOtherData (record) {
|
handleOtherData (record) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
|
|||||||
@@ -129,13 +129,13 @@ export default {
|
|||||||
},
|
},
|
||||||
disableMixinCreated: true,
|
disableMixinCreated: true,
|
||||||
memberIds: '',
|
memberIds: '',
|
||||||
copyType: '' // 复制类型:one,操作栏单条复制,batch批量复制
|
isBatchCopy: false // 是否是批量复制
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
open (ids, copyType) {
|
open (ids, isBatchCopy) {
|
||||||
this.memberIds = ids
|
this.memberIds = ids
|
||||||
this.copyType = copyType
|
this.isBatchCopy = isBatchCopy
|
||||||
this.loadData()
|
this.loadData()
|
||||||
this.visible = true
|
this.visible = true
|
||||||
},
|
},
|
||||||
@@ -156,7 +156,7 @@ export default {
|
|||||||
const param = {}
|
const param = {}
|
||||||
param.projectId = this.selectedRowKeys[0]
|
param.projectId = this.selectedRowKeys[0]
|
||||||
let func
|
let func
|
||||||
if (this.copyType === 'one') {
|
if (!this.isBatchCopy) {
|
||||||
func = memberCopy
|
func = memberCopy
|
||||||
param.id = this.memberIds
|
param.id = this.memberIds
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user