+ clearable
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
1、管线被破坏时,应立即停止作业并报告相关部门,现场设置紧急隔离线,保护现场等待抢修。
2、发生人员受伤时应立即组织救援,救援过程中应避免二次伤害,根据伤情送医或拨打120。
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 下一步
+
+
+
-
-
-
-
-
- 下一步
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{ scope.row.worker_.name }}
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- {{ scope.row.worker_.name }}
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取 消
- 确 定
-
-
- 上一步
- 退出
-
-
-
-
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+ 上一步
+ {{item.name}}
+
+ 退出
+
+
+
+
-
\ No newline at end of file
+ //删除作业人员
+ delWorker(row) {
+ this.$API.opm.worker.delete
+ .req(row.id)
+ .then((res) => {
+ this.$message.success("作业人员删除成功");
+ this.getworkerList()
+ return res;
+ })
+ .catch((err) => {
+ return err;
+ });
+ },
+ //提交作业人员信息
+ submitWorker() {
+ this.formworker.opl = this.oplId;
+ this.$refs.workerForm.validate(async (valid) => {
+
+ this.$API.opm.worker.create
+ .req(this.formworker)
+ .then((res) => {
+ this.$message.success("创建作业人员成功");
+ this.getworkerList();
+ this.workerdialog = false;
+ })
+ .catch((err) => {
+ return err;
+ });
+ });
+ },
+
+ //气体检测记录列表
+ getgasList() {
+ this.$API.opm.gas.list.req({opl: this.oplId, page: 0}).then((res) => {
+ this.apigasObj = res;
+ console.log(res);
+ });
+ },
+
+ //创建气体检测记录,显示Form
+ addgas() {
+ this.gasdialog = true;
+ this.formgas = Object.assign({}, defaultformgas);
+ },
+
+ //提交气体检测记录
+ submitgas() {
+ this.formgas.opl = this.oplId;
+ this.$refs.gasForm.validate(async (valid) => {
+
+ this.$API.opm.gas.create
+ .req(this.formgas)
+ .then((res) => {
+ this.$message.success("创建气体检测记录成功");
+ this.getgasList();
+ this.gasdialog = false;
+
+ })
+ .catch((err) => {
+ return err;
+ });
+
+ });
+ },
+
+ //删除气体检测记录
+ delgas(row) {
+ this.$API.opm.gas.delete
+ .req(row.id)
+ .then((res) => {
+ this.$message.success("气体检测记录删除成功");
+ this.getgasList()
+ return res;
+ })
+ .catch((err) => {
+ return err;
+ });
+ },
+
+ //渲染工单提交按钮
+ getInit() {
+ this.$API.wf.workflow.initkey.req('opl_soil').then((res) => {
+ this.initForm = res;
+ });
+ },
+
+ //提交,创建工单
+ submitTicketCreate(id) {
+ if(this.apiworkerObj.length==0){
+ this.$message.warning("请添加作业人员");
+ return
+ }
+ let ticket = {};
+ ticket.workflow = this.initForm.workflow;
+ ticket.ticket_data = {opl: this.oplId};
+ ticket.transition = id;
+ ticket.title = this.form.name + '-申请';
+ this.tLoading = true
+ this.$API.wf.ticket.create.req(ticket).then((res) => {
+ this.tLoading = false
+ this.$message.success("提交成功");
+ this.submitOut()
+ }).catch(e=>{this.tLoading=false});
+ },
+
+ //退出界面
+ submitOut() {
+ this.$router.push({
+ name: "opl",
+ query: {
+ id: this.operationId,//作业ID
+
+ },
+ });
+ }
+ },
+ };
+
diff --git a/src/views/opm/space.vue b/src/views/opm/space.vue
index f40115c7..17671cc1 100644
--- a/src/views/opm/space.vue
+++ b/src/views/opm/space.vue
@@ -1,555 +1,488 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
1、施救人员必须穿戴防护用品(防毒面具、正压式空气呼吸器、长管式呼吸器)和安全绳方可进入有限
+空间进行救援。
+
2、将受伤人员托起或使用三角架、绞盘和全身式安全带将伤者拉出有限空间。
+
+ 3、如伤者发生骨折,采用夹板、木棍等对骨折部位上下关节进行固定,当伤者昏迷或意识不清楚则不应随意移动伤者,立即拨打120。
+
+
4、发生人员窒息、中毒,将其转移到空气新鲜流通的场所,插入氧气袋或进行心肺复苏术,边抢救边拨打120求救。
+
5、逃生出口
+
+
+
+
+
+
+
+
+
+ 下一步
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- !-->
+
+
+
+
+
+
+
+
+
+ {{ scope.row.worker_.name }}
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+ 上一步
+
+ 下一步
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ is_ok_[scope.row.is_ok] }}
+
+
+
+
+ {{ scope.row.checker_.name }}
+
+
+
+
-
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
- 应急处置:
-
-
-
1、施救人员必须穿戴防护用品(防毒面具、正压式空气呼吸器、长管式呼吸器)和安全绳方可进入有限空间进行救援。
-
2、将受伤人员托起或使用三角架、绞盘和全身式安全带将伤者拉出有限空间。
-
3、如伤者发生骨折,采用夹板、木棍等对骨折部位上下关节进行固定,当伤者昏迷或意识不清楚则不应随意移动伤者,立即拨打120。
-
4、发生人员窒息、中毒,将其转移到空气新鲜流通的场所,插入氧气袋或进行心肺复苏术,边抢救边拨打120求救。
-
5、逃生出口
-
-
-
-
-
-
-
-
-
-
-
-
- 下一步
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.worker_.name }}
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取 消
- 确 定
-
-
- 上一步
- 下一步
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ is_ok_[scope.row.is_ok] }}
-
-
- {{ scope.row.checker_.name }}
-
-
-
-
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 正常
- 不正常
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取 消
- 确 定
-
-
- 上一步
-
+ 正常
+ 不正常
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+ 上一步
+ {{item.name}}
- 退出
-
-
+ 退出
+
+
+
-
\ No newline at end of file
+ //退出界面
+ submitOut() {
+ this.$router.push({
+ name: "opl",
+ query: {
+ id: this.operationId,//作业ID
+
+ },
+ });
+ }
+ },
+ };
+
diff --git a/src/views/opm/usecl.vue b/src/views/opm/usecl.vue
index 9b91253e..46739b45 100644
--- a/src/views/opm/usecl.vue
+++ b/src/views/opm/usecl.vue
@@ -25,13 +25,13 @@
:model="form"
:rules="rules"
label-width="110px"
- style="margin: 40px 40px 40px 40px"
+ style="margin: 40px 40px 0px 40px"
>
@@ -47,7 +47,7 @@
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
@@ -272,16 +260,12 @@
!-->
-
-
-
- 下一步
-
-
-
+
+ 下一步
+
+
@@ -340,7 +324,7 @@
-
+
取 消
确 定
-
-
上一步
-
退出
+
+
+ 上一步
+ {{item.name}}
+
+ 退出
+
+
@@ -441,7 +435,7 @@ import { genTree } from "@/utils/verificate";
const defaultformworker = {
id: "",
worker: null,
- duty: null,
+ duty: "作业人员",
certificates: [],
opl: "",
};
@@ -473,7 +467,7 @@ export default {
cate: "",
risks_checked: [],
},
-
+ initForm: {},
operationId: "",
oplcateId: "",
oplId: "",
@@ -507,6 +501,32 @@ export default {
true: "正常",
false: "不正常",
},
+ rules: {
+ start_time: [
+ {required: true, message: '请选择'}
+ ],
+ end_time: [
+ {required: true, message: '请选择'}
+ ],
+ level: [
+ {required: true, message: '请选择'}
+ ],
+ dept_do: [
+ {required: true, message: '请选择'}
+ ],
+ charger: [
+ {required: true, message: '请选择'}
+ ],
+ monitor: [
+ {required: true, message: '请选择'}
+ ],
+ risks_checked: [
+ {required: true, message: '请选择'}
+ ],
+ measures_checked: [
+ {required: true, message: '请选择'}
+ ],
+ }
};
},
mounted() {
@@ -514,9 +534,8 @@ export default {
this.oplcateId = this.$route.query.oplcateId; //作业许可证种类ID
this.oplId = this.$route.query.oplId; //许可证ID
this.getoplData();
-
+ this.getInit();
this.getDept();
- this.getUser();
},
methods: {
@@ -546,7 +565,7 @@ export default {
this.$API.opm.operation.read.req(this.operationId).then((res) => {
this.form.start_time = res.start_time; //作业开始时间
this.form.end_time = res.end_time; //作业结束时间
-
+ this.form.name = res.name;
console.log(res);
});
},
@@ -685,7 +704,27 @@ export default {
});
},
-
+ //渲染工单提交按钮
+ getInit() {
+ this.$API.wf.workflow.initkey.req('opl_usecl').then((res) => {
+ this.initForm = res;
+ });
+ },
+
+ //提交,创建工单
+ submitTicketCreate(id) {
+ let ticket = {};
+ ticket.workflow = this.initForm.workflow;
+ ticket.ticket_data = {opl: this.oplId};
+ ticket.transition = id;
+ ticket.title = this.form.name + '-申请';
+ this.tLoading = true
+ this.$API.wf.ticket.create.req(ticket).then((res) => {
+ this.tLoading = false
+ this.$message.success("提交成功");
+ this.submitOut()
+ }).catch(e=>{this.tLoading=false});
+ },
//退出界面
submitOut(){
this.$router.push({
diff --git a/src/views/ops/log_request.vue b/src/views/ops/log_request.vue
index abfbfe68..17c50b7b 100644
--- a/src/views/ops/log_request.vue
+++ b/src/views/ops/log_request.vue
@@ -16,8 +16,15 @@
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
-
+
- 查看
- 编辑
-
-
- 删除
-
-
+ 查看
+ 编辑
+
+
+ 删除
+
+
-
+
{
this.$message.success("删除成功");
-
+ this.$refs.table.refresh();
return res;
})
.catch((err) => {
@@ -158,7 +148,7 @@ export default {
}
},
handleQuery() {
- this.$refs.table.queryData(this.query)
+ this.$refs.table.queryData(this.query);
},
resetQuery() {
this.query = {};
diff --git a/src/views/rpm/rpj.vue b/src/views/rpm/rpj.vue
index f3b5a1e8..3aa4c4da 100644
--- a/src/views/rpm/rpj.vue
+++ b/src/views/rpm/rpj.vue
@@ -271,6 +271,7 @@ export default {
30: "待入厂",
40: "进行中",
50: "已完成",
+ 60: "已关闭"
},
act_states: {
0: "草稿中",
@@ -334,7 +335,7 @@ export default {
.req(row.id)
.then((res) => {
this.$message.success("删除成功");
-
+ this.$refs.table.refresh();
return res;
})
.catch((err) => {
diff --git a/src/views/rpm/rpj_show.vue b/src/views/rpm/rpj_show.vue
index 8725f1f0..99a05d32 100644
--- a/src/views/rpm/rpj_show.vue
+++ b/src/views/rpm/rpj_show.vue
@@ -59,7 +59,6 @@
stripe
hideDo
hidePagination
- style="height:200px"
>