|
|
@@ -101,11 +101,8 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
let req = {
|
|
|
- page: this.page,
|
|
|
- rows: this.rows,
|
|
|
- asc: this.asc
|
|
|
+ informationName: this.informationName
|
|
|
};
|
|
|
- console.log(req);
|
|
|
this.getFirmsUploadList(req);
|
|
|
this.getAreaList();
|
|
|
},
|
|
|
@@ -118,10 +115,7 @@ export default {
|
|
|
tableData: [],
|
|
|
optionValue: "",
|
|
|
filesList: [],
|
|
|
- index: (this.$route.query && this.$route.query.id) || "",
|
|
|
- asc: (this.$route.query && this.$route.query.asc) || true,
|
|
|
- rows: (this.$route.query && this.$route.query.rows) || 20,
|
|
|
- page: (this.$route.query && this.$route.query.page) || 20,
|
|
|
+ informationName: (this.$route.query && this.$route.query.informationName) || 20,
|
|
|
detailData: {},
|
|
|
areaList: [],
|
|
|
onlineUrl: env_url, //'http://8.140.188.129:8080'线上 //http://8.136.230.133:8080 //测试
|
|
|
@@ -207,7 +201,6 @@ export default {
|
|
|
},
|
|
|
// 导出 下载记录文件
|
|
|
downloadExcel: function () {
|
|
|
- console.log(this.detailData);
|
|
|
let reqStr = "=" + this.detailData["id"];
|
|
|
this.exportTem(reqStr);
|
|
|
},
|
|
|
@@ -220,12 +213,10 @@ export default {
|
|
|
})
|
|
|
.then((res) => {
|
|
|
if (res.data && res.data.code === 200) {
|
|
|
- this.detailData = res.data.data[this.index];
|
|
|
+ this.detailData = res.data.data[0];
|
|
|
let id = this.detailData["id"];
|
|
|
let req = { informationId: id };
|
|
|
this.selectInformationFileList(req);
|
|
|
- } else {
|
|
|
- console.log(res);
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
@@ -241,9 +232,6 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res.data && res.data.code === 200) {
|
|
|
this.areaList = res.data.data;
|
|
|
- console.log(this.areaList);
|
|
|
- } else {
|
|
|
- console.log(res);
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
@@ -266,8 +254,6 @@ export default {
|
|
|
if (res.data && res.data.code === 200) {
|
|
|
this.tableData = res.data.data;
|
|
|
this.sum = res.data.count;
|
|
|
- } else {
|
|
|
- console.log(res);
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
@@ -284,8 +270,6 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res.data && res.data.code === 200) {
|
|
|
this.filesList = res.data.data;
|
|
|
- } else {
|
|
|
- console.log(res);
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|