已修改2个文件
20 ■■■■■ 文件已修改
src/api/business/reportPreparation.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/reportPreparation/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/business/reportPreparation.js
@@ -153,4 +153,13 @@
        method: 'get',
        params: params
    })
}
export function getURL(params) {
    return resquest({
        url: '/file/attachmentType/getURL',
        method: 'get',
        params: params
    })
}
src/views/business/reportPreparation/index.vue
@@ -857,6 +857,7 @@
  examineReport,
  downLoad,
  getReportInfo,
  getURL
} from "../../../api/business/reportPreparation";
export default {
@@ -1798,11 +1799,17 @@
    },
    handleApprove(row) {
      this.currentInfo = row;
      getURL().then(res => {
      })
      let fileName = row.urlS === null || row.urlS === "" ? row.url : row.urlS;
      fileName = fileName.replace("/word/", "");
      const userName = JSON.parse(localStorage.getItem("user")).name;
      const userName = this.$store.state.user.name;
      this.option = {
        url: this.javaApi + "/word/" + fileName,
        url: javaApi + "/word/" + fileName,
        isEdit: false,
        fileType: "docx",
        title: fileName,