前端最新版本同步
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
</div>
|
||||
<div class="medicalOrderList-table">
|
||||
<el-table :data="drugDistributionDetailData" v-if="searchForm.isDetails == '1'" row-key="id"
|
||||
default-expand-all
|
||||
style="width: 100%; height: 100%" border :span-method="arraySpanMethod" show-overflow-tooltip>
|
||||
<el-table-column type="selection" />
|
||||
<el-table-column label="类型" prop="name" min-width=" 60px">
|
||||
@@ -129,8 +130,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
<script setup >
|
||||
import { ref } from 'vue';
|
||||
|
||||
const searchForm = ref({
|
||||
drugType: '1',
|
||||
isDetails: '1',
|
||||
@@ -155,7 +157,7 @@ const drugDistributionDetailData = ref([
|
||||
gender: '男',
|
||||
content: '维生素B12注射液【1ml:0.5mg*1】 ',
|
||||
dates: [{
|
||||
date: '05/04',
|
||||
date: '09/04',
|
||||
times: [{
|
||||
time: '08:00',
|
||||
nurse: '刘护士',
|
||||
@@ -166,7 +168,7 @@ const drugDistributionDetailData = ref([
|
||||
checked: false
|
||||
}]
|
||||
}, {
|
||||
date: '05/05',
|
||||
date: '09/05',
|
||||
times: [{
|
||||
time: '08:00',
|
||||
nurse: '刘护士',
|
||||
@@ -278,7 +280,7 @@ const arraySpanMethod = ({
|
||||
column,
|
||||
rowIndex,
|
||||
columnIndex,
|
||||
}: any) => {
|
||||
}) => {
|
||||
// console.log(row, column, rowIndex, columnIndex);
|
||||
// 如果是父级行
|
||||
if (row.children && row.children.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user