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