|
@@ -20,10 +20,22 @@
|
|
|
<p>{{detail.projectSn}}</p>
|
|
|
</div>
|
|
|
<div>
|
|
|
+ <span>起火地址:</span>
|
|
|
+ <p>{{detail.projectAddress}}</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span>起火场所:</span>
|
|
|
+ <p>{{detail.projectSite}}</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
<span>承办单位:</span>
|
|
|
<p>{{detail.organizerDeptName}}</p>
|
|
|
</div>
|
|
|
<div>
|
|
|
+ <span>起火对象:</span>
|
|
|
+ <p>{{detail.projectName}}</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
<span>承办人员:</span>
|
|
|
<p>{{detail.organizerUsers}}</p>
|
|
|
</div>
|
|
@@ -105,7 +117,7 @@ export default {
|
|
|
return {
|
|
|
detail: {},
|
|
|
showImg: '',
|
|
|
- confirm: {show: false, psw: ''},
|
|
|
+ confirm: {show: true, psw: ''},
|
|
|
list: [],
|
|
|
showInfo: false,
|
|
|
loadSuccess: false,
|
|
@@ -148,15 +160,15 @@ export default {
|
|
|
methods: {
|
|
|
async loadData() {
|
|
|
// if (!this.confirm.psw || this.confirm.psw.length === 0) return this.$message.error('请输入访问密码', '提示')
|
|
|
- let {data: detail} = await axios.get(fireDetailByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw}})
|
|
|
+ let {data: detail} = await axios.get(fireDetailByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw,type:1}})
|
|
|
this.detail = detail
|
|
|
|
|
|
- let {data: list} = await axios.get(getAttachListByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw}})
|
|
|
+ let {data: list} = await axios.get(getAttachListByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw,type:1}})
|
|
|
this.list = list
|
|
|
|
|
|
this.loadSuccess = true
|
|
|
this.confirm.show = false
|
|
|
- this.showInfo = true
|
|
|
+ this.showInfo = true //不默认开启
|
|
|
},
|
|
|
goto(item) {
|
|
|
if (item.type !== 1) {
|
|
@@ -167,7 +179,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.loadData()
|
|
|
+ // this.loadData()
|
|
|
},
|
|
|
components: {
|
|
|
"com-dialog": comDialog,
|