master
lion 2 years ago
parent 70875449ad
commit 5aad9de754

@ -302,21 +302,21 @@
</div>
<div class="overall">
<div>
<p><span>年度计划任务</span></p>
<p><span>已完成任务</span></p>
<p><span>进度</span></p>
<p><span>年度计划任务</span>0</p>
<p><span>已完成任务</span>0</p>
<p><span>进度</span>0</p>
</div>
<div>
<p><span>安全检查/</span></p>
<p><span>安全培训/</span></p>
<p><span>安全检查/</span>0</p>
<p><span>安全培训/</span>0</p>
</div>
<div>
<p><span>应急演练</span></p>
<p><span>专项任务开展</span></p>
<p><span>应急演练</span>0</p>
<p><span>专项任务开展</span>0</p>
</div>
<div>
<p><span>安全隐患数量</span></p>
<p><span>安全事件</span></p>
<p><span>安全隐患数量</span>0</p>
<p><span>安全事件</span>0</p>
</div>
</div>
</div>

@ -58,10 +58,10 @@
<template v-slot:ask_department>
<div class="xy-table-item">
<div class="xy-table-item-label">
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>责任科室
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>建议科室
</div>
<div class="xy-table-item-content">
<el-input v-model="form.ask_department" type='text' placeholder="请输入责任科室" clearable
<el-input v-model="form.ask_department" type='text' placeholder="请输入建议科室" clearable
style="width: 400px;"></el-input>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -32,8 +32,11 @@
<template slot-scope="scope">
<Button type="primary" style='margin-right:5px;margin-bottom:5px;' size="small" @click="showPatrol(scope.row.id,'show')"></Button>
<Button v-if='scope.row.status==0&&(is_guiji||is_chuzhang||login_id==scope.row.admin_id)' type="primary" style='margin-right:5px;margin-bottom:5px;' size="small" @click="editorPatrol(scope.row.id,'editor')"></Button>
<Button v-if="scope.row.status==1&&((scope.row.check_leader==1&&is_leader&&scope.row.leader_status===null)||(scope.row.check_main==1&&is_main_leader&&scope.row.main_status===null))" type="primary" style='margin-right:5px;margin-bottom:5px;' size="small" @click="showPatrol(scope.row.id,'leader')"></Button>
<Button v-if="scope.row.status==9&&((scope.row.re_check_leader==1&&is_leader&&scope.row.re_leader_status===null)||(scope.row.re_check_main==1&&is_main_leader&&scope.row.re_main_status===null))" type="primary" style='margin-right:5px;margin-bottom:5px;' size="small" @click="showPatrol(scope.row.id,'leaderconfirm')"></Button>
<Button v-if="scope.row.status==1&&((scope.row.check_leader==1&&is_leader&&scope.row.leader_status===null)||(scope.row.check_main==1&&is_main_leader&&scope.row.main_status===null))" type="primary" style='margin-right:5px;margin-bottom:5px;' size="small" @click="showPatrol(scope.row.id,'leader')"></Button>
<Button v-if="scope.row.status==9&&((scope.row.re_check_leader==1&&is_leader&&scope.row.re_leader_status===null)||(scope.row.re_check_main==1&&is_main_leader&&scope.row.re_main_status===null))" type="primary" style='margin-right:5px;margin-bottom:5px;' size="small" @click="showPatrol(scope.row.id,'leaderconfirm')"></Button>
<Poptip v-if='is_guiji||is_chuzhang' transfer confirm title="确认要删除吗?" @on-ok="deleteList(scope.row.id)">
<Button type="primary" size='small' style="margin-left:5px;margin-bottom:5px;" ghost>删除</Button>
</Poptip>
</template>
</el-table-column>
</template>
@ -77,7 +80,7 @@ import {getInfo} from "@/api/user.js";
value:'已撤回'
},{
id:0,
value:'待审核'
value:'待确认'
},{
id:1,
value:'待领导确认'
@ -104,7 +107,7 @@ import {getInfo} from "@/api/user.js";
value:'部门退回'
},{
id:9,
value:'待领导确认整改'
value:'待领导审核'
}],
table:[{
label:"任务专题",
@ -333,21 +336,13 @@ import {getInfo} from "@/api/user.js";
deleteList(id){
var that = this;
if (id) {
this.$Modal.confirm({
title: '确认要删除数据?',
onOk: () => {
del(id).then(response => {
this.$Message.success('操作成功');
that.getList();
}).catch(error => {
console.log(error)
reject(error)
})
},
onCancel: () => {
//this.$Message.info('Clicked cancel');
}
});
del(id).then(response => {
this.$Message.success('操作成功');
that.getList();
}).catch(error => {
console.log(error)
reject(error)
})
}
}
},

@ -66,7 +66,7 @@
{{index+1}}
<div>
<span class="label">答题人</span>
<span>{{item.user_id?item.user_id:''}}</span>
<span>{{item.admin?item.admin.name:''}}</span>
</div>
<div>
<span class="label">答题时间</span>

Loading…
Cancel
Save