From dc335441ff07f563356c9cdb3ee9ff5a073c36ab Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期三, 23 十月 2024 14:33:47 +0800 Subject: [PATCH] 修改报告预览 --- src/components/view/b1-report-preparation.vue | 46 ++++++++++++++++++++-------------------------- 1 files changed, 20 insertions(+), 26 deletions(-) diff --git a/src/components/view/b1-report-preparation.vue b/src/components/view/b1-report-preparation.vue index e368aa6..01d848c 100644 --- a/src/components/view/b1-report-preparation.vue +++ b/src/components/view/b1-report-preparation.vue @@ -635,19 +635,16 @@ fileName = fileName.replace('/word/','') const userName = JSON.parse(localStorage.getItem("user")).name; //鍙傝�僾abOnlyOffice缁勪欢鍙傛暟閰嶇疆 - const { href } = this.$router.resolve({ - path: `/wordEdit`, - query: { - url: this.javaApi + "/word/" + fileName, - isEdit: false, - fileType: "docx", - title: fileName, - lang: 'zh-CN', - isPrint: true, - user_id: 1, - user_name: userName, - } - }) + this.option = { + url: this.javaApi + "/word/" + fileName, + isEdit: false, + fileType: "docx", + title: fileName, + lang: 'zh-CN', + isPrint: true, + user_id: 1, + user_name: userName, + } this.issuedVisible = true; }, // 瀹℃牳閫氳繃 @@ -678,19 +675,16 @@ fileName = fileName.replace('/word/','') const userName = JSON.parse(localStorage.getItem("user")).name; //鍙傝�僾abOnlyOffice缁勪欢鍙傛暟閰嶇疆 - const { href } = this.$router.resolve({ - path: `/wordEdit`, - query: { - url: this.javaApi + "/word/" + fileName, - isEdit: false, - fileType: "docx", - title: fileName, - lang: 'zh-CN', - isPrint: true, - user_id: 1, - user_name: userName, - } - }) + this.option = { + url: this.javaApi + "/word/" + fileName, + isEdit: false, + fileType: "docx", + title: fileName, + lang: 'zh-CN', + isPrint: true, + user_id: 1, + user_name: userName, + } this.approveVisible = true; }, // 鎵瑰噯閫氳繃 -- Gitblit v1.9.3