一日流程评估 优化

This commit is contained in:
zhanglipeng 2021-07-29 16:12:57 +08:00
parent f8a82403eb
commit 5d8bb89831

View File

@ -213,6 +213,7 @@
<el-input-number <el-input-number
v-model="form.yrlcbl" v-model="form.yrlcbl"
placeholder="请输入一日流程得分" placeholder="请输入一日流程得分"
:disabled="true"
/> />
</el-form-item> </el-form-item>
<el-form-item label="教师出勤" prop="jskqbl"> <el-form-item label="教师出勤" prop="jskqbl">
@ -337,25 +338,25 @@ export default {
}, },
watch: { watch: {
"queryParams.classid": function (val) { "queryParams.classid": function (val) {
//console.log(val); //console.log("1");
if (val != "undefined") { if (val == "undefined" || val == "" || val == null) {
} else {
getUserList(val).then((response) => { getUserList(val).then((response) => {
//console.log(response); //console.log(response);
this.userOptions = response.rows; this.userOptions = response.rows;
}); });
} else {
} }
}, },
"form.classid": function (val) { "form.classid": function (val) {
console.log(val); //console.log(val);
if (val != "undefined") { if (val == "undefined" || val == "" || val == null) {
} else {
getUserList(val) getUserList(val)
.then((response) => { .then((response) => {
//console.log(response); //console.log(response);
this.userOptions = response.rows; this.userOptions = response.rows;
}) })
.catch((e) => {}); .catch((e) => {});
} else {
} }
}, },
"form.month": function (val) { "form.month": function (val) {