工情灾情

master
秦子超 2024-06-12 17:44:42 +08:00
parent 9141414f35
commit ad44ae3444
6 changed files with 146 additions and 125 deletions

View File

@ -181,58 +181,58 @@ import moment from 'moment'
const res = await uni.$http.post('/gunshiApp/xfflood/xfProjectRun/list',params)
console.log('res',res)
this.list = [...res.data.data
,
{
id:'1',
projectName:'工程名称',
projectType:'1',//(1 2)
reportType:'上报类型',
isPowerGeneration:'1',//0 1
isFloodRelease:'0',//0 1
waterLevel:'10',//(m)
inflowVolume:'21',//(m³/s)
outflowVolume:'11',//(m³/s)
reporter:'上报人',
reportTime:'2011-12-12 11:11:22',//
reportUnit:'上报单位',
moditime:'时间戳',
remark:'情况说明',
isRead:0,//0 1
},
{
id:'2',
projectName:'工程3名称3',
projectType:'2',//(1 2)
reportType:'上报类型',
isPowerGeneration:'0',//0 1
isFloodRelease:'0',//0 1
waterLevel:'3',//(m)
inflowVolume:'1',//(m³/s)
outflowVolume:'6',//(m³/s)
reporter:'上报人2',
reportTime:'2011-12-12 11:11:22',//
reportUnit:'上报单位2',
moditime:'时间戳',
remark:'情况说明2',
isRead:0,//0 1
},
{
id:'3',
projectName:'工程3名称',
projectType:'2',//(1 2)
reportType:'上报类型',
isPowerGeneration:'0',//0 1
isFloodRelease:'0',//0 1
waterLevel:'3',//(m)
inflowVolume:'1',//(m³/s)
outflowVolume:'6',//(m³/s)
reporter:'上报人2',
reportTime:'2011-12-12 11:11:22',//
reportUnit:'上报单位2',
moditime:'时间戳',
remark:'情况说明2',
isRead:0,//0 1
},
// ,
// {
// id:'1',
// projectName:'',
// projectType:'1',//(1 2)
// reportType:'',
// isPowerGeneration:'1',//0 1
// isFloodRelease:'0',//0 1
// waterLevel:'10',//(m)
// inflowVolume:'21',//(m³/s)
// outflowVolume:'11',//(m³/s)
// reporter:'',
// reportTime:'2011-12-12 11:11:22',//
// reportUnit:'',
// moditime:'',
// remark:'',
// isRead:0,//0 1
// },
// {
// id:'2',
// projectName:'33',
// projectType:'2',//(1 2)
// reportType:'',
// isPowerGeneration:'0',//0 1
// isFloodRelease:'0',//0 1
// waterLevel:'3',//(m)
// inflowVolume:'1',//(m³/s)
// outflowVolume:'6',//(m³/s)
// reporter:'2',
// reportTime:'2011-12-12 11:11:22',//
// reportUnit:'2',
// moditime:'',
// remark:'2',
// isRead:0,//0 1
// },
// {
// id:'3',
// projectName:'3',
// projectType:'2',//(1 2)
// reportType:'',
// isPowerGeneration:'0',//0 1
// isFloodRelease:'0',//0 1
// waterLevel:'3',//(m)
// inflowVolume:'1',//(m³/s)
// outflowVolume:'6',//(m³/s)
// reporter:'2',
// reportTime:'2011-12-12 11:11:22',//
// reportUnit:'2',
// moditime:'',
// remark:'2',
// isRead:0,//0 1
// },
]
this.close()
}catch(e){

View File

@ -44,7 +44,7 @@
</div>
</div>
<div class="row">
<text class="lf">工程名称:</text>
<text class="lf"><text :style="{color:'red'}">*</text>工程名称:</text>
<div class="rf">
<u--input
border="surround"
@ -143,6 +143,12 @@
></u--input>
</div>
</div>
<div class="row">
<text class="lf">附件:</text>
<div class="rf">
<text>{{getRecord.fileIds || '暂无数据'}}</text>
</div>
</div>
<div :style="{height:'20vh'}"></div>
</div>
</div>
@ -235,6 +241,7 @@
.rf{
width: 75%;
min-height: 40px;
line-height: 36px;
padding-right: 20px;
padding-top: 1px;
}

View File

@ -196,23 +196,23 @@ import moment from 'moment'
console.log('res',res)
this.list = [
...res.data.data
,
{
id:'1',
projectName:'工程名称',
projectType:'1',//(1 2)
severity:'1',//1 2 3 4
incidentDescription:'险情描述',
isControlled:'1',//0 1
controlResponsiblePerson:'管控责任人',
responsiblePersonPhone:'12328281728',//
reporter:'张三',//
reportTime:'2022-11-21 10:21:11',//
reportUnit:'上报单位',
moditime:'时间戳',
remark:'情况说明',
isRead:0,//0 1
},
// ,
// {
// id:'1',
// projectName:'',
// projectType:'1',//(1 2)
// severity:'1',//1 2 3 4
// incidentDescription:'',
// isControlled:'1',//0 1
// controlResponsiblePerson:'',
// responsiblePersonPhone:'12328281728',//
// reporter:'',//
// reportTime:'2022-11-21 10:21:11',//
// reportUnit:'',
// moditime:'',
// remark:'',
// isRead:0,//0 1
// },
]
this.close()
}catch(e){

View File

@ -44,7 +44,7 @@
</div>
</div>
<div class="row">
<text class="lf">工程名称:</text>
<text class="lf"><text :style="{color:'red'}">*</text>工程名称:</text>
<div class="rf">
<u--input
border="surround"
@ -143,6 +143,12 @@
></u--input>
</div>
</div>
<div class="row">
<text class="lf">附件:</text>
<div class="rf">
<text>{{getRecord.fileIds || '暂无数据'}}</text>
</div>
</div>
<div :style="{height:'20vh'}"></div>
</div>
</div>
@ -235,6 +241,7 @@
.rf{
width: 75%;
min-height: 40px;
line-height: 36px;
padding-right: 20px;
padding-top: 1px;
}

View File

@ -34,7 +34,7 @@
<div class="myscroll">
<div :style="{height:'10px'}"></div>
<div class="row">
<text class="lf">灾害发生时间:</text>
<text class="lf"><text :style="{color:'red'}">*</text>灾害发生时间:</text>
<div class="rf">
<u--input
border="surround"
@ -44,7 +44,7 @@
</div>
</div>
<div class="row">
<text class="lf">严重程度:</text>
<text class="lf"><text :style="{color:'red'}">*</text>严重程度:</text>
<div class="rf">
<u--input
border="surround"
@ -54,7 +54,7 @@
</div>
</div>
<div class="row">
<text class="lf">灾害发生地点:</text>
<text class="lf"><text :style="{color:'red'}">*</text>灾害发生地点:</text>
<div class="rf">
<u--input
border="surround"
@ -85,7 +85,7 @@
</div>
<div class="row">
<text class="lf">灾情描述:</text>
<text class="lf"><text :style="{color:'red'}">*</text>灾情描述:</text>
<div class="rf">
<u--textarea
v-model="getRecord.ddscrib"
@ -194,6 +194,12 @@
></u--input>
</div>
</div>
<div class="row">
<text class="lf">附件:</text>
<div class="rf">
<text>{{getRecord.fileIds || '暂无数据'}}</text>
</div>
</div>
<div :style="{height:'20vh'}"></div>
</div>
</div>
@ -286,6 +292,7 @@
.rf{
width: 75%;
min-height: 40px;
line-height: 36px;
padding-right: 20px;
padding-top: 1px;
}

View File

@ -184,56 +184,56 @@ import moment from 'moment'
console.log('res',res)
this.list = [
...res.data.data
,{
// id:'1',
mtcd:'12121',//
wscd:'22222',//
otime:'2022-12-12 10:22:22',//
severity:'22222',//
wscd:'3',//1 2 3 4
address:'灾害发生地点',//
lgtd:'111.21',//
lttd:'32.12',//
ddscrib:'灾害描述',//
dpcount:'2',//
mpcount:'12',//
spcount:'2211',//
chcount:'41',//
elose:'6623',//
pfrain:'41',//mm
reporter:'张三',//
reportTime:'2022-11-21 10:21:11',//
reportUnit:'上报单位',
moditime:'时间戳',
remark:'情况说明',
isRead:0,//0 1
severity:'1',//1 2 3 4
},
{
// id:'1',
mtcd:'12121',//
wscd:'22222',//
otime:'2022-12-12 10:22:22',//
severity:'22222',//
wscd:'3',//1 2 3 4
address:'灾害发生地点2',//
lgtd:'111.21',//
lttd:'32.12',//
ddscrib:'灾害描述',//
dpcount:'2',//
mpcount:'12',//
spcount:'2211',//
chcount:'41',//
elose:'6623',//
pfrain:'41',//mm
reporter:'张三',//
reportTime:'2022-11-21 10:21:11',//
reportUnit:'上报单位',
moditime:'时间戳',
remark:'情况说明',
isRead:1,//0 1
severity:'1',//1 2 3 4
},
// ,{
// // id:'1',
// mtcd:'12121',//
// wscd:'22222',//
// otime:'2022-12-12 10:22:22',//
// severity:'22222',//
// wscd:'3',//1 2 3 4
// address:'',//
// lgtd:'111.21',//
// lttd:'32.12',//
// ddscrib:'',//
// dpcount:'2',//
// mpcount:'12',//
// spcount:'2211',//
// chcount:'41',//
// elose:'6623',//
// pfrain:'41',//mm
// reporter:'',//
// reportTime:'2022-11-21 10:21:11',//
// reportUnit:'',
// moditime:'',
// remark:'',
// isRead:0,//0 1
// severity:'1',//1 2 3 4
// },
// {
// // id:'1',
// mtcd:'12121',//
// wscd:'22222',//
// otime:'2022-12-12 10:22:22',//
// severity:'22222',//
// wscd:'3',//1 2 3 4
// address:'2',//
// lgtd:'111.21',//
// lttd:'32.12',//
// ddscrib:'',//
// dpcount:'2',//
// mpcount:'12',//
// spcount:'2211',//
// chcount:'41',//
// elose:'6623',//
// pfrain:'41',//mm
// reporter:'',//
// reportTime:'2022-11-21 10:21:11',//
// reportUnit:'',
// moditime:'',
// remark:'',
// isRead:1,//0 1
// severity:'1',//1 2 3 4
// },
]
this.close()
}catch(e){