|
@@ -1503,11 +1503,11 @@ export default {
|
|
|
for (let i in this.dutysystemTableData) {
|
|
|
|
|
|
if (!reg_user.test(this.dutysystemTableData[i].name)) {
|
|
|
- this.$message.error(`请输入正确姓名!`)
|
|
|
+ this.$message.warning(`请输入正确姓名!`)
|
|
|
return;
|
|
|
}
|
|
|
if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
|
|
|
- this.$message.error(`请输入正确手机号码!`)
|
|
|
+ this.$message.warning(`请输入正确手机号码!`)
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1645,10 +1645,10 @@ export default {
|
|
|
},
|
|
|
updateYjYuAn() {
|
|
|
if (this.eventStatusValue == 'forest_event_status_1' || this.eventStatusValue == 'forest_event_status_7') {
|
|
|
- this.$message.error(`修改预案信息在签收后方可修改!`)
|
|
|
+ this.$message.warning(`修改预案信息在签收后方可修改!`)
|
|
|
return
|
|
|
} else if (this.eventStatusValue == 'forest_event_status_3') {
|
|
|
- this.$message.error(`误报事件无法修改预案信息!`)
|
|
|
+ this.$message.warning(`误报事件无法修改预案信息!`)
|
|
|
return
|
|
|
} else {
|
|
|
let param = {
|
|
@@ -1656,7 +1656,7 @@ export default {
|
|
|
reserve: this.sendGuanLianYuAn
|
|
|
}
|
|
|
if (this.sendGuanLianYuAn == '' || this.sendGuanLianYuAn == null) {
|
|
|
- this.$message.error(`请选择预案信息!`)
|
|
|
+ this.$message.warning(`请选择预案信息!`)
|
|
|
return
|
|
|
}
|
|
|
updateYjYuAn(param).then(res => {
|
|
@@ -2365,6 +2365,7 @@ export default {
|
|
|
},
|
|
|
sendEventLog() {
|
|
|
if (this.eventLog == '' || this.eventLog == null) {
|
|
|
+ this.$message.warning("请录入反馈信息!")
|
|
|
return;
|
|
|
}
|
|
|
//日志发送
|
|
@@ -2874,11 +2875,11 @@ export default {
|
|
|
let reg_tel = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; //11位手机号码正则
|
|
|
for (let i in this.dutysystemTableData) {
|
|
|
if (!reg_user.test(this.dutysystemTableData[i].name)) {
|
|
|
- this.$message.error(`请输入正确姓名!`)
|
|
|
+ this.$message.warning(`请输入正确姓名!`)
|
|
|
return;
|
|
|
}
|
|
|
if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
|
|
|
- this.$message.error(`请输入正确手机号码!`)
|
|
|
+ this.$message.warning(`请输入正确手机号码!`)
|
|
|
return;
|
|
|
}
|
|
|
|