|
@@ -426,12 +426,14 @@ export default {
|
|
|
clear(type) {
|
|
|
this.queryParam.name = null
|
|
|
this.queryParam.advertiserId = null
|
|
|
+ this.advertiserId = null
|
|
|
this.queryParam.productId = null
|
|
|
this.queryParam.id = null
|
|
|
this.queryParam.productName = null
|
|
|
this.queryParam.projectName = null
|
|
|
this.allIdUser = {}
|
|
|
this.loadData(1)
|
|
|
+
|
|
|
},
|
|
|
addNew() {
|
|
|
if (this.active == 'advertiser') {
|
|
@@ -448,11 +450,7 @@ export default {
|
|
|
this.$refs.modalFormTwo.disableSubmit = false
|
|
|
} else if (this.active == 'project') {
|
|
|
this.$refs.modalFormThree.add({
|
|
|
- advertiserId: this.queryParam.advertiserId
|
|
|
- ? this.queryParam.advertiserId
|
|
|
- : this.advertiserId
|
|
|
- ? this.advertiserId
|
|
|
- : undefined,
|
|
|
+ advertiserId: this.queryParam.advertiserId ? this.queryParam.advertiserId : this.advertiserId ? this.advertiserId : undefined,
|
|
|
productId: this.queryParam.productId ? this.queryParam.productId : undefined,
|
|
|
})
|
|
|
this.$refs.modalFormThree.title = '新增'
|