diff --git a/src/views/sponeScreen/waterFlood/pipeDetail.vue b/src/views/sponeScreen/waterFlood/pipeDetail.vue index b016ee0..0b9669e 100644 --- a/src/views/sponeScreen/waterFlood/pipeDetail.vue +++ b/src/views/sponeScreen/waterFlood/pipeDetail.vue @@ -79,18 +79,20 @@
- 有满管风险,通知相关责任人进行处理 + 有满管风险,通知相关责任人进行处理
-
有溢流风险,通知相关责任人进行处理
+
+ 有溢流风险,通知相关责任人进行处理 +
-
已通知相关责任人进行处理
+
已短信通知相关责任人进行处理
@@ -111,6 +113,24 @@
+ + + + + + + + + + + + + + + 发送短信 + + + @@ -127,6 +147,16 @@ const pipeDetail = ref({}); const pipeLoading = ref(true); const valIndex = ref(0); +const dialogShow = ref(false); +const formData = ref({ + name: '李文峰', + phone: '13837899917', + content: '', +}); +const formRules = ref({ + name: [{ required: true, message: '请输入负责人', trigger: 'blur' }], + phone: [{ required: true, message: '请输入负责人电话', trigger: 'blur' }], +}); const props = defineProps({ pipeParams: { @@ -260,6 +290,20 @@ pipeTime.value = [localStorage.getItem('setRainDateKF'), localStorage.getItem('setRainDateKF')]; getHistoryData(); } + // 短信内容 + setTimeout(() => { + console.log(realData.value.tt); + formData.value.content = + '【开封海绵办】在' + + realData.value.stName + + ',时间:' + + realData.value.tt + + ',监测到水深为' + + realData.value.z + + '米,管网直径为' + + (pipeDetail.value.pipelineDiameterTemp || '--') + + '米,发生了满管溢流风险,请及时前往查看并做好处理措施。'; + }, 1500); });