Compare commits
30 Commits
874ac14100
...
613ddee17b
Author | SHA1 | Date |
---|---|---|
|
613ddee17b | |
|
663733e423 | |
|
20fadff3b4 | |
|
aaceb1e5dd | |
|
533dc14672 | |
|
966c4fc447 | |
|
a5c63c063c | |
|
13ac36c60f | |
|
74bb85c7e2 | |
|
8bce57553c | |
|
fc3df5a162 | |
|
ee54bbd2f2 | |
|
281062cb8a | |
|
533c901b47 | |
|
1ddb583ce1 | |
|
ce1cfac47e | |
|
d370f5019d | |
|
42800888f6 | |
|
a74c6dc435 | |
|
4d527d0522 | |
|
cd3437b03c | |
|
2cd151e0f8 | |
|
539a607ace | |
|
c4a4559043 | |
|
7d8406e957 | |
|
26170c5a98 | |
|
d5b7d9fb70 | |
|
ef95c37933 | |
|
17397e6838 | |
|
4522d10cfe |
|
@ -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(
|
||||
|
|
|
@ -300,7 +300,13 @@ export default {
|
|||
goQrcode(row) {
|
||||
this.dialogVisible = true
|
||||
this.pd = Object.assign({}, row)
|
||||
this.qrcodeStr = row.LISTMANAGER_ID
|
||||
// this.qrcodeStr = row.LISTMANAGER_ID
|
||||
const json = {
|
||||
LISTMANAGER_ID: row.LISTMANAGER_ID,
|
||||
MANAGER_TYPE: 'listManager'
|
||||
}
|
||||
const jsonStr = JSON.stringify(json)
|
||||
this.qrcodeStr = jsonStr
|
||||
},
|
||||
// 判断按钮权限,用于是否显示按钮
|
||||
hasButton: function() {
|
||||
|
|
|
@ -20,33 +20,43 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="5">
|
||||
<el-col :span="10">
|
||||
<el-form-item label="负责部门:" prop="DEPARTMENT_ID">
|
||||
<SelectTree
|
||||
v-if="treeData.length !== 0"
|
||||
v-if="treeData.length !== 0 && FIRE_CHECK_ID != ''"
|
||||
ref="deptTree_Select"
|
||||
:disable="FIRE_CHECK_ID !=''"
|
||||
:clearable="false"
|
||||
:options="treeData"
|
||||
:props="defaultProps"
|
||||
:key="form.UPDATE_DEPARTMENT_ID"
|
||||
v-model="form.UPDATE_DEPARTMENT_ID"
|
||||
placeholder="请选择部门"
|
||||
@change="updateDeptChange"/>
|
||||
<Treeselect
|
||||
v-if="updateValue && FIRE_CHECK_ID == ''"
|
||||
:multiple="true"
|
||||
:flat="true"
|
||||
:default-expand-level="1"
|
||||
:options="treeData"
|
||||
:normalizer="normalizer"
|
||||
:disable="true"
|
||||
:clearable="false"
|
||||
v-model="form.DEPARTMENT_ID"
|
||||
placeholder="请选择部门"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="岗位:" prop="POST_ID">
|
||||
<el-select
|
||||
:disabled="FIRE_CHECK_ID !=''"
|
||||
v-model="form.POST_ID"
|
||||
placeholder="请选择">
|
||||
<el-option v-for="item in postList" :key="item.POST_ID" :label="item.NAME" :value="item.POST_ID" />
|
||||
</el-select>
|
||||
placeholder="请选择部门"
|
||||
no-options-text="暂无数据"
|
||||
no-children-text="暂无数据"
|
||||
style="width: 100%;"
|
||||
@select="handleSelect"
|
||||
@deselect="handleRemove"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="检查人:" prop="USER_ID">
|
||||
<el-select
|
||||
:disabled="FIRE_CHECK_ID !=''"
|
||||
v-if="FIRE_CHECK_ID == ''"
|
||||
ref="userTree_Select"
|
||||
:key="userListChangeValue"
|
||||
v-model="form.USER_ID"
|
||||
multiple
|
||||
clearable
|
||||
|
@ -54,6 +64,16 @@
|
|||
class="filter-item">
|
||||
<el-option v-for="item in peopleList" :key="item.USER_ID" :label="item.NAME" :value="item.USER_ID"/>
|
||||
</el-select>
|
||||
<el-select
|
||||
v-if="FIRE_CHECK_ID != ''"
|
||||
ref="userTree_Select"
|
||||
:key="form.UPDATE_USER_ID"
|
||||
v-model="form.UPDATE_USER_ID"
|
||||
clearable
|
||||
placeholder="请选择人员"
|
||||
class="filter-item">
|
||||
<el-option v-for="item in peopleList" :key="item.USER_ID" :label="item.NAME" :value="item.USER_ID"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -343,8 +363,10 @@ export default {
|
|||
FIRE_CHECK_TYPE: '',
|
||||
POST_ID: [],
|
||||
FIRE_CHECK_TYPE_NAME: '',
|
||||
DEPARTMENT_ID: '',
|
||||
DEPARTMENT_ID: [],
|
||||
UPDATE_DEPARTMENT_ID: '',
|
||||
USER_ID: [],
|
||||
UPDATE_USER_ID: '',
|
||||
DATA: ''
|
||||
},
|
||||
rules: {
|
||||
|
@ -394,7 +416,17 @@ export default {
|
|||
},
|
||||
multipleSelectionAll: [], // 所有选中的数据包含跨页数据
|
||||
multipleSelection: [], // 当前页选中的数据
|
||||
accidentList: []
|
||||
accidentList: [],
|
||||
updateValue: true,
|
||||
normalizer(node) {
|
||||
return {
|
||||
id: node.id,
|
||||
label: node.name,
|
||||
children: node.nodes,
|
||||
isDisabled: node.pId === '0'
|
||||
}
|
||||
},
|
||||
userListChangeValue: 0
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -420,21 +452,34 @@ export default {
|
|||
if (newVal !== '') this.getDeviceByPointId(newVal)
|
||||
}, immediate: false
|
||||
},
|
||||
'form.POST_ID': {
|
||||
handler(newVal, oldVal) {
|
||||
this.peopleList = []
|
||||
this.form.USER_ID = []
|
||||
if (this.form.POST_ID != '') this.getUserList()
|
||||
}
|
||||
},
|
||||
// 'form.POST_ID': {
|
||||
// handler(newVal, oldVal) {
|
||||
// this.peopleList = []
|
||||
// this.form.USER_ID = []
|
||||
// if (this.form.POST_ID != '') this.getUserList()
|
||||
// }
|
||||
// },
|
||||
'form.DEPARTMENT_ID': {
|
||||
// 选择了负责部门 查询相关的点检
|
||||
handler(newVal, oldVal) {
|
||||
this.peopleList = []
|
||||
if (newVal !== '') this.form.POST_ID = ''
|
||||
if (newVal !== '') this.getList(newVal)
|
||||
if (newVal !== '') this.getCheckList(newVal)
|
||||
if (newVal !== '') this.getPostList(newVal)
|
||||
// if (newVal !== '') this.form.POST_ID = ''
|
||||
if (newVal.length !== 0) this.getList(newVal)
|
||||
if (newVal.length !== 0) this.getCheckList(newVal)
|
||||
// if (newVal !== '') this.getPostList(newVal)
|
||||
if (newVal.length !== 0) this.getUserList()
|
||||
},
|
||||
immediate: false
|
||||
},
|
||||
'form.UPDATE_DEPARTMENT_ID': {
|
||||
// 选择了负责部门 查询相关的点检
|
||||
handler(newVal, oldVal) {
|
||||
this.peopleList = []
|
||||
// if (newVal !== '') this.form.POST_ID = ''
|
||||
if (newVal.length !== 0) this.getList(newVal)
|
||||
if (newVal.length !== 0) this.getCheckList(newVal)
|
||||
// if (newVal !== '') this.getPostList(newVal)
|
||||
if (newVal.length !== 0) this.getUserList()
|
||||
},
|
||||
immediate: false
|
||||
}
|
||||
|
@ -451,11 +496,18 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
getUserList() {
|
||||
let DEPARTMENT_ID = ''
|
||||
if (this.FIRE_CHECK_ID != '') {
|
||||
DEPARTMENT_ID = this.form.UPDATE_DEPARTMENT_ID
|
||||
} else {
|
||||
DEPARTMENT_ID = this.form.DEPARTMENT_ID.toString()
|
||||
}
|
||||
requestFN(
|
||||
'/user/listAll',
|
||||
{
|
||||
DEPARTMENT_ID: this.form.DEPARTMENT_ID,
|
||||
POST_ID: this.form.POST_ID
|
||||
DEPARTMENT_ID: DEPARTMENT_ID
|
||||
// DEPARTMENT_ID: this.form.DEPARTMENT_ID,
|
||||
// POST_ID: this.form.POST_ID
|
||||
}
|
||||
).then((data) => {
|
||||
this.peopleList = data.userList
|
||||
|
@ -526,13 +578,19 @@ export default {
|
|||
},
|
||||
// 部门列表树
|
||||
async getTreeData() {
|
||||
return new Promise((resolve, reject) => {
|
||||
requestFN(
|
||||
'/department/listTree',
|
||||
{}
|
||||
).then((data) => {
|
||||
this.treeData = JSON.parse(data.zTreeNodes)
|
||||
this.treeData.forEach((item) => {
|
||||
item.isDisabled = true
|
||||
})
|
||||
resolve()
|
||||
}).catch((e) => {
|
||||
})
|
||||
})
|
||||
},
|
||||
getList(DEPARTMENT_ID) {
|
||||
// debugger
|
||||
|
@ -544,7 +602,7 @@ export default {
|
|||
'/user/getDepartmentId',
|
||||
{
|
||||
KEYWORDS: this.KEYWORDS,
|
||||
DEPARTMENT_ID: this.DEPARTMENT_ID
|
||||
DEPARTMENT_ID: this.DEPARTMENT_ID.toString()
|
||||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
|
@ -639,7 +697,7 @@ export default {
|
|||
if (!this.FIRE_CHECK_ID) {
|
||||
requestFN(
|
||||
'/fireCheckList/getCheckList',
|
||||
{ DEPARTMENT_ID: DEPARTMENT_ID }
|
||||
{ DEPARTMENT_ID: DEPARTMENT_ID.toString() }
|
||||
).then((data) => {
|
||||
this.checkList = data.varList
|
||||
this.checkListBackUp = data.varList
|
||||
|
@ -923,13 +981,16 @@ export default {
|
|||
).then((data) => {
|
||||
this.form.FIRE_CHECK_STANDARD_NAME = data.checkListInfo.FIRE_CHECK_STANDARD_NAME
|
||||
this.form.FIRE_CHECK_TYPE = data.checkListInfo.FIRE_CHECK_TYPE
|
||||
this.form.DEPARTMENT_ID = data.checkListInfo.DEPARTMENT_ID
|
||||
// this.form.DEPARTMENT_ID = data.checkListInfo.DEPARTMENT_ID
|
||||
this.form.DEPARTMENT_ID.push(data.checkListInfo.DEPARTMENT_ID)
|
||||
this.form.UPDATE_DEPARTMENT_ID = data.checkListInfo.DEPARTMENT_ID
|
||||
this.$nextTick(() => {
|
||||
this.form.POST_ID = data.checkListInfo.POST_ID
|
||||
// this.form.POST_ID = data.checkListInfo.POST_ID
|
||||
this.userList = []
|
||||
this.getUserList()
|
||||
const u = []
|
||||
u.push(data.checkListInfo.USER_ID)
|
||||
this.form.UPDATE_USER_ID = data.checkListInfo.USER_ID
|
||||
this.$nextTick(() => {
|
||||
this.form.USER_ID = u
|
||||
this.checkListBackUp = data.checkStandardList
|
||||
|
@ -968,6 +1029,86 @@ export default {
|
|||
).then((data) => {
|
||||
this.deviceTypeList = data.list
|
||||
})
|
||||
},
|
||||
onClick() {
|
||||
this.updateValue = false
|
||||
this.$nextTick(() => {
|
||||
this.updateValue = true
|
||||
})
|
||||
},
|
||||
// 选择项时触发的事件
|
||||
handleSelect(selectedItems) {
|
||||
// 选择父节点时同时勾选全部子节点
|
||||
if (!this.form.DEPARTMENT_ID.includes(selectedItems.id)) {
|
||||
this.form.DEPARTMENT_ID.push(selectedItems.id)
|
||||
}
|
||||
this.pullSelectedNodes(selectedItems)
|
||||
this.onClick()
|
||||
},
|
||||
// 将树节点的子节点全部添加到数组中
|
||||
pullSelectedNodes(selectedItems) {
|
||||
if (selectedItems.nodes && selectedItems.nodes.length > 0) {
|
||||
for (let i = 0; i < selectedItems.nodes.length; i++) {
|
||||
if (!this.form.DEPARTMENT_ID.includes(selectedItems.nodes[i].id)) {
|
||||
this.form.DEPARTMENT_ID.push(selectedItems.nodes[i].id)
|
||||
}
|
||||
this.pullSelectedNodes(selectedItems.nodes[i])
|
||||
}
|
||||
}
|
||||
},
|
||||
// 移除选中项时触发的事件
|
||||
handleRemove(selectedItems) {
|
||||
console.log(this.form.USER_ID)
|
||||
const currentUserId = this.form.USER_ID
|
||||
requestFN(
|
||||
'/user/listUserByCorp',
|
||||
{
|
||||
DEPARTMENT_ID: selectedItems.id
|
||||
}
|
||||
).then((data) => {
|
||||
const userList = data.userList
|
||||
if (userList) {
|
||||
for (let i = 0; i < userList.length; i++) {
|
||||
for (let j = 0; j < this.form.USER_ID.length; j++) {
|
||||
if (userList[i].USER_ID === this.form.USER_ID[j]) {
|
||||
for (let k = 0; k < currentUserId.length; k++) {
|
||||
if (this.form.USER_ID[j] === currentUserId[k]) {
|
||||
console.log(this.form.USER_ID[j])
|
||||
currentUserId.splice(k, 1)
|
||||
break
|
||||
}
|
||||
}
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.listLoading = false
|
||||
// this.peopleList = data.userList
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
this.form.USER_ID = currentUserId
|
||||
// 移除选中项时同时移除全部子节点
|
||||
if (this.form.INVOLVING_CORPS_DEPART_ID.includes(selectedItems.id)) {
|
||||
this.form.INVOLVING_CORPS_DEPART_ID.splice(this.form.INVOLVING_CORPS_DEPART_ID.indexOf(selectedItems.id), 1)
|
||||
}
|
||||
this.removeSelectedNodes(selectedItems)
|
||||
this.onClick()
|
||||
},
|
||||
// 将选中项的子节点全部移除
|
||||
removeSelectedNodes(selectedItems) {
|
||||
if (selectedItems.nodes && selectedItems.nodes.length > 0) {
|
||||
for (let i = 0; i < selectedItems.nodes.length; i++) {
|
||||
if (this.form.INVOLVING_CORPS_DEPART_ID.includes(selectedItems.nodes[i].id)) {
|
||||
this.form.INVOLVING_CORPS_DEPART_ID.splice(this.form.INVOLVING_CORPS_DEPART_ID.indexOf(selectedItems.nodes[i].id), 1)
|
||||
}
|
||||
this.removeSelectedNodes(selectedItems.nodes[i])
|
||||
}
|
||||
}
|
||||
},
|
||||
updateDeptChange() {
|
||||
this.form.UPDATE_USER_ID = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,6 +34,16 @@
|
|||
<el-input v-model="keySelect.FIRE_DEVICE_CODE" placeholder="请输入关键字"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="负责部门" label-width="110px">
|
||||
<el-input v-model="keySelect.DEPARTMENT_NAME" placeholder="请输入关键字"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="负责人" label-width="110px">
|
||||
<el-input v-model="keySelect.USER_NAME" placeholder="请输入关键字"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label-width="10px">
|
||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
||||
|
@ -183,7 +193,9 @@ export default {
|
|||
FIRE_DEVICE_TYPE_ID: '',
|
||||
FIRE_REGION_ID: '',
|
||||
FIRE_POINT_NAME: '',
|
||||
FIRE_DEVICE_CODE: ''
|
||||
FIRE_DEVICE_CODE: '',
|
||||
DEPARTMENT_NAME: '',
|
||||
USER_NAME: ''
|
||||
},
|
||||
treeData: [],
|
||||
typeData: [],
|
||||
|
@ -284,7 +296,9 @@ export default {
|
|||
FIRE_REGION_ID: this.keySelect.FIRE_REGION_ID,
|
||||
FIRE_DEVICE_TYPE_ID: this.keySelect.FIRE_DEVICE_TYPE_ID,
|
||||
FIRE_POINT_NAME: this.keySelect.FIRE_POINT_NAME,
|
||||
FIRE_DEVICE_CODE: this.keySelect.FIRE_DEVICE_CODE
|
||||
FIRE_DEVICE_CODE: this.keySelect.FIRE_DEVICE_CODE,
|
||||
DEPARTMENT_NAME: this.keySelect.DEPARTMENT_NAME,
|
||||
USER_NAME: this.keySelect.USER_NAME
|
||||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
|
@ -299,6 +313,8 @@ export default {
|
|||
this.keySelect.FIRE_DEVICE_TYPE_ID = ''
|
||||
this.keySelect.FIRE_REGION_ID = ''
|
||||
this.keySelect.FIRE_DEVICE_CODE = ''
|
||||
this.keySelect.DEPARTMENT_NAME = ''
|
||||
this.keySelect.USER_NAME = ''
|
||||
this.getList()
|
||||
},
|
||||
getDict() {
|
||||
|
|
|
@ -13,6 +13,19 @@
|
|||
<el-input v-model="FIRE_POINT_CODE" placeholder="请输入关键字"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="负责部门" label-width="110px">
|
||||
<SelectTree
|
||||
ref="deptTree_Select"
|
||||
:key="selectForm.DEPARTMENT_ID"
|
||||
:clearable="true"
|
||||
:options="deptTreeData"
|
||||
:props="defaultProps"
|
||||
v-model="selectForm.DEPARTMENT_ID"
|
||||
placeholder="请选择部门"
|
||||
style="width: 100%;"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label-width="10px">
|
||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
||||
|
@ -78,6 +91,7 @@
|
|||
<div>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
|
||||
<el-button type="danger" icon="el-icon-delete" @click="handleDelete">批量删除</el-button>
|
||||
<el-button type="info" icon="el-icon-plus" @click="handleEditUser">批量修改负责人</el-button>
|
||||
</div>
|
||||
<pagination
|
||||
:total="total"
|
||||
|
@ -116,6 +130,22 @@
|
|||
<el-button v-print="'#printTest'" type="primary">打 印</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<el-dialog v-loading ="listLoading" :visible.sync="dialogEditUser" title="批量修改负责人" width="800px">
|
||||
<el-form ref="firefightingBatchEditDept" :model="dialogEditUserForm" :rules="dialogEditUserRules" label-width="150px">
|
||||
<el-row>
|
||||
<el-form-item label="负责人员" prop="USER_ID">
|
||||
<el-select v-model="dialogEditUserForm.USER_ID" placeholder="请选择人员" class="filter-item" style="width: 80%;">
|
||||
<el-option v-for="item in userList" :key="item.USER_ID" :label="item.NAME" :value="item.USER_ID"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="dialogEditUser = false">取 消</el-button>
|
||||
<el-button type="primary" @click="dialogEditUserConfirm">确 定</el-button>
|
||||
</div>
|
||||
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -153,6 +183,9 @@ export default {
|
|||
KEYWORDS: '',
|
||||
FIRE_POINT_NAME: '',
|
||||
FIRE_POINT_CODE: '',
|
||||
selectForm: {
|
||||
DEPARTMENT_ID: ''
|
||||
},
|
||||
// 树形菜单
|
||||
filterText: '',
|
||||
varList: [],
|
||||
|
@ -161,7 +194,17 @@ export default {
|
|||
value: 'id',
|
||||
children: 'nodes',
|
||||
label: 'name'
|
||||
}
|
||||
},
|
||||
editDataIds: [],
|
||||
dialogEditUser: false,
|
||||
dialogEditUserForm: {
|
||||
USER_ID: ''
|
||||
},
|
||||
dialogEditUserRules: {
|
||||
USER_ID: [{ required: true, message: '请选择负责人', trigger: 'change' }]
|
||||
},
|
||||
deptTreeData: [],
|
||||
userList: []
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -173,19 +216,27 @@ export default {
|
|||
created() {
|
||||
this.getList()
|
||||
this.hasButton()
|
||||
this.getTreeData()
|
||||
},
|
||||
methods: {
|
||||
handleShowQr(ROW) {
|
||||
this.dialogFormShow = true
|
||||
this.qrInfo = ROW
|
||||
this.qrcodeStr = this.config.weburlWaiwang + 'static/qrcode/views/bsbw/point_list.html?id=' + ROW.FIRE_POINT_ID
|
||||
// this.qrcodeStr = this.config.weburlWaiwang + 'static/qrcode/views/bsbw/point_list.html?id=' + ROW.FIRE_POINT_ID
|
||||
const json = {
|
||||
MANAGER_TYPE: 'fireListManager',
|
||||
FIRE_POINT_ID: ROW.FIRE_POINT_ID
|
||||
}
|
||||
const jsonStr = JSON.stringify(json)
|
||||
this.qrcodeStr = jsonStr
|
||||
},
|
||||
handleEdit(FIRE_POINT_ID) {
|
||||
this.$parent.FIRE_POINT_ID = FIRE_POINT_ID
|
||||
this.$parent.activeName = 'Edit'
|
||||
},
|
||||
selectable(row, index) {
|
||||
return row.DEVICE_COUNT == 0
|
||||
// return row.DEVICE_COUNT == 0
|
||||
return true
|
||||
},
|
||||
getRowKey(row) {
|
||||
return row.FIRE_POINT_ID
|
||||
|
@ -211,7 +262,8 @@ export default {
|
|||
'/firePoint/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||
{
|
||||
FIRE_POINT_NAME: this.FIRE_POINT_NAME,
|
||||
FIRE_POINT_CODE: this.FIRE_POINT_CODE
|
||||
FIRE_POINT_CODE: this.FIRE_POINT_CODE,
|
||||
DEPARTMENT_ID: this.selectForm.DEPARTMENT_ID
|
||||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
|
@ -224,6 +276,9 @@ export default {
|
|||
}, goKeyReset() {
|
||||
this.FIRE_POINT_NAME = ''
|
||||
this.FIRE_POINT_CODE = ''
|
||||
this.selectForm = {
|
||||
DEPARTMENT_ID: ''
|
||||
}
|
||||
this.getList()
|
||||
},
|
||||
getDict() {
|
||||
|
@ -263,6 +318,89 @@ export default {
|
|||
this.listLoading = false
|
||||
})
|
||||
},
|
||||
// 部门列表树
|
||||
getTreeData() {
|
||||
requestFN(
|
||||
'/department/listTreeV2',
|
||||
{}
|
||||
).then((data) => {
|
||||
this.deptTreeData = JSON.parse(data.zTreeNodes)
|
||||
}).catch((e) => {
|
||||
})
|
||||
},
|
||||
// 批量修改负责人
|
||||
handleEditUser(row) {
|
||||
this.editDataIds = []
|
||||
if (row.FIRE_POINT_ID) {
|
||||
this.editDataIds.push(row.FIRE_POINT_ID)
|
||||
} else {
|
||||
const selection = this.$refs.multipleTable.selection
|
||||
if (!selection.length > 0) {
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: '请选择要修改的数据'
|
||||
})
|
||||
return
|
||||
}
|
||||
selection.forEach(item => {
|
||||
this.editDataIds.push(item.FIRE_POINT_ID)
|
||||
})
|
||||
}
|
||||
const selection = this.$refs.multipleTable.selection
|
||||
const DEPARTMENT_ID = selection[0].DEPARTMENT_ID
|
||||
if (selection.length > 1) {
|
||||
let flag = false
|
||||
selection.forEach(item => {
|
||||
if (DEPARTMENT_ID !== item.DEPARTMENT_ID) {
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: '只能选择同一部门下的数据'
|
||||
})
|
||||
flag = true
|
||||
}
|
||||
})
|
||||
if (flag) {
|
||||
return
|
||||
}
|
||||
}
|
||||
this.getUserList(DEPARTMENT_ID)
|
||||
this.dialogEditUserForm = {
|
||||
USER_ID: ''
|
||||
}
|
||||
this.dialogEditUser = true
|
||||
},
|
||||
getUserList(DEPARTMENT_ID) {
|
||||
requestFN(
|
||||
'/user/listAll',
|
||||
{
|
||||
DEPARTMENT_ID: DEPARTMENT_ID
|
||||
}
|
||||
).then((data) => {
|
||||
this.userList = data.userList
|
||||
}).catch((e) => {
|
||||
})
|
||||
},
|
||||
dialogEditUserConfirm() {
|
||||
this.$refs.firefightingBatchEditDept.validate((valid) => {
|
||||
if (valid) {
|
||||
this.listLoading = true
|
||||
requestFN(
|
||||
'/firePoint/batchEditFirePointUser',
|
||||
{
|
||||
DATA_IDS: this.editDataIds.join(','),
|
||||
USER_ID: this.dialogEditUserForm.USER_ID
|
||||
}
|
||||
).then(() => {
|
||||
this.$message({
|
||||
message: '修改成功',
|
||||
type: 'success'
|
||||
})
|
||||
this.dialogEditUser = false
|
||||
this.getList()
|
||||
}).catch(() => {})
|
||||
}
|
||||
})
|
||||
},
|
||||
handleDelete(row) {
|
||||
const DATA_IDS = []
|
||||
if (row.FIRE_POINT_ID) {
|
||||
|
@ -276,6 +414,19 @@ export default {
|
|||
})
|
||||
return
|
||||
}
|
||||
var flag = true
|
||||
selection.forEach(item => {
|
||||
if (item.DEVICE_COUNT > 0) {
|
||||
flag = false
|
||||
}
|
||||
})
|
||||
if (!flag) {
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: '选择的点位中有子数据,不能删除'
|
||||
})
|
||||
return
|
||||
}
|
||||
selection.forEach(item => {
|
||||
DATA_IDS.push(item.FIRE_POINT_ID)
|
||||
})
|
||||
|
|
|
@ -42,6 +42,14 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="检查照片上传方式:" prop="PHOTO_UPLOAD_METHOD">
|
||||
<el-radio v-model="form.PHOTO_UPLOAD_METHOD" label="1">相机照相</el-radio>
|
||||
<el-radio v-model="form.PHOTO_UPLOAD_METHOD" label="2">相册获取</el-radio>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="ui-foot">
|
||||
|
@ -73,7 +81,8 @@ export default {
|
|||
FIRE_REGION_ID: '',
|
||||
DEPARTMENT_ID: '',
|
||||
REMAKE: '',
|
||||
FIRE_REGION_CODE: ''
|
||||
FIRE_REGION_CODE: '',
|
||||
PHOTO_UPLOAD_METHOD: '1' // 1相机 2相册 默认为相机
|
||||
},
|
||||
riskForm: {},
|
||||
KEYWORDS: '',
|
||||
|
@ -95,7 +104,8 @@ export default {
|
|||
rules: {
|
||||
FIRE_REGION_NAME: [{ required: true, message: '消防区域不为空', trigger: 'blur' }],
|
||||
DEPARTMENT_ID: [{ required: true, message: '负责部门不为空', trigger: 'blur' }],
|
||||
FIRE_REGION_CODE: [{ required: true, message: '区域编码不为空', trigger: 'blur' }]
|
||||
FIRE_REGION_CODE: [{ required: true, message: '区域编码不为空', trigger: 'blur' }],
|
||||
PHOTO_UPLOAD_METHOD: [{ required: true, message: '区域编码不为空', trigger: 'blur' }]
|
||||
},
|
||||
formLabelWidth: '120px',
|
||||
OTHERLEVELID: '',
|
||||
|
@ -139,7 +149,8 @@ export default {
|
|||
FIRE_REGION_CODE: this.form.FIRE_REGION_CODE,
|
||||
DEPARTMENT_ID: this.form.DEPARTMENT_ID,
|
||||
DEPARTMENT_ID_OLD: this.DEPARTMENT_ID_OLD,
|
||||
REMAKE: this.form.REMAKE
|
||||
REMAKE: this.form.REMAKE,
|
||||
PHOTO_UPLOAD_METHOD: this.form.PHOTO_UPLOAD_METHOD
|
||||
}
|
||||
).then((data) => {
|
||||
if (data.code != 0) {
|
||||
|
@ -186,6 +197,7 @@ export default {
|
|||
this.DEPARTMENT_ID_OLD = data.res.DEPARTMENT_ID
|
||||
this.form.FIRE_REGION_ID = data.res.FIRE_REGION_ID
|
||||
this.form.REMAKE = data.res.REMAKE
|
||||
this.form.PHOTO_UPLOAD_METHOD = data.res.PHOTO_UPLOAD_METHOD.toString()
|
||||
this.dialogFormVisible = false
|
||||
}).catch((e) => {
|
||||
this.dialogFormVisible = false
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
<div>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
|
||||
<el-button type="danger" icon="el-icon-plus" @click="handelDelete">批量删除</el-button>
|
||||
<el-button type="info" icon="el-icon-plus" @click="handelEditDept">批量修改负责部门</el-button>
|
||||
</div>
|
||||
<pagination
|
||||
:total="total"
|
||||
|
@ -89,7 +90,30 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<el-dialog v-loading ="listLoading" :visible.sync="dialogEditDept" title="批量修改负责部门" width="800px">
|
||||
<el-form ref="firefightingBatchEditDept" :model="form" :rules="rule" label-width="150px">
|
||||
<el-row>
|
||||
<el-form-item label="负责部门" prop="DEPARTMENT_ID">
|
||||
<SelectTree
|
||||
v-if="deptTreeData.length !== 0"
|
||||
ref="deptTree_Select"
|
||||
:key="form.DEPARTMENT_ID"
|
||||
:clearable="false"
|
||||
:options="deptTreeData"
|
||||
:props="defaultProps"
|
||||
v-model="form.DEPARTMENT_ID"
|
||||
style="width: 80%;"
|
||||
placeholder="请选择部门"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="dialogEditDept = false">取 消</el-button>
|
||||
<el-button type="primary" @click="dialogEditDeptConfirm">确 定</el-button>
|
||||
</div>
|
||||
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -128,7 +152,16 @@ export default {
|
|||
value: 'id',
|
||||
children: 'nodes',
|
||||
label: 'name'
|
||||
}
|
||||
},
|
||||
dialogEditDept: false,
|
||||
form: {
|
||||
DEPARTMENT_ID: ''
|
||||
},
|
||||
rule: {
|
||||
DEPARTMENT_ID: [{ required: true, message: '负责部门不能为空', trigger: 'blur' }]
|
||||
},
|
||||
deptTreeData: [],
|
||||
editDataIds: []
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -141,6 +174,7 @@ export default {
|
|||
this.getList()
|
||||
this.hasButton()
|
||||
this.getTreeList()
|
||||
this.getTreeData()
|
||||
},
|
||||
methods: {
|
||||
filterNode(value, data) {
|
||||
|
@ -162,6 +196,16 @@ export default {
|
|||
this.$parent.FIRE_REGION_NAME = FIRE_REGION_ID
|
||||
this.$parent.activeName = 'Subset'
|
||||
},
|
||||
// 部门列表树
|
||||
getTreeData() {
|
||||
requestFN(
|
||||
'/department/listTreeV2',
|
||||
{}
|
||||
).then((data) => {
|
||||
this.deptTreeData = JSON.parse(data.zTreeNodes)
|
||||
}).catch((e) => {
|
||||
})
|
||||
},
|
||||
handleClose(FIRE_REGION_ID, name) {
|
||||
this.$confirm('确定要禁用[' + name + ']吗?', {
|
||||
confirmButtonText: '确定',
|
||||
|
@ -224,7 +268,58 @@ export default {
|
|||
return row.FIRE_REGION_ID
|
||||
},
|
||||
selectable(row, index) {
|
||||
return row.ITEMCOUNT == 0
|
||||
// return row.ITEMCOUNT == 0
|
||||
return true
|
||||
},
|
||||
// 批量修改负责部门
|
||||
handelEditDept(row) {
|
||||
this.editDataIds = []
|
||||
if (row.FIRE_REGION_ID) {
|
||||
this.editDataIds.push(row.FIRE_REGION_ID)
|
||||
} else {
|
||||
const selection = this.$refs.multipleTable.selection
|
||||
if (!selection.length > 0) {
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: '请选择要修改负责部门的数据'
|
||||
})
|
||||
return
|
||||
}
|
||||
selection.forEach(item => {
|
||||
this.editDataIds.push(item.FIRE_REGION_ID)
|
||||
})
|
||||
}
|
||||
this.dialogEditDept = true
|
||||
this.form = {
|
||||
DEPARTMENT_ID: ''
|
||||
}
|
||||
},
|
||||
dialogEditDeptConfirm() {
|
||||
this.$refs.firefightingBatchEditDept.validate((valid) => {
|
||||
if (valid) {
|
||||
this.listLoading = true
|
||||
requestFN(
|
||||
'/fireregion/batchEditDeptByIds',
|
||||
{
|
||||
DATA_IDS: this.editDataIds.join(','),
|
||||
DEPARTMENT_ID: this.form.DEPARTMENT_ID
|
||||
}
|
||||
).then((data) => {
|
||||
this.$message({
|
||||
message: data.msg,
|
||||
type: 'success'
|
||||
})
|
||||
this.$refs.multipleTable.clearSelection()
|
||||
this.listLoading = false
|
||||
this.dialogEditDept = false
|
||||
this.varList = []
|
||||
this.listQuery.page = 1
|
||||
this.getList()
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
// 批量删除
|
||||
handelDelete(row) {
|
||||
|
@ -240,6 +335,19 @@ export default {
|
|||
})
|
||||
return
|
||||
}
|
||||
var isFlag = true
|
||||
selection.forEach(item => {
|
||||
if (item.ITEMCOUNT > 0) {
|
||||
isFlag = false
|
||||
}
|
||||
})
|
||||
if (!isFlag) {
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: '选择区域中存在下级数据,不能删除'
|
||||
})
|
||||
return
|
||||
}
|
||||
selection.forEach(item => {
|
||||
DATA_IDS.push(item.FIRE_REGION_ID)
|
||||
})
|
||||
|
|
|
@ -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 // 图片
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
<div class="app-container">
|
||||
<el-form ref="searchForm" :model="searchForm" label-width="80px">
|
||||
<el-row>
|
||||
<el-col span="6">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="作业编号" prop="keySource">
|
||||
<el-input v-model="searchForm.keyJobNumber" placeholder="请输入作业编号" class="filter-item" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col span="6">
|
||||
<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" />
|
||||
|
@ -94,7 +94,8 @@
|
|||
<!-- <el-button :disabled="row.STATE !='11'" type="primary" icon="el-icon-document" size="mini" @click="goDetail(row.HOTWORKAPPLICATION_ID,'apply')">申请</el-button>-->
|
||||
<!-- <el-button :disabled="row.STATE !='-2'" type="primary" icon="el-icon-document" size="mini" @click="goDetail(row.HOTWORKAPPLICATION_ID,'repulse')">打回</el-button>-->
|
||||
<el-button icon="el-icon-view" size="mini" @click="goInfo(row.HOTWORKAPPLICATION_ID,'see')">查看</el-button>
|
||||
<el-button v-if="row.STATE=='-6' && row.CREATOR == loginUserID" type="danger" icon="el-icon-delete" plain @click="batchDel(row.HOTWORKAPPLICATION_ID)">删除</el-button>
|
||||
<!--<el-button v-if="row.STATE=='-6' && row.CREATOR == loginUserID" type="danger" icon="el-icon-delete" plain @click="batchDel(row.HOTWORKAPPLICATION_ID)">删除</el-button>-->
|
||||
<el-button v-if="(row.CREATOR == loginUserID || loginUserID == '1' || loginRoleNumber == 'R20201225624685') && row.STATE != 11" type="danger" icon="el-icon-delete" plain @click="batchDel(row.HOTWORKAPPLICATION_ID)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -204,7 +205,8 @@ export default {
|
|||
HOT_WORK_POSITION: '',
|
||||
UNIT_LEADER_DEPARTMENT_ID: ''
|
||||
},
|
||||
loginUserID: ''
|
||||
loginUserID: '',
|
||||
loginRoleNumber: JSON.parse(sessionStorage.getItem('user')).RNUMBER
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -335,7 +337,8 @@ export default {
|
|||
requestFN(
|
||||
'/hotworkapplication/delete',
|
||||
{
|
||||
HOTWORKAPPLICATION_ID: id
|
||||
HOTWORKAPPLICATION_ID: id,
|
||||
loginUserId: this.loginUserID
|
||||
}
|
||||
).then(() => {
|
||||
this.$message({
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<tr :key="index">
|
||||
<td class="bbg">分析结果/%</td>
|
||||
<td>{{ item.ANALYZE_RESULT }}</td>
|
||||
<td class="bbg">分析人</td>
|
||||
<td class="bbg">气体分析单位负责人</td>
|
||||
<td>{{ item.ANALYZE_USER }}</td>
|
||||
</tr>
|
||||
</template>
|
||||
|
@ -167,7 +167,7 @@
|
|||
</tr>
|
||||
<tr v-if="pd.LEADER_USER_SIGNER_PATH">
|
||||
<td colspan="6">
|
||||
<div>所在单位意见:{{ pd.LEADER_CONTENT }}</div>
|
||||
<div>属地监管单位意见:{{ pd.LEADER_CONTENT }}</div>
|
||||
<div style="text-align: right">
|
||||
<span>签字:</span>
|
||||
<img v-viewer :src="config.fileUrl + pd.LEADER_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
<el-table-column prop="CHECK_NO" label="编号" />
|
||||
<el-table-column prop="WORK_LEVEL" label="作业级别" />
|
||||
<el-table-column prop="APPLY_USER_NAME" label="申请人" />
|
||||
<el-table-column prop="ANALYZE_USER_NAME" label="分析人" />
|
||||
<el-table-column prop="ANALYZE_USER_NAME" label="气体分析单位负责人" />
|
||||
<el-table-column prop="CONFIRM_USER_NAME" label="作业负责人" />
|
||||
<el-table-column prop="LEADER_USER_NAME" label="所在单位负责人" />
|
||||
<el-table-column prop="LEADER_USER_NAME" label="属地监管单位负责人" />
|
||||
<el-table-column prop="AUDIT_USER_NAME" label="安全管理部门负责人" show-overflow-tooltip >
|
||||
<template slot-scope="{row}">
|
||||
{{ row.AUDIT_USER_NAME || ' 已跳过' }}
|
||||
|
@ -51,14 +51,14 @@
|
|||
<template slot-scope="{row}">
|
||||
<span v-if="row.APPLY_STATUS==0">动火作业待提交</span>
|
||||
<span v-else-if="row.APPLY_STATUS==1">作业负责人待审核</span>
|
||||
<span v-else-if="row.APPLY_STATUS==2">所在单位待审核</span>
|
||||
<span v-else-if="row.APPLY_STATUS==2">属地监管单位待审核</span>
|
||||
<span v-else-if="row.APPLY_STATUS==4">安全管理部门待审核</span>
|
||||
<span v-else-if="row.APPLY_STATUS==5">动火审批人待审核</span>
|
||||
<span v-else-if="row.APPLY_STATUS==6">班长待验票</span>
|
||||
<span v-else-if="row.APPLY_STATUS==7">待验收</span>
|
||||
<span v-else-if="row.APPLY_STATUS==8">验收归档</span>
|
||||
<span v-else-if="row.APPLY_STATUS==-2">作业负责人审核打回</span>
|
||||
<span v-else-if="row.APPLY_STATUS==-4">所在单位审核打回</span>
|
||||
<span v-else-if="row.APPLY_STATUS==-4">属地监管单位审核打回</span>
|
||||
<span v-else-if="row.APPLY_STATUS==-5">安全管理部门审核打回</span>
|
||||
<span v-else-if="row.APPLY_STATUS==-6">动火审批人审核打回</span>
|
||||
<span v-else-if="row.APPLY_STATUS==-7">班长验票打回</span>
|
||||
|
@ -67,18 +67,16 @@
|
|||
<span v-else-if="row.APPLY_STATUS==-98">已作废(未进行气体检测)</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="230">
|
||||
<el-table-column label="操作" align="center" width="350">
|
||||
<template slot-scope="{row}">
|
||||
<el-button v-if="(row.APPLY_USER_ID == loginUserID || loginUserID == '1' || loginRoleNumber == 'R20201225624685') && row.APPLY_STATUS != 8" type="danger" icon="el-icon-delete" @click="handleDelete(row)">删除</el-button>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="goChart(row)">流程图</el-button>
|
||||
<el-button type="primary" icon="el-icon-document" size="mini" @click="goDetail(row.HOTWORK_ID)">审批表详情</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="page-btn-group">
|
||||
<div>
|
||||
<!-- <el-button v-show="add" type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>-->
|
||||
<!-- <el-button v-show="del" type="danger" icon="el-icon-delete" plain @click="batchDel">删除</el-button>-->
|
||||
</div>
|
||||
<div/>
|
||||
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
||||
</div>
|
||||
<el-dialog :visible.sync="dialogFormShow " :title="dialogType==='add'?'查看流程图':'新增'" width="1550px">
|
||||
|
@ -96,7 +94,7 @@
|
|||
<div>{{ pd.CONFIRM_USER_SIGNER_TIME }}</div>
|
||||
</template>
|
||||
</el-step>
|
||||
<el-step title="所在单位意见">
|
||||
<el-step title="属地监管单位意见">
|
||||
<template slot="description">
|
||||
<div>{{ pd.LEADER_USER_NAME }}</div>
|
||||
<div>{{ pd.LEADER_USER_SIGNER_TIME }}</div>
|
||||
|
@ -146,14 +144,14 @@
|
|||
监护人:{{ pd.GUARDIAN_USER_NAME }}未签字
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="pd.CONFESS_USER_SIGNER_TIME">
|
||||
<div v-if="pd.confessStatus === '1'">
|
||||
<div style="color: #13ce66">
|
||||
安全交底人:{{ pd.CONFESS_USER_NAME }}已签字
|
||||
安全交底人:{{ pd.confessUserNames }}已签字
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="!pd.CONFESS_USER_SIGNER_TIME">
|
||||
<div v-if="pd.confessStatus !== '1'">
|
||||
<div style="color: red">
|
||||
安全交底人:{{ pd.CONFESS_USER_NAME }}未签字
|
||||
安全交底人:{{ pd.confessUserNames }}未全部签字
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="pd.ACCEPT_CONFESS_USER_SIGNER_TIME">
|
||||
|
@ -168,7 +166,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<!-- <el-button @click="dialogFormShow = false">取 消</el-button>-->
|
||||
<el-button type="primary" @click="dialogFormShow = false">确 定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
@ -212,14 +209,14 @@ export default {
|
|||
{ ID: '', NAME: '请选择' },
|
||||
{ ID: '0', NAME: '动火作业待提交' },
|
||||
{ ID: '1', NAME: '作业负责人待审核' },
|
||||
{ ID: '2', NAME: '所在单位待审核' },
|
||||
{ ID: '2', NAME: '属地监管单位待审核' },
|
||||
{ ID: '4', NAME: '安全管理部门待审核' },
|
||||
{ ID: '5', NAME: '动火审批人待审核' },
|
||||
{ ID: '6', NAME: '班长待验票' },
|
||||
{ ID: '7', NAME: '待验收' },
|
||||
{ ID: '8', NAME: '验收归档' },
|
||||
{ ID: '-2', NAME: '作业负责人审核打回' },
|
||||
{ ID: '-4', NAME: '所在单位审核打回' },
|
||||
{ ID: '-4', NAME: '属地监管单位审核打回' },
|
||||
{ ID: '-5', NAME: '安全管理部门审核打回' },
|
||||
{ ID: '-6', NAME: '动火审批人审核打回' },
|
||||
{ ID: '-7', NAME: '班长验票打回' },
|
||||
|
@ -228,10 +225,13 @@ export default {
|
|||
{ ID: '-98', NAME: '已作废(未进行气体检测)' }
|
||||
],
|
||||
STATUS: '',
|
||||
DEPTIDS: ''
|
||||
DEPTIDS: '',
|
||||
loginUserID: '',
|
||||
loginRoleNumber: JSON.parse(sessionStorage.getItem('user')).RNUMBER
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getEditMyInfo()
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
|
@ -266,6 +266,17 @@ export default {
|
|||
this.listLoading = false
|
||||
})
|
||||
},
|
||||
// 获取登录人信息
|
||||
getEditMyInfo() {
|
||||
requestFN(
|
||||
'/user/goEditMyInfo',
|
||||
{}
|
||||
).then((data) => {
|
||||
this.loginUserID = data.pd.USER_ID // 主职角色ID
|
||||
}).catch((e) => {
|
||||
|
||||
})
|
||||
},
|
||||
// 判断按钮权限,用于是否显示按钮
|
||||
hasButton() {
|
||||
var keys = 'hotwork:add,hotwork:del,hotwork:edit,toExcel'
|
||||
|
@ -337,7 +348,7 @@ export default {
|
|||
}
|
||||
if (this.pd.APPLY_STATUS == '-4') {
|
||||
obj = {
|
||||
title: '所在单位审核打回',
|
||||
title: '属地监管单位审核打回',
|
||||
USER_NAME: this.pd.LEADER_USER_NAME,
|
||||
OPERATTIME: this.pd.OPERATTIME
|
||||
}
|
||||
|
@ -394,6 +405,37 @@ export default {
|
|||
goDetail(id) {
|
||||
this.$parent.activeName = 'Detail'
|
||||
this.$parent.HOTWORK_ID = id
|
||||
},
|
||||
handleDelete(row) {
|
||||
if ((+row.APPLY_STATUS) >= 7) {
|
||||
this.$message({
|
||||
message: '数据已到验收阶段,暂不支持删除',
|
||||
type: 'error'
|
||||
})
|
||||
} else {
|
||||
this.$confirm('是否确定删除此条数据', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = true
|
||||
requestFN(
|
||||
'/hotwork/cfd/deleteInFlow', { HOTWORK_ID: row.HOTWORK_ID }
|
||||
).then((data) => {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '删除成功!'
|
||||
})
|
||||
// this.$message.error('删除成功')
|
||||
this.listLoading = false
|
||||
this.getList()
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
}).catch(() => {
|
||||
this.$message({ type: 'info', message: '已取消删除' })
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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' && isDeleteDisplay) || ( isDeleteDisplay && pd.INSPECTION_STATUS =='2' )" type="danger" icon="el-icon-view" size="mini" @click="goDelete(item)">删除</el-button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -144,8 +145,8 @@
|
|||
:preview-src-list="new Array(config.fileUrl + pd.INSPECTED_SITEUSER_SIGN_IMG)"
|
||||
style="width: 100px; height: 100px"/>
|
||||
</td>
|
||||
<td class="tbg">确认时间:</td>
|
||||
<td>{{ pd.INSPECTED_SITEUSER_SIGN_TIME }}</td>
|
||||
<!--<td class="tbg">确认时间:</td>-->
|
||||
<!--<td>{{ pd.INSPECTED_SITEUSER_SIGN_TIME }}</td>-->
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -218,8 +219,11 @@ export default {
|
|||
INSPECTION_STATUS: '', // 状态(0.暂存 1.检查人待确认、2.被检查人待确认、3.归档 -1.检查人异议打回 -2被检查人申辩)
|
||||
CREATTIME: '',
|
||||
situationList: [''], // 检查情况
|
||||
hiddenList: [] // 隐患信息集合
|
||||
}
|
||||
hiddenList: [], // 隐患信息集合,
|
||||
INSPECTION_USER_ID: '' // 检查人ID数组
|
||||
},
|
||||
isDeleteDisplay: false,
|
||||
loginUserId: JSON.parse(sessionStorage.getItem('user')).USER_ID
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -250,6 +254,14 @@ export default {
|
|||
this.$set(item.hiddenVideos[0], 'IMGFILEPATH', this.findvideocover(item.hiddenVideos[0]))
|
||||
}
|
||||
})
|
||||
// 判断登录人是否为检查人员,并判断是否能删除
|
||||
if (this.pd.INSPECTION_USER_ID != null && this.pd.INSPECTION_USER_ID != '') {
|
||||
this.pd.INSPECTION_USER_ID.split(',').forEach(item => {
|
||||
if (item == this.loginUserId) {
|
||||
this.isDeleteDisplay = true
|
||||
}
|
||||
})
|
||||
}
|
||||
this.listLoading = false
|
||||
console.info(this.pd)
|
||||
resolve()
|
||||
|
@ -308,6 +320,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'
|
||||
|
|
|
@ -182,8 +182,8 @@
|
|||
:preview-src-list="new Array(config.fileUrl + pd.INSPECTED_SITEUSER_SIGN_IMG)"
|
||||
style="width: 100px; height: 100px"/>
|
||||
</td>
|
||||
<td class="tbg">确认时间:</td>
|
||||
<td>{{ pd.INSPECTED_SITEUSER_SIGN_TIME }}</td>
|
||||
<!--<td class="tbg">确认时间:</td>-->
|
||||
<!--<td>{{ pd.INSPECTED_SITEUSER_SIGN_TIME }}</td>-->
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<!-- </div>-->
|
||||
<div v-if="dialogData.TYPE === '1'" class="hairdresser">
|
||||
<div class="promiser">发状人:{{ dialogData.COVERPEOPLE }}</div>
|
||||
<div class="time">{{ moment(dialogData.CREATTIME) }}</div>
|
||||
<!-- <div class="time">{{ moment(dialogData.CREATTIME) }}</div>-->
|
||||
</div>
|
||||
<div class="respondent">
|
||||
<div class="promiser">
|
||||
|
@ -45,9 +45,9 @@
|
|||
</span>
|
||||
<img v-if="dialogData.FILEPATH" :src="config.fileUrl + dialogData.FILEPATH" alt="">
|
||||
</div>
|
||||
<div :style="{marginLeft: dialogData.TYPE === '0' ? '125px' : '65px'}" class="time">
|
||||
{{ moment(dialogData.SIGNTIME) }}
|
||||
</div>
|
||||
<!-- <div :style="{marginLeft: dialogData.TYPE === '0' ? '125px' : '65px'}" class="time">-->
|
||||
<!--<!– {{ moment(dialogData.SIGNTIME) }}–>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="menu.limitFlag === '1' && form.STATUS === '1'" :span="12">
|
||||
<el-form-item prop="LIMIT_END_TIME" label="培训有效期结束时间:" >
|
||||
<el-form-item prop="LIMIT_END_TIME" label="培训有效期结束时间:">
|
||||
<el-date-picker v-model="form.LIMIT_END_TIME" value-format="yyyy-MM-dd" type="date" placeholder="选择日期" style="width:300px "/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
|
@ -263,18 +263,38 @@
|
|||
<td style="width: 180px">{{ item.SPECIAL_TYPE_NAME }}</td>
|
||||
<th style="width: 150px">操作项目</th>
|
||||
<td>{{ item.OPERATION_TYPE_NAME }}</td>
|
||||
<th style="width: 100px">证书照片</th>
|
||||
<td>
|
||||
<span>
|
||||
<div class="img-flex">
|
||||
<viewer>
|
||||
<img
|
||||
:src="config.fileUrl + item.FILEPATH"
|
||||
width="40"
|
||||
height="40"
|
||||
style="object-fit: cover;">
|
||||
<img
|
||||
v-if="item.FILEPATH_BACK"
|
||||
:src="config.fileUrl + item.FILEPATH_BACK"
|
||||
width="40"
|
||||
height="40"
|
||||
style="object-fit: cover;">
|
||||
</viewer>
|
||||
</div>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>特种作业证书编号</th>
|
||||
<td>{{ item.SPECIAL_NUMBER }}</td>
|
||||
<th>发证机关</th>
|
||||
<td colspan="3">{{ item.ISSUING_AUTHORITY }}</td>
|
||||
<td colspan="5">{{ item.ISSUING_AUTHORITY }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>复审时间</th>
|
||||
<td>{{ item.REVIEW_TIME }}</td>
|
||||
<th>有效期</th>
|
||||
<td colspan="3">{{ item.VALIDITY_TIME_START }} 至 {{ item.VALIDITY_TIME_END }}</td>
|
||||
<td colspan="5">{{ item.VALIDITY_TIME_START }} 至 {{ item.VALIDITY_TIME_END }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div v-if="applyList.length > 0" class="level-title mt-20">
|
||||
|
|
|
@ -419,11 +419,6 @@ export default {
|
|||
).then((data) => {
|
||||
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
|
||||
this.treeData = this.removeEmptyChildren(treeData)
|
||||
this.treeData.push({
|
||||
id: '0',
|
||||
name: '无',
|
||||
nodes: []
|
||||
})
|
||||
}).catch((e) => {
|
||||
})
|
||||
},
|
||||
|
|
|
@ -539,11 +539,6 @@ export default {
|
|||
).then((data) => {
|
||||
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
|
||||
this.treeData = this.removeEmptyChildren(treeData)
|
||||
this.treeData.push({
|
||||
id: '0',
|
||||
name: '无',
|
||||
nodes: []
|
||||
})
|
||||
console.log(this.treeData)
|
||||
}).catch((e) => {
|
||||
})
|
||||
|
|
|
@ -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>
|
||||
|
@ -365,6 +403,7 @@
|
|||
本日应检查
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单待检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待检查
|
||||
|
@ -373,6 +412,8 @@
|
|||
{{listCountDay.denominator-listCountDay.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已检查
|
||||
|
@ -381,6 +422,8 @@
|
|||
{{listCountDay.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量/(本周期隐患排查清单待检查数量+本周期隐患排查清单已检查数量)" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
本日完成率
|
||||
|
@ -390,6 +433,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="task-item">
|
||||
<div class="task-textsp">
|
||||
|
@ -400,6 +444,7 @@
|
|||
本周应检查
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单待检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待检查
|
||||
|
@ -408,6 +453,8 @@
|
|||
{{listCountWeek.denominator-listCountWeek.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已检查
|
||||
|
@ -416,6 +463,8 @@
|
|||
{{listCountWeek.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量/(本周期隐患排查清单待检查数量+本周期隐患排查清单已检查数量)" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
本周完成率
|
||||
|
@ -425,6 +474,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="task-item">
|
||||
<div class="task-textsp">
|
||||
|
@ -435,6 +485,7 @@
|
|||
本旬应检查
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单待检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待检查
|
||||
|
@ -443,6 +494,8 @@
|
|||
{{listCountXun.denominator-listCountXun.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已检查
|
||||
|
@ -451,6 +504,8 @@
|
|||
{{listCountXun.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量/(本周期隐患排查清单待检查数量+本周期隐患排查清单已检查数量)" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
本旬完成率
|
||||
|
@ -460,6 +515,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swiper-slide">
|
||||
|
@ -472,6 +528,7 @@
|
|||
本月应检查
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单待检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待检查
|
||||
|
@ -480,6 +537,8 @@
|
|||
{{listCountMonth.denominator-listCountMonth.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已检查
|
||||
|
@ -488,6 +547,8 @@
|
|||
{{listCountMonth.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量/(本周期隐患排查清单待检查数量+本周期隐患排查清单已检查数量)" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
本月完成率
|
||||
|
@ -497,6 +558,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="task-item">
|
||||
<div class="task-textsp">
|
||||
|
@ -507,6 +569,7 @@
|
|||
本季应检查
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单待检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待检查
|
||||
|
@ -515,6 +578,8 @@
|
|||
{{listCountQuarter.denominator-listCountQuarter.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已处理
|
||||
|
@ -523,6 +588,8 @@
|
|||
{{listCountQuarter.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量/(本周期隐患排查清单待检查数量+本周期隐患排查清单已检查数量)" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
本季完成率
|
||||
|
@ -532,6 +599,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="task-item">
|
||||
<div class="task-textsp">
|
||||
|
@ -542,6 +610,7 @@
|
|||
本年应检查
|
||||
</div>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单待检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
待检查
|
||||
|
@ -550,6 +619,8 @@
|
|||
{{listCountYear.denominator-listCountYear.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
已检查
|
||||
|
@ -558,6 +629,8 @@
|
|||
{{listCountYear.molecule}}
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="本周期隐患排查清单已检查数量/(本周期隐患排查清单待检查数量+本周期隐患排查清单已检查数量)" placement="top">
|
||||
<div class="task-text">
|
||||
<div class="title">
|
||||
本年完成率
|
||||
|
@ -567,6 +640,7 @@
|
|||
<span class="f14">%</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue