| | |
| | | </el-input>
|
| | | </el-form-item>
|
| | | <el-form-item prop="currentFatoryId">
|
| | | <el-select v-model="loginForm.currentFatoryId" placeholder="请选择公司" >
|
| | | <el-select v-model="loginForm.currentFatoryId" placeholder="请选择公司" filterable>
|
| | | <el-option v-for="item in factoryList" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
|
| | | </el-select>
|
| | | </el-form-item>
|
| | |
| | | const { proxy } = getCurrentInstance()
|
| | |
|
| | | const loginForm = ref({
|
| | | username: "admin",
|
| | | password: "admin123",
|
| | | username: "",
|
| | | password: "",
|
| | | rememberMe: false,
|
| | | currentFatoryId:'',
|
| | | })
|
| | |
| | | <style lang='scss' scoped>
|
| | | .login {
|
| | | height: 100%;
|
| | | background-image: url("../assets/indexViews/ZQHXView.png");
|
| | | background-image: url("../assets/images/login-background.png");
|
| | | background-size: cover;
|
| | | position: relative;
|
| | | }
|
| | |
| | | height: 500px;
|
| | | padding: 40px;
|
| | | z-index: 1;
|
| | | box-shadow: 0 0 5px 1px #ccc;
|
| | | .el-input {
|
| | | height: 40px;
|
| | | input {
|