qzc修改
parent
0c5d45e484
commit
e862fa6344
|
|
@ -33,6 +33,16 @@
|
|||
</div>
|
||||
<div class="myscroll">
|
||||
<div :style="{height:'10px'}"></div>
|
||||
<div class="row">
|
||||
<text class="lf">上报时间:</text>
|
||||
<div class="rf">
|
||||
<u--input
|
||||
border="surround"
|
||||
v-model="getRecord.reportTime"
|
||||
:disabled='true'
|
||||
></u--input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<text class="lf">工程类型:</text>
|
||||
<div class="rf">
|
||||
|
|
@ -133,20 +143,11 @@
|
|||
></u--input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<text class="lf">上报时间:</text>
|
||||
<div class="rf">
|
||||
<u--input
|
||||
border="surround"
|
||||
v-model="getRecord.reportTime"
|
||||
:disabled='true'
|
||||
></u--input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<text class="lf">附件:</text>
|
||||
<div class="rf">
|
||||
<text>{{getRecord.fileIds || '暂无数据'}}</text>
|
||||
<text v-if="imgList.length===0">{{getRecord.fileIds || '暂无数据'}}</text>
|
||||
<u-image :style="{marginTop:'10px'}" v-for="item in imgList" :src="'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath" width="100%" mode="aspectFit" ></u-image>
|
||||
</div>
|
||||
</div>
|
||||
<div :style="{height:'20vh'}"></div>
|
||||
|
|
@ -163,7 +164,8 @@
|
|||
record:{},
|
||||
list:[],
|
||||
index:0,
|
||||
cs:''
|
||||
cs:'',
|
||||
imgList:[]
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
@ -180,7 +182,8 @@
|
|||
const id = this.getRecord.id
|
||||
console.log('id',id)
|
||||
const res = await uni.$http.get('/gunshiApp/xfflood/xfProjectRun/detail?id='+id)
|
||||
console.log('res',res)
|
||||
this.imgList = res.data.data
|
||||
console.log('res2',res.data.data)
|
||||
}catch(e){
|
||||
this.$refs.uToast.show({
|
||||
type: 'error',
|
||||
|
|
@ -232,14 +235,14 @@
|
|||
margin-top: 5px;
|
||||
}
|
||||
.lf{
|
||||
width: 25%;
|
||||
width: 30%;
|
||||
min-height: 40px;
|
||||
text-align: right;
|
||||
line-height: 38px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.rf{
|
||||
width: 75%;
|
||||
width: 70%;
|
||||
min-height: 40px;
|
||||
line-height: 36px;
|
||||
padding-right: 20px;
|
||||
|
|
|
|||
|
|
@ -33,6 +33,16 @@
|
|||
</div>
|
||||
<div class="myscroll">
|
||||
<div :style="{height:'10px'}"></div>
|
||||
<div class="row">
|
||||
<text class="lf">上报时间:</text>
|
||||
<div class="rf">
|
||||
<u--input
|
||||
border="surround"
|
||||
v-model="getRecord.reportTime"
|
||||
:disabled='true'
|
||||
></u--input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<text class="lf">工程类型:</text>
|
||||
<div class="rf">
|
||||
|
|
@ -146,7 +156,8 @@
|
|||
<div class="row">
|
||||
<text class="lf">附件:</text>
|
||||
<div class="rf">
|
||||
<text>{{getRecord.fileIds || '暂无数据'}}</text>
|
||||
<text v-if="imgList.length===0">{{getRecord.fileIds || '暂无数据'}}</text>
|
||||
<u-image :style="{marginTop:'10px'}" v-for="item in imgList" :src="'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath" width="100%" mode="aspectFit" ></u-image>
|
||||
</div>
|
||||
</div>
|
||||
<div :style="{height:'20vh'}"></div>
|
||||
|
|
@ -163,7 +174,8 @@
|
|||
record:{},
|
||||
list:[],
|
||||
index:0,
|
||||
cs:''
|
||||
cs:'',
|
||||
imgList:[]
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
@ -180,6 +192,7 @@
|
|||
const id = this.getRecord.id
|
||||
console.log('id',id)
|
||||
const res = await uni.$http.get('/gunshiApp/xfflood/xfProjectIncident/detail?id='+id)
|
||||
this.imgList = res.data.data
|
||||
console.log('res',res)
|
||||
}catch(e){
|
||||
this.$refs.uToast.show({
|
||||
|
|
@ -232,14 +245,14 @@
|
|||
margin-top: 5px;
|
||||
}
|
||||
.lf{
|
||||
width: 25%;
|
||||
width: 30%;
|
||||
min-height: 40px;
|
||||
text-align: right;
|
||||
line-height: 38px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.rf{
|
||||
width: 75%;
|
||||
width: 70%;
|
||||
min-height: 40px;
|
||||
line-height: 36px;
|
||||
padding-right: 20px;
|
||||
|
|
|
|||
|
|
@ -197,7 +197,8 @@
|
|||
<div class="row">
|
||||
<text class="lf">附件:</text>
|
||||
<div class="rf">
|
||||
<text>{{getRecord.fileIds || '暂无数据'}}</text>
|
||||
<text v-if="imgList.length===0">{{getRecord.fileIds || '暂无数据'}}</text>
|
||||
<u-image :style="{marginTop:'10px'}" v-for="item in imgList" :src="'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath" width="100%" mode="aspectFit" ></u-image>
|
||||
</div>
|
||||
</div>
|
||||
<div :style="{height:'20vh'}"></div>
|
||||
|
|
@ -214,7 +215,8 @@
|
|||
record:{},
|
||||
list:[],
|
||||
index:0,
|
||||
cs:''
|
||||
cs:'',
|
||||
imgList:[]
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
@ -231,6 +233,7 @@
|
|||
const mtcd = this.getRecord.mtcd
|
||||
console.log('mtcd',mtcd)
|
||||
const res = await uni.$http.get('/gunshiApp/xfflood/iaCHsfwater/detail?mtcd='+mtcd)
|
||||
this.imgList = res.data.data
|
||||
console.log('res',res)
|
||||
}catch(e){
|
||||
this.$refs.uToast.show({
|
||||
|
|
@ -283,14 +286,14 @@
|
|||
margin-top: 5px;
|
||||
}
|
||||
.lf{
|
||||
width: 25%;
|
||||
width: 30%;
|
||||
min-height: 40px;
|
||||
text-align: right;
|
||||
line-height: 38px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.rf{
|
||||
width: 75%;
|
||||
width: 70%;
|
||||
min-height: 40px;
|
||||
line-height: 36px;
|
||||
padding-right: 20px;
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ export default {
|
|||
},
|
||||
xiang () {
|
||||
this.formData = {
|
||||
username: 'mdx',
|
||||
password: '1234567a',
|
||||
username: 'glszfz',
|
||||
password: '12345678a',
|
||||
checked: false
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -205,6 +205,7 @@
|
|||
.button{
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: column-reverse;
|
||||
width: 92%;
|
||||
height: 6vh;
|
||||
|
|
|
|||
Loading…
Reference in New Issue