Explorar o código

表单不出来

hongchuangyanfa %!s(int64=3) %!d(string=hai) anos
pai
achega
aee1262016

+ 1 - 1
src/views/exctab/ElementIdentification/index.vue

@@ -473,7 +473,7 @@ export default {
       this.addElement = true
     },
     async getWbsTypeList () {//获取清表模板信息
-      const { data: res } = await getWbsTypeList({ wbsType: 1 })
+      const { data: res } = await getWbsTypeList({ wbstype: 1 })
       console.log(res);
       if (res.code === 200 && res.msg === '操作成功') {
         this.GLExcelData = res.data

+ 2 - 1
src/views/exctab/excelmodel/excelmodel.vue

@@ -529,7 +529,8 @@ export default {
       })
     },
     downloadExcel () {//下载excel表
-      window.open(this.from.fileUrl)
+      this.downFile(this.from.fileUrl,"123456.xlsx");
+    //  window.open(this.from.fileUrl,'namexxx')
     },
     //#endregion