| |
---|
| | placeholder="请选择执行时间" |
---|
| | style="width:100%" |
---|
| | /> |
---|
| | </el-form-item> |
---|
| | <el-form-item label="通知成员"> |
---|
| | <el-tree-select |
---|
| | <el-form-item label="通知人员"> |
---|
| | <div>{{form.user}}</div> |
---|
| | <!-- <el-tree-select |
---|
| | style="width: 100%" |
---|
| | v-model="form.recipient" |
---|
| | :data="userData" |
---|
| | placeholder="请选择接收人员" |
---|
| |
---|
| | value: 'id', |
---|
| | label: 'name', |
---|
| | children: 'children', |
---|
| | }" |
---|
| | /> |
---|
| | /> --> |
---|
| | </el-form-item> |
---|
| | <el-form-item label="调度指令"> |
---|
| | <el-input |
---|
| | type="textarea" |
---|
| |
---|
| | </template> |
---|
| | |
---|
| | <script setup name="pumpDDZL"> |
---|
| | import { ElMessageBox } from 'element-plus'; |
---|
| | import {listByGroupUnit } from '@/api/user'; |
---|
| | // import {listByGroupUnit } from '@/api/user'; |
---|
| | import { getBZFxLogList ,dispatchOutbound} from "@/api/FloodControlAndDrainage.js"; |
---|
| | const { proxy } = getCurrentInstance(); |
---|
| | const emit = defineEmits(["closePop"]); |
---|
| | const props = defineProps({ |
---|
| |
---|
| | ] |
---|
| | let userData =ref([]) |
---|
| | let tableData =ref([]) |
---|
| | let form =ref({ |
---|
| | name:`${props.data.warningInfo=='warn_blue'?'启动大雨暴雨蓝色预警':props.data.warningInfo=='warn_yellow'?'启动暴雨黄色预警':props.data.warningInfo=='warn_orange'?'启动暴雨橙色预警':props.data.warningInfo=='red_orange'?'启动暴雨红色预警':'启动小雨中雨预警'}建议提前开泵` |
---|
| | name:`${props.data.warningInfo=='warn_blue'?'启动大雨暴雨蓝色预警':props.data.warningInfo=='warn_yellow'?'启动暴雨黄色预警':props.data.warningInfo=='warn_orange'?'启动暴雨橙色预警':props.data.warningInfo=='red_orange'?'启动暴雨红色预警':'启动小雨中雨预警'}建议提前开泵`, |
---|
| | user:`${props.data.dutyPerson}(${props.data.dutyPersonPhone})` |
---|
| | }) |
---|
| | |
---|
| | function onSubmit(){ |
---|
| | proxy.$refs["ruleForm"].validate(valid => { |
---|
| |
---|
| | } |
---|
| | ) |
---|
| | .then(() => { |
---|
| | let params={ |
---|
| | phones:'15927167920,13332926003', |
---|
| | // phones:'15927167920,18772378012', |
---|
| | // phones:props.data.dutyPersonPhone, |
---|
| | phones:'13332926003,15827590495', |
---|
| | title:props.data.name, |
---|
| | notice:form.value.name |
---|
| | } |
---|
| | dispatchOutbound(params).then(res => { |
---|
| |
---|
| | if(res.code==200){ |
---|
| | tableData.value=res.data.bzList |
---|
| | } |
---|
| | }) |
---|
| | listByGroupUnit().then(res => { |
---|
| | userData.value = res.data; |
---|
| | }); |
---|
| | // listByGroupUnit().then(res => { |
---|
| | // userData.value = res.data; |
---|
| | // }); |
---|
| | } |
---|
| | |
---|
| | function handleClick(row) { |
---|
| | |
---|
| |
---|
| | |