|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<!-- 学生评价 -->
|
|
|
- <div class="studentEvaluate" @click="col">
|
|
|
+ <div class="studentEvaluate">
|
|
|
<bar :tit="'学生评价'" :num="1">
|
|
|
<template v-slot:back>
|
|
|
<van-icon @click="SaveBack" name="arrow-left" />
|
|
@@ -11,10 +11,12 @@
|
|
|
</template>
|
|
|
</bar>
|
|
|
|
|
|
- <div style="height: 50px;z-index: 30;"></div>
|
|
|
+ <div style="height: 50px;z-index: 30;display: block;"></div>
|
|
|
|
|
|
<!-- <div class="bigBlock"> -->
|
|
|
<div class="bigBlock" style="">
|
|
|
+ <!-- 遮罩层 -->
|
|
|
+ <div class="popCSS" ref="popCss" @click="col"></div>
|
|
|
<div
|
|
|
v-if="placeShow"
|
|
|
@click="placeShow = false"
|
|
@@ -31,18 +33,30 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="claName">
|
|
|
+ <div class="claName" style="z-index: 100;">
|
|
|
<!-- <div class="relevanceStudent"> -->
|
|
|
<div class="tit">关联</div>
|
|
|
<div class="studentName">
|
|
|
- <selects ref="StuSel" :listContent="studentList" :tit="'请选择关联学生'" :choosePer="selectSData"></selects>
|
|
|
+ <selects
|
|
|
+ ref="StuSel"
|
|
|
+ @selBtn="selBtn"
|
|
|
+ :listContent="studentList"
|
|
|
+ :tit="'请选择关联学生'"
|
|
|
+ :choosePer="selectSData"
|
|
|
+ ></selects>
|
|
|
</div>
|
|
|
<!-- </div> -->
|
|
|
</div>
|
|
|
<div class="claName">
|
|
|
<div class="tit">学期</div>
|
|
|
<div class="studentName" style="position: relative;">
|
|
|
- <radioSelect ref="claSel" :listCont="termList" :tit="'请选择学期'" :choose="termData"></radioSelect>
|
|
|
+ <radioSelect
|
|
|
+ @selBtn="selBtn"
|
|
|
+ ref="claSel"
|
|
|
+ :listCont="termList"
|
|
|
+ :tit="'请选择学期'"
|
|
|
+ :choose="termData"
|
|
|
+ ></radioSelect>
|
|
|
<div v-show="term" style="position: absolute;bottom: -100%; color: red;font-size: 10px;">请选择学期</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -51,7 +65,13 @@
|
|
|
<div class="claName">
|
|
|
<div class="tit">维度</div>
|
|
|
<div class="studentName" style="position: relative;">
|
|
|
- <selects ref="WeiSel" :listContent="weiList" :tit="'请选择评价维度'" :choosePer="selectWData"></selects>
|
|
|
+ <selects
|
|
|
+ @selBtn="selBtn"
|
|
|
+ ref="WeiSel"
|
|
|
+ :listContent="weiList"
|
|
|
+ :tit="'请选择评价维度'"
|
|
|
+ :choosePer="selectWData"
|
|
|
+ ></selects>
|
|
|
<div v-show="wei" style="position: absolute;bottom: -100%; color: red;font-size: 10px;">请选择评价维度</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -121,12 +141,12 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="claName">
|
|
|
- <div style="width: 70px;">观察内容</div>
|
|
|
+ <div style="width: 70px;line-height: 40px;">观察内容</div>
|
|
|
<div class="inpBlock studentName">
|
|
|
<input type="text" v-model="observeCon" class="inp" placeholder="请输入" />
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="claName">
|
|
|
+ <div style="height: 40px;line-height: 40px;">
|
|
|
观察记录
|
|
|
</div>
|
|
|
<div class="EvaluateTxt">
|
|
@@ -146,8 +166,8 @@
|
|
|
<!-- <div class="btn" @click="isShowMask = true">删除</div> -->
|
|
|
<!-- <div class="btn" v-if="shareShow" @click="repPop">重复添加</div>
|
|
|
<div class="btn" v-if="shareShow" @click="repetitionSave">添加新纪录</div> -->
|
|
|
- <div class="btn" @click="repPop(0)">重复添加</div>
|
|
|
- <div class="btn" @click="repetitionSave(1)">添加新纪录</div>
|
|
|
+ <div class="btn" @click="repPop(0)">新增本条</div>
|
|
|
+ <div class="btn" @click="repetitionSave(1)">新增空白</div>
|
|
|
<div class="btn" v-if="!shareShow" @click="save">发布并返回</div>
|
|
|
<div class="btn" v-else @click="amend">修改并返回</div>
|
|
|
</div>
|
|
@@ -169,7 +189,7 @@
|
|
|
|
|
|
<pop v-show="addNewShowMask">
|
|
|
<template v-slot:tit>提示</template>
|
|
|
- <template v-slot:con v-if="!shareShow"> 是否添加新纪录 ?</template>
|
|
|
+ <template v-slot:con v-if="!shareShow"> 是否添加为新纪录 ?</template>
|
|
|
<template v-slot:con v-else> 是否保存当前纪录 ?</template>
|
|
|
|
|
|
<template v-slot:btn1>
|
|
@@ -190,7 +210,7 @@
|
|
|
|
|
|
<pop v-show="repShowMask">
|
|
|
<template v-slot:tit>提示</template>
|
|
|
- <template v-slot:con>确定重复添加吗?</template>
|
|
|
+ <template v-slot:con>确定新增本条吗?</template>
|
|
|
<template v-slot:btn1>
|
|
|
<div class="btn" style="color: rgba(136,136,136,1);" @click="repShowMask = false">
|
|
|
取消
|
|
@@ -324,6 +344,13 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ selBtn() {
|
|
|
+ console.log(1111)
|
|
|
+ this.$refs.popCss.style.display = 'block'
|
|
|
+ // this.$refs.claSel.fuClick()
|
|
|
+ // this.$refs.StuSel.fuClick()
|
|
|
+ // this.$refs.WeiSel.fuClick()
|
|
|
+ },
|
|
|
classEsp() {
|
|
|
this.classEspNum = !this.classEspNum
|
|
|
// console.log('点击了');
|
|
@@ -346,6 +373,7 @@ export default {
|
|
|
// console.log('获取班学生列表', data2)
|
|
|
selectManyClassStudent(data2).then(res => {
|
|
|
this.studentList = res[0]
|
|
|
+ console.log('班级同学列表', this.studentList)
|
|
|
})
|
|
|
})
|
|
|
// 获取纬度筛选框
|
|
@@ -436,9 +464,11 @@ export default {
|
|
|
},
|
|
|
// 调用子元素selects中的方法隐藏选项列表
|
|
|
col() {
|
|
|
+ this.$refs.popCss.style.display = 'none'
|
|
|
+
|
|
|
+ this.$refs.claSel.fuClick()
|
|
|
this.$refs.StuSel.fuClick()
|
|
|
this.$refs.WeiSel.fuClick()
|
|
|
- this.$refs.claSel.fuClick()
|
|
|
},
|
|
|
// 选择照片
|
|
|
getImage(imgList) {
|
|
@@ -986,6 +1016,18 @@ export default {
|
|
|
padding-bottom: 80px;
|
|
|
min-height: 120vh;
|
|
|
background-image: linear-gradient(to bottom, #005ccd 1%, #005ccd 12%, #f6f5f8 35%, #f6f5f8 100%);
|
|
|
+ .popCSS {
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ width: 100%;
|
|
|
+ padding: 0 20px;
|
|
|
+ transform: translate(-20px, 0);
|
|
|
+ height: 130%;
|
|
|
+ display: none;
|
|
|
+ // background-color: #005ccd;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
.rl {
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
@@ -1055,10 +1097,10 @@ export default {
|
|
|
color: #101010;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
+ // align-items: center;
|
|
|
.tit {
|
|
|
width: 40px;
|
|
|
- min-height: 40px;
|
|
|
+ height: 40px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
@@ -1080,10 +1122,13 @@ export default {
|
|
|
flex: 1;
|
|
|
width: 100%;
|
|
|
min-height: 40px;
|
|
|
- line-height: 40px;
|
|
|
+ // line-height: 40px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
border-bottom: 1px solid #e7e7e7;
|
|
|
+ /deep/.van-cell__value {
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
}
|
|
|
/deep/ .van-cell {
|
|
|
padding: 0;
|