@@ -113,7 +113,7 @@
:header-cell-style="{backgroundColor: '#064B66',color: '#fff',fontSize: '40px',borderBottom: 'none' }"
:cell-style="{textAlign: 'center',borderBottom: 'none'}" :data="winData">
-
+
@@ -184,7 +184,7 @@
:header-cell-style="{backgroundColor: '#064B66',color: '#fff',fontSize: '40px',borderBottom: 'none' }"
:cell-style="{textAlign: 'center',borderBottom: 'none'}" :data="otherData">
-
+
@@ -334,13 +334,16 @@ const editEquip = debounce(() => {
windPressureSensorList: newWind,
sensorList: newSensor,
}
- console.info("🚀 ~ file:index method: line:478 -----",basicData)
editSimulateEquipment(basicData).then(async res => {
if (res.code === 1000) {
loading.close()
- // ElMessage.success('开始模拟')
- let res= await startSimulation(tunnelId)
- console.log('res',res)
+ let res = await startSimulation(tunnelId)
+ // console.log('res', res)
+ if (res.code === 1000) {
+ ElMessage.success('开始模拟')
+ }else{
+ ElMessage.warning(res.msg)
+ }
emit('submit')
} else {
ElMessage.error(res.msg)
diff --git a/src/views/tunnel-simulate/index.vue b/src/views/tunnel-simulate/index.vue
index 2295741..3640111 100644
--- a/src/views/tunnel-simulate/index.vue
+++ b/src/views/tunnel-simulate/index.vue
@@ -1,13 +1,14 @@
+
-
-
+
隧道总长度: {{ tunnelLength }}米
-
开始模拟
+
开始模拟
模拟爆破
结束模拟
@@ -36,17 +37,20 @@
@@ -60,22 +64,22 @@
@@ -89,183 +93,41 @@
-
-
-
-
报警时间:
- {{ alarmDetail.alarmTime }}
-
-
-
报警内容:
- {{ alarmDetail.alarmContent }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
- {{ scope.row.lookupStatus ? "已读" : "未读" }}
-
-
-
-
-
- 详情
-
- 删除
-
-
-
-
-
-
-
-
-
-