refactor(项目设置): 修改消息通知mock类型接收人不加关注人
--user=郭雨琦 https://www.tapd.cn/55049933/prong/stories/view/1155049933001009922
This commit is contained in:
parent
7d15321213
commit
c7960235bd
|
@ -422,18 +422,15 @@ export default {
|
|||
}
|
||||
break;
|
||||
case "MOCK_CREATE":
|
||||
receiverOptions.unshift({id: 'FOLLOW_PEOPLE', name: this.$t('api_test.automation.follow_people')});
|
||||
receiverOptions.unshift({id: 'CREATOR', name: this.$t('commons.create_user')});
|
||||
if (row.isSet) {
|
||||
if (i < 0) {
|
||||
row.userIds.unshift('FOLLOW_PEOPLE');
|
||||
}
|
||||
if (i2 > -1) {
|
||||
row.userIds.splice(i2, 1);
|
||||
}
|
||||
if (i > -1) {
|
||||
row.userIds.splice(i, 1);
|
||||
}
|
||||
break;
|
||||
case "UPDATE":
|
||||
case "CASE_UPDATE":
|
||||
case "MOCK_UPDATE":
|
||||
case "MOCK_DELETE":
|
||||
receiverOptions.unshift({id: 'FOLLOW_PEOPLE', name: this.$t('api_test.automation.follow_people')});
|
||||
receiverOptions.unshift({id: 'CREATOR', name: this.$t('commons.create_user')});
|
||||
if (row.isSet) {
|
||||
|
@ -445,6 +442,16 @@ export default {
|
|||
}
|
||||
}
|
||||
break;
|
||||
case "MOCK_UPDATE":
|
||||
case "MOCK_DELETE":
|
||||
receiverOptions.unshift({id: 'FOLLOW_PEOPLE', name: this.$t('api_test.automation.follow_people')});
|
||||
receiverOptions.unshift({id: 'CREATOR', name: this.$t('commons.create_user')});
|
||||
if (row.isSet) {
|
||||
if (i2 < 0) {
|
||||
row.userIds.unshift('CREATOR');
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "DELETE":
|
||||
case "CASE_DELETE":
|
||||
case "EXECUTE_SUCCESSFUL":
|
||||
|
|
Loading…
Reference in New Issue