|
@ -3,7 +3,7 @@ |
|
|
<div class="spurt_print_btn ml-[3rem]"> |
|
|
<div class="spurt_print_btn ml-[3rem]"> |
|
|
<el-button @click="onDel">删除</el-button> |
|
|
<el-button @click="onDel">删除</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div class="w-[90vw] ml-[3rem] mt-[2rem] h-[70vh]"> |
|
|
|
|
|
|
|
|
<div class="w-[90vw] ml-[2rem] mt-[2rem] h-[70vh] history_table"> |
|
|
<el-table :data="tableData" stripe style="width: 100%" ref="historyTableRef"> |
|
|
<el-table :data="tableData" stripe style="width: 100%" ref="historyTableRef"> |
|
|
<el-table-column type="selection" width="55" /> |
|
|
<el-table-column type="selection" width="55" /> |
|
|
<el-table-column prop="matrixName" label="基质名称" /> |
|
|
<el-table-column prop="matrixName" label="基质名称" /> |
|
@ -37,8 +37,6 @@ |
|
|
let total = ref() |
|
|
let total = ref() |
|
|
const settingStore = useSettingStore() |
|
|
const settingStore = useSettingStore() |
|
|
let tableData = ref<any>([]) |
|
|
let tableData = ref<any>([]) |
|
|
let currentPage = ref(1) |
|
|
|
|
|
let pageSize = ref(20) |
|
|
|
|
|
const defaultCraft: CraftItem = { |
|
|
const defaultCraft: CraftItem = { |
|
|
id: 1, |
|
|
id: 1, |
|
|
name: '', |
|
|
name: '', |
|
@ -75,7 +73,7 @@ |
|
|
matrixInfo = JSON.parse(matrixInfo) |
|
|
matrixInfo = JSON.parse(matrixInfo) |
|
|
item ={ |
|
|
item ={ |
|
|
...item, |
|
|
...item, |
|
|
...matrixInfo |
|
|
|
|
|
|
|
|
...matrixInfo, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
list.push(item) |
|
|
list.push(item) |
|
@ -127,4 +125,8 @@ |
|
|
right: 3rem; |
|
|
right: 3rem; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.history_table{ |
|
|
|
|
|
height: 65vh; |
|
|
|
|
|
background: #ffffff; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |