fix: 上报
parent
9f03ba7f50
commit
b050d0fc65
|
|
@ -56,7 +56,7 @@
|
||||||
mode="aspectFit"
|
mode="aspectFit"
|
||||||
></image
|
></image
|
||||||
><span style="color: #000">当前防汛应急响应:</span>
|
><span style="color: #000">当前防汛应急响应:</span>
|
||||||
<span style="color: #59a7ff">{{ !level?"无":level }}</span>
|
<span style="color: #59a7ff">{{ !level ? '无' : level }}</span>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 24小时综述 -->
|
<!-- 24小时综述 -->
|
||||||
|
|
@ -529,7 +529,8 @@ export default {
|
||||||
}
|
}
|
||||||
if (m > 30) {
|
if (m > 30) {
|
||||||
h1 = Number(h) - 1
|
h1 = Number(h) - 1
|
||||||
tms = `${this.imgtm}${h}30`
|
let m1 = h > 10 ? h : `0${h}`
|
||||||
|
tms = `${this.imgtm}${m1}30`
|
||||||
mm = '30'
|
mm = '30'
|
||||||
} else if (m < 10) {
|
} else if (m < 10) {
|
||||||
tms = `${this.imgtm}${h1}`
|
tms = `${this.imgtm}${h1}`
|
||||||
|
|
@ -555,7 +556,8 @@ export default {
|
||||||
h1 = Number(h) - 1
|
h1 = Number(h) - 1
|
||||||
let t3 = Number(h) - this.numPic
|
let t3 = Number(h) - this.numPic
|
||||||
if (this.numPic <= 0) {
|
if (this.numPic <= 0) {
|
||||||
tms = `${this.imgtm}${h1}30`
|
let m3 = h1 > 10 ? h1 : `0${h1}`
|
||||||
|
tms = `${this.imgtm}${m3}30`
|
||||||
} else {
|
} else {
|
||||||
t3 = t3 < 10 ? `0${t3}` : t3
|
t3 = t3 < 10 ? `0${t3}` : t3
|
||||||
tms = `${this.imgtm}${t3}30`
|
tms = `${this.imgtm}${t3}30`
|
||||||
|
|
@ -830,7 +832,7 @@ export default {
|
||||||
)
|
)
|
||||||
if (data.code == 200) {
|
if (data.code == 200) {
|
||||||
if (data.data.records.length > 0) {
|
if (data.data.records.length > 0) {
|
||||||
console.log("1111111data",data);
|
console.log('1111111data', data)
|
||||||
this.level = level(data.data.records[0].status)
|
this.level = level(data.data.records[0].status)
|
||||||
} else {
|
} else {
|
||||||
this.level = '无'
|
this.level = '无'
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
labelPosition="left"
|
labelPosition="left"
|
||||||
:model="formList"
|
:model="formList"
|
||||||
ref="form3"
|
ref="form3"
|
||||||
labelWidth="100"
|
labelWidth="150"
|
||||||
v-if="key == 3"
|
v-if="key == 3"
|
||||||
>
|
>
|
||||||
<u-form-item
|
<u-form-item
|
||||||
|
|
@ -607,9 +607,11 @@ export default {
|
||||||
// params.adcd = ''
|
// params.adcd = ''
|
||||||
|
|
||||||
if (this.fileList1.length > 0) {
|
if (this.fileList1.length > 0) {
|
||||||
params.fileId = this.fileList1.map(item => {
|
params.fileIds = this.fileList1.map(item => {
|
||||||
return JSON.parse(item.url).data.fileId
|
return JSON.parse(item.url).data.fileId
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
params.fileIds = []
|
||||||
}
|
}
|
||||||
|
|
||||||
uni.$http
|
uni.$http
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
labelPosition="left"
|
labelPosition="left"
|
||||||
:model="model1"
|
:model="model1"
|
||||||
ref="form1"
|
ref="form1"
|
||||||
labelWidth="100"
|
labelWidth="120"
|
||||||
v-if="key == 1"
|
v-if="key == 1"
|
||||||
>
|
>
|
||||||
<u-form-item
|
<u-form-item
|
||||||
|
|
|
||||||
|
|
@ -524,9 +524,11 @@ export default {
|
||||||
params.projectType = this.projectType
|
params.projectType = this.projectType
|
||||||
params.isControlled = params.isControlled == '是' ? 1 : 0
|
params.isControlled = params.isControlled == '是' ? 1 : 0
|
||||||
if (this.fileList1.length > 0) {
|
if (this.fileList1.length > 0) {
|
||||||
params.fileId = this.fileList1.map(item => {
|
params.fileIds = this.fileList1.map(item => {
|
||||||
return JSON.parse(item.url).data.fileId
|
return JSON.parse(item.url).data.fileId
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
params.fileIds = []
|
||||||
}
|
}
|
||||||
|
|
||||||
uni.$http
|
uni.$http
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
<u-button
|
<u-button
|
||||||
|
:disabled="!address"
|
||||||
type="primary"
|
type="primary"
|
||||||
text="确定"
|
text="确定"
|
||||||
customStyle="margin-top: 50px"
|
customStyle="margin-top: 50px"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue