diff --git a/src/views/xm/core/crowd/XmTaskCrowdMng.vue b/src/views/xm/core/crowd/XmTaskCrowdMng.vue index 95ef0c49..f4cbb906 100644 --- a/src/views/xm/core/crowd/XmTaskCrowdMng.vue +++ b/src/views/xm/core/crowd/XmTaskCrowdMng.vue @@ -621,7 +621,7 @@ import { batchAddSkill } from "@/api/xm/core/xmTaskSkill"; import xmTaskTemplateMng from "../xmTaskTemplate/XmTaskTemplateMng"; import xmExchangeMng from "../xmExchange/XmExchangeMng"; -import { addXmMyFocus, delXmMyFocus } from "@/api/xm/core/xmMyFocus"; +import { addUserFocus, delUserFocus } from "@/api/mdp/sys/userFocus"; import XmMenuRichDetail from "../xmMenu/XmMenuRichDetail"; import TagMng from "@/views/mdp/arc/tag/TagMng"; @@ -1065,7 +1065,7 @@ export default { focusOrUnfocus: function (row) { if (this.selkey == "myFocus") { - delXmMyFocus({ + delUserFocus({ projectId: row.projectId, focusType: "task", taskId: row.id, @@ -1084,7 +1084,7 @@ export default { }); }); } else { - addXmMyFocus({ + addUserFocus({ projectId: row.projectId, projectName: row.projectName, focusType: "task", diff --git a/src/views/xm/core/xmIteration/XmIterationMng.vue b/src/views/xm/core/xmIteration/XmIterationMng.vue index be568c39..c2d2600f 100644 --- a/src/views/xm/core/xmIteration/XmIterationMng.vue +++ b/src/views/xm/core/xmIteration/XmIterationMng.vue @@ -121,7 +121,7 @@ import { mapGetters } from 'vuex' import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue'; - import { addXmMyFocus , delXmMyFocus } from '@/api/xm/core/xmMyFocus'; + import { addUserFocus , delUserFocus } from '@/api/mdp/sys/userFocus'; export default { computed: { ...mapGetters([ @@ -456,7 +456,7 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue' }, focusOrUnfocus:function(row){ if(this.menukey=="myFocus"){ - delXmMyFocus({pbizId:row.productId,focusType:'6',bizId:row.id,bizName:row.iterationName}).then(res=>{ + delUserFocus({pbizId:row.productId,focusType:'6',bizId:row.id,bizName:row.iterationName}).then(res=>{ var tips=res.data.tips; if(tips.isOk){ this.getXmIterations(); @@ -464,7 +464,7 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue' this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' }); }) }else{ - addXmMyFocus({pbizId:row.productId,focusType:'6',bizId:row.id,bizName:row.iterationName}).then(res=>{ + addUserFocus({pbizId:row.productId,focusType:'6',bizId:row.id,bizName:row.iterationName}).then(res=>{ var tips=res.data.tips; this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' }); }) diff --git a/src/views/xm/core/xmMyFocus/XmMyDoFocus.vue b/src/views/xm/core/xmMyFocus/XmMyDoFocus.vue index 7b431672..93c809fa 100644 --- a/src/views/xm/core/xmMyFocus/XmMyDoFocus.vue +++ b/src/views/xm/core/xmMyFocus/XmMyDoFocus.vue @@ -13,7 +13,7 @@