<template> <div id="RQ_ZhiHuiWaiHu"> <el-form :model="AllData.form" label-width="auto" style="max-width: 100%; padding: 0 40px 0 0px" class="GongDanPaiForm"> <el-form-item label="提醒类型:" class="cell1"> <el-input v-model="AllData.form.GDType" /> </el-form-item> <el-form-item label="提醒标题:" class="cell1"> <el-input v-model="AllData.form.JQTimer" /> </el-form-item> <el-form-item label="接收人:" class="cell2"> <el-input v-model="AllData.form.FZYP" /> </el-form-item> <el-form-item label="下发时间:" class="cell2"> <el-input v-model="AllData.form.FXWZ" /> </el-form-item> <el-form-item label="历史督办数:" class="cell2"> <el-input v-model="AllData.form.FKSJ" /> </el-form-item> </el-form> <el-button color="#03B6A0" style="width: 110px; height: 34px" @click="CloseDialog()">提交</el-button> </div> </template> <script setup name="RQ_ZhiHuiWaiHu"> import { ref, reactive, toRefs, onMounted } from 'vue'; import bus from '@/bus'; import { unitVoiceTemplateCall } from '@/api/OutgoingCall/templateList'; const { proxy } = getCurrentInstance(); const AllData = reactive({ form: { GDType: '燃气监测指标超标预警', JQTimer: '枣园片区发现燃气浓度异常,异常值3%,时间9:50', FXWZ: '即时', FZYP: '燃气班组', FKSJ: '3', }, }); // 关闭弹窗 const CloseDialog = () => { unitVoiceTemplateCall({ robotId: '6c54d053-0713-44a2-aa6c-092fdadda15b', phones: '13129919657', templateDesc: { name: '张三' }, }).then(response => { proxy.$modal.msgSuccess('派发成功'); bus.emit('publicDialog_Close'); }); }; onMounted(() => {}); </script> <style lang="scss" scoped> #RQ_ZhiHuiWaiHu { width: 100%; height: 100%; text-align: center; padding-top: 20px; :deep(.GongDanPaiForm) { width: 100%; height: calc(100% - 60px); overflow: auto; .cell1 { float: left; width: 100%; } .cell2 { float: left; width: 50%; .el-form-item__label { width: 200px !important; } } .el-form-item__label { font-family: Source Han Sans CN; font-weight: 400; font-size: 16px; color: #ffffff; } .el-input__wrapper { background: rgba(14, 69, 89, 0.9); border: 1px solid #1cf5fc; box-shadow: none; .el-input__inner { font-family: Source Han Sans CN; font-weight: 400; font-size: 16px; color: #c1d3d4; } } } } </style>