重点工程 - 强制结束功能
parent
5243b81f4c
commit
82300f3b95
|
@ -154,11 +154,12 @@
|
||||||
<span>({{ row.VIDEO_ONLINE_COUNT }})</span>
|
<span>({{ row.VIDEO_ONLINE_COUNT }})</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="400">
|
<el-table-column label="操作" align="center" width="500">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="success" icon="el-icon-view" size="mini" @click="goDetail(row.OUTSOURCED_ID)">查看</el-button>
|
<el-button type="success" icon="el-icon-view" size="mini" @click="goDetail(row.OUTSOURCED_ID)">查看</el-button>
|
||||||
<el-button v-if="row.CREATOR==userInfoUserId && row.STATE==-1" type="success" icon="el-icon-view" size="mini" @click="handleState(row.OUTSOURCED_ID)">开工审批</el-button>
|
<el-button v-if="row.CREATOR==userInfoUserId && row.STATE==-1" type="success" icon="el-icon-view" size="mini" @click="handleState(row.OUTSOURCED_ID)">开工审批</el-button>
|
||||||
<el-button v-if="row.CREATOR==userInfoUserId && row.STATE==-2" type="success" icon="el-icon-view" size="mini" @click="handleJie(row.OUTSOURCED_ID)">结束审批</el-button>
|
<el-button v-if="row.CREATOR==userInfoUserId && row.STATE==-2" type="success" icon="el-icon-view" size="mini" @click="handleJie(row.OUTSOURCED_ID)">结束审批</el-button>
|
||||||
|
<el-button v-show="del" v-if="0 === row.IS_CORP_TYPE" type="danger" icon="el-icon-delete" size="mini" @click="handlePreForceDelete(row.OUTSOURCED_ID)">强制结束</el-button>
|
||||||
<el-button v-show="edit" v-if="0 === row.IS_CORP_TYPE" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.OUTSOURCED_ID)">编辑</el-button>
|
<el-button v-show="edit" v-if="0 === row.IS_CORP_TYPE" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.OUTSOURCED_ID)">编辑</el-button>
|
||||||
<el-button v-show="del" v-if="0 === row.IS_CORP_TYPE" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.OUTSOURCED_ID)">删除</el-button>
|
<el-button v-show="del" v-if="0 === row.IS_CORP_TYPE" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.OUTSOURCED_ID)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
@ -183,6 +184,193 @@
|
||||||
<el-button v-print="'#printTest'" type="primary">打 印</el-button>
|
<el-button v-print="'#printTest'" type="primary">打 印</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<el-dialog :visible.sync="dialogPreDeleteShow" title="强制结束" width="80%" class="top-dialog">
|
||||||
|
<p>待确认的安全环保检查</p>
|
||||||
|
<el-table
|
||||||
|
v-loading="listLoading"
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="inspectList"
|
||||||
|
:row-key="getRowKeyInsp"
|
||||||
|
:header-cell-style="{
|
||||||
|
'font-weight': 'bold',
|
||||||
|
'color': '#000'
|
||||||
|
}"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
border
|
||||||
|
fit
|
||||||
|
highlight-current-row
|
||||||
|
>
|
||||||
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
|
<el-table-column prop="INSPECTION_PLACE" label="检查场所" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="INSPECTION_TYPE_NAME" label="检查类型" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="INSPECTION_USERS" label="检查人" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="PERSON_NAME" label="被检查人" show-overflow-tooltip />
|
||||||
|
<el-table-column label="检查时间" show-overflow-tooltip>
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ row.INSPECTION_TIME_START }}-{{ row.INSPECTION_TIME_END }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="HIDDEN_COUNT" label="检查隐患数" />
|
||||||
|
</el-table>
|
||||||
|
<p>待整改隐患</p>
|
||||||
|
<el-table
|
||||||
|
v-loading="listLoading"
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="zgList"
|
||||||
|
:row-key="getRowKeyCf"
|
||||||
|
:header-cell-style="{
|
||||||
|
'font-weight': 'bold',
|
||||||
|
'color': '#000'
|
||||||
|
}"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
border
|
||||||
|
fit
|
||||||
|
highlight-current-row
|
||||||
|
>
|
||||||
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
|
<el-table-column prop="OUTSOURCED_NAME" label="重点工程名称" show-overflow-tooltip>
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ row.OUTSOURCED_NAME ? row.OUTSOURCED_NAME : row.AIOUTSOURCED_NAME }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="隐患来源" show-overflow-tooltip>
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ sourceState[row.SOURCE] }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="HIDDENDESCR" label="隐患描述" show-overflow-tooltip />
|
||||||
|
<el-table-column label="隐患发现人" show-overflow-tooltip>
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ row.CREATOR_NAME || row.CREATOR_NAMES }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="CREATTIME" label="隐患发现时间" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="RECTIFICATIONOR_NAME" label="隐患整改人" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="RECTIFICATIONTIME" label="整改时间" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="CREATOR_NAME" label="隐患验收人" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="CHECKTIME" label="验收时间" show-overflow-tooltip />
|
||||||
|
<el-table-column label="隐患状态">
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ state[row.STATE] }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="是否处罚">
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ row.ISPUNISH === "1" ? "是" : row.ISPUNISH === "2" ?"否":"处罚人未处理" }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
|
||||||
|
<p>待验收隐患</p>
|
||||||
|
<el-table
|
||||||
|
v-loading="listLoading"
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="ysList"
|
||||||
|
:row-key="getRowKeyCf"
|
||||||
|
:header-cell-style="{
|
||||||
|
'font-weight': 'bold',
|
||||||
|
'color': '#000'
|
||||||
|
}"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
border
|
||||||
|
fit
|
||||||
|
highlight-current-row
|
||||||
|
>
|
||||||
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
|
<el-table-column prop="OUTSOURCED_NAME" label="重点工程名称" show-overflow-tooltip>
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ row.OUTSOURCED_NAME ? row.OUTSOURCED_NAME : row.AIOUTSOURCED_NAME }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="隐患来源" show-overflow-tooltip>
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ sourceState[row.SOURCE] }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="HIDDENDESCR" label="隐患描述" show-overflow-tooltip />
|
||||||
|
<el-table-column label="隐患发现人" show-overflow-tooltip>
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ row.CREATOR_NAME || row.CREATOR_NAMES }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="CREATTIME" label="隐患发现时间" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="RECTIFICATIONOR_NAME" label="隐患整改人" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="RECTIFICATIONTIME" label="整改时间" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="CREATOR_NAME" label="隐患验收人" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="CHECKTIME" label="验收时间" show-overflow-tooltip />
|
||||||
|
<el-table-column label="隐患状态">
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ state[row.STATE] }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="是否处罚">
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ row.ISPUNISH === "1" ? "是" : row.ISPUNISH === "2" ?"否":"处罚人未处理" }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
|
||||||
|
<p>待处罚</p>
|
||||||
|
|
||||||
|
<el-table
|
||||||
|
v-loading="listLoading"
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="cfList"
|
||||||
|
:row-key="getRowKeyCf"
|
||||||
|
:header-cell-style="{
|
||||||
|
'font-weight': 'bold',
|
||||||
|
'color': '#000'
|
||||||
|
}"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
border
|
||||||
|
fit
|
||||||
|
highlight-current-row
|
||||||
|
>
|
||||||
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
|
<el-table-column prop="OUTSOURCED_NAME" label="重点工程名称" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="REASON" label="处罚原因" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="CREATOR_NAME" label="下发人" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="UNITS_NAME" label="被处罚单位" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="PERSON_NAME" label="被处罚人" show-overflow-tooltip />
|
||||||
|
<el-table-column label="是否处罚">
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ row.ISPUNISH === "1" ? "是" : row.ISPUNISH === "2" ?"否":"处罚人未处理" }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
|
||||||
|
<p>待反馈处罚</p>
|
||||||
|
<el-table
|
||||||
|
v-loading="listLoading"
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="fkList"
|
||||||
|
:row-key="getRowKeyCf"
|
||||||
|
:header-cell-style="{
|
||||||
|
'font-weight': 'bold',
|
||||||
|
'color': '#000'
|
||||||
|
}"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
border
|
||||||
|
fit
|
||||||
|
highlight-current-row
|
||||||
|
>
|
||||||
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
|
<el-table-column prop="OUTSOURCED_NAME" label="重点工程名称" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="REASON" label="处罚原因" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="CREATOR_NAME" label="下发人" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="UNITS_NAME" label="被处罚单位" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="PERSON_NAME" label="被处罚人" show-overflow-tooltip />
|
||||||
|
<el-table-column label="处罚处理状态" show-overflow-tooltip>
|
||||||
|
<template slot-scope="{row}">
|
||||||
|
{{ row.HANDLED === "0" ? "待处理" : "已处理" }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
|
||||||
|
<div slot="footer" class="dialog-footer">
|
||||||
|
<el-button @click="dialogPreDeleteShow = false">关 闭</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
@ -221,6 +409,7 @@ export default {
|
||||||
STATE: '',
|
STATE: '',
|
||||||
varList: [],
|
varList: [],
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
|
dialogPreDeleteShow: false,
|
||||||
pd: [],
|
pd: [],
|
||||||
unitsList: [],
|
unitsList: [],
|
||||||
corpList: [],
|
corpList: [],
|
||||||
|
@ -228,6 +417,12 @@ export default {
|
||||||
groupCorpList: [],
|
groupCorpList: [],
|
||||||
treeDataInspectDept: [],
|
treeDataInspectDept: [],
|
||||||
treeDeptOptions: [],
|
treeDeptOptions: [],
|
||||||
|
inspectList:[],// 带确认安全环保检查
|
||||||
|
zgList:[],// 待整改隐患
|
||||||
|
ysList:[],// 待验收隐患
|
||||||
|
cfList:[],// 待处罚
|
||||||
|
fkList:[],// 待反馈处罚
|
||||||
|
aiList:[],// AI报警
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
value: 'id',
|
value: 'id',
|
||||||
children: 'nodes',
|
children: 'nodes',
|
||||||
|
@ -280,6 +475,12 @@ export default {
|
||||||
getRowKey(row) {
|
getRowKey(row) {
|
||||||
return row.OUTSOURCED_ID
|
return row.OUTSOURCED_ID
|
||||||
},
|
},
|
||||||
|
getRowKeyInsp(row) {
|
||||||
|
return row.KEYPROJECTCHECK_ID
|
||||||
|
},
|
||||||
|
getRowKeyCf(row) {
|
||||||
|
return row.HIDDEN_ID
|
||||||
|
},
|
||||||
// 搜索
|
// 搜索
|
||||||
getQuery() {
|
getQuery() {
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
|
@ -459,6 +660,21 @@ export default {
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
handlePreForceDelete(id){
|
||||||
|
this.dialogPreDeleteShow = true
|
||||||
|
requestFN(
|
||||||
|
'/outsourced/preForceDelete',
|
||||||
|
{ OUTSOURCED_ID: id }
|
||||||
|
).then((data) => {
|
||||||
|
this.inspectList = data.inspectList // 待确认的安全环保检查
|
||||||
|
this.zgList = data.zgList // 需整改的隐患
|
||||||
|
this.ysList = data.ysList // 需验收的隐患
|
||||||
|
this.cfList = data.cfList // 待处罚
|
||||||
|
this.fkList = data.fkList // 待反馈的处罚
|
||||||
|
this.aiList = data.aiList // 关联的AI报警
|
||||||
|
}).catch((e) => {
|
||||||
|
})
|
||||||
|
},
|
||||||
getUnitsList() {
|
getUnitsList() {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/units/listAll',
|
'/units/listAll',
|
||||||
|
|
Loading…
Reference in New Issue