1、隐患快报隐患发现人修改为单选,并可以修改;2、修复隐患排查 多次点击提交清单之后 有报错;3、重点工程安全环保检查加 归档状态 归档状态就是检查确认并且隐患全部验收;4、修复重大隐患被确认为忽略隐患后 隐患级别显示错误;5、隐患确认人、整改人、验收人能看到安全环保检查验收打回的信息;6、安全环保检查被打回或申辩后只有发起人能处理;7、待检查人核实、待被检查人确认这两个状态可以单独删除安全环保检查内的隐患;8、驾驶舱的计算方式后加气泡,鼠标放上去后显示相应的文字描述规则;9、监管端创建的安全承诺书模板不能删除
parent
e737ccaa65
commit
17397e6838
|
@ -406,50 +406,56 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
<el-row class="form-group input-group-sm">
|
||||
<el-col :span="11">
|
||||
<el-form-item label="隐患发现部门:">
|
||||
<el-input v-model="myUserInfo.DEPARTMENTName" :disabled="true" placeholder="请输入内容"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="11">
|
||||
<el-form-item label="隐患发现人:">
|
||||
<el-input v-model="myUserInfo.USERNAME" :disabled="true" placeholder="请输入内容"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="hiddenForm.HIDDENLEVEL !='jdyh001' && hiddenForm.HIDDENLEVEL !='hiddenLevel2002'" :span="2">
|
||||
<el-form-item label-width="0px">
|
||||
<el-button type="primary" style="margin-left:15px" @click="addFindOther">添加</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row v-for="(data,index) in findCreatorList" :key="index" class="form-group input-group-sm">
|
||||
<el-col :span="11">
|
||||
<el-form-item label="隐患发现部门:">
|
||||
<SelectTree
|
||||
ref="'deptTree'+index"
|
||||
ref="deptTree"
|
||||
:key="modelKey"
|
||||
:clearable="false"
|
||||
:options="treeData"
|
||||
:props="defaultProps"
|
||||
v-model="data.DEPARTMENT_ID"
|
||||
style="width: 100%;"
|
||||
v-model="myUserInfo.DEPARTMENT_ID"
|
||||
placeholder="请选择隐患发现部门"
|
||||
@change="updateFindOtherDep(data.DEPARTMENT_ID,index)"
|
||||
@change="updateFindDep(myUserInfo.DEPARTMENT_ID)"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="11">
|
||||
<el-form-item label="隐患发现人:">
|
||||
<el-select v-model="data.USER_ID" style="width: 100%;" clearable placeholder="请选择隐患发现人" @visible-change="$forceUpdate()">
|
||||
<el-option v-for="item in findUserList[index]" :key="item.USER_ID" :label="item.NAME" :value="item.USER_ID" />
|
||||
<el-select v-model="myUserInfo.USER_ID" clearable placeholder="请选择隐患发现人" @visible-change="$forceUpdate()">
|
||||
<el-option v-for="item in findUserList" :key="item.USER_ID" :label="item.NAME" :value="item.USER_ID" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<el-form-item label-width="0px">
|
||||
<el-button type="danger" style="margin-left:15px" @click="remoFindOther">删除</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!--<el-row v-for="(data,index) in findCreatorList" :key="index" class="form-group input-group-sm">-->
|
||||
<!-- <el-col :span="11">-->
|
||||
<!-- <el-form-item label="隐患发现部门:">-->
|
||||
<!-- <SelectTree-->
|
||||
<!-- ref="'deptTree'+index"-->
|
||||
<!-- :clearable="false"-->
|
||||
<!-- :options="treeData"-->
|
||||
<!-- :props="defaultProps"-->
|
||||
<!-- v-model="data.DEPARTMENT_ID"-->
|
||||
<!-- style="width: 100%;"-->
|
||||
<!-- placeholder="请选择隐患发现部门"-->
|
||||
<!-- @change="updateFindOtherDep(data.DEPARTMENT_ID,index)"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- </el-col>-->
|
||||
<!-- <el-col :span="11">-->
|
||||
<!-- <el-form-item label="隐患发现人:">-->
|
||||
<!-- <el-select v-model="data.USER_ID" style="width: 100%;" clearable placeholder="请选择隐患发现人" @visible-change="$forceUpdate()">-->
|
||||
<!-- <el-option v-for="item in findUserList[index]" :key="item.USER_ID" :label="item.NAME" :value="item.USER_ID" />-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- </el-col>-->
|
||||
<!-- <el-col :span="2">-->
|
||||
<!-- <el-form-item label-width="0px">-->
|
||||
<!-- <el-button type="danger" style="margin-left:15px" @click="remoFindOther">删除</el-button>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- </el-col>-->
|
||||
<!--</el-row>-->
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="隐患发现时间:">
|
||||
|
@ -679,7 +685,8 @@ export default {
|
|||
}
|
||||
},
|
||||
editVector: '添加隐患',
|
||||
addLoading: false
|
||||
addLoading: false,
|
||||
modelKey: 0
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -1511,7 +1518,8 @@ export default {
|
|||
LISTMANAGER_ID: this.LISTMANAGER_ID,
|
||||
HAVESCHEME: 0,
|
||||
hiddenPartType: this.hiddenPartType,
|
||||
findCreator: findCreator
|
||||
findCreator: findCreator,
|
||||
hiddenFindCreator: this.myUserInfo.USER_ID
|
||||
// DISCOVERYTIME: this.hiddenForm.DISCOVERYTIME, // 隐患发现时间
|
||||
// CONFIRM_USER: this.hiddenForm.CONFIRM_USER // 隐患确认人
|
||||
}
|
||||
|
@ -1730,11 +1738,17 @@ export default {
|
|||
requestFN(
|
||||
'/user/goEditMyInfo',
|
||||
{}
|
||||
).then((data) => {
|
||||
).then(async(data) => {
|
||||
// var o = { 'DEPARTMENT_ID': data.pd.DEPARTMENT_ID, 'USER_ID': data.pd.USER_ID }
|
||||
this.myUserInfo.DEPARTMENT_ID = data.depname
|
||||
// this.myUserInfo.DEPARTMENT_ID = data.depname
|
||||
this.myUserInfo.DEPARTMENT_ID = data.pd.DEPARTMENT_ID
|
||||
this.myUserInfo.DEPARTMENTName = data.pd.deptName
|
||||
if (data.pd.DEPARTMENT_ID) {
|
||||
await this.getFindUserListByDepId(data.pd.DEPARTMENT_ID)
|
||||
}
|
||||
this.modelKey++ // 为了重新渲染级联选择器
|
||||
this.myUserInfo.USERNAME = data.pd.NAME
|
||||
this.myUserInfo.USER_ID = data.pd.USER_ID
|
||||
this.$forceUpdate()
|
||||
}).catch((e) => {
|
||||
this.addLoading = false
|
||||
|
@ -1747,11 +1761,16 @@ export default {
|
|||
remoFindOther(index) { // 删除隐患发现人员
|
||||
this.findCreatorList.splice(index, 1)
|
||||
},
|
||||
updateFindOtherDep(DEPARTMENT_ID, i) { // 点击发现部门
|
||||
this.findCreatorList[i].USER_ID = ''
|
||||
this.getFindUserList(DEPARTMENT_ID, i)
|
||||
updateFindDep(DEPARTMENT_ID) {
|
||||
this.myUserInfo.USER_ID = ''
|
||||
this.getFindUserListByDepId(DEPARTMENT_ID)
|
||||
},
|
||||
getFindUserList(DEPARTMENT_ID, index) { // 获取发现发现部门的人员信息
|
||||
// updateFindOtherDep(DEPARTMENT_ID, i) { // 点击发现部门
|
||||
// this.findCreatorList[i].USER_ID = ''
|
||||
// this.getFindUserList(DEPARTMENT_ID, i)
|
||||
// },
|
||||
getFindUserListByDepId(DEPARTMENT_ID) {
|
||||
return new Promise((resolve) => {
|
||||
this.listLoading = true
|
||||
requestFN(
|
||||
'/user/listAll',
|
||||
|
@ -1760,11 +1779,28 @@ export default {
|
|||
tm: new Date().getTime()
|
||||
}
|
||||
).then((data) => {
|
||||
this.$set(this.findUserList, index, data.userList)
|
||||
this.findUserList = data.userList
|
||||
this.$forceUpdate()
|
||||
resolve()
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
})
|
||||
},
|
||||
// getFindUserList(DEPARTMENT_ID, index) { // 获取发现发现部门的人员信息
|
||||
// this.listLoading = true
|
||||
// requestFN(
|
||||
// '/user/listAll',
|
||||
// {
|
||||
// DEPARTMENT_ID: DEPARTMENT_ID,
|
||||
// tm: new Date().getTime()
|
||||
// }
|
||||
// ).then((data) => {
|
||||
// this.$set(this.findUserList, index, data.userList)
|
||||
// }).catch((e) => {
|
||||
// this.listLoading = false
|
||||
// })
|
||||
// },
|
||||
updateConfirmDept() { // 根据选择的隐患确认部门显示隐患确认人
|
||||
this.listLoading = true
|
||||
requestFN(
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
</div>
|
||||
<div class="ui-height" />
|
||||
<div class="ui-foot">
|
||||
<el-button type="primary" @click="goConfirm">提 交</el-button>
|
||||
<el-button v-once type="primary" @click="goConfirm">提 交</el-button>
|
||||
<el-button v-if="pd.SOURCE != '5' && pd.SOURCE != '4'" type="primary" @click="goreject">打 回</el-button>
|
||||
<el-button plain type="info" @click="back">返 回</el-button>
|
||||
</div>
|
||||
|
|
|
@ -47,8 +47,9 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">隐患级别</td>
|
||||
<td v-if="pd.editLevelName">{{ pd.editLevelName }}</td>
|
||||
<td v-else>{{ pd.HIDDENLEVELNAME }}</td>
|
||||
<!-- <td v-if="pd.editLevelName">{{ pd.editLevelName }}</td>-->
|
||||
<!-- <td v-else>{{ pd.HIDDENLEVELNAME }}</td>-->
|
||||
<td>{{ pd.HIDDENLEVELNAME }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">隐患类型</td>
|
||||
|
|
|
@ -163,46 +163,28 @@
|
|||
</el-dialog>
|
||||
</el-form-item>
|
||||
<el-row class="form-group input-group-sm">
|
||||
<el-col :span="11">
|
||||
<el-form-item label="隐患发现部门">
|
||||
<el-input v-model="myUserInfo.DEPARTMENT_ID" :disabled="true" placeholder="请输入内容"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="11">
|
||||
<el-form-item label="隐患发现人">
|
||||
<el-input v-model="myUserInfo.USERNAME" :disabled="true" placeholder="请输入内容"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<el-button type="primary" style="margin-left:15px" @click="addFindOther">添加</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row v-for="(data,index) in findCreatorList" :key="index" class="form-group input-group-sm">
|
||||
<el-col :span="11">
|
||||
<el-form-item label="隐患发现部门">
|
||||
<SelectTree
|
||||
ref="'deptTree'+index"
|
||||
ref="deptTree"
|
||||
:key="modelKey"
|
||||
:clearable="false"
|
||||
:options="treeData"
|
||||
:props="defaultProps"
|
||||
v-model="data.DEPARTMENT_ID"
|
||||
v-model="myUserInfo.DEPARTMENT_ID"
|
||||
placeholder="请选择隐患发现部门"
|
||||
@change="updateFindOtherDep(data.DEPARTMENT_ID,index)"
|
||||
@change="updateFindDep(myUserInfo.DEPARTMENT_ID)"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="11">
|
||||
<el-form-item label="隐患发现人">
|
||||
<el-select v-model="data.USER_ID" clearable placeholder="请选择隐患发现人" @visible-change="$forceUpdate()">
|
||||
<el-option v-for="item in findUserList[index]" :key="item.USER_ID" :label="item.NAME" :value="item.USER_ID" />
|
||||
<el-select v-model="myUserInfo.USER_ID" clearable placeholder="请选择隐患发现人" @visible-change="$forceUpdate()">
|
||||
<el-option v-for="item in findUserList" :key="item.USER_ID" :label="item.NAME" :value="item.USER_ID" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<el-button type="danger" style="margin-left:15px" @click="remoFindOther(index)">删除</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="隐患发现时间">
|
||||
|
@ -360,7 +342,8 @@ export default {
|
|||
confirmUserList: [], // 隐患确认人
|
||||
isClearRectificationor: true, // 是否清空整改人
|
||||
iframeSrc: '',
|
||||
dialogMap: false
|
||||
dialogMap: false,
|
||||
modelKey: 0
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -506,9 +489,13 @@ export default {
|
|||
requestFN(
|
||||
'/user/goEditMyInfo',
|
||||
{}
|
||||
).then((data) => {
|
||||
this.myUserInfo.DEPARTMENT_ID = data.deptname
|
||||
this.myUserInfo.USERNAME = data.pd.NAME
|
||||
).then(async(data) => {
|
||||
this.myUserInfo.DEPARTMENT_ID = data.pd.DEPARTMENT_ID
|
||||
this.modelKey++ // 为了触发级联选择器重新渲染
|
||||
if (data.pd.DEPARTMENT_ID) {
|
||||
await this.getFindUserListByDepId(data.pd.DEPARTMENT_ID)
|
||||
}
|
||||
this.myUserInfo.USER_ID = data.pd.USER_ID
|
||||
this.$forceUpdate()
|
||||
}).catch((e) => {
|
||||
|
||||
|
@ -555,6 +542,7 @@ export default {
|
|||
}
|
||||
this.pd.findCreator = findCreator
|
||||
this.pd.hiddenPartType = this.hiddenPartType
|
||||
this.pd.hiddenFindCreator = this.myUserInfo.USER_ID
|
||||
this.$refs.form.validate(valid => {
|
||||
if (this.pd.HIDDEN_ID) {
|
||||
if (valid) {
|
||||
|
@ -810,11 +798,16 @@ export default {
|
|||
remoFindOther(index) { // 删除隐患发现人员
|
||||
this.findCreatorList.splice(index, 1)
|
||||
},
|
||||
updateFindOtherDep(DEPARTMENT_ID, i) { // 点击发现部门
|
||||
this.findCreatorList[i].USER_ID = ''
|
||||
this.getFindUserList(DEPARTMENT_ID, i)
|
||||
// updateFindOtherDep(DEPARTMENT_ID, i) { // 点击发现部门
|
||||
// this.findCreatorList[i].USER_ID = ''
|
||||
// this.getFindUserList(DEPARTMENT_ID, i)
|
||||
// },
|
||||
updateFindDep(DEPARTMENT_ID) {
|
||||
this.myUserInfo.USER_ID = ''
|
||||
this.getFindUserListByDepId(DEPARTMENT_ID)
|
||||
},
|
||||
getFindUserList(DEPARTMENT_ID, index) { // 获取发现发现部门的人员信息
|
||||
getFindUserListByDepId(DEPARTMENT_ID) {
|
||||
return new Promise((resolve) => {
|
||||
this.listLoading = true
|
||||
requestFN(
|
||||
'/user/listAll',
|
||||
|
@ -823,11 +816,28 @@ export default {
|
|||
tm: new Date().getTime()
|
||||
}
|
||||
).then((data) => {
|
||||
this.$set(this.findUserList, index, data.userList)
|
||||
this.findUserList = data.userList
|
||||
this.$forceUpdate()
|
||||
resolve()
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
})
|
||||
},
|
||||
// getFindUserList(DEPARTMENT_ID, index) { // 获取发现发现部门的人员信息
|
||||
// this.listLoading = true
|
||||
// requestFN(
|
||||
// '/user/listAll',
|
||||
// {
|
||||
// DEPARTMENT_ID: DEPARTMENT_ID,
|
||||
// tm: new Date().getTime()
|
||||
// }
|
||||
// ).then((data) => {
|
||||
// this.$set(this.findUserList, index, data.userList)
|
||||
// }).catch((e) => {
|
||||
// this.listLoading = false
|
||||
// })
|
||||
// },
|
||||
updateConfirmDept() { // 根据选择的隐患确认部门显示隐患确认人
|
||||
this.pd.CONFIRM_USER = ''
|
||||
this.listLoading = true
|
||||
|
|
|
@ -393,6 +393,27 @@
|
|||
</table>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<div v-show="returnInformation != ''" class="print-break">
|
||||
<div class="level-line" />
|
||||
<div class="level-title">
|
||||
<h1>验收打回信息</h1>
|
||||
</div>
|
||||
<table class="table-ui">
|
||||
<tr>
|
||||
<td class="tbg">验收打回意见</td>
|
||||
<td>{{ returnInformation.EXAMINE }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">验收人</td>
|
||||
<td>{{ returnInformation.CREATORNAME }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">验收时间</td>
|
||||
<td>{{ returnInformation.CREATTIME }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui-height" />
|
||||
|
@ -488,7 +509,8 @@ export default {
|
|||
},
|
||||
dialogVideoVisible: false,
|
||||
dialogViewPdf: false,
|
||||
hiddenExamineList: []
|
||||
hiddenExamineList: [],
|
||||
returnInformation: ''
|
||||
|
||||
}
|
||||
},
|
||||
|
@ -510,6 +532,17 @@ export default {
|
|||
var vm = this
|
||||
vm.pd = data.hidden// 隐患信息
|
||||
this.hiddenExamineList = data.hiddenExa // 特殊处置审核信息 隐患记录
|
||||
// 找出hiddenExamineList中验收打回日期最新的一条
|
||||
if (this.hiddenExamineList.length > 0) {
|
||||
for (let i = 0; i < this.hiddenExamineList.length; i++) {
|
||||
if (this.hiddenExamineList[i].TYPE === 3) {
|
||||
this.returnInformation = this.hiddenExamineList[i]
|
||||
if (this.returnInformation != '' && new Date(this.hiddenExamineList[i].CREATTIME).getTime() > new Date(this.returnInformation.CREATTIME).getTime()) {
|
||||
this.returnInformation = this.hiddenExamineList[i]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
vm.hs = data.hs // 查询整改方案
|
||||
vm.checkList = data.checkList // 验收信息
|
||||
this.hImgs = data.hImgs // 图片
|
||||
|
|
|
@ -54,9 +54,10 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="HIDDEN_COUNT" label="检查隐患数" />
|
||||
<el-table-column label="操作" align="center" width="100">
|
||||
<el-table-column label="操作" align="center" width="200">
|
||||
<template slot-scope="{row}">
|
||||
<el-button icon="el-icon-view" size="mini" @click="goDetail(row.KEYPROJECTCHECK_ID)">查看</el-button>
|
||||
<el-button v-if="row.INSPECTION_STATUS == '0' && row.CREATOR == loginUserId" type="danger" icon="el-icon-view" size="mini" @click="goDelete(row.KEYPROJECTCHECK_ID)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -78,6 +79,7 @@ export default {
|
|||
directives: { waves },
|
||||
data() {
|
||||
return {
|
||||
loginUserId: JSON.parse(sessionStorage.getItem('user')).USER_ID,
|
||||
listLoading: true,
|
||||
listQuery: {
|
||||
page: 1,
|
||||
|
@ -132,6 +134,36 @@ export default {
|
|||
this.$parent.KEYPROJECTCHECK_ID = ID
|
||||
this.$parent.activeName = 'Info'
|
||||
},
|
||||
goDelete(ID) {
|
||||
this.$confirm('是否删除该安全环保检查及以下隐患?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = true
|
||||
requestFN(
|
||||
'/keyprojectcheck/goDelete',
|
||||
{
|
||||
KEYPROJECTCHECK_ID: ID
|
||||
}
|
||||
).then((data) => {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '删除成功!'
|
||||
})
|
||||
this.listLoading = false
|
||||
this.getList()
|
||||
}).catch((e) => {
|
||||
this.$message({
|
||||
type: 'info',
|
||||
message: '删除失败!'
|
||||
})
|
||||
this.listLoading = false
|
||||
})
|
||||
}).catch(() => {
|
||||
console.log('取消删除')
|
||||
})
|
||||
},
|
||||
back() {
|
||||
this.$parent.activeName = 'List'
|
||||
this.$parent.OUTSOURCED_ID = ''
|
||||
|
|
|
@ -75,9 +75,10 @@
|
|||
<td>{{ item.HIDDENDESCR }}</td>
|
||||
<td class="tbg">隐患部位</td>
|
||||
<td>{{ item.HIDDENPART_NAME?item.HIDDENPART_NAME:item.HIDDENPART }}</td>
|
||||
<td width="200">
|
||||
<td width="300">
|
||||
<el-button icon="el-icon-view" size="mini" @click="goView(item.HIDDEN_ID)">查看</el-button>
|
||||
<el-button type="success" icon="el-icon-view" size="mini" @click="checkFlow(item)">流程图</el-button>
|
||||
<el-button v-if="pd.INSPECTION_STATUS == '0' || pd.INSPECTION_STATUS =='2'" type="danger" icon="el-icon-view" size="mini" @click="goDelete(item)">删除</el-button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -308,6 +309,34 @@ export default {
|
|||
checkFlow(item) {
|
||||
this.$refs.flowChart.init(item)
|
||||
},
|
||||
goDelete(item) {
|
||||
this.$confirm('确定要删除此隐患吗?', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
requestFN(
|
||||
'/hiddenApi/deleteHiddenForSafetyenvironmental',
|
||||
{
|
||||
HIDDEN_ID: item.HIDDEN_ID,
|
||||
tm: new Date().getTime()
|
||||
}
|
||||
).then((res) => {
|
||||
if (res.result === 'success') {
|
||||
this.$message({
|
||||
message: '删除成功',
|
||||
type: 'success'
|
||||
})
|
||||
} else {
|
||||
this.$message({
|
||||
message: res.codeMsg,
|
||||
type: 'error'
|
||||
})
|
||||
}
|
||||
this.getData()
|
||||
}).catch((e) => {})
|
||||
}).catch(() => {})
|
||||
},
|
||||
goBack() {
|
||||
this.$parent.INSPECTION_ID = ''
|
||||
this.$parent.activeName = 'List'
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<el-button type="success" icon="el-icon-view" size="mini" @click="goView(row.PROMISE_ID)">查看</el-button>
|
||||
<el-button v-if="row.ISDELETE === 1" type="success" icon="el-icon-check" size="mini" @click="goEnableOrDisable(0,row.PROMISE_ID)">启用</el-button>
|
||||
<el-button v-if="row.ISDELETE === 0" type="danger" icon="el-icon-close" size="mini" @click="goEnableOrDisable(1,row.PROMISE_ID)">禁用</el-button>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDelete(row.PROMISE_ID)">删除</el-button>
|
||||
<el-button v-if="row.IS_REGULATORY === 1" type="danger" icon="el-icon-delete" plain @click="handleDelete(row.PROMISE_ID)">删除</el-button>
|
||||
<el-button type="primary" icon="el-icon-edit" size="mini" @click="goAddOrEdit(row.PROMISE_ID)">编辑</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
<script src="./js/ezuikit.js"></script>
|
||||
<script src="./swiper-master/package/swiper-bundle.min.js"></script>
|
||||
<script src="https://statics.ys7.com/openweb/common/scripts/jquery-39b5fb0510.cookie.js"></script>
|
||||
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
|
||||
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
|
||||
<!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@4/dist/echarts.min.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-gl@1/dist/echarts-gl.min.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-stat@1/dist/ecStat.min.js"></script> -->
|
||||
|
@ -140,6 +142,7 @@
|
|||
本年隐患
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待处理
|
||||
|
@ -148,6 +151,8 @@
|
|||
{{hdCount.yearUncheck}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已处理
|
||||
|
@ -156,6 +161,8 @@
|
|||
{{hdCount.yearChecked}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
隐患整改率
|
||||
|
@ -166,6 +173,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="task-item">
|
||||
<div class="task-textsp">
|
||||
|
@ -176,6 +184,7 @@
|
|||
本季隐患
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待处理
|
||||
|
@ -184,6 +193,8 @@
|
|||
{{hdCount.quarterUncheck}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已处理
|
||||
|
@ -192,6 +203,8 @@
|
|||
{{hdCount.quarterChecked}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
隐患整改率
|
||||
|
@ -202,6 +215,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="task-item">
|
||||
<div class="task-textsp">
|
||||
|
@ -212,6 +226,7 @@
|
|||
本月隐患
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待处理
|
||||
|
@ -220,6 +235,8 @@
|
|||
{{hdCount.monthUncheck}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已处理
|
||||
|
@ -228,6 +245,8 @@
|
|||
{{hdCount.monthChecked}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
隐患整改率
|
||||
|
@ -238,6 +257,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swiper-slide">
|
||||
|
@ -250,6 +270,7 @@
|
|||
本旬隐患
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待处理
|
||||
|
@ -258,6 +279,8 @@
|
|||
{{hdCount.xunUncheck}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已处理
|
||||
|
@ -266,6 +289,8 @@
|
|||
{{hdCount.xunChecked}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
隐患整改率
|
||||
|
@ -276,6 +301,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="task-item">
|
||||
<div class="task-textsp">
|
||||
|
@ -286,6 +312,7 @@
|
|||
本周隐患
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待处理
|
||||
|
@ -294,6 +321,8 @@
|
|||
{{hdCount.weekUncheck}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已处理
|
||||
|
@ -302,6 +331,8 @@
|
|||
{{hdCount.weekChecked}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
隐患整改率
|
||||
|
@ -312,6 +343,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="task-item">
|
||||
<div class="task-textsp">
|
||||
|
@ -322,6 +354,7 @@
|
|||
本日隐患
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待处理
|
||||
|
@ -330,6 +363,8 @@
|
|||
{{hdCount.dayUncheck}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已处理
|
||||
|
@ -338,6 +373,8 @@
|
|||
{{hdCount.dayChecked}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
隐患整改率
|
||||
|
@ -348,6 +385,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue