| | <template> |
---|
| | <div id="GongDanPaiFa"> |
---|
| | <el-form |
---|
| | :model="AllData.form" |
---|
| | label-width="auto" |
---|
| | style="max-width: 100%; padding: 0 40px 0 0px" |
---|
| | class="GongDanPaiForm" |
---|
| | > |
---|
| | <el-form :model="AllData.form" label-width="auto" style="max-width: 100%; padding: 0 40px 0 0px" class="GongDanPaiForm"> |
---|
| | <el-form-item label="工单类型:" class="cell2"> |
---|
| | <el-input v-model="AllData.form.GDType" /> |
---|
| | </el-form-item> |
---|
| | <el-form-item label="警情时间:" class="cell2"> |
---|
| |
---|
| | <el-form-item label="要求完成时间:" class="cell2"> |
---|
| | <el-input v-model="AllData.form.WCSJ" /> |
---|
| | </el-form-item> |
---|
| | </el-form> |
---|
| | <el-button color="#03B6A0" style="width: 110px; height: 34px" @click="CloseDialog()" |
---|
| | >派发工单</el-button |
---|
| | > |
---|
| | <el-button color="#03B6A0" style="width: 110px; height: 34px" @click="CloseDialog()">派发工单</el-button> |
---|
| | </div> |
---|
| | </template> |
---|
| | |
---|
| | <script setup name="GongDanPaiFa"> |
---|
| | import { ref, reactive, toRefs, onMounted } from "vue"; |
---|
| | import bus from "@/bus"; |
---|
| | import { ref, reactive, toRefs, onMounted } from 'vue'; |
---|
| | import bus from '@/bus'; |
---|
| | |
---|
| | import { unitVoiceTemplateCall } from "@/api/OutgoingCall/templateList"; |
---|
| | import { unitVoiceTemplateCall } from '@/api/OutgoingCall/templateList'; |
---|
| | const { proxy } = getCurrentInstance(); |
---|
| | const AllData = reactive({ |
---|
| | form: { |
---|
| | GDType: "预警工单", |
---|
| | JQTimer: "2024-09-26 17:26", |
---|
| | FXWZ: "车城大道与车辆西路路口", |
---|
| | FZYP: "压力检测超标,并且该地点管网发生过管道泄漏事件", |
---|
| | FKSJ: "2小时内", |
---|
| | WCSJ: "2024-09-30", |
---|
| | GDType: '预警工单', |
---|
| | JQTimer: '2024-09-26 17:26', |
---|
| | FXWZ: '车城大道与车辆西路路口', |
---|
| | FZYP: '压力检测超标,并且该地点管网发生过管道泄漏事件', |
---|
| | FKSJ: '2小时内', |
---|
| | WCSJ: '2024-09-30', |
---|
| | }, |
---|
| | }); |
---|
| | // 关闭弹窗 |
---|
| | const CloseDialog = () => { |
---|
| | unitVoiceTemplateCall({ |
---|
| | robotId: "e4edc2f1-88e1-4096-b43a-2f0603f5b9c7", |
---|
| | phones: "13129919657", |
---|
| | templateDesc: { name: "张三" }, |
---|
| | }).then((response) => { |
---|
| | proxy.$modal.msgSuccess("派发成功"); |
---|
| | bus.emit("publicDialog_Close"); |
---|
| | robotId: '6c54d053-0713-44a2-aa6c-092fdadda15b', |
---|
| | phones: '13129919657', |
---|
| | templateDesc: { name: '张三' }, |
---|
| | }).then(response => { |
---|
| | proxy.$modal.msgSuccess('派发成功'); |
---|
| | bus.emit('publicDialog_Close'); |
---|
| | }); |
---|
| | }; |
---|
| | onMounted(() => {}); |
---|
| | </script> |
---|
| |
---|
| | |