|
|
@ -13,7 +13,7 @@ |
|
|
|
<div class="search"> |
|
|
|
<div class="search"> |
|
|
|
<el-row gutter="20"> |
|
|
|
<el-row gutter="20"> |
|
|
|
<el-col :span="8"></el-col> |
|
|
|
<el-col :span="8"></el-col> |
|
|
|
<el-col :span="12"><el-input placeholder="请输入学生姓名" v-model="name"></el-input></el-col> |
|
|
|
<el-col :span="12"><el-input placeholder="请输入学生学号" v-model="name"></el-input></el-col> |
|
|
|
<el-col :span="4"><el-button type="primary" @click="search" >搜索</el-button></el-col> |
|
|
|
<el-col :span="4"><el-button type="primary" @click="search" >搜索</el-button></el-col> |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -109,7 +109,7 @@ const params = reactive<any>({ |
|
|
|
const name = ref('') |
|
|
|
const name = ref('') |
|
|
|
// 搜索 |
|
|
|
// 搜索 |
|
|
|
const search = () => { |
|
|
|
const search = () => { |
|
|
|
params.name=name.value |
|
|
|
params.work_no="*"+name.value+"*" |
|
|
|
getList() |
|
|
|
getList() |
|
|
|
} |
|
|
|
} |
|
|
|
const loading = ref(false) |
|
|
|
const loading = ref(false) |
|
|
|