工情灾情

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

View File

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

View File

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

View File

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

View File

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

View File

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