|
@@ -75,16 +75,24 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- init(val) {
|
|
|
|
- this.optionsUsers = []
|
|
|
|
- this.visible = true
|
|
|
|
- this.addCharge()
|
|
|
|
- },
|
|
|
|
- addCharge() {
|
|
|
|
- let data = {
|
|
|
|
- id: 448,
|
|
|
|
- actId: 110
|
|
|
|
|
|
+ init(id,actId) {
|
|
|
|
+ if (id && actId){
|
|
|
|
+ let data = {
|
|
|
|
+ id:id,
|
|
|
|
+ actId:actId
|
|
|
|
+ }
|
|
|
|
+ this.optionsUsers = []
|
|
|
|
+ this.visible = true
|
|
|
|
+ this.addCharge(data)
|
|
|
|
+ }else {
|
|
|
|
+ if(!id){
|
|
|
|
+ this.$message.error('主表ID为空');
|
|
|
|
+ }else {
|
|
|
|
+ this.$message.error('活动ID为空');
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+ },
|
|
|
|
+ addCharge(data) {
|
|
listCharge(data).then(data => {
|
|
listCharge(data).then(data => {
|
|
console.log(data)
|
|
console.log(data)
|
|
this.auditList = data.data
|
|
this.auditList = data.data
|