| | |
| | | <template> |
| | | <div> |
| | | <search></search> |
| | | <div class="minCenter"> |
| | | <el-tabs |
| | |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button type="danger" :icon="Delete">删除</el-button> |
| | | <el-button type="danger" :icon="Delete" plain>删除</el-button> |
| | | </div> |
| | | <div> |
| | | <el-button :icon="Upload" @click="upButton"></el-button> |
| | |
| | | ref="multipleTableRef" |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column |
| | | label="序号" |
| | |
| | | show-overflow-tooltip |
| | | > |
| | | <template #default> |
| | | <el-button link type="primary" size="small" :icon="View" @click="handleClick" |
| | | <el-button link type="primary" size="default" :icon="View" @click="handleClick" |
| | | >查看</el-button |
| | | > |
| | | <el-button link type="primary" size="small" :icon="Delete">删除</el-button> |
| | | <el-button link type="primary" size="default" :icon="Delete">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <dailogAdd ref="openAdd"></dailogAdd> |
| | | <upData ref="upShow"></upData> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <script lang="ts"> |
| | | import dailogAdd from './component/dailogAdd.vue' |
| | | import upData from './component/updata.vue' |
| | | import upData from '../../../components/updata/updata.vue' |
| | | import search from './component/search.vue' |
| | | import { ref, toRefs, reactive, onMounted, defineComponent } from "vue"; |
| | | import { |
| | |
| | | ]; |
| | | const currentPage4 = ref(4); |
| | | const pageSize4 = ref(100); |
| | | const small = ref(false) |
| | | const disabled = ref(false) |
| | | const background = ref(false) |
| | | const handleSizeChange = (val: number) => { |
| | | console.log(`${val} items per page`); |
| | | }; |
| | |
| | | openD, |
| | | upShow, |
| | | upButton, |
| | | small, |
| | | disabled, |
| | | background, |
| | | Plus, |
| | | Delete, |
| | | Upload, |