diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/exportDialog.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/exportDialog.vue
index 2de2c53e0..c96204a9a 100644
--- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/exportDialog.vue
+++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/exportDialog.vue
@@ -31,7 +31,8 @@ export default {
this.exportModelFlag = false
},
submit () {
- this.$emit('exportName', this.exportName)
+ this.$emit('exportData', this.exportName)
+ this.exportModelFlag = false
}
}
}
diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue
index 24464c14d..7bd6c5704 100644
--- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue
+++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue
@@ -20,7 +20,20 @@
-
+
+
+ {{ opt.label }}
+
+
@@ -118,7 +131,7 @@
prop="standNum"
>
- {{ scope.row.standLb }}{{ scope.row.standName }}{{ scope.row.standYear}}
+ {{ scope.row.standLb }}{{ scope.row.standName }}{{ scope.row.standYear }}
查看
通过
驳回
+ 编辑
+ 重新提交
@@ -178,7 +193,7 @@
-
+
@@ -206,9 +221,11 @@ export default {
selectedList: [],
url: {
getList: '/lawss/standardApplyFor/queryByPage',
- updateState: '/lawss/standardApplyFor/batchUpdateStatus'
+ updateState: '/lawss/standardApplyFor/batchUpdateStatus',
+ exportData: '/lawss/standardApplyFor/exportStandardApplyForEOExcel'
},
typeList: [],
+ applicantUnitList: [],
statusList: [
{
label: '通过',
@@ -243,6 +260,7 @@ export default {
_this: this
}, res => {
this.typeList = res.data.BZJYWTYPE // 标准类别
+ this.applicantUnitList = res.data.QCDW// 申请单位
}, e => {
})
},
@@ -276,8 +294,6 @@ export default {
this.tableLoading = false
})
},
-
- // 需要调整
batchPass (id) {
if (id.length === 0) {
this.$message({
@@ -338,9 +354,19 @@ export default {
this.$refs.selections.clearSelection()
})
},
-
- exportName (name) {
+ exportData (name) {
+ let params = {
+ ...this.StandardApplyForEOPage,
+ exportFileName: name,
+ ids: this.selectedList.length > 0 ? this.selectedList.join(',') : ''
+ }
+ let url = '/api/lawss/standardApplyFor/exportStandardApplyForEOExcel?'
+ for (let key in params) {
+ url += `${key}=${params[key]}&`
+ }
+ window.open(url.slice(0, -1))
},
+
exportList () {
this.$refs.exportDialogRef.openModel()
},