Переглянути джерело

会议纪要管理-打印

jbb 1 рік тому
батько
коміт
e378bb8682
1 змінених файлів з 6 додано та 0 видалено
  1. 6 0
      src/views/oa/ConferenceMinutesList.vue

+ 6 - 0
src/views/oa/ConferenceMinutesList.vue

@@ -108,6 +108,8 @@
           <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
                   <a>删除</a>
                 </a-popconfirm>
+          <a-divider type="vertical" />
+          <a @click="print(record)" :href="printMouldUrl"  target="_blank">打印</a>
           <!-- <a-dropdown>
             <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
             <a-menu slot="overlay">
@@ -144,6 +146,7 @@
     data () {
       return {
         description: '会议纪要管理管理页面',
+        printMouldUrl:"",
         // 表头
         columns: [
           {
@@ -205,6 +208,9 @@
     },
     methods: {
       initDictConfig(){
+      },
+      print(record){
+        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834602447416938496'+'?id='+record.id
       }
     }
   }