+
+

+
+
+
+

+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
登录
-
-
-
+
@@ -64,6 +81,7 @@
}
return {
title: "",
+ changeLogin: false,
loginForm: {
username: '',
password: ''
@@ -97,6 +115,9 @@
this.title = defaultSettings.title;
},
methods: {
+ // changeLogin(type){
+ // if(){}
+ // },
showPwd() {
if (this.passwordType === 'password') {
this.passwordType = ''
@@ -106,7 +127,7 @@
this.$nextTick(() => {
this.$refs.password.focus()
})
- },
+ },
//处理登录
handleLogin() {
this.$refs.loginForm.validate(valid => {
@@ -115,7 +136,7 @@
this.$store.dispatch('user/login', this.loginForm).then(() => {
this.$router.push({
- path: this.redirect || '/'
+ path: this.redirect || '/dashboard'
})
this.loading = false
}).catch(() => {
@@ -141,13 +162,13 @@
/* 修复input 背景不协调 和光标变色 */
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
- $bg:#122583;
- $light_gray:#122583;
+ $bg: #122583;
+ $light_gray: #122583;
$cursor: #122583;
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
.login-container .el-input input {
- color: $cursor;
+ // color: $cursor;
}
}
@@ -176,34 +197,134 @@
}
.el-form-item {
- border: 1px solid rgba(255, 255, 255, 0.1);
- background: rgba(0, 0, 0, 0.1);
+ border: 1px solid #cdcdcd;
+ background: #f4f4f4;
border-radius: 5px;
color: #454545;
+ margin-bottom: 30px;
}
}
diff --git a/src/views/student/components/detail.vue b/src/views/student/components/detail.vue
index aeeb513..03e9c1d 100644
--- a/src/views/student/components/detail.vue
+++ b/src/views/student/components/detail.vue
@@ -209,9 +209,9 @@
import {
show
} from '@/api/student/index.js'
- // import {
- // show
- // } from '@/api/student/index.js'
+ import {
+ save
+ } from '@/api/apply/index.js'
import myMixins from "@/mixin/selectMixin.js";
export default {
mixins: [myMixins],
@@ -224,7 +224,8 @@
type: 'show',
id: '',
subjectObj:{},
- student_info: {},
+ student_info: {},
+ row:{},
form: {
show: '',
status:'',
@@ -239,10 +240,12 @@
if (this.id) {
this.form.id = this.id
}
- save({
- ...this.form
+ save({
+ ...this.row,
+ status:this.form.status,
+ remark:this.form.remark
}).then(res => {
- Message({
+ this.$message({
type: 'success',
message: '审核成功'
})
@@ -263,7 +266,8 @@
isShow(newVal) {
if (newVal) {
if (this.type === 'show' || this.type === 'check') {
- this.getDetail()
+ this.getDetail()
+ console.log("row",this.row)
}
} else {
this.id = ''