督办提醒

master
lion 2 years ago
parent 67558e1a32
commit bd3e13f67c

@ -386,6 +386,10 @@
// this.$refs.dialog.submit() // this.$refs.dialog.submit()
// return // return
if(this.type==='audit'){ if(this.type==='audit'){
if(!this.audit_status_before){
this.$Message.warning("请选择审核状态")
return
}
this.form.audit_status=this.audit_status_before this.form.audit_status=this.audit_status_before
} }
console.log("form", this.form) console.log("form", this.form)

@ -87,10 +87,10 @@
this.form.title = `"${e.name}"任务请及时处理(安全生产管理平台)` this.form.title = `"${e.name}"任务请及时处理(安全生产管理平台)`
this.form.mission_id = e.id this.form.mission_id = e.id
e.mission_distribute.map(item=>{ e.mission_distribute.map(item=>{
if(item.admin_type>1){ // if(item.admin_type>1){
arr.push(item.accept_admin_id) arr.push(item.accept_admin_id)
Arr.push(item) Arr.push(item)
} // }
}) })
// this.checkList = arr // this.checkList = arr
this.checkArr = Arr this.checkArr = Arr

@ -45,7 +45,7 @@
<el-table-column align='center' label="操作" width="200" header-align="center"> <el-table-column align='center' label="操作" width="200" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.audit_status==0"> <div v-if="scope.row.audit_status==0">
<Button v-if="stateObj.is_leader" type="primary" style='margin-right:5px;margin-bottom:5px;' size="small" <Button v-if="stateObj.is_leader || stateObj.is_guiji" type="primary" style='margin-right:5px;margin-bottom:5px;' size="small"
@click="auditPlan(scope.row,'audit')">审核任务</Button> @click="auditPlan(scope.row,'audit')">审核任务</Button>
<div v-else></div> <div v-else></div>
</div> </div>

@ -61,6 +61,13 @@
<el-table-column align='center' fixed="right" label="操作" width="100" header-align="center"> <el-table-column align='center' fixed="right" label="操作" width="100" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="path_type!=5"> <template v-if="path_type!=5">
<div>
</div>
<div v-if="scope.row.notices.length==0 && !(scope.row.audit_status==3||scope.row.audit_status==5) && (scope.row.main_admin_id==stateObj.login_id || stateObj.is_guiji)">
<Button style='margin-right:5px;margin-bottom:5px;' type="primary" size="small"
@click="sendNotice(scope.row)">督办提醒</Button>
</div>
<div> <div>
<Button type="primary" style='margin-right:5px;margin-bottom:5px;' size="small" <Button type="primary" style='margin-right:5px;margin-bottom:5px;' size="small"
@click="checkUnits(scope.row.id,'show')">查看任务</Button> @click="checkUnits(scope.row.id,'show')">查看任务</Button>
@ -77,7 +84,7 @@
<!-- 任务发给部门的科长责任人都能进行任务分解任务转办执行任务的操作 --> <!-- 任务发给部门的科长责任人都能进行任务分解任务转办执行任务的操作 -->
<!-- 责任人 督办提醒 只提醒一次 任务未完成 --> <!-- 责任人 督办提醒 只提醒一次 任务未完成 -->
<div v-if="scope.row.notices.length==0 && !(scope.row.audit_status==3||scope.row.audit_status==5) && scope.row.main_admin_id==stateObj.login_id"> <div v-if=" scope.row.notices.length==0 && !(scope.row.audit_status==3||scope.row.audit_status==5) && (scope.row.main_admin_id==stateObj.login_id || stateObj.is_guiji)">
<Button style='margin-right:5px;margin-bottom:5px;' type="primary" size="small" <Button style='margin-right:5px;margin-bottom:5px;' type="primary" size="small"
@click="sendNotice(scope.row)">督办提醒</Button> @click="sendNotice(scope.row)">督办提醒</Button>
</div> </div>

@ -25,7 +25,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath * Detail: https://cli.vuejs.org/config/#publicpath
*/ */
publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin', publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin',
outputDir: '/Users/mac/Documents/朗业/2024/h-河道处项目/a-安全生产/safety-manage-service/public/admin_test', outputDir: '/Users/mac/Documents/朗业/2024/h-河道处项目/a-安全生产/safety-manage-service/public/admin',
assetsDir: 'static', assetsDir: 'static',
lintOnSave: process.env.NODE_ENV === 'development', lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false, productionSourceMap: false,

Loading…
Cancel
Save