diff --git a/src/views/xm/core/xmBranchState/XmBranchStateEdit.vue b/src/views/xm/core/xmBranchState/XmBranchStateEdit.vue index d32d5f1a..0e76af64 100644 --- a/src/views/xm/core/xmBranchState/XmBranchStateEdit.vue +++ b/src/views/xm/core/xmBranchState/XmBranchStateEdit.vue @@ -271,11 +271,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmBranchState/XmBranchStateMng.vue b/src/views/xm/core/xmBranchState/XmBranchStateMng.vue index 0519ad0d..4aef07a5 100644 --- a/src/views/xm/core/xmBranchState/XmBranchStateMng.vue +++ b/src/views/xm/core/xmBranchState/XmBranchStateMng.vue @@ -210,7 +210,7 @@ this.pageInfo.count=false; this.xmBranchStates = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -252,7 +252,7 @@ this.pageInfo.count=true; this.getXmBranchStates(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -275,7 +275,7 @@ this.pageInfo.count=true; this.getXmBranchStates(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmBranchStateHis/XmBranchStateHisEdit.vue b/src/views/xm/core/xmBranchStateHis/XmBranchStateHisEdit.vue index 6f368ab4..9bf25073 100644 --- a/src/views/xm/core/xmBranchStateHis/XmBranchStateHisEdit.vue +++ b/src/views/xm/core/xmBranchStateHis/XmBranchStateHisEdit.vue @@ -271,11 +271,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmBranchStateHis/XmBranchStateHisMng.vue b/src/views/xm/core/xmBranchStateHis/XmBranchStateHisMng.vue index 324db09f..40bdd6c0 100644 --- a/src/views/xm/core/xmBranchStateHis/XmBranchStateHisMng.vue +++ b/src/views/xm/core/xmBranchStateHis/XmBranchStateHisMng.vue @@ -210,7 +210,7 @@ this.pageInfo.count=false; this.xmBranchStateHiss = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -252,7 +252,7 @@ this.pageInfo.count=true; this.getXmBranchStateHiss(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -275,7 +275,7 @@ this.pageInfo.count=true; this.getXmBranchStateHiss(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmGroup/XmGroupEdit.vue b/src/views/xm/core/xmGroup/XmGroupEdit.vue index 4d1598d0..6c82d564 100644 --- a/src/views/xm/core/xmGroup/XmGroupEdit.vue +++ b/src/views/xm/core/xmGroup/XmGroupEdit.vue @@ -124,11 +124,11 @@ this.currOpType="edit"; this.$emit('submit',this.editForm);// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmGroup/XmGroupMng.vue b/src/views/xm/core/xmGroup/XmGroupMng.vue index 1f29191e..dab5e530 100644 --- a/src/views/xm/core/xmGroup/XmGroupMng.vue +++ b/src/views/xm/core/xmGroup/XmGroupMng.vue @@ -414,7 +414,7 @@ XmProductSelect,XmProjectSelect, childrens=childrens.filter(i=>!this.xmGroups.some(k=>k.id==i.id)) this.xmGroups.push(...childrens) }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -476,7 +476,7 @@ XmProductSelect,XmProjectSelect, this.pageInfo.count=false; this.xmGroups = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -490,7 +490,7 @@ XmProductSelect,XmProjectSelect, //显示新增界面 XmGroup xm_group showProjectGroupAdd: function () { if(!this.filters.selProject || !this.filters.selProject.id){ - this.$notify({ showClose:true, message: "请先选择项目", type: 'warning' }); + this.$notify({position:'bottom-left',showClose:true, message: "请先选择项目", type: 'warning' }); return; } this.addForm={...this.addFormInit} @@ -511,7 +511,7 @@ XmProductSelect,XmProjectSelect, //显示新增界面 XmGroup xm_group showProductGroupAdd: function () { if(!this.xmProduct || !this.xmProduct.id){ - this.$notify({ showClose:true, message: "请先选择产品", type: 'warning' }); + this.$notify({position:'bottom-left',showClose:true, message: "请先选择产品", type: 'warning' }); return; } this.addForm={...this.addFormInit} @@ -573,7 +573,7 @@ XmProductSelect,XmProjectSelect, this.pageInfo.count=true; this.getXmGroups(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -592,7 +592,7 @@ XmProductSelect,XmProjectSelect, this.pageInfo.count=true; this.getXmGroups(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, @@ -688,7 +688,7 @@ XmProductSelect,XmProjectSelect, if(tips.isOk){ this.searchXmGroups() } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }) }, @@ -745,7 +745,7 @@ XmProductSelect,XmProjectSelect, this.pageInfo.count=true; this.getXmGroups(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmGroupUser/XmGroupUserEdit.vue b/src/views/xm/core/xmGroupUser/XmGroupUserEdit.vue index 23b0a0cb..3a4a576d 100644 --- a/src/views/xm/core/xmGroupUser/XmGroupUserEdit.vue +++ b/src/views/xm/core/xmGroupUser/XmGroupUserEdit.vue @@ -114,11 +114,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmGroupUser/XmGroupUserMng.vue b/src/views/xm/core/xmGroupUser/XmGroupUserMng.vue index 0d524522..c22e988d 100644 --- a/src/views/xm/core/xmGroupUser/XmGroupUserMng.vue +++ b/src/views/xm/core/xmGroupUser/XmGroupUserMng.vue @@ -186,7 +186,7 @@ this.pageInfo.count=false; this.xmGroupUsers = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -228,7 +228,7 @@ this.pageInfo.count=true; this.getXmGroupUsers(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -246,7 +246,7 @@ this.pageInfo.count=true; this.getXmGroupUsers(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmIterationState/XmIterationStateEdit.vue b/src/views/xm/core/xmIterationState/XmIterationStateEdit.vue index 232dc061..f91aa685 100644 --- a/src/views/xm/core/xmIterationState/XmIterationStateEdit.vue +++ b/src/views/xm/core/xmIterationState/XmIterationStateEdit.vue @@ -175,11 +175,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmIterationState/XmIterationStateMng.vue b/src/views/xm/core/xmIterationState/XmIterationStateMng.vue index 0fc20c53..9a44ed4c 100644 --- a/src/views/xm/core/xmIterationState/XmIterationStateMng.vue +++ b/src/views/xm/core/xmIterationState/XmIterationStateMng.vue @@ -178,7 +178,7 @@ this.pageInfo.count=false; this.xmIterationStates = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -220,7 +220,7 @@ this.pageInfo.count=true; this.getXmIterationStates(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -243,7 +243,7 @@ this.pageInfo.count=true; this.getXmIterationStates(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmIterationStateHis/XmIterationStateHisEdit.vue b/src/views/xm/core/xmIterationStateHis/XmIterationStateHisEdit.vue index e0076096..57794360 100644 --- a/src/views/xm/core/xmIterationStateHis/XmIterationStateHisEdit.vue +++ b/src/views/xm/core/xmIterationStateHis/XmIterationStateHisEdit.vue @@ -175,11 +175,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmIterationStateHis/XmIterationStateHisMng.vue b/src/views/xm/core/xmIterationStateHis/XmIterationStateHisMng.vue index 0917ceab..d753ce07 100644 --- a/src/views/xm/core/xmIterationStateHis/XmIterationStateHisMng.vue +++ b/src/views/xm/core/xmIterationStateHis/XmIterationStateHisMng.vue @@ -178,7 +178,7 @@ this.pageInfo.count=false; this.xmIterationStateHiss = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -220,7 +220,7 @@ this.pageInfo.count=true; this.getXmIterationStateHiss(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -243,7 +243,7 @@ this.pageInfo.count=true; this.getXmIterationStateHiss(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmProductState/XmProductStateEdit.vue b/src/views/xm/core/xmProductState/XmProductStateEdit.vue index e1d9c2b2..aba5a90e 100644 --- a/src/views/xm/core/xmProductState/XmProductStateEdit.vue +++ b/src/views/xm/core/xmProductState/XmProductStateEdit.vue @@ -211,11 +211,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmProductState/XmProductStateMng.vue b/src/views/xm/core/xmProductState/XmProductStateMng.vue index 37296374..407bf3eb 100644 --- a/src/views/xm/core/xmProductState/XmProductStateMng.vue +++ b/src/views/xm/core/xmProductState/XmProductStateMng.vue @@ -190,7 +190,7 @@ this.pageInfo.count=false; this.xmProductStates = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -232,7 +232,7 @@ this.pageInfo.count=true; this.getXmProductStates(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -255,7 +255,7 @@ this.pageInfo.count=true; this.getXmProductStates(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmProductStateHis/XmProductStateHisEdit.vue b/src/views/xm/core/xmProductStateHis/XmProductStateHisEdit.vue index 6518e835..70ef18a3 100644 --- a/src/views/xm/core/xmProductStateHis/XmProductStateHisEdit.vue +++ b/src/views/xm/core/xmProductStateHis/XmProductStateHisEdit.vue @@ -211,11 +211,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmProductStateHis/XmProductStateHisMng.vue b/src/views/xm/core/xmProductStateHis/XmProductStateHisMng.vue index 425d255a..9be7ba77 100644 --- a/src/views/xm/core/xmProductStateHis/XmProductStateHisMng.vue +++ b/src/views/xm/core/xmProductStateHis/XmProductStateHisMng.vue @@ -190,7 +190,7 @@ this.pageInfo.count=false; this.xmProductStateHiss = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -232,7 +232,7 @@ this.pageInfo.count=true; this.getXmProductStateHiss(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -255,7 +255,7 @@ this.pageInfo.count=true; this.getXmProductStateHiss(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmProjectState/XmProjectStateEdit.vue b/src/views/xm/core/xmProjectState/XmProjectStateEdit.vue index d3588af5..2309c14c 100644 --- a/src/views/xm/core/xmProjectState/XmProjectStateEdit.vue +++ b/src/views/xm/core/xmProjectState/XmProjectStateEdit.vue @@ -271,11 +271,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmProjectState/XmProjectStateMng.vue b/src/views/xm/core/xmProjectState/XmProjectStateMng.vue index ed8d212f..5bd87911 100644 --- a/src/views/xm/core/xmProjectState/XmProjectStateMng.vue +++ b/src/views/xm/core/xmProjectState/XmProjectStateMng.vue @@ -210,7 +210,7 @@ this.pageInfo.count=false; this.xmProjectStates = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -252,7 +252,7 @@ this.pageInfo.count=true; this.getXmProjectStates(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -275,7 +275,7 @@ this.pageInfo.count=true; this.getXmProjectStates(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmProjectStateHis/XmProjectStateHisEdit.vue b/src/views/xm/core/xmProjectStateHis/XmProjectStateHisEdit.vue index 04ac2fd2..b8d8ec26 100644 --- a/src/views/xm/core/xmProjectStateHis/XmProjectStateHisEdit.vue +++ b/src/views/xm/core/xmProjectStateHis/XmProjectStateHisEdit.vue @@ -271,11 +271,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmProjectStateHis/XmProjectStateHisMng.vue b/src/views/xm/core/xmProjectStateHis/XmProjectStateHisMng.vue index b313955b..38e5143a 100644 --- a/src/views/xm/core/xmProjectStateHis/XmProjectStateHisMng.vue +++ b/src/views/xm/core/xmProjectStateHis/XmProjectStateHisMng.vue @@ -210,7 +210,7 @@ this.pageInfo.count=false; this.xmProjectStateHiss = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -252,7 +252,7 @@ this.pageInfo.count=true; this.getXmProjectStateHiss(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -275,7 +275,7 @@ this.pageInfo.count=true; this.getXmProjectStateHiss(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmTaskSbill/SelectTaskWorkload.vue b/src/views/xm/core/xmTaskSbill/SelectTaskWorkload.vue index bf6c3f3c..c1b5ad81 100644 --- a/src/views/xm/core/xmTaskSbill/SelectTaskWorkload.vue +++ b/src/views/xm/core/xmTaskSbill/SelectTaskWorkload.vue @@ -167,7 +167,7 @@ export default { this.pageInfo.count=false; this.xmTaskWorkloads = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); diff --git a/src/views/xm/core/xmTaskSbill/SelectXmProject.vue b/src/views/xm/core/xmTaskSbill/SelectXmProject.vue index 256085b7..5a9297df 100644 --- a/src/views/xm/core/xmTaskSbill/SelectXmProject.vue +++ b/src/views/xm/core/xmTaskSbill/SelectXmProject.vue @@ -103,7 +103,7 @@ export default { this.pageInfo.count=false; this.xmProjects = res.data.data; }else{ - this.$notify({ showClose: true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose: true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); diff --git a/src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue b/src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue index c4be18e7..4e97e1d1 100644 --- a/src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue +++ b/src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue @@ -181,7 +181,7 @@ if(tips.isOk){ this.$emit('submit');// @submit="afterEditSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }else{ addXmTaskSbill(params).then((res) => { @@ -191,7 +191,7 @@ this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); } }); diff --git a/src/views/xm/core/xmTaskSbill/XmTaskSbillMng.vue b/src/views/xm/core/xmTaskSbill/XmTaskSbillMng.vue index 0308dd1c..ab148547 100644 --- a/src/views/xm/core/xmTaskSbill/XmTaskSbillMng.vue +++ b/src/views/xm/core/xmTaskSbill/XmTaskSbillMng.vue @@ -313,7 +313,7 @@ this.pageInfo.count=false; this.xmTaskSbills = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -355,7 +355,7 @@ this.pageInfo.count=true; this.getXmTaskSbills(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -373,7 +373,7 @@ this.pageInfo.count=true; this.getXmTaskSbills(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, @@ -386,11 +386,11 @@ /**begin 自定义函数请在下面加**/ addWorkload(row,index){ if(row.status!='0'){ - this.$notify({ showClose:true, message: "只能修改待提交的数据", type: 'error'}); + this.$notify({position:'bottom-left',showClose:true, message: "只能修改待提交的数据", type: 'error'}); return; } if(!(row.bizFlowState=='0' || row.bizFlowState=='3' || row.bizFlowState=='4')){ - this.$notify({ showClose:true, message: "只能修改未发审、未通过、已取消的数据", type: 'error'}); + this.$notify({position:'bottom-left',showClose:true, message: "只能修改未发审、未通过、已取消的数据", type: 'error'}); return; } this.thisBillRow = Object.assign({},row); @@ -413,7 +413,7 @@ if(tips.isOk){ this.getXmTaskSbills(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>{}); }, //添加到结算的要修改工时登记的状态 @@ -428,7 +428,7 @@ let tips=res.data.tips; if(tips.isOk){ } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>{}); }, dateFormat(fmt, date) { diff --git a/src/views/xm/core/xmTaskWorkload/XmTaskSbillSelect.vue b/src/views/xm/core/xmTaskWorkload/XmTaskSbillSelect.vue index 71694e8f..628ba656 100644 --- a/src/views/xm/core/xmTaskWorkload/XmTaskSbillSelect.vue +++ b/src/views/xm/core/xmTaskWorkload/XmTaskSbillSelect.vue @@ -205,7 +205,7 @@ export default { this.pageInfo.count=false; this.xmTaskSbills = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); diff --git a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadEdit.vue b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadEdit.vue index 97baafac..9e73991f 100644 --- a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadEdit.vue +++ b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadEdit.vue @@ -143,11 +143,11 @@ this.currOpType="edit"; this.$emit('submit');// @submit="afterAddSubmit" } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err =>this.load.edit=false); }); }else{ - this.$notify({ showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: "表单验证不通过,请修改表单数据再提交", type: 'error' }); } }); }, diff --git a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadList.vue b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadList.vue index 7a7c8dc8..e018f574 100644 --- a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadList.vue +++ b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadList.vue @@ -183,7 +183,7 @@ this.pageInfo.count=false; this.xmTaskWorkloads = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -228,7 +228,7 @@ this.getXmTaskWorkloads(); this.$emit('submit',this.editForm) } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -252,7 +252,7 @@ this.getXmTaskWorkloads(); this.$emit('submit') } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); }, diff --git a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadMng.vue b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadMng.vue index 7be9583d..273755db 100644 --- a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadMng.vue +++ b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadMng.vue @@ -310,7 +310,7 @@ this.pageInfo.count=false; this.xmTaskWorkloads = res.data.data; }else{ - this.$notify({ showClose:true, message: tips.msg, type: 'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' }); } this.load.list = false; }).catch( err => this.load.list = false ); @@ -352,7 +352,7 @@ this.pageInfo.count=true; this.getXmTaskWorkloads(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' }); }).catch( err => this.load.del=false ); }); }, @@ -375,7 +375,7 @@ this.pageInfo.count=true; this.getXmTaskWorkloads(); } - this.$notify({ showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); + this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'}); }).catch( err => this.load.del=false ); }); },