ezhizao_zx 9 months ago
parent
commit
041f946b06

+ 1 - 1
src/views/business/certificate/form.vue

@@ -10,7 +10,7 @@
         <el-button :disabled="form.generateTime != null" style="margin-left: 30px" type="primary" icon="Check"
           @click="handleGenerate">生成
         </el-button>
-        <el-button style="margin-left: 30px" type="primary" icon="Check" @click="handlePrint">打印
+        <el-button style="margin-left: 30px" type="primary" icon="Check" @click="handlePrint">预览并打印
         </el-button>
         <el-button icon="Close" @click="cancel">取 消 </el-button>
         <div class="close-btn" @click="cancel">

+ 1 - 1
src/views/business/certificate/index.vue

@@ -41,7 +41,7 @@
       <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
         v-model:limit="queryParams.pageSize" @pagination="getList" />
     </section>
-    <form-dialog ref="formRef" />
+    <form-dialog ref="formRef" :getList="handleQuery" />
     <HistoryDialog ref="historyDialogRef" />
     <!-- 设备档案管理表单 -->
   </div>