Merge branch 'master' of http://server4.wh-nf.cn:8081/git/root/urbanLifeline_YanAn
commit 2438c4bf7840f3d1d738ca449cc3115363425007
2 parents b8cf996 + f1d61d1
@jimengfei jimengfei authored on 8 Oct
Showing 5 changed files
View
48
src/views/DialogTabs/component/GongDanPaiFa.vue
<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>
View
5
src/views/DialogTabs/component/RQ_FengXianJianCe.vue
<el-date-picker
clearable
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
v-model="AllData.dateTime"
v-model="AllData.endTime"
type="date"
placeholder="请选择年月日"
@change="handleQuery"
/>
};
 
onMounted(() => {
bus.on('getDataListFxjc', val => {
// console.log(val, '接受111111111111');
console.log(val, '接受111111111111');
getList(val.zb);
AllData.value2 = val.value;
AllData.endTime = val.endTime;
});
});
 
onBeforeUnmount(() => {
View
src/views/DialogTabs/component/RQ_ZhiHuiWaiHu.vue
View
src/views/oneMap/components/ZHRQ.vue
View
src/views/oneMap/components/mapboxPopup.vue