Browse Source

会议安排申请-打印

jbb 1 year ago
parent
commit
2ba020489d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/views/oa/ConferenceApplyList.vue

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

@@ -114,6 +114,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">
@@ -151,6 +153,7 @@
     data () {
       return {
         description: '会务安排申请管理页面',
+        printMouldUrl:"",
         // 表头
         columns: [
           {
@@ -266,6 +269,9 @@
         this.$refs.modalForm.title = "会务安排申请";
         this.$refs.modalForm.disableSubmit = false;
       },
+      print(record){
+        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834590233121345536'+'?id='+record.id
+      }
     }
   }
 </script>