Project 'vue-project/liangXing/frontEnd' was moved to 'vue-project/ZhangJian/ZhangJianFrontEnd'. Please update any links and bookmarks that may still have the old path.
Commit 4413f69d by yuwen

Merge branch 'yuwen' into '1a86cad6'

Yuwen

See merge request !33
parents 01483caf 5b11f9fb
...@@ -27,11 +27,11 @@ ...@@ -27,11 +27,11 @@
v-model="sexRes" v-model="sexRes"
/> />
</div> </div>
<div class="select-item student-name"> <div class="select-item">
<input <select-list
placeholder="学生姓名" title="学生姓名"
v-model="studentName" :list="studentlist"
@keyup.enter="Search" v-model="nameRes"
/> />
</div> </div>
<div <div
...@@ -86,12 +86,10 @@ export default { ...@@ -86,12 +86,10 @@ export default {
}, },
// 年级选择结果 // 年级选择结果
gradeList: [ gradeList: [
{name: '一年级'}, {name: '六年级'},
{name: '二年级'}, {name: '七年级'},
{name: '三年级'}, {name: '八年级'},
{name: '四年级'}, {name: '九年级'}
{name: '五年级'},
{name: '六年级'}
], ],
// 选择班级 // 选择班级
classRes: { classRes: {
...@@ -115,8 +113,14 @@ export default { ...@@ -115,8 +113,14 @@ export default {
{name: '男'}, {name: '男'},
{name: '女'} {name: '女'}
], ],
// 老师姓名 // 选择学生
studentName: '', nameRes: {
name: ''
},
// 学生姓名选择结果
studentlist: [
{name: '沈凡婷'}
],
visible: false, visible: false,
currIndex: 999, currIndex: 999,
pics: [ pics: [
...@@ -195,13 +199,13 @@ export default { ...@@ -195,13 +199,13 @@ export default {
* @method edit 返回 * @method edit 返回
*/ */
edit () { edit () {
this.$router.back() this.$router.push({path: '/growthRecord'})
}, },
/** /**
* @method Search 搜索 * @method Search 搜索
*/ */
Search () { Search () {
if (this.gradeRes.name === '六年级' && this.classRes.name === '六班' && this.sexRes.name === '女' && this.studentName === '沈凡婷') { if (this.gradeRes.name === '六年级' && this.classRes.name === '六班' && this.sexRes.name === '女' && this.nameRes.name === '沈凡婷') {
this.$router.push({path: '/growthPer'}) this.$router.push({path: '/growthPer'})
} else { } else {
this.$message('暂无数据') this.$message('暂无数据')
...@@ -345,7 +349,6 @@ export default { ...@@ -345,7 +349,6 @@ export default {
position: absolute; position: absolute;
top: 39px; top: 39px;
left: 1822px; left: 1822px;
cursor: pointer;
} }
} }
.bulletImg{ .bulletImg{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment