fix(接口测试): 场景定时任务的消息通知增加权限

--bug=1027000 --user=王孝刚 [测试跟踪]测试计划-设置测试计划定时任务且添加了任务通知信息,保存后编辑任务通知操作列没了。
https://www.tapd.cn/55049933/s/1382444
This commit is contained in:
wxg0103 2023-06-15 13:51:35 +08:00 committed by fit2-zhao
parent 925a9524b2
commit 6a80f6df51
2 changed files with 5 additions and 3 deletions

View File

@ -87,8 +87,9 @@
<crontab @hide="showCron = false" @fill="crontabFill" :expression="schedule.value" ref="crontab" />
</el-dialog>
</el-tab-pane>
<el-tab-pane :label="$t('schedule.task_notification')" name="second">
<ms-schedule-notification :test-id="testId" :schedule-receiver-options="scheduleReceiverOptions" />
<el-tab-pane :label="$t('schedule.task_notification')" name="second"
v-permission="['PROJECT_MESSAGE:READ']">
<ms-schedule-notification :test-id="testId" :schedule-receiver-options="scheduleReceiverOptions"/>
</el-tab-pane>
</el-tabs>
</div>

View File

@ -236,7 +236,8 @@
/>
</el-dialog>
</el-tab-pane>
<el-tab-pane :label="$t('schedule.task_notification')" name="second">
<el-tab-pane :label="$t('schedule.task_notification')" name="second"
v-permission="['PROJECT_MESSAGE:READ']">
<ms-schedule-notification
:test-id="testId"
:schedule-receiver-options="scheduleReceiverOptions"