【bug修改】
1. 安全环保检查暂存再次提交 2. pc端无法再次验收 3. 消防检查打回没反应 4. 打回的输入框 加判空以及判空的红星 5. 文件服务器密码更新dev
parent
eb042f8116
commit
5208846fc7
|
@ -110,8 +110,9 @@
|
|||
</td>
|
||||
</template>
|
||||
<template>
|
||||
<td v-if="data.ISCHECKED !== 2" class="text-center" ><a style="text-decoration: underline" @click="hitBackFunction(data.EQUIPMENT_RECORD_ID)">打回</a></td>
|
||||
<td v-else class="text-center" >已打回</td>
|
||||
<td class="text-center" >
|
||||
<a style="text-decoration: underline" @click="hitBackFunction(data.EQUIPMENT_RECORD_ID, data.ISCHECKED)">{{ data.ISCHECKED !== 2 ? '打回' : '已打回' }}</a>
|
||||
</td>
|
||||
</template>
|
||||
<!-- <template>-->
|
||||
<!-- <td v-if="data.INDEX_F == '1'" :rowspan="data.ROWSPAN" class="text-center">-->
|
||||
|
@ -377,7 +378,11 @@ export default {
|
|||
this.listLoading = false
|
||||
})
|
||||
},
|
||||
hitBackFunction(id) {
|
||||
hitBackFunction(id, ISCHECKED) {
|
||||
if (ISCHECKED === 2) {
|
||||
this.$message.warning('已打回的不能再打回')
|
||||
return
|
||||
}
|
||||
console.log(id)
|
||||
this.EQUIPMENT_POINT_ID = id
|
||||
this.hitBack = true
|
||||
|
@ -388,6 +393,10 @@ export default {
|
|||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
if (this.hitBackReason == null || this.hitBackReason === '') {
|
||||
this.$message.warning('请填写打回说明')
|
||||
return
|
||||
}
|
||||
requestFN(
|
||||
'/fireRecord/cancel',
|
||||
{
|
||||
|
@ -396,16 +405,17 @@ export default {
|
|||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
// 隐患待添加
|
||||
this.getData()
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
this.FIRE_CHECK_ID = this.$parent.FIRE_CHECK_ID
|
||||
this.FIRE_RECORD_ID = this.$parent.FIRE_RECORD_ID
|
||||
this.SHOW_OR_EDIT = this.$parent.SHOW_OR_EDIT
|
||||
this.recordBase = Object.assign({}, this.$parent.row)
|
||||
this.getData()
|
||||
this.getSignImgs(this.FIRE_RECORD_ID)
|
||||
|
||||
// this.FIRE_CHECK_ID = this.$parent.FIRE_CHECK_ID
|
||||
// this.FIRE_RECORD_ID = this.$parent.FIRE_RECORD_ID
|
||||
// this.SHOW_OR_EDIT = this.$parent.SHOW_OR_EDIT
|
||||
// this.recordBase = Object.assign({}, this.$parent.row)
|
||||
// this.getData()
|
||||
// this.getSignImgs(this.FIRE_RECORD_ID)
|
||||
})
|
||||
this.hitBack = false
|
||||
}
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
<el-input v-model="searchForm.keyJobNumber" placeholder="请输入作业编号" class="filter-item" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="特级动火审批状态" prop="keyHiddenDescr" label-width="130px">
|
||||
<el-select v-model="searchForm.keyState" placeholder="请选择">
|
||||
<el-option v-for="item in statusSuperList" :key="item.id" :label="item.name" :value="item.id" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="6">-->
|
||||
<!-- <el-form-item label="特级动火审批状态" prop="keyHiddenDescr" label-width="130px">-->
|
||||
<!-- <el-select v-model="searchForm.keyState" placeholder="请选择">-->
|
||||
<!-- <el-option v-for="item in statusSuperList" :key="item.id" :label="item.name" :value="item.id" />-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- </el-col>-->
|
||||
<el-col :span="6">
|
||||
<el-form-item label="动火等级" prop="HOT_WORK_LEVEL_INDEX" >
|
||||
<el-select v-model="searchForm.HOT_WORK_LEVEL_INDEX" placeholder="请选择" style="width: 80%">
|
||||
|
@ -26,13 +26,13 @@
|
|||
<el-input v-model="searchForm.JOB_CONTENT" placeholder="请输入动火内容" class="filter-item" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="动火部位" prop="keySource">
|
||||
<el-input v-model="searchForm.HOT_WORK_POSITION" placeholder="请输入动火部位" class="filter-item" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="动火区域管辖单位" prop="keySource" label-width="130px">
|
||||
<SelectTree
|
||||
|
|
|
@ -1192,10 +1192,11 @@ export default {
|
|||
this.$set(this.form, 'delSituations', this.delSituations.join(','))
|
||||
this.$set(this.form, 'delHiddens', this.delHiddens.join(','))
|
||||
this.$set(this.form, 'delHiddenFiles', this.delHiddenFiles.join(','))
|
||||
this.form.INSPECTION_STATUS = '99'
|
||||
this.listLoading = true
|
||||
requestFN(
|
||||
'/safetyenvironmental/' + this.dialogType,
|
||||
{ ...this.form, INSPECTION_STATUS: '99' }
|
||||
{ ...this.form }
|
||||
).then((data) => {
|
||||
for (let i = 0; i < data.pd.hiddenList.length; i++) {
|
||||
this.uploadImg(this.hdFile[i]['fileHdImgList'], data.pd.hiddenList[i].HIDDEN_ID)
|
||||
|
|
Loading…
Reference in New Issue