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;
|
break;
|
||||||
case "MOCK_CREATE":
|
case "MOCK_CREATE":
|
||||||
receiverOptions.unshift({id: 'FOLLOW_PEOPLE', name: this.$t('api_test.automation.follow_people')});
|
if (i2 > -1) {
|
||||||
receiverOptions.unshift({id: 'CREATOR', name: this.$t('commons.create_user')});
|
row.userIds.splice(i2, 1);
|
||||||
if (row.isSet) {
|
}
|
||||||
if (i < 0) {
|
if (i > -1) {
|
||||||
row.userIds.unshift('FOLLOW_PEOPLE');
|
row.userIds.splice(i, 1);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "UPDATE":
|
case "UPDATE":
|
||||||
case "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: 'FOLLOW_PEOPLE', name: this.$t('api_test.automation.follow_people')});
|
||||||
receiverOptions.unshift({id: 'CREATOR', name: this.$t('commons.create_user')});
|
receiverOptions.unshift({id: 'CREATOR', name: this.$t('commons.create_user')});
|
||||||
if (row.isSet) {
|
if (row.isSet) {
|
||||||
|
@ -445,6 +442,16 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
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 "DELETE":
|
||||||
case "CASE_DELETE":
|
case "CASE_DELETE":
|
||||||
case "EXECUTE_SUCCESSFUL":
|
case "EXECUTE_SUCCESSFUL":
|
||||||
|
|
Loading…
Reference in New Issue