fix: 修改通知管理文案

This commit is contained in:
xieyonghong 2023-04-10 14:09:30 +08:00
parent 4da0a8feb6
commit ceffa5eaf9
7 changed files with 13 additions and 12 deletions

View File

@ -93,7 +93,7 @@ const downFile = async (type: string) => {
if (res) { if (res) {
const blob = new Blob([res], { type: type }); const blob = new Blob([res], { type: type });
const url = URL.createObjectURL(blob); const url = URL.createObjectURL(blob);
downloadFileByUrl(url, `设备导入模`, type); downloadFileByUrl(url, `设备导入模`, type);
} }
}; };

View File

@ -164,7 +164,7 @@ const getConfig = async () => {
// const blob = new Blob([res], { type: type }); // const blob = new Blob([res], { type: type });
// const url = URL.createObjectURL(blob); // const url = URL.createObjectURL(blob);
// console.log(url); // console.log(url);
// downloadFileByUrl(url, ``, type); // downloadFileByUrl(url, ``, type);
// } // }
// }; // };

View File

@ -75,7 +75,7 @@ const downFile = async (type: string) => {
if (res) { if (res) {
const blob = new Blob([res], { type: type }); const blob = new Blob([res], { type: type });
const url = URL.createObjectURL(blob); const url = URL.createObjectURL(blob);
downloadFileByUrl(url, `物联卡导入模`, type); downloadFileByUrl(url, `物联卡导入模`, type);
} }
}; };

View File

@ -11,13 +11,13 @@
> >
<j-form ref="formRef" layout="vertical" :model="formData"> <j-form ref="formRef" layout="vertical" :model="formData">
<j-form-item <j-form-item
label="通知模" label="通知模"
name="templateId" name="templateId"
:rules="{ required: true, message: '该字段为必填字段' }" :rules="{ required: true, message: '该字段为必填字段' }"
> >
<j-select <j-select
v-model:value="formData.templateId" v-model:value="formData.templateId"
placeholder="请选择通知模" placeholder="请选择通知模"
@change="getTemplateDetail" @change="getTemplateDetail"
> >
<j-select-option <j-select-option

View File

@ -81,6 +81,7 @@
<j-form-item <j-form-item
label="webHook" label="webHook"
v-bind="validateInfos['configuration.url']" v-bind="validateInfos['configuration.url']"
:rules='[{ max: 64, message: "最多可输入64个字符" }]'
> >
<j-input <j-input
v-model:value=" v-model:value="

View File

@ -20,7 +20,7 @@ const WeixinCorp = () => {
<div> <div>
</div> </div>
<h1>2.</h1> <h1>2.</h1>
<div> <div>
<h2> 1</h2> <h2> 1</h2>
<div> 使</div> <div> 使</div>

View File

@ -52,7 +52,7 @@
<span> <span>
绑定配置 绑定配置
<j-tooltip <j-tooltip
title="使用固定的通知配置来发送此通知模" title="使用固定的通知配置来发送此通知模"
> >
<AIcon <AIcon
type="QuestionCircleOutlined" type="QuestionCircleOutlined"
@ -281,7 +281,7 @@
<span> <span>
收信人 收信人
<j-tooltip <j-tooltip
title="如果不填写该字段,将在使用此模发送通知时进行指定。" title="如果不填写该字段,将在使用此模发送通知时进行指定。"
> >
<AIcon <AIcon
type="QuestionCircleOutlined" type="QuestionCircleOutlined"
@ -316,7 +316,7 @@
<span> <span>
标签推送 标签推送
<j-tooltip <j-tooltip
title="本企业微信的标签ID列表,最多支持100个,如果不填写该字段,将在使用此模发送通知时进行指定" title="本企业微信的标签ID列表,最多支持100个,如果不填写该字段,将在使用此模发送通知时进行指定"
> >
<AIcon <AIcon
type="QuestionCircleOutlined" type="QuestionCircleOutlined"
@ -540,7 +540,7 @@
> >
<template #label> <template #label>
<span> <span>
内容 内容
<j-tooltip <j-tooltip
title="语音验证码内容输入框,用于渲染验语音证码变量。" title="语音验证码内容输入框,用于渲染验语音证码变量。"
> >
@ -569,7 +569,7 @@
<span> <span>
模板 模板
<j-tooltip <j-tooltip
title="阿里云短信平台自定义的模名称" title="阿里云短信平台自定义的模名称"
> >
<AIcon <AIcon
type="QuestionCircleOutlined" type="QuestionCircleOutlined"
@ -696,7 +696,7 @@
> >
<template #label> <template #label>
<span> <span>
内容 内容
<j-tooltip <j-tooltip
title="发送的内容,支持录入变量" title="发送的内容,支持录入变量"
> >