代码更新
This commit is contained in:
@@ -410,7 +410,6 @@ export default {
|
||||
logOperation.getLogData(queryParam).then(res => {
|
||||
console.log('res', res)
|
||||
this.showEmpty = false
|
||||
debugger
|
||||
if (res.data.result.length === 1) {
|
||||
this.logs = res.data.result[0].values
|
||||
for (const i in res.data.result[0].values) { // 格式转换
|
||||
|
||||
@@ -193,7 +193,6 @@ export default {
|
||||
} else {
|
||||
this.showChoice = false
|
||||
}
|
||||
// debugger
|
||||
properties = { ...properties, ...node.properties }
|
||||
})
|
||||
edges.forEach(edge => {
|
||||
@@ -203,7 +202,6 @@ export default {
|
||||
return properties
|
||||
},
|
||||
$_dragInNode(type) {
|
||||
// debugger
|
||||
this.lf.dnd.startDrag({ // 拖拽创建结点
|
||||
type
|
||||
})
|
||||
@@ -240,8 +238,6 @@ export default {
|
||||
lf.render(data)
|
||||
},
|
||||
$_saveGraph() { // 保存数据
|
||||
// debugger
|
||||
// console.log(this.defaultForm)
|
||||
if (this.defaultForm.stage_code === null) {
|
||||
this.$message.error('请选择舞台!')
|
||||
} else {
|
||||
|
||||
@@ -209,6 +209,7 @@ export default {
|
||||
methods: {
|
||||
// 新增与编辑前做的操作
|
||||
[CRUD.HOOK.afterToCU](crud, form) {
|
||||
debugger
|
||||
this.menus = []
|
||||
if (form.menu_id != null) {
|
||||
if (form.pid === null) {
|
||||
|
||||
@@ -176,7 +176,6 @@ export default {
|
||||
methods: {
|
||||
getMenuDatas(node, resolve) {
|
||||
setTimeout(() => {
|
||||
debugger
|
||||
getMenusTree(node.data.menu_id ? node.data.menu_id : 0).then(res => {
|
||||
resolve(res)
|
||||
})
|
||||
|
||||
@@ -387,7 +387,6 @@ export default {
|
||||
}
|
||||
const dafult = this.$el.getElementsByClassName('dafult')
|
||||
for (let a = 0; a < dafult.length; a++) {
|
||||
debugger
|
||||
dafult[a].click()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,7 +111,6 @@ export default {
|
||||
})
|
||||
},
|
||||
open() {
|
||||
debugger
|
||||
this.query.region_id = this.openParam
|
||||
this.crud.toQuery()
|
||||
},
|
||||
|
||||
@@ -115,7 +115,6 @@ export default {
|
||||
})
|
||||
},
|
||||
open() {
|
||||
debugger
|
||||
this.query.region_id = this.openParam
|
||||
this.crud.toQuery()
|
||||
},
|
||||
|
||||
@@ -529,7 +529,6 @@ export default {
|
||||
})
|
||||
},
|
||||
toView(row) {
|
||||
debugger
|
||||
if (row) {
|
||||
this.$refs.viewDialog.setParentData(row)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user