Просмотр исходного кода

修复检验报告模板列表组件属性命名统一性问题

yusheng 3 месяцев назад
Родитель
Сommit
7bac0dd17c

+ 3 - 3
src/views/rulesManagement/inspectionReportTemplate/components/list.vue

@@ -79,7 +79,7 @@
       </ele-pro-table>
     </el-card>
 
-    <edit ref="editRef" @reload="reload" :template="type"></edit>
+    <edit ref="editRef" @reload="reload" :templateType="templateType"></edit>
     <preview ref="previewRef" @reload="reload"></preview>
     <processSubmitDialog
       :processSubmitDialogFlag.sync="processSubmitDialogFlag"
@@ -105,7 +105,7 @@
     mixins: [dictMixins, tableColumnsMixin],
     components: { edit, preview, processSubmitDialog },
     props: {
-      type: {
+      templateType: {
         type: String,
         default: ''
       }
@@ -229,7 +229,7 @@
           ...order,
           pageNum: page,
           size: limit,
-          type: this.type
+          type: this.templateType
         };
         return getQmsReportTemplatePageList(body);
       },