yangg 5 сар өмнө
parent
commit
56045a8f95

+ 2 - 1
src/views/project/components/dataList.vue

@@ -552,6 +552,7 @@ export default {
 
     // 更新导出方法
     async exportDocumentWithHtmlDocx(template) {
+      console.log(template);
       try {
         const templateData = JSON.parse(template.data || '[]')
         const contentContainer = document.createElement('div')
@@ -1714,7 +1715,7 @@ export default {
     viewBoundTemplates(row) {
       this.currentData = row
       this.boundTemplateLoading = true
-      searchTemplateListNoData({ ids: row.documentIds.join(',') || 0 })
+      searchTemplateList({ ids: row.documentIds.join(',') || 0 })
         .then((res) => {
           if (res.status === 200) {
             this.boundTemplateList = res.data