12-12
This commit is contained in:
4
src/renderer/public/sdk/YJEarth.min.js
vendored
4
src/renderer/public/sdk/YJEarth.min.js
vendored
File diff suppressed because one or more lines are too long
@ -102,6 +102,7 @@ setupStore(setApp)
|
||||
setupSvgIcon(setApp)
|
||||
setApp.use(EventBusPlugin)
|
||||
setApp.use(router)
|
||||
// @ts-ignore
|
||||
setApp.use(elTableInfiniteScroll)
|
||||
setApp.use(ElementPlus, {
|
||||
locale: zhCn
|
||||
|
||||
@ -310,7 +310,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit("destroyComponent")
|
||||
}
|
||||
|
||||
|
||||
@ -472,7 +472,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit('destroyComponent')
|
||||
}
|
||||
const confirm = () => {
|
||||
|
||||
@ -654,10 +654,10 @@ const toggleGroup = (type: string) => {
|
||||
|
||||
var backButShow: any = ref(false)
|
||||
//根据角色权限控制后台管理按钮显隐
|
||||
let option = JSON.parse(localStorage.getItem('frontFunctionArr'))
|
||||
let option = JSON.parse(localStorage.getItem('frontFunctionArr') || '{}')
|
||||
option = Object.keys(option)
|
||||
//数据权限
|
||||
let data = JSON.parse(localStorage.getItem('frontDataArr'))
|
||||
let data = JSON.parse(localStorage.getItem('frontDataArr') || '[]')
|
||||
if (option.length == 0 && data.length == 0) {
|
||||
//管理员
|
||||
backButShow.value = true
|
||||
|
||||
@ -311,7 +311,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit("destroyComponent")
|
||||
}
|
||||
|
||||
|
||||
@ -327,7 +327,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit("destroyComponent")
|
||||
}
|
||||
|
||||
|
||||
@ -461,7 +461,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit('destroyComponent')
|
||||
}
|
||||
const confirm = () => {
|
||||
|
||||
@ -81,7 +81,7 @@ let that: any
|
||||
const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit("destroyComponent")
|
||||
}
|
||||
const open = async (id: any) => {
|
||||
|
||||
@ -102,7 +102,7 @@ let that: any
|
||||
const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit("destroyComponent")
|
||||
}
|
||||
const open = async (id: any) => {
|
||||
|
||||
@ -345,7 +345,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
// entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit('destroyComponent')
|
||||
}
|
||||
|
||||
|
||||
@ -722,7 +722,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
// entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit('destroyComponent')
|
||||
}
|
||||
|
||||
|
||||
@ -308,7 +308,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit("destroyComponent")
|
||||
}
|
||||
|
||||
|
||||
@ -160,7 +160,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit("destroyComponent")
|
||||
}
|
||||
|
||||
|
||||
@ -469,7 +469,7 @@ const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.closeNodeEdit()
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit('destroyComponent')
|
||||
}
|
||||
const confirm = () => {
|
||||
|
||||
@ -78,7 +78,7 @@ let that: any
|
||||
const closeCallback = () => {
|
||||
entityOptions.value.oldData = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit("destroyComponent")
|
||||
}
|
||||
const open = async (id: any) => {
|
||||
|
||||
@ -266,7 +266,7 @@ let that: any
|
||||
const closeCallback = () => {
|
||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||
that.positionEditing = false
|
||||
entityOptions.value.reset()
|
||||
that.reset()
|
||||
eventBus.emit("destroyComponent")
|
||||
}
|
||||
const open = async (id: any) => {
|
||||
|
||||
@ -818,8 +818,13 @@ const validatePortRange = (rule, value, callback) => {
|
||||
.settings:hover svg g {
|
||||
filter: url(#filter_2442_1327);
|
||||
}
|
||||
.exit:hover svg g {
|
||||
filter: url(#filter_2442_480);
|
||||
.exit:hover svg {
|
||||
g {
|
||||
filter: url(#filter_2442_480);
|
||||
path {
|
||||
fill: rgba(241, 108, 85, 1) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.el-button {
|
||||
|
||||
@ -81,7 +81,7 @@ export const useLogin = () => {
|
||||
})
|
||||
localStorage.setItem('frontFunctionArr', JSON.stringify(obj))
|
||||
//数据权限
|
||||
let dataArr = []
|
||||
let dataArr:any = []
|
||||
res.data.roleOperates.forEach(item => {
|
||||
dataArr.push(item.operate)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user