fix email-alerts api

This commit is contained in:
yuanshan 2025-10-16 09:29:00 +08:00
parent d86ad2c832
commit b3ab1781c3
6 changed files with 24 additions and 23 deletions

View File

@ -324,7 +324,12 @@ const handleToHome = () => {
align-items: center;
gap: 8px;
cursor: pointer;
.lang-label {
font-size: 12 * 1.33px;
font-weight: 600;
line-height: normal;
color: #000;
}
svg {
transition: transform 0.2s;
&.rotated {

View File

@ -320,7 +320,12 @@ const handleToHome = () => {
align-items: center;
gap: 8px;
cursor: pointer;
.lang-label {
font-size: 12px;
font-weight: 600;
line-height: normal;
color: #000;
}
svg {
transition: transform 0.2s;
&.rotated {

View File

@ -24,13 +24,11 @@ async function handleSubmit(e) {
message.warning("字段长度不能超过50个字符");
return;
}
const res = await axios.post(
"https://erpapi-out.szjixun.cn/api/stock/submit/data",
form.value
);
let url = "http://114.218.158.24:9020/api/fiee/emailalerts/submit";
// let url = 'https://erpapi-out.szjixun.cn/api/fiee/emailalerts/submit'
const res = await axios.post(url, form.value);
if (res.data.status === 0) {
submitted.value = true;
} else {
}
}
</script>

View File

@ -24,13 +24,11 @@ async function handleSubmit(e) {
message.warning("字段长度不能超过50个字符");
return;
}
const res = await axios.post(
"https://erpapi-out.szjixun.cn/api/stock/submit/data",
form.value
);
let url = "http://114.218.158.24:9020/api/fiee/emailalerts/submit";
// let url = 'https://erpapi-out.szjixun.cn/api/fiee/emailalerts/submit'
const res = await axios.post(url, form.value);
if (res.data.status === 0) {
submitted.value = true;
} else {
}
}
</script>

View File

@ -24,14 +24,11 @@ async function handleSubmit(e) {
message.warning("字段长度不能超过50个字符");
return;
}
e.preventDefault();
const res = await axios.post(
"https://erpapi-out.szjixun.cn/api/stock/submit/data",
form.value
);
let url = "http://114.218.158.24:9020/api/fiee/emailalerts/submit";
// let url = 'https://erpapi-out.szjixun.cn/api/fiee/emailalerts/submit'
const res = await axios.post(url, form.value);
if (res.data.status === 0) {
submitted.value = true;
} else {
}
}
</script>

View File

@ -24,13 +24,11 @@ async function handleSubmit(e) {
message.warning("字段长度不能超过50个字符");
return;
}
const res = await axios.post(
"https://erpapi-out.szjixun.cn/api/stock/submit/data",
form.value
);
let url = "http://114.218.158.24:9020/api/fiee/emailalerts/submit";
// let url = 'https://erpapi-out.szjixun.cn/api/fiee/emailalerts/submit'
const res = await axios.post(url, form.value);
if (res.data.status === 0) {
submitted.value = true;
} else {
}
}
</script>