diff --git a/src/views/system/sms/smsLog/index.vue b/src/views/system/sms/smsLog/index.vue index 2e690134..f3d17666 100644 --- a/src/views/system/sms/smsLog/index.vue +++ b/src/views/system/sms/smsLog/index.vue @@ -175,78 +175,83 @@ /> - + - {{ form.id }} + {{ formData.id }} - {{ formatChannelSignature(form.channelId) }} - + {{ formatChannelSignature(formData.channelId) }} + - {{ form.templateId }} | {{ form.templateCode }} - + {{ formData.templateId }} | {{ formData.templateCode }} + - {{ form.apiTemplateId }} + {{ formData.apiTemplateId }} {{ form.mobile }} - - ({{ form.userId }}) + >{{ formData.mobile }} + + ({{ + formData.userId + }}) - {{ form.templateContent }} + {{ formData.templateContent }} - {{ form.templateParams }} + {{ formData.templateParams }} - {{ parseTime(form.createTime) }} + {{ parseTime(formData.createTime) }} - + - {{ parseTime(form.sendTime) }} + {{ parseTime(formData.sendTime) }} {{ form.sendCode }} | {{ form.sendMsg }} + >{{ formData.sendCode }} | {{ formData.sendMsg }} {{ form.apiSendCode }} | {{ form.apiSendMsg }}{{ formData.apiSendCode }} | {{ formData.apiSendMsg }} - {{ form.apiSerialNo }} + {{ formData.apiSerialNo }} - {{ form.apiRequestId }} + {{ formData.apiRequestId }} - + - {{ parseTime(form.receiveTime) }} + {{ parseTime(formData.receiveTime) }} {{ form.apiReceiveCode }} | {{ form.apiReceiveMsg }} + >{{ formData.apiReceiveCode }} | {{ formData.apiReceiveMsg }} @@ -363,7 +368,7 @@ const getList = () => { } // ================== 详情 ==================== const open = ref(false) -const form = ref({ +const formData = ref({ id: null, channelId: null, channelCode: '', @@ -392,8 +397,8 @@ const form = ref({ }) /** 详细按钮操作 */ const handleView = (row: SmsLogApi.SmsLogVO) => { + formData.value = row open.value = true - form.value = row } getList()