|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
- <hc-dialog is-to-body is-table is-footer-center widths="1200px" :show="isShow" title="选择需要关联的检查的部位" @save="modalSave" @close="modalClose">
|
|
|
- <hc-card>
|
|
|
+ <hc-new-dialog is-table widths="1200px" :show="isShow" title="选择需要关联的检查的部位" @save="modalSave" @close="modalClose">
|
|
|
+ <hc-new-card>
|
|
|
<template #header>
|
|
|
<div class="w-60">
|
|
|
<el-input v-model="searchForm.queryValue" clearable placeholder="请输入部位名称检索" @keyup="keyUpEvent" />
|
|
@@ -27,7 +27,11 @@
|
|
|
</div>
|
|
|
<div id="hc_table_warranty" class="flex-1">
|
|
|
<hc-card-item>
|
|
|
- <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" is-check @selection-change="tableCheckChange" />
|
|
|
+ <hc-table
|
|
|
+ :column="tableColumn" :datas="tableData" :loading="tableLoading"
|
|
|
+ is-new :index-style="{ width: 60 }" is-check :check-style="{ width: 29 }"
|
|
|
+ @selection-change="tableCheckChange"
|
|
|
+ />
|
|
|
<template #action>
|
|
|
<hc-pages :pages="searchForm" @change="pageChange" />
|
|
|
</template>
|
|
@@ -36,14 +40,18 @@
|
|
|
</div>
|
|
|
<div v-if="typeKey === '2'" class="relative h-full">
|
|
|
<hc-card-item>
|
|
|
- <hc-table :column="tableColumn1" :datas="tableData" :loading="tableLoading" is-check @selection-change="tableCheckChange" />
|
|
|
+ <hc-table
|
|
|
+ :column="tableColumn1" :datas="tableData" :loading="tableLoading"
|
|
|
+ is-new :index-style="{ width: 60 }" is-check :check-style="{ width: 29 }"
|
|
|
+ @selection-change="tableCheckChange"
|
|
|
+ />
|
|
|
<template #action>
|
|
|
<hc-pages :pages="searchForm" @change="pageChange" />
|
|
|
</template>
|
|
|
</hc-card-item>
|
|
|
</div>
|
|
|
- </hc-card>
|
|
|
- </hc-dialog>
|
|
|
+ </hc-new-card>
|
|
|
+ </hc-new-dialog>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|