style: 移除无用console输出
This commit is contained in:
@@ -94,7 +94,7 @@ function fnFormLogSetFinish() {
|
||||
|
||||
/**告警前转接口对象信息状态 */
|
||||
let forwardState: ModalStateType = reactive({
|
||||
title:t('views.faultManage.faultSetting.forwardSet'),
|
||||
title: t('views.faultManage.faultSetting.forwardSet'),
|
||||
from: {
|
||||
interface: 'email',
|
||||
emailObj: [],
|
||||
@@ -128,11 +128,15 @@ function fnFormForwardFinish() {
|
||||
forwardStateFrom.validate().then(() => {
|
||||
forwardState.confirmLoading = true;
|
||||
const from = toRaw(forwardState.from);
|
||||
console.log(from);
|
||||
updateForwardSet(from)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
message.success( t('common.msgSuccess', { msg: t('views.faultManage.faultSetting.save')}), 3);
|
||||
message.success(
|
||||
t('common.msgSuccess', {
|
||||
msg: t('views.faultManage.faultSetting.save'),
|
||||
}),
|
||||
3
|
||||
);
|
||||
} else {
|
||||
message.warning(t('views.faultManage.faultSetting.noChange'), 3);
|
||||
}
|
||||
@@ -158,7 +162,6 @@ onMounted(() => {
|
||||
if (resArr[1].status === 'fulfilled') {
|
||||
const result = resArr[1].value;
|
||||
if (result.code === RESULT_CODE_SUCCESS) {
|
||||
console.log(result.data);
|
||||
let finalData: any = {
|
||||
emailObj: result.data[0]['to_user'],
|
||||
smsObj: result.data[1]['to_user'],
|
||||
@@ -273,12 +276,11 @@ onMounted(() => {
|
||||
</a-button>
|
||||
</a-space>
|
||||
</template>
|
||||
<a-form
|
||||
name="forwardState"
|
||||
layout="horizontal"
|
||||
autocomplete="off"
|
||||
>
|
||||
<a-form-item :label="t('views.faultManage.faultSetting.interfaceType')" name="interface">
|
||||
<a-form name="forwardState" layout="horizontal" autocomplete="off">
|
||||
<a-form-item
|
||||
:label="t('views.faultManage.faultSetting.interfaceType')"
|
||||
name="interface"
|
||||
>
|
||||
<a-input value="Email" allow-clear disabled></a-input>
|
||||
</a-form-item>
|
||||
<a-form-item
|
||||
@@ -292,7 +294,10 @@ onMounted(() => {
|
||||
:token-separators="[',']"
|
||||
></a-select>
|
||||
</a-form-item>
|
||||
<a-form-item :label="t('views.faultManage.faultSetting.interfaceType')" name="interface">
|
||||
<a-form-item
|
||||
:label="t('views.faultManage.faultSetting.interfaceType')"
|
||||
name="interface"
|
||||
>
|
||||
<a-input value="SMS" allow-clear disabled></a-input>
|
||||
</a-form-item>
|
||||
<a-form-item
|
||||
|
||||
Reference in New Issue
Block a user