From 6669c680f79663fc220935d61c3f3f6eee078e7c Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期日, 21 七月 2024 16:56:03 +0800 Subject: [PATCH] 修改了报错 --- ruoyi-ui/src/views/self/show.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/self/show.vue b/ruoyi-ui/src/views/self/show.vue index f09916a..9fb10c6 100644 --- a/ruoyi-ui/src/views/self/show.vue +++ b/ruoyi-ui/src/views/self/show.vue @@ -154,7 +154,7 @@ plain icon="el-icon-download" size="mini" - @click="handleExportTemplatem" + @click="handleExportTemplate" v-hasPermi="['family:note:export']" >瀵煎叆妯℃澘涓嬭浇</el-button> </el-col> @@ -903,7 +903,7 @@ getCertificateList, addCertificate, updateCertificate, delCertificate, getAbroadList, addAbroad, updateAbroad, delAbroad, listType, getAutobiographyList, getAutobiographyTermList, addAutobiography, updateAutobiography,delAutobiography, - getCategory, + getCategory,download } from "@/api/self/index"; // import { listRole, getRole, delRole, addRole, updateRole, dataScope,changeRoleStatus, deptTreeSelect } from "@/api/system/role"; // import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu"; @@ -1732,10 +1732,10 @@ } }, - handleExportTemplatem(){ + handleExportTemplate(){ this.download('/zSelfNote/model', { - }, `zSelfNote${new Date().getTime()}.xlsx`) + }, `zSelfNote_${new Date().getTime()}.xlsx`) }, /** 瀵煎叆鎿嶄綔*/ handleEnportm(params){ @@ -1916,6 +1916,7 @@ } }); // 娓呯┖formDat瀵硅薄鐨勬暟鎹� + this.newOption=undefined Object.keys(this.formDat).forEach(key => { this.formDat[key] = ''; }); -- Gitblit v1.9.1