Files
vue-learning/企业级管理系统/web/admin_system/src/views/info/StaffInfo.vue

62 lines
1.2 KiB
Vue
Raw Normal View History

2023-01-12 18:16:45 +08:00
<!--
* @Author: Kane
* @Date: 2023-01-12 14:43:46
* @LastEditors: Kane
2023-01-14 23:53:15 +08:00
* @LastEditTime: 2023-01-14 23:12:20
2023-01-12 18:16:45 +08:00
* @FilePath: \admin_system\src\views\info\StaffInfo.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
2023-01-13 15:15:57 +08:00
<div class="query_box">
2023-01-13 18:00:27 +08:00
<el-form inline="true">
2023-01-14 23:53:15 +08:00
<el-row :gutter="10" class="el-row">
<el-col :span="16">
<el-input v-model="query_param.staff_code" placeholder="请输入P09工号或P13账号"></el-input>
</el-col>
<el-col :span="8">
<el-button type="danger">查询</el-button>
</el-col>
</el-row>
2023-01-13 18:00:27 +08:00
</el-form>
2023-01-13 15:15:57 +08:00
</div>
2023-01-12 18:16:45 +08:00
</template>
<script>
export default {
name: "staff-info",
2023-01-13 15:15:57 +08:00
data()
{
return {
query_param: {
staff_code: "",
},
};
},
2023-01-12 18:16:45 +08:00
};
</script>
<style scoped>
2023-01-13 15:15:57 +08:00
.el-row {
display: flex;
justify-content: center;
align-items: center;
}
2023-01-12 18:16:45 +08:00
2023-01-13 15:15:57 +08:00
.el-label {
text-align: right;
}
.query_box {
width: 600px;
background-color: #fff;
border-radius: 5px;
padding: 15px;
}
.query_box:hover {
2023-01-13 18:00:27 +08:00
box-shadow: 0px 0px 3px 3px #cccccc;
2023-01-13 15:15:57 +08:00
}
2023-01-12 18:16:45 +08:00
</style>