File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ VUE_APP_ATOM_API = '/atom-webapi'
66
77# target host
88
9- VUE_TARGET_HOST = ' http://192.168.2.178:8000 '
9+ VUE_TARGET_HOST = ' http://192.168.2.126:8001 '
1010# VUE_TARGET_HOST = 'https://iast-test.huoxian.cn'
1111# VUE_TARGET_HOST = 'http://iast.huoxian.cn'
1212
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export default () =>
9696
9797 exportList ( params : any ) : Promise < iResponse > {
9898 return request . get (
99- `project/report/list?page=${ params . page } &page_size=${ params . pageSize } `
99+ `project/report/list?page=${ params . page } &page_size=${ params . pageSize } &pid= ${ params . pid } `
100100 )
101101 }
102102
Original file line number Diff line number Diff line change 5151 ></i >
5252 </div >
5353 <div class =" operate" >
54- <el-button
55- type =" text"
56- class =" operateBtn"
57- @click =" exportDialog = true"
58- >
54+ <el-button type =" text" class =" operateBtn" @click =" openExport()" >
5955 <i class =" iconfont icondaochu-5" ></i >
6056 {{ $t('views.projectDetail.export') }}
6157 </el-button >
@@ -417,6 +413,10 @@ export default class ProjectDetail extends VueBase {
417413 private enterVersionDialog() {
418414 this .versionFlag = false
419415 }
416+ private openExport() {
417+ this .getExportList ()
418+ this .exportDialog = true
419+ }
420420 private async versionCurrent(item : any ) {
421421 const res: any = await this .services .project .versionCurrent ({
422422 version_id: item .version_id ,
@@ -909,10 +909,6 @@ export default class ProjectDetail extends VueBase {
909909 })
910910 }
911911 }
912-
913- created() {
914- this .getExportList ()
915- }
916912}
917913 </script >
918914
You can’t perform that action at this time.
0 commit comments