mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 12:39:12 +08:00
fix(消息通知): 配置消息通知时查询备选人是项目范围
This commit is contained in:
parent
a141b702f7
commit
c5cf4b8fe9
@ -185,7 +185,7 @@ export default {
|
||||
});
|
||||
},
|
||||
initUserList() {
|
||||
this.result = this.$get('user/ws/member/list/' + getCurrentWorkspaceId(), response => {
|
||||
this.result = this.$post('/user/project/member/list', {projectId: getCurrentProjectID()}, response => {
|
||||
this.scheduleReceiverOptions = response.data;
|
||||
});
|
||||
|
||||
|
@ -248,7 +248,7 @@ export default {
|
||||
},
|
||||
|
||||
initUserList() {
|
||||
this.result = this.$get('user/ws/member/list/' + getCurrentWorkspaceId(), response => {
|
||||
this.result = this.$post('/user/project/member/list', {projectId: getCurrentProjectID()},response => {
|
||||
this.scheduleReceiverOptions = response.data;
|
||||
});
|
||||
},
|
||||
|
@ -41,7 +41,13 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getCurrentUser, getCurrentWorkspaceId, listenGoBack, removeGoBackListener} from "@/common/js/utils";
|
||||
import {
|
||||
getCurrentProjectID,
|
||||
getCurrentUser,
|
||||
getCurrentWorkspaceId,
|
||||
listenGoBack,
|
||||
removeGoBackListener
|
||||
} from "@/common/js/utils";
|
||||
import Crontab from "../cron/Crontab";
|
||||
import CrontabResult from "../cron/CrontabResult";
|
||||
import {cronValidate} from "@/common/js/cron";
|
||||
@ -112,7 +118,7 @@ export default {
|
||||
initUserList() {
|
||||
|
||||
|
||||
this.result = this.$get('user/ws/member/list/' + getCurrentWorkspaceId(), response => {
|
||||
this.result = this.$post('/user/project/member/list', {projectId: getCurrentProjectID()}, response => {
|
||||
this.scheduleReceiverOptions = response.data;
|
||||
});
|
||||
|
||||
|
@ -77,7 +77,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getCurrentUser, getCurrentWorkspaceId} from "@/common/js/utils";
|
||||
import {getCurrentProjectID, getCurrentUser} from "@/common/js/utils";
|
||||
import JenkinsNotification from "@/business/components/project/notification/jenkins/JenkinsNotification";
|
||||
import TestPlanTaskNotification from "@/business/components/project/notification/track/TestPlanTaskNotification";
|
||||
import TestReviewNotification from "@/business/components/project/notification/track/TestReviewNotification";
|
||||
@ -160,7 +160,7 @@ export default {
|
||||
},
|
||||
|
||||
initUserList() {
|
||||
this.result = this.$get('user/ws/member/list/' + getCurrentWorkspaceId(), response => {
|
||||
this.result = this.$post('/user/project/member/list', {projectId: getCurrentProjectID()}, response => {
|
||||
this.jenkinsReceiverOptions = response.data;
|
||||
this.reviewReceiverOptions = response.data;
|
||||
this.defectReceiverOptions = response.data;
|
||||
|
@ -265,7 +265,7 @@ export default {
|
||||
});
|
||||
},
|
||||
initUserList() {
|
||||
this.result = this.$get('user/ws/member/list/' + getCurrentWorkspaceId(), response => {
|
||||
this.result = this.$post('/user/project/member/list', {projectId: getCurrentProjectID()}, response => {
|
||||
this.scheduleReceiverOptions = response.data;
|
||||
});
|
||||
},
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit ed3f0a6630c6f986fba4f9817f51310a6d37f5aa
|
||||
Subproject commit 8add0b0a2cc869390734c0a04590f6a945e61cda
|
Loading…
Reference in New Issue
Block a user