Commit 9fa36a5a authored by Mac's avatar Mac

1

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