Commit 324da8b8 authored by zhengke's avatar zhengke

修改

parents c66a7615 9fa36a5a
......@@ -85,6 +85,15 @@
},
//获取订单信息
saveOrderRemark() {
if(this.OrderRemarkMsg.Remark==''){
this.$q.notify({
type: 'negative',
position: 'top',
message: `请输入备注`
})
return
}
updateOrderRemark(this.OrderRemarkMsg).then(res => {
if (res.Code == 1) {
this.$q.notify({
......
......@@ -159,6 +159,15 @@
//保存岗位
savePost() {
var tempRole = [];
if(this.objOption.PostName==''){
this.$q.notify({
type: 'negative',
position: 'top',
message: `请填写岗位名称`
})
return
}
if (this.RoleList && this.RoleList.length > 0) {
this.RoleList.forEach(x => {
this.value.forEach(j => {
......@@ -175,7 +184,17 @@
} else {
this.objOption.RB_Dept_Id = 0;
}
this.objOption.PostRoleList = tempRole;
if(this.objOption.PostRoleList.length==0){
this.$q.notify({
type: 'negative',
position: 'top',
message: `请选择角色绑定`
})
return
}
this.saveLoading = true;
savePostInfo(this.objOption).then(res => {
this.saveLoading = false
......
......@@ -446,10 +446,10 @@
saveRemark() {
if (this.RemarkMsg.Remark == '') {
this.$q.notify({
type: 'warning',
type: 'negative',
position: 'top',
timeout: 1500,
message: `请选择输入备注`
message: `请输入备注`
})
return
}
......
......@@ -379,7 +379,7 @@
}
} else {
this.$q.notify({
type: 'warning',
type: 'negative',
position: 'top',
timeout: 1500,
message: `请选择教师`
......@@ -388,7 +388,7 @@
}
if (this.addMsg.Month == '' || this.addMsg.Month == null) {
this.$q.notify({
type: 'warning',
type: 'negative',
position: 'top',
timeout: 1500,
message: `请选择月份`
......
......@@ -311,7 +311,7 @@
btnpl(){
if(this.plmsg.Comment==''){
this.$q.notify({
type: 'warning',
type: 'negative',
position: 'top',
timeout: 1500,
message: `请输入评论内容`
......@@ -320,7 +320,7 @@
}
if(this.plmsg.Score==0 || this.plmsg.Score==''){
this.$q.notify({
type: 'warning',
type: 'negative',
position: 'top',
timeout: 1500,
message: `请对备课评分`
......
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