x:{{ scope.row.my_info.location.x }}
@@ -198,6 +198,7 @@ export default {
async syncData() {
this.syncLoading = true;
var res = await this.$API.third.tdevice.vchannelSync.req({});
+ this.$refs.table.refresh();
this.syncLoading = false;
},
},
diff --git a/src/views/ecm/event_cate_form.vue b/src/views/ecm/event_cate_form.vue
index c4b9fee4..2dcd00d5 100644
--- a/src/views/ecm/event_cate_form.vue
+++ b/src/views/ecm/event_cate_form.vue
@@ -46,9 +46,9 @@
-
+
diff --git a/src/views/wf/state.vue b/src/views/wf/state.vue
index 5d6200c2..8f6d0b17 100644
--- a/src/views/wf/state.vue
+++ b/src/views/wf/state.vue
@@ -54,11 +54,7 @@
编辑
-
-
- 删除
-
-
+ 删除
@@ -581,6 +577,11 @@ export default {
this.dialogVisible = true;
this.addForm = Object.assign({}, row);
},
+ handleDelete(row) {
+ this.$API.wf.state.delete.req(row.id).then(res=>{
+ this.getList()
+ })
+ },
async getList() {
let res = await this.$API.wf.workflow.states.req(this.id);
console.log(res);
diff --git a/src/views/wf/ticketdetail.vue b/src/views/wf/ticketdetail.vue
index ee3dda19..21cd3b39 100644
--- a/src/views/wf/ticketdetail.vue
+++ b/src/views/wf/ticketdetail.vue
@@ -101,7 +101,7 @@
{{oplDetail.operation_.area_.name}}
- {{state_[oplDetail.operation_.state]}}
+ {{state2_[oplDetail.operation_.state]}}
{{oplDetail.operation_.state_work }}
@@ -267,6 +267,14 @@
30: "待入厂",
40: "进行中",
50: "已完成",
+ 60: "已关闭"
+ },
+ state2_: {
+ 10: "创建中",
+ 20: "审批中",
+ 30: "待作业",
+ 40: "作业中",
+ 50: "已结束",
},
noteOption: [
{id: 10, name: '作业正常结束'},
diff --git a/src/views/wf/transform.vue b/src/views/wf/transform.vue
index bf7c3192..0a533f53 100644
--- a/src/views/wf/transform.vue
+++ b/src/views/wf/transform.vue
@@ -191,6 +191,11 @@
this.dialogVisible = true;
this.addForm = Object.assign({}, row);
},
+ handleDelete(row) {
+ this.$API.wf.transition.delete.req(row.id).then(res=>{
+ this.getList()
+ })
+ },
async getList() {
let res = await this.$API.wf.workflow.transitions.req(this.id);
this.list = res;