瀏覽代碼

试验汇总

iZaiZaiA 2 年之前
父節點
當前提交
c553a8db85
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 2 2
      src/global/components/hc-table/index.vue
  2. 3 3
      src/views/tentative/collect/test.vue

+ 2 - 2
src/global/components/hc-table/index.vue

@@ -1,8 +1,8 @@
 <template>
     <div class="hc-table-ref-box" :class="ui">
         <el-table ref="tableRef" hc :data="tableData" height="100%" v-loading="isLoading" stripe :row-key="rowKey" :border="isBorder" @selection-change="tableSelectionChange"
-                  @row-click="tableRowClick" @row-dblclick="tableRowDblClick" @row-contextmenu="tableRowContextmenu"
-                  @cell-click="tableCellClick" @cell-dblclick="tableCellDblClick" @cell-contextmenu="tableCellContextmenu">
+                  @row-click="tableRowClick" @row-dblclick="tableRowDblClick" @row-contextmenu="tableRowContextmenu" @cell-click="tableCellClick" @cell-dblclick="tableCellDblClick"
+                  @cell-contextmenu="tableCellContextmenu" style="width: 100%;">
             <el-table-column type="selection" width="50" v-if="isCheck"/>
             <el-table-column type="index" prop="num" label="序号" width="80" v-if="isIndex"/>
             <template v-for="item in columns">

+ 3 - 3
src/views/tentative/collect/test.vue

@@ -21,19 +21,19 @@
         <div class="hc-page-content-box">
             <HcCard :scrollbar="false" actionSize="lg">
                 <template #header>
-                    <HcTooltip keys="tentative_material_sampling_del">
+                    <HcTooltip keys="tentative_collect_test_del">
                         <el-button hc-btn @click="delModalClick">
                             <HcIcon name="delete-bin-2"/>
                             <span>删除</span>
                         </el-button>
                     </HcTooltip>
-                    <HcTooltip keys="tentative_material_sampling_printer">
+                    <HcTooltip keys="tentative_collect_test_print">
                         <el-button hc-btn>
                             <HcIcon name="printer"/>
                             <span>打印</span>
                         </el-button>
                     </HcTooltip>
-                    <HcTooltip keys="tentative_material_sampling_import">
+                    <HcTooltip keys="tentative_collect_test_download">
                         <el-button hc-btn>
                             <HcIcon name="download"/>
                             <span>下载</span>