|
@@ -120,13 +120,13 @@
|
|
|
<div class="right-text-box">
|
|
|
<p class="right-text-name-p">检查人</p>
|
|
|
<div class="right-text-title-box">
|
|
|
- <p>{{projectData.checkUserName}}-{{projectData.checkUserNumber}}</p>
|
|
|
+ <p>{{projectData.checkUserName}}-{{projectData.checkAccount}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="right-text-box">
|
|
|
<p class="right-text-name-p" style="width:138px;">检查时间</p>
|
|
|
<div class="right-text-title-box">
|
|
|
- <p>{{projectData.checkTime}}</p>
|
|
|
+ <p>{{parseTime(projectData.checkTime,"{y}-{m}-{d} {h}:{i}")}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -412,6 +412,7 @@
|
|
|
})
|
|
|
this.$set(this.addForm, 'checkFlag', response.data.checkFlag?response.data.checkFlag:0)
|
|
|
this.$set(this.addForm, 'hazardDescribe', response.data.hazardDescribe?response.data.hazardDescribe:'')
|
|
|
+ this.$refs['addForm'].clearValidate();
|
|
|
this.$nextTick(() => {
|
|
|
this.$set(this,'loadType',true);
|
|
|
})
|
|
@@ -446,7 +447,7 @@
|
|
|
//查询隐患发生次数
|
|
|
securityCheckPhotoGetCheckNumBySub() {
|
|
|
securityCheckPhotoGetCheckNumBySub({
|
|
|
- subId: this.projectData.subId,
|
|
|
+ subId: this.initiateInspectData.subId,
|
|
|
hazardCheckId: this.projectData.hazardCheckPro
|
|
|
}).then(response => {
|
|
|
this.$set(this, 'dangersNum', response.data)
|
|
@@ -697,6 +698,8 @@
|
|
|
let list = this.getCascaderData(JSON.parse(JSON.stringify(maxList)),3)
|
|
|
this.$nextTick(()=>{
|
|
|
this.$set(this, 'cascaderData', list)
|
|
|
+ this.$set(this.addForm, 'hazardCheckPro', list[0].children[0].children[0].id)
|
|
|
+ this.hazardCheckProChange(list[0].children[0].children[0].id);
|
|
|
})
|
|
|
}else{
|
|
|
this.$parent.tableButton(6)
|