master
lion 9 months ago
parent 2aafae3d31
commit 6772b79c08

@ -231,7 +231,12 @@
</template>
<template v-slot:btns>
<el-table-column align='center' label="操作" width="120" header-align="center">
<template slot-scope="scope">
<template slot-scope="scope">
<!-- 执行中 待执行的 有督办 -->
<div v-if="(scope.row.carry_status==1 || scope.row.carry_status===0) && (showform.main_admin_id==stateObj.login_id || stateObj.is_guiji)">
<Button @click="sendNotice(scope.row)" type="primary"
size="small">督办提醒</Button>
</div>
<div v-if="scope.row.carry_status==1 && (showform.main_admin_id==stateObj.login_id || stateObj.is_guiji)">
<Button v-if="scope.row.keep_status===1" @click="startLoad(scope.row,'check')" type="primary"
size="small">审核进展</Button>
@ -387,7 +392,9 @@
<!-- <checkUnit ref="checkUnit"></checkUnit> -->
<showLogs ref="showLogs"></showLogs>
<addBackPlan ref="addBackPlan" @reload="getDetail" @reloadList="reloadList"></addBackPlan>
<viewFile ref='viewFile'></viewFile>
<viewFile ref='viewFile'></viewFile>
<!-- 督办提醒 -->
<sendNotice ref="sendNotice"></sendNotice>
</div>
</template>
@ -401,7 +408,8 @@
updatemission
} from "@/api/task/unit.js";
import addUnit from '../components/addUnit.vue'
import openLoad from '../components/openLoad.vue'
import openLoad from '../components/openLoad.vue'
import sendNotice from '../components/sendNotice.vue'
import {
save as saveLog
} from "@/api/system/baseForm.js"
@ -424,7 +432,8 @@
addUnit,
showLogs,
openLoad,
addBackPlan
addBackPlan,
sendNotice
},
data() {
return {
@ -552,6 +561,15 @@
},
reloadList() {
this.$emit("refresh")
},
//
sendNotice(row){
this.$refs.sendNotice.setForm({
name:this.showform.name,
id:this.showform.id,
mission_distribute:[row]
})
this.$refs.sendNotice.isShow = true
},
// sendidid
carryTypeWhat(e) {

@ -92,7 +92,7 @@
Arr.push(item)
// }
})
// this.checkList = arr
this.checkList = arr
this.checkArr = Arr
}
},

@ -65,10 +65,10 @@
</div>
<!-- scope.row.notices.length==0 && -->
<div v-if="!(scope.row.audit_status==3||scope.row.audit_status==5) && (scope.row.main_admin_id==stateObj.login_id || stateObj.is_guiji)">
<!-- <div v-if="!(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"
@click="checkUnits(scope.row.id,'show')">查看任务</Button>
@ -85,10 +85,10 @@
<!-- 任务发给部门的科长责任人都能进行任务分解任务转办执行任务的操作 -->
<!-- 责任人 督办提醒 只提醒一次 任务未完成 scope.row.notices.length==0 && -->
<div v-if="!(scope.row.audit_status==3||scope.row.audit_status==5) && (scope.row.main_admin_id==stateObj.login_id || stateObj.is_guiji)">
<!-- <div v-if="!(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 style='margin-right:5px;margin-bottom:5px;' type="primary" size="small"
@click="checkUnits(scope.row.id,'show')">查看任务</Button>

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

Loading…
Cancel
Save