Admin.UI/src/components/my-select-window/position.vue
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<template>
<my-window
:title="title"
:modal="modal"
:wrapper-closable="true"
:modal-append-to-body="modalAppendToBody"
:visible.sync="visible"
destroy-on-close
embed
drawer
size="100%"
drawer-body-style="padding:0px;height: calc(100% - 61px);"
:before-close="onCancel"
@opened="onSearch"
>
<my-container v-loading="pageLoading" style="height: 100%;">
<!--查询-->
<template #header>
<el-form class="ad-form-query" :inline="true" :model="filter" @submit.native.prevent>
<el-form-item>
<el-input
v-model="filter.name"
placeholder="岗位名称"
clearable
@keyup.enter.native="onSearch"
>
<template #prefix>
<i class="el-input__icon el-icon-search" />
</template>
</el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSearch">查询</el-button>
</el-form-item>
</el-form>
</template>
<!--列表-->
<el-table
v-loading="listLoading"
:data="data"
:highlight-current-row="!multiple"
height="'100%'"
style="width: 100%;height:100%;"
@current-change="onCurrentChange"
@row-dblclick="onSure"
@selection-change="onSelectionChange"
>
<el-table-column v-if="multiple" type="selection" width="50" />
<el-table-column prop="name" label="岗位名称" width />
<el-table-column prop="code" label="编码" width />
</el-table>
<!--分页-->
<template #footer>
<my-pagination
ref="pager"
:total="total"
@get-page="getData"
/>
后面还有 100 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
