【bug修改】

1. 安全环保检查暂存再次提交
2. pc端无法再次验收
3. 消防检查打回没反应
4. 打回的输入框 加判空以及判空的红星
5. 文件服务器密码更新
dev
shanao 2024-11-13 16:46:46 +08:00
parent eb042f8116
commit 5208846fc7
3 changed files with 31 additions and 20 deletions

View File

@ -110,8 +110,9 @@
</td> </td>
</template> </template>
<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 class="text-center" >
<td v-else class="text-center" >已打回</td> <a style="text-decoration: underline" @click="hitBackFunction(data.EQUIPMENT_RECORD_ID, data.ISCHECKED)">{{ data.ISCHECKED !== 2 ? '打回' : '已打回' }}</a>
</td>
</template> </template>
<!-- <template>--> <!-- <template>-->
<!-- <td v-if="data.INDEX_F == '1'" :rowspan="data.ROWSPAN" class="text-center">--> <!-- <td v-if="data.INDEX_F == '1'" :rowspan="data.ROWSPAN" class="text-center">-->
@ -377,7 +378,11 @@ export default {
this.listLoading = false this.listLoading = false
}) })
}, },
hitBackFunction(id) { hitBackFunction(id, ISCHECKED) {
if (ISCHECKED === 2) {
this.$message.warning('已打回的不能再打回')
return
}
console.log(id) console.log(id)
this.EQUIPMENT_POINT_ID = id this.EQUIPMENT_POINT_ID = id
this.hitBack = true this.hitBack = true
@ -388,6 +393,10 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
if (this.hitBackReason == null || this.hitBackReason === '') {
this.$message.warning('请填写打回说明')
return
}
requestFN( requestFN(
'/fireRecord/cancel', '/fireRecord/cancel',
{ {
@ -396,16 +405,17 @@ export default {
} }
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false
// this.getData()
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false
}) })
this.FIRE_CHECK_ID = this.$parent.FIRE_CHECK_ID
this.FIRE_RECORD_ID = this.$parent.FIRE_RECORD_ID // this.FIRE_CHECK_ID = this.$parent.FIRE_CHECK_ID
this.SHOW_OR_EDIT = this.$parent.SHOW_OR_EDIT // this.FIRE_RECORD_ID = this.$parent.FIRE_RECORD_ID
this.recordBase = Object.assign({}, this.$parent.row) // this.SHOW_OR_EDIT = this.$parent.SHOW_OR_EDIT
this.getData() // this.recordBase = Object.assign({}, this.$parent.row)
this.getSignImgs(this.FIRE_RECORD_ID) // this.getData()
// this.getSignImgs(this.FIRE_RECORD_ID)
}) })
this.hitBack = false this.hitBack = false
} }

View File

@ -7,13 +7,13 @@
<el-input v-model="searchForm.keyJobNumber" placeholder="请输入作业编号" class="filter-item" /> <el-input v-model="searchForm.keyJobNumber" placeholder="请输入作业编号" class="filter-item" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <!-- <el-col :span="6">-->
<el-form-item label="特级动火审批状态" prop="keyHiddenDescr" label-width="130px"> <!-- <el-form-item label="特级动火审批状态" prop="keyHiddenDescr" label-width="130px">-->
<el-select v-model="searchForm.keyState" placeholder="请选择"> <!-- <el-select v-model="searchForm.keyState" placeholder="请选择">-->
<el-option v-for="item in statusSuperList" :key="item.id" :label="item.name" :value="item.id" /> <!-- <el-option v-for="item in statusSuperList" :key="item.id" :label="item.name" :value="item.id" />-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="6"> <el-col :span="6">
<el-form-item label="动火等级" prop="HOT_WORK_LEVEL_INDEX" > <el-form-item label="动火等级" prop="HOT_WORK_LEVEL_INDEX" >
<el-select v-model="searchForm.HOT_WORK_LEVEL_INDEX" placeholder="请选择" style="width: 80%"> <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-input v-model="searchForm.JOB_CONTENT" placeholder="请输入动火内容" class="filter-item" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="动火部位" prop="keySource"> <el-form-item label="动火部位" prop="keySource">
<el-input v-model="searchForm.HOT_WORK_POSITION" placeholder="请输入动火部位" class="filter-item" /> <el-input v-model="searchForm.HOT_WORK_POSITION" placeholder="请输入动火部位" class="filter-item" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="动火区域管辖单位" prop="keySource" label-width="130px"> <el-form-item label="动火区域管辖单位" prop="keySource" label-width="130px">
<SelectTree <SelectTree

View File

@ -1192,10 +1192,11 @@ export default {
this.$set(this.form, 'delSituations', this.delSituations.join(',')) this.$set(this.form, 'delSituations', this.delSituations.join(','))
this.$set(this.form, 'delHiddens', this.delHiddens.join(',')) this.$set(this.form, 'delHiddens', this.delHiddens.join(','))
this.$set(this.form, 'delHiddenFiles', this.delHiddenFiles.join(',')) this.$set(this.form, 'delHiddenFiles', this.delHiddenFiles.join(','))
this.form.INSPECTION_STATUS = '99'
this.listLoading = true this.listLoading = true
requestFN( requestFN(
'/safetyenvironmental/' + this.dialogType, '/safetyenvironmental/' + this.dialogType,
{ ...this.form, INSPECTION_STATUS: '99' } { ...this.form }
).then((data) => { ).then((data) => {
for (let i = 0; i < data.pd.hiddenList.length; i++) { for (let i = 0; i < data.pd.hiddenList.length; i++) {
this.uploadImg(this.hdFile[i]['fileHdImgList'], data.pd.hiddenList[i].HIDDEN_ID) this.uploadImg(this.hdFile[i]['fileHdImgList'], data.pd.hiddenList[i].HIDDEN_ID)