|
|
@@ -84,8 +84,8 @@ export default {
|
|
|
currentPage: 1,
|
|
|
sum: 0,
|
|
|
pageSize: 20,
|
|
|
- onlineUrl: "http://8.136.230.133:8080",
|
|
|
- platIndex: 0,
|
|
|
+ onlineUrl: "http://8.140.188.129:8080", //'http://8.140.188.129:8080'线上 //http://8.136.230.133:8080 //测试
|
|
|
+ platformId: "",
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -99,6 +99,9 @@ export default {
|
|
|
changePage: function (page) {
|
|
|
this.currentPage = page;
|
|
|
let req = {
|
|
|
+ queryParams: this.inputValue,
|
|
|
+ localArea: this.areaValue,
|
|
|
+ platformId: this.platformId,
|
|
|
page: this.currentPage,
|
|
|
rows: this.pageSize,
|
|
|
};
|
|
|
@@ -121,6 +124,9 @@ export default {
|
|
|
break;
|
|
|
}
|
|
|
let req = {
|
|
|
+ queryParams: this.inputValue,
|
|
|
+ localArea: this.areaValue,
|
|
|
+ platformId: this.platformId,
|
|
|
page: this.currentPage,
|
|
|
rows: this.pageSize,
|
|
|
};
|
|
|
@@ -129,35 +135,34 @@ export default {
|
|
|
search: function () {
|
|
|
//通过经销商或DLR CODE查询
|
|
|
console.log(this.inputValue);
|
|
|
+ this.currentPage = 1;
|
|
|
let req = {
|
|
|
queryParams: this.inputValue,
|
|
|
+ localArea: this.areaValue,
|
|
|
+ platformId: this.platformId,
|
|
|
page: this.currentPage,
|
|
|
rows: this.pageSize,
|
|
|
};
|
|
|
this.getDealerListRequest(req);
|
|
|
},
|
|
|
platChange: function (e) {
|
|
|
- this.platIndex = e.target.options.selectedIndex;
|
|
|
- },
|
|
|
- submit: function () {
|
|
|
- console.log(this.platIndex);
|
|
|
- let index = this.platIndex;
|
|
|
- let req = {}
|
|
|
- if (index > 0) {
|
|
|
- let platformId = this.platesList[index - 1]["id"];
|
|
|
- req = {
|
|
|
- localArea: this.areaValue,
|
|
|
- platformId,
|
|
|
- page: this.currentPage,
|
|
|
- rows: this.pageSize,
|
|
|
- };
|
|
|
+ let platIndex = e.target.options.selectedIndex;
|
|
|
+ // 排除“请选择”
|
|
|
+ if (platIndex > 0) {
|
|
|
+ this.platformId = this.platesList[platIndex - 1]["id"];
|
|
|
+ console.log(this.platesList[platIndex - 1]["dictName"]);
|
|
|
} else {
|
|
|
- req = {
|
|
|
- localArea: this.areaValue,
|
|
|
- page: this.currentPage,
|
|
|
- rows: this.pageSize,
|
|
|
- }
|
|
|
+ this.platformId = "";
|
|
|
}
|
|
|
+ },
|
|
|
+ submit: function () {
|
|
|
+ let req = {
|
|
|
+ queryParams: this.inputValue,
|
|
|
+ localArea: this.areaValue,
|
|
|
+ platformId: this.platformId,
|
|
|
+ page: this.currentPage,
|
|
|
+ rows: this.pageSize,
|
|
|
+ };
|
|
|
this.getDealerListRequest(req);
|
|
|
},
|
|
|
editData: function (i, isAttesta, fansNum, accountCode) {
|
|
|
@@ -170,6 +175,9 @@ export default {
|
|
|
};
|
|
|
this.updateMediaAccountInfo(req).then(() => {
|
|
|
let dataObj = {
|
|
|
+ queryParams: this.inputValue,
|
|
|
+ localArea: this.areaValue,
|
|
|
+ platformId: this.platformId,
|
|
|
page: this.currentPage,
|
|
|
rows: this.pageSize,
|
|
|
};
|