diff --git a/SafeCampus.WEB/src/views/sysconfig/push/index.vue b/SafeCampus.WEB/src/views/sysconfig/push/index.vue index 70de8fb..009fe20 100644 --- a/SafeCampus.WEB/src/views/sysconfig/push/index.vue +++ b/SafeCampus.WEB/src/views/sysconfig/push/index.vue @@ -22,10 +22,15 @@
推送规则
当日预警每达到 - + 条时进行推送
当日预警数据每达到设置的条数后,会进行消息推送。
+
+ 推送时间间隔 + + 分钟 +
保 存 @@ -42,14 +47,16 @@ import { abilityApi, getPushInfo,userManageClassManageApi, monitorLIVEApi,SysOrg interface RuleForm { pushState: string | boolean, - daySum: number + daySum: number, + Interval:number } const formSize = ref('default') const ruleFormRef = ref() const ruleForm = reactive({ pushState: false, - daySum: 1 + daySum: 1, + Interval:1 }) const pushOptions = [{ label: '开启', @@ -82,6 +89,7 @@ async function getPushData() { let {data} = await abilityApi.getPushInfo({}) ruleForm.daySum = data.daySum; ruleForm.pushState = data.pushState; + ruleForm.Interval = data.Interval; console.log(data); } const submitForm = async (formEl: FormInstance | undefined) => {