diff --git a/src/views/ecm/notify_settings_form.vue b/src/views/ecm/notify_settings_form.vue
index 6687f3af..f4a7ec83 100644
--- a/src/views/ecm/notify_settings_form.vue
+++ b/src/views/ecm/notify_settings_form.vue
@@ -175,7 +175,7 @@ export default {
wechat_enable: false,
sms_enable: true,
filter_recipient: null,
- filter_area_level: null,
+ filter_area_level: 10,
},
//验证规则
rules: {
diff --git a/src/views/opm/fire.vue b/src/views/opm/fire.vue
index c4fedc2f..72c631d8 100644
--- a/src/views/opm/fire.vue
+++ b/src/views/opm/fire.vue
@@ -486,6 +486,7 @@
上一步
{
this.$message.success("创建作业人员成功");
- this.$refs.workerTable.refresh();
+ this.getworkerList(this.oplId);
this.workerdialog = false;
})
.catch((err) => {
@@ -793,7 +795,7 @@
.req(this.formgas)
.then((res) => {
this.$message.success("创建气体检测记录成功");
- this.$refs.gasTable.refresh();
+ this.getgasList(this.oplId);
this.gasdialog = false;
})
@@ -831,14 +833,13 @@
ticket.workflow = this.initForm.workflow;
ticket.ticket_data = {opl: this.oplId};
ticket.transition = id;
- ticket.title = this.form.name + this.pagtitle + '申请';
+ ticket.title = this.form.name + '-申请';
+ this.tLoading = true
this.$API.wf.ticket.create.req(ticket).then((res) => {
+ this.tLoading = false
this.$message.success("提交成功");
- this.$router.push({
- name: "opl",
- query: {},
- });
- });
+ this.submitOut()
+ }).catch(e=>{this.tLoading=false});
},
//退出界面
@@ -846,7 +847,7 @@
this.$router.push({
name: "opl",
query: {
- operationid: this.$route.query.id,//作业ID
+ operationid: this.operationId,//作业ID
},
});
diff --git a/src/views/opm/operation_form.vue b/src/views/opm/operation_form.vue
index 521cb931..28a8f969 100644
--- a/src/views/opm/operation_form.vue
+++ b/src/views/opm/operation_form.vue
@@ -21,11 +21,6 @@
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -171,12 +188,13 @@ export default {
deptoptions: [],
areaoptions: [],
coordinatoroptions:[],
+ vchannelOptions: []
};
},
mounted() {
this.getDept();
this.getArea();
- this.getUser();
+ // this.getUser();
},
methods: {
//所属部门,属地部门,业务部门
@@ -194,13 +212,25 @@ export default {
this.areaoptions = res;
});
},
- //业务部门协调员
- getUser() {
- this.$API.system.user.list.req({ page: 0 }).then((res) => {
+ dept1Change(val) {
+ // 业务部门变化
+ this.$API.system.user.list.req({ page: 0, belong_dept: val }).then((res) => {
this.coordinatoroptions = res;
});
},
+ areaChange(val) {
+ this.$API.third.tdevice.list.req({ type: 60, page: 0, area: val }).then((res) => {
+ this.vchannelOptions = res;
+ });
+ },
+ //业务部门协调员
+ // getUser() {
+ // this.$API.system.user.list.req({ page: 0 }).then((res) => {
+
+ // this.coordinatoroptions = res;
+ // });
+ // },
//显示
open(mode = "add") {
diff --git a/src/views/ops/server.vue b/src/views/ops/server.vue
index 3c072a23..60a1bbf6 100644
--- a/src/views/ops/server.vue
+++ b/src/views/ops/server.vue
@@ -42,7 +42,7 @@
>{{ diskData.used }}GB
{{ diskData.percent }}GB{{ diskData.percent }}%
diff --git a/src/views/wf/details.vue b/src/views/wf/details.vue
index 4f2dad88..e7b4d24d 100644
--- a/src/views/wf/details.vue
+++ b/src/views/wf/details.vue
@@ -1,78 +1,107 @@
-
-
-
-
-
- {{ scope.row.ticket_data.title }}中
-
-
-
-
- {{ scope.row.state_.name }}
-
-
-
-
- {{scope.row.participant_.name }}
- {{scope.row.participant_str }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {{
+ scope.row.ticket_data.title
+ }}
+
+
+
+
+ {{ scope.row.state_.name }}
+
+
+
+
+ 同意
+ 拒绝
+
+
+
+
+ {{ interveneTypeOptions[scope.row.intervene_type] }}
+
+
+
+
+ {{
+ scope.row.participant_.name
+ }}
+ {{
+ scope.row.participant_str
+ }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/wf/state.vue b/src/views/wf/state.vue
index 266c6f2e..5d6200c2 100644
--- a/src/views/wf/state.vue
+++ b/src/views/wf/state.vue
@@ -23,7 +23,7 @@
- 是
+ 是
否
diff --git a/src/views/wf/ticketdetail.vue b/src/views/wf/ticketdetail.vue
index 4e7b7453..ee3dda19 100644
--- a/src/views/wf/ticketdetail.vue
+++ b/src/views/wf/ticketdetail.vue
@@ -5,7 +5,7 @@
@@ -159,7 +159,7 @@
-
{{item.name}}
@@ -275,6 +275,7 @@
{id: 40, name: '其他'},
],
dosOption: [],
+ submitLoading: false,
};
},
created() {
@@ -408,16 +409,18 @@
params.transition = id;
params.ticket_data = {};
params.suggestion = this.form.suggestion;
- if (this.ticketDetail.state_.name === '作业负责人关闭') {
+ this.submitLoading = true
+ if (this.ticketDetail.state_.key === 'opl_close') {
params.ticket_data.close_note = this.form.close_note;
params.ticket_data.close_dos = this.form.close_dos;
}
this.$API.wf.ticket.ticketHandle.req(this.ticketId, params).then(res => {
+ this.submitLoading = false;
if (res.err_msg) {
} else {
this.$router.push("dutywork");
}
- })
+ }).catch(e=>{this.submitLoading=false;})
},
reStart() {
this.$API.wf.ticket.retryScript.req(this.ticketId).then(res => {
diff --git a/src/views/wf/transform.vue b/src/views/wf/transform.vue
index d16c1708..bf7c3192 100644
--- a/src/views/wf/transform.vue
+++ b/src/views/wf/transform.vue
@@ -34,15 +34,17 @@
width="220px"
>
-
+
编辑
-
-
+
删除
-
+