diff --git a/src/views/xm/core/xmContract/XmContractMng.vue b/src/views/xm/core/xmContract/XmContractMng.vue index 0f95d69d..d831a6a5 100644 --- a/src/views/xm/core/xmContract/XmContractMng.vue +++ b/src/views/xm/core/xmContract/XmContractMng.vue @@ -184,7 +184,7 @@ } if(!params.projectId && !params.productId && params.htSn){ - this.$notify({showClose:true,message:'项目编号、产品编号、合同编号必须输入一个',type:'error'}) + this.$notify({position:'bottom-left',showClose:true,message:'项目编号、产品编号、合同编号必须输入一个',type:'error'}) return; } this.load.list = true; diff --git a/src/views/xm/core/xmGroup/XmGroupSelect.vue b/src/views/xm/core/xmGroup/XmGroupSelect.vue index d81368a8..4b5c851a 100644 --- a/src/views/xm/core/xmGroup/XmGroupSelect.vue +++ b/src/views/xm/core/xmGroup/XmGroupSelect.vue @@ -140,13 +140,13 @@ import XmProductSelect from '@/views/xm/core/components/XmProductSelect.vue' params.productId=this.filters.xmProduct.id } if(this.pgClass==='1' && !params.productId){ - this.$notify({showClose:true,message:'请选择产品',type:'error'}) + this.$notify({position:'bottom-left',showClose:true,message:'请选择产品',type:'error'}) return; } if((this.pgClass==='0' || !this.pgClass )&& !params.projectId){ params.productId=null - this.$notify({showClose:true,message:'请选择项目',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请选择项目',type:'warning'}) } getGroups(params).then(res=>{ var tips = res.data.tips; diff --git a/src/views/xm/core/xmMenu/XmMenuEdit.vue b/src/views/xm/core/xmMenu/XmMenuEdit.vue index 76ab50dc..f62ee0ff 100644 --- a/src/views/xm/core/xmMenu/XmMenuEdit.vue +++ b/src/views/xm/core/xmMenu/XmMenuEdit.vue @@ -451,10 +451,10 @@ import XmMenuExchangeMng from '../xmMenuExchange/XmMenuExchangeMng.vue'; Object.assign(row,params) this.$emit("edit-fields",params); if(fieldName==='remark'||fieldName==='link'){ - 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'}) } }else{ - 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'}) } }) }, diff --git a/src/views/xm/core/xmMenu/XmMenuMng.vue b/src/views/xm/core/xmMenu/XmMenuMng.vue index a803b186..f1eebf35 100644 --- a/src/views/xm/core/xmMenu/XmMenuMng.vue +++ b/src/views/xm/core/xmMenu/XmMenuMng.vue @@ -1069,12 +1069,12 @@ showParentMenu(){ if(this.filters.product && this.filters.product.id){ if(this.sels.length==0){ - this.$notify({showClose:true,message:'请先选择一个或者多个需求',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选择一个或者多个需求',type:'warning'}) return; } this.parentMenuVisible=true; }else{ - this.$notify({showClose:true,message:'请先选择产品',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选择产品',type:'warning'}) return; } @@ -1082,7 +1082,7 @@ onParentMenuSelected(menu){ if(!menu||!menu.menuId){ - this.$notify({showClose:true,message:'请先选择一个上级需求',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选择一个上级需求',type:'warning'}) return; } this.parentMenuVisible=false; @@ -1097,7 +1097,7 @@ var rows=[...this.sels,{menuId:'',pmenuId:menu.menuId}] treeTool.reloadAllChildren(this.$refs.table,this.maps,rows,'pmenuId',this.loadXmMenusLazy) } - 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'}) }) }, formaterByDicts(row,property,cellValue){ @@ -1122,11 +1122,11 @@ doBatchDelXmIterationMenu(){ if(!this.filters.iteration||!this.filters.iteration.id){ - this.$notify({showClose:true,message:"请选择一个迭代进行操作",type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:"请选择一个迭代进行操作",type:'warning'}) return; } if(this.sels.length==0){ - this.$notify({showClose:true,message:"请选择一个或者多个需求进行操作",type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:"请选择一个或者多个需求进行操作",type:'warning'}) return; } var params={ @@ -1138,16 +1138,16 @@ if(tips.isOk){ this.searchXmMenus(); } - 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'}) }) }, doBatchAddXmIterationMenu(){ if(!this.filters.iteration||!this.filters.iteration.id){ - this.$notify({showClose:true,message:"请选择一个迭代进行操作",type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:"请选择一个迭代进行操作",type:'warning'}) return; } if(this.sels.length==0){ - this.$notify({showClose:true,message:"请选择一个或者多个需求进行操作",type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:"请选择一个或者多个需求进行操作",type:'warning'}) return; } var params={ @@ -1159,7 +1159,7 @@ if(tips.isOk){ this.searchXmMenus(); } - 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'}) }) }, @@ -1182,7 +1182,7 @@ var params={menuIds:[row.menuId]}; if(this.sels.length>0){ if(!this.sels.some(k=>k.menuId==row.menuId)){ - this.$notify({showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) return; } params.menuIds=this.sels.map(i=>i.menuId) @@ -1222,7 +1222,7 @@ Object.assign(row,params) } }else{ - 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'}) } }) }, diff --git a/src/views/xm/core/xmMenu/XmMenuMngBatch.vue b/src/views/xm/core/xmMenu/XmMenuMngBatch.vue index 2484820f..c77e939e 100644 --- a/src/views/xm/core/xmMenu/XmMenuMngBatch.vue +++ b/src/views/xm/core/xmMenu/XmMenuMngBatch.vue @@ -241,7 +241,7 @@ //查询时选择责任人 showBatchMmUserSelectVisible() { if(!this.sels||this.sels.length==0){ - this.$notify({showClose:true,message:'请先选中一条或多条数据',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选中一条或多条数据',type:'warning'}) return; }else{ this.batchMmUserSelectVisible=true; diff --git a/src/views/xm/core/xmMenuWorkItem/XmSubBugList.vue b/src/views/xm/core/xmMenuWorkItem/XmSubBugList.vue index f866714d..099b3140 100644 --- a/src/views/xm/core/xmMenuWorkItem/XmSubBugList.vue +++ b/src/views/xm/core/xmMenuWorkItem/XmSubBugList.vue @@ -244,7 +244,7 @@ export default { var params={ids:[row.id]}; if(this.sels.length>0){ if(!this.sels.some(k=>k.id==row.id)){ - this.$notify({showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) return; } params.ids=this.sels.map(i=>i.id) @@ -284,7 +284,7 @@ export default { Object.assign(row,params) } }else{ - 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'}) } }) }, diff --git a/src/views/xm/core/xmMenuWorkItem/XmSubMenuList.vue b/src/views/xm/core/xmMenuWorkItem/XmSubMenuList.vue index f0d20578..9262cec2 100644 --- a/src/views/xm/core/xmMenuWorkItem/XmSubMenuList.vue +++ b/src/views/xm/core/xmMenuWorkItem/XmSubMenuList.vue @@ -306,7 +306,7 @@ export default { var params={menuIds:[row.menuId]}; if(this.sels.length>0){ if(!this.sels.some(k=>k.menuId==row.menuId)){ - this.$notify({showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) return; } params.menuIds=this.sels.map(i=>i.menuId) @@ -346,7 +346,7 @@ export default { Object.assign(row,params) } }else{ - 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'}) } }) }, diff --git a/src/views/xm/core/xmMenuWorkItem/XmSubTaskList.vue b/src/views/xm/core/xmMenuWorkItem/XmSubTaskList.vue index 0b1795f7..d933826c 100644 --- a/src/views/xm/core/xmMenuWorkItem/XmSubTaskList.vue +++ b/src/views/xm/core/xmMenuWorkItem/XmSubTaskList.vue @@ -242,7 +242,7 @@ export default { var params={ids:[row.id]}; if(this.sels.length>0){ if(!this.sels.some(k=>k.id==row.id)){ - this.$notify({showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) return; } params.ids=this.sels.map(i=>i.id) @@ -286,7 +286,7 @@ export default { Object.assign(row,params) } }else{ - 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'}) } }) }, diff --git a/src/views/xm/core/xmMenuWorkItem/XmSubWorkItem.vue b/src/views/xm/core/xmMenuWorkItem/XmSubWorkItem.vue index 831d9658..2cffb9d1 100644 --- a/src/views/xm/core/xmMenuWorkItem/XmSubWorkItem.vue +++ b/src/views/xm/core/xmMenuWorkItem/XmSubWorkItem.vue @@ -102,13 +102,13 @@ export default { this.$refs.menuList.showAdd(); }else if(dclass==='4'){ if(!this.linkProjectId && !this.xmProject){ - this.$notify({showClose:true,message:'请先选择一个项目',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选择一个项目',type:'warning'}) return; } this.$refs.taskList.showAdd(); }else if(dclass==='5'){ if(!this.linkProjectId && !this.xmProject){ - this.$notify({showClose:true,message:'请先选择一个项目',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选择一个项目',type:'warning'}) return; } this.$refs.bugList.showAdd(); @@ -116,7 +116,7 @@ export default { }, doDelete(){ if((this.$refs.menuList.sels.length+ this.$refs.taskList.sels.length+this.$refs.bugList.sels.length)==0){ - this.$notify({showClose:true,message:'请先选择要删除的数据',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选择要删除的数据',type:'warning'}) return; } if(this.$refs.menuList.sels.length>0){ diff --git a/src/views/xm/core/xmPhase/XmPhaseForProduct.vue b/src/views/xm/core/xmPhase/XmPhaseForProduct.vue index e8e7efad..8feb95ea 100644 --- a/src/views/xm/core/xmPhase/XmPhaseForProduct.vue +++ b/src/views/xm/core/xmPhase/XmPhaseForProduct.vue @@ -1151,7 +1151,7 @@ import XmTaskList from '../xmTask/XmTaskList.vue'; if(tips.isOk){ this.taskVisible=false; } - 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'}) }) }, handlePopover:function(row,opType){ diff --git a/src/views/xm/core/xmPhase/XmPhaseMng.vue b/src/views/xm/core/xmPhase/XmPhaseMng.vue index b1a6800b..59089c87 100644 --- a/src/views/xm/core/xmPhase/XmPhaseMng.vue +++ b/src/views/xm/core/xmPhase/XmPhaseMng.vue @@ -1186,7 +1186,7 @@ import XmTaskList from '../xmTask/XmTaskList.vue'; if(tips.isOk){ this.taskVisible=false; } - 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'}) }) }, handlePopover:function(row,opType){ diff --git a/src/views/xm/core/xmQuestion/XmQuestionMng.vue b/src/views/xm/core/xmQuestion/XmQuestionMng.vue index 4909f00d..79b96e9d 100644 --- a/src/views/xm/core/xmQuestion/XmQuestionMng.vue +++ b/src/views/xm/core/xmQuestion/XmQuestionMng.vue @@ -1030,7 +1030,7 @@ var params={ids:[row.id]}; if(this.sels.length>0){ if(!this.sels.some(k=>k.id==row.id)){ - this.$notify({showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) return; } params.ids=this.sels.map(i=>i.id) @@ -1070,7 +1070,7 @@ Object.assign(row,params) } }else{ - 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'}) } }) }, diff --git a/src/views/xm/core/xmTask/XmTaskAgileKanban.vue b/src/views/xm/core/xmTask/XmTaskAgileKanban.vue index 63bba518..123658fe 100644 --- a/src/views/xm/core/xmTask/XmTaskAgileKanban.vue +++ b/src/views/xm/core/xmTask/XmTaskAgileKanban.vue @@ -169,7 +169,7 @@ export default { task.taskState=params.taskState this.$set(this.xmTasks,taskIndex,task) }else{ - this.$notify({showClose:true,message:tips.msg,type:'error'}) + this.$notify({position:'bottom-left',showClose:true,message:tips.msg,type:'error'}) } return res.data.tips.isOk }) diff --git a/src/views/xm/core/xmTask/XmTaskEdit.vue b/src/views/xm/core/xmTask/XmTaskEdit.vue index 1501fcd6..911313c9 100644 --- a/src/views/xm/core/xmTask/XmTaskEdit.vue +++ b/src/views/xm/core/xmTask/XmTaskEdit.vue @@ -616,7 +616,7 @@ import XmMenuEdit from '../xmMenu/XmMenuEdit.vue'; this.$emit('edit-fields',params) Object.assign(row,params) }else{ - 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'}) } }) }, diff --git a/src/views/xm/core/xmTask/XmTaskList.vue b/src/views/xm/core/xmTask/XmTaskList.vue index 86859d8e..8a86a147 100644 --- a/src/views/xm/core/xmTask/XmTaskList.vue +++ b/src/views/xm/core/xmTask/XmTaskList.vue @@ -254,12 +254,12 @@ } if(params.ptype!=='1'){ if(!params.projectId){ - this.$notify({showClose:true,message:'请选择一个项目',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请选择一个项目',type:'warning'}) return; } }else{ if(!params.productId){ - this.$notify({showClose:true,message:'请选择一个产品',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请选择一个产品',type:'warning'}) return; } } diff --git a/src/views/xm/core/xmTask/XmTaskMng.vue b/src/views/xm/core/xmTask/XmTaskMng.vue index 76c0920d..e70dad9d 100644 --- a/src/views/xm/core/xmTask/XmTaskMng.vue +++ b/src/views/xm/core/xmTask/XmTaskMng.vue @@ -2318,17 +2318,17 @@ export default { }, showParentTaskList(){ if(this.sels.length==0){ - this.$notify({showClose:true,message:"请先选择一个或者多个需要更换上级的计划/任务",type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:"请先选择一个或者多个需要更换上级的计划/任务",type:'warning'}) return; } if(this.ptype==='0'){ 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; } }else if(this.ptype==='1'){ if( !this.filters.product|| !this.filters.product.id){ - this.$notify({showClose:true,message:"请先选择产品",type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:"请先选择产品",type:'warning'}) return; } } @@ -2340,7 +2340,7 @@ export default { var params={ids:[row.id]}; if(this.sels.length>0){ if(!this.sels.some(k=>k.id==row.id)){ - this.$notify({showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) return; } params.ids=this.sels.map(i=>i.id) @@ -2384,17 +2384,17 @@ export default { Object.assign(row,params) } }else{ - 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'}) } }) }, onSelectedParentTask(task){ if(this.sels.length==0){ - this.$notify({showClose:true,message:"请先选择一个或者多个需要更换上级的计划/任务",type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:"请先选择一个或者多个需要更换上级的计划/任务",type:'warning'}) this.selectParentTaskVisible=true return; }else if(task==null || !task.id){ - this.$notify({showClose:true,message:"请选择上级计划/任务",type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:"请选择上级计划/任务",type:'warning'}) return; } diff --git a/src/views/xm/core/xmTask/XmTaskMngBatch.vue b/src/views/xm/core/xmTask/XmTaskMngBatch.vue index 9a86f8df..d0c6137a 100644 --- a/src/views/xm/core/xmTask/XmTaskMngBatch.vue +++ b/src/views/xm/core/xmTask/XmTaskMngBatch.vue @@ -1145,7 +1145,7 @@ export default { //查询时选择责任人 showBatchCreateUserSelectVisible() { if(!this.sels||this.sels.length==0){ - this.$notify({showClose:true,message:'请先选中一条或多条数据',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选中一条或多条数据',type:'warning'}) return; }else{ this.batchGroupUserSelectVisible=true; @@ -1154,7 +1154,7 @@ export default { //查询时选择责任人 showBatchExecUserSelectVisible() { if(!this.sels||this.sels.length==0){ - this.$notify({showClose:true,message:'请先选中一条或多条数据',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选中一条或多条数据',type:'warning'}) return; }else{ this.batchExecUserSelectVisible=true; diff --git a/src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue b/src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue index c38a38ae..c4be18e7 100644 --- a/src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue +++ b/src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue @@ -151,13 +151,13 @@ saveSubmit: function () { if(this.currOpType=='add'){ if(this.editForm.projectId==null || this.editForm.projectId=='' || this.editForm.projectId==undefined){ - this.$notify({showClose:true,message:'请选择项目',type:'error'}); + this.$notify({position:'bottom-left',showClose:true,message:'请选择项目',type:'error'}); return; } } if(this.currOpType=='edit'){ if(this.editForm.status!='0'){ - this.$notify({showClose:true,message:'当前状态不能修改',type:'error'}); + this.$notify({position:'bottom-left',showClose:true,message:'当前状态不能修改',type:'error'}); return; } } diff --git a/src/views/xm/core/xmTaskWorkItem/XmSubTaskList.vue b/src/views/xm/core/xmTaskWorkItem/XmSubTaskList.vue index d8d8912b..db58d861 100644 --- a/src/views/xm/core/xmTaskWorkItem/XmSubTaskList.vue +++ b/src/views/xm/core/xmTaskWorkItem/XmSubTaskList.vue @@ -229,7 +229,7 @@ export default { var params={ids:[row.id]}; if(this.sels.length>0){ if(!this.sels.some(k=>k.id==row.id)){ - this.$notify({showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) return; } params.ids=this.sels.map(i=>i.id) @@ -273,7 +273,7 @@ export default { Object.assign(row,params) } }else{ - 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'}) } }) }, diff --git a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadMng.vue b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadMng.vue index 462b1893..7be9583d 100644 --- a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadMng.vue +++ b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadMng.vue @@ -396,7 +396,7 @@ }, editXmWorkloadSomeFields(workload,row,fieldName,$event){ if(row.status!='0'){ - this.$notify.error({showClose:true,message:'该结算单已提交,请重新选择',type:'warning'}) + this.$notify.error({position:'bottom-left',showClose:true,message:'该结算单已提交,请重新选择',type:'warning'}) return; } let params={ @@ -404,7 +404,7 @@ }; if(this.sels.length>0){ if(!this.sels.some(k=>k.projectId==row.projectId)){ - this.$notify({showClose:true,message:'存在不同项目的工时单,请重新选择',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'存在不同项目的工时单,请重新选择',type:'warning'}) return; } params.ids=this.sels.map(i=>i.id); @@ -418,7 +418,7 @@ if(tips.isOk){ this.getXmTaskWorkloads(); }else{ - 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'}) } }) }, @@ -447,7 +447,7 @@ let params={ids:[row.id]}; if(this.sels.length>0){ if(!this.sels.some(k=>k.id==row.id)){ - this.$notify({showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'}) return; } params.ids=this.sels.map(i=>i.id) @@ -466,7 +466,7 @@ if(tips.isOk){ this.getXmTaskWorkloads(); }else{ - 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'}) } }) }, diff --git a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadRecord.vue b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadRecord.vue index 8363a8d1..89ca73a4 100644 --- a/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadRecord.vue +++ b/src/views/xm/core/xmTaskWorkload/XmTaskWorkloadRecord.vue @@ -130,7 +130,7 @@ //Object.assign(row,params) this.$emit("edit-xm-task-some-fields",params); }else{ - 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'}) } }) }, diff --git a/src/views/xm/rpt/product/menuAttDist.vue b/src/views/xm/rpt/product/menuAttDist.vue index 24e285f9..af03b98f 100644 --- a/src/views/xm/rpt/product/menuAttDist.vue +++ b/src/views/xm/rpt/product/menuAttDist.vue @@ -219,7 +219,7 @@ }, searchXmMenuAttDist(){ if(!this.groupBy){ - this.$notify({showClose:true,message:'请选中分组属性',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'}) return } var params={} diff --git a/src/views/xm/rpt/product/menuDayAccumulate.vue b/src/views/xm/rpt/product/menuDayAccumulate.vue index d748cd10..4ac384d7 100644 --- a/src/views/xm/rpt/product/menuDayAccumulate.vue +++ b/src/views/xm/rpt/product/menuDayAccumulate.vue @@ -114,7 +114,7 @@ }, listXmProductStateHis(){ if(!this.filters.product){ - this.$notify({showClose:true,message:'请先选中产品',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; } var params={productId:this.filters.product.id,orderBy:'biz_date asc'} diff --git a/src/views/xm/rpt/product/menuDayTrend.vue b/src/views/xm/rpt/product/menuDayTrend.vue index a81dab32..20efaf2e 100644 --- a/src/views/xm/rpt/product/menuDayTrend.vue +++ b/src/views/xm/rpt/product/menuDayTrend.vue @@ -116,7 +116,7 @@ }, listXmProductStateHis(){ if(!this.filters.product){ - this.$notify({showClose:true,message:'请先选中产品',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; } var params={productId:this.filters.product.id,orderBy:'biz_date asc'} diff --git a/src/views/xm/rpt/product/productWorkItemDayList.vue b/src/views/xm/rpt/product/productWorkItemDayList.vue index 2cfa5b74..0b91474f 100644 --- a/src/views/xm/rpt/product/productWorkItemDayList.vue +++ b/src/views/xm/rpt/product/productWorkItemDayList.vue @@ -78,7 +78,7 @@ methods: { listXmProductStateHis(){ if(!this.filters.product){ - this.$notify({showClose:true,message:'请先选中产品',type:'warning'}) + this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; } var params={productId:this.filters.product.id,orderBy:'biz_date asc'}