Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
f36de805
提交
f36de805
编写于
12月 01, 2022
作者:
lxm1993
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 插件更新
上级
6cd49dfa
变更
2
展开全部
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
22 行增加
和
22 行删除
+22
-22
ibiz-template-plugin.es.js
...lugin/sy-pms-portal@0.0.1/dist/ibiz-template-plugin.es.js
+21
-21
index.legacy.js
...-template-plugin/sy-pms-portal@0.0.1/dist/index.legacy.js
+1
-1
未找到文件。
app_Web/public/plugins/@ibiz-template-plugin/sy-pms-portal@0.0.1/dist/ibiz-template-plugin.es.js
浏览文件 @
f36de805
var
$
=
Object
.
defineProperty
;
var
R
=
Object
.
defineProperty
;
var
N
=
(
s
,
n
,
e
)
=>
n
in
s
?
$
(
s
,
n
,
{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
e
})
:
s
[
n
]
=
e
;
var
N
=
(
s
,
n
,
e
)
=>
n
in
s
?
R
(
s
,
n
,
{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
e
})
:
s
[
n
]
=
e
;
var
y
=
(
s
,
n
,
e
)
=>
(
N
(
s
,
typeof
n
!=
"symbol"
?
n
+
""
:
n
,
e
),
e
);
var
y
=
(
s
,
n
,
e
)
=>
(
N
(
s
,
typeof
n
!=
"symbol"
?
n
+
""
:
n
,
e
),
e
);
import
{
PluginStaticResource
as
U
,
AppFuncCommand
as
j
}
from
"@ibiz-template/runtime"
;
import
{
PluginStaticResource
as
U
,
AppFuncCommand
as
j
}
from
"@ibiz-template/runtime"
;
import
{
ListPortletController
as
D
,
AppMenuPortletController
as
E
}
from
"@ibiz-template/controller"
;
import
{
ListPortletController
as
D
,
AppMenuPortletController
as
E
}
from
"@ibiz-template/controller"
;
...
@@ -8,7 +8,7 @@ import { useNamespace as k, useListController as O } from "@ibiz-template/vue-ut
...
@@ -8,7 +8,7 @@ import { useNamespace as k, useListController as O } from "@ibiz-template/vue-ut
import
{
defineComponent
as
L
,
ref
as
f
,
getCurrentInstance
as
C
,
onMounted
as
I
,
h
as
t
,
watch
as
J
,
onUnmounted
as
H
}
from
"vue"
;
import
{
defineComponent
as
L
,
ref
as
f
,
getCurrentInstance
as
C
,
onMounted
as
I
,
h
as
t
,
watch
as
J
,
onUnmounted
as
H
}
from
"vue"
;
import
{
Tooltip
as
w
,
Button
as
A
,
Icon
as
F
}
from
"view-design"
;
import
{
Tooltip
as
w
,
Button
as
A
,
Icon
as
F
}
from
"view-design"
;
import
{
CounterService
as
K
}
from
"@ibiz-template/service"
;
import
{
CounterService
as
K
}
from
"@ibiz-template/service"
;
const
m
=
new
U
(
import
.
meta
.
url
);
const
g
=
new
U
(
import
.
meta
.
url
);
const
Q
=
L
({
const
Q
=
L
({
name
:
"AppPortalListPortlet"
,
name
:
"AppPortalListPortlet"
,
props
:
{
props
:
{
...
@@ -24,7 +24,7 @@ const Q = L({
...
@@ -24,7 +24,7 @@ const Q = L({
setup
(
s
)
{
setup
(
s
)
{
const
n
=
k
(
"app-portal-list-portlet"
),
e
=
f
([]),
p
=
Array
.
from
({
const
n
=
k
(
"app-portal-list-portlet"
),
e
=
f
([]),
p
=
Array
.
from
({
length
:
3
length
:
3
}).
map
((
c
,
i
)
=>
m
.
dir
(
`/assets/img/app-portal-list-
${
i
}
.svg`
)),
l
=
C
();
}).
map
((
c
,
i
)
=>
g
.
dir
(
`/assets/img/app-portal-list-
${
i
}
.svg`
)),
l
=
C
();
if
(
l
&&
s
.
modelData
.
list
)
{
if
(
l
&&
s
.
modelData
.
list
)
{
const
c
=
O
(
l
.
proxy
,
s
.
modelData
.
list
,
s
.
controller
.
context
);
const
c
=
O
(
l
.
proxy
,
s
.
modelData
.
list
,
s
.
controller
.
context
);
I
(()
=>
{
I
(()
=>
{
...
@@ -97,7 +97,7 @@ const T = L({
...
@@ -97,7 +97,7 @@ const T = L({
emit
:
n
emit
:
n
})
{
})
{
var
S
;
var
S
;
const
e
=
k
(
"func-drawer"
),
p
=
m
.
dir
(
"/assets/img/placeholder.svg"
),
l
=
"
\
u672A
\
u5206
\
u7C7B"
,
g
=
f
([]),
c
=
f
([]),
i
=
f
(
!
1
),
h
=
(
S
=
C
())
==
null
?
void
0
:
S
.
proxy
,
b
=
()
=>
{
const
e
=
k
(
"func-drawer"
),
p
=
g
.
dir
(
"/assets/img/placeholder.svg"
),
l
=
"
\
u672A
\
u5206
\
u7C7B"
,
h
=
f
([]),
c
=
f
([]),
i
=
f
(
!
1
),
m
=
(
S
=
C
())
==
null
?
void
0
:
S
.
proxy
,
b
=
()
=>
{
ibiz
.
net
.
post
(
"/appfuncs/fetchpersonfuncsetting"
,
{
ibiz
.
net
.
post
(
"/appfuncs/fetchpersonfuncsetting"
,
{
page
:
0
,
page
:
0
,
size
:
1
e3
,
size
:
1
e3
,
...
@@ -113,7 +113,7 @@ const T = L({
...
@@ -113,7 +113,7 @@ const T = L({
r
[
u
]
?
r
[
u
].
push
(
a
)
:
r
[
u
]
=
[
a
];
r
[
u
]
?
r
[
u
].
push
(
a
)
:
r
[
u
]
=
[
a
];
}
}
return
a
.
ispersonal
;
return
a
.
ispersonal
;
}),
g
.
value
=
Object
.
keys
(
r
).
map
((
a
)
=>
({
}),
h
.
value
=
Object
.
keys
(
r
).
map
((
a
)
=>
({
name
:
a
,
name
:
a
,
items
:
r
[
a
]
items
:
r
[
a
]
}));
}));
...
@@ -127,7 +127,7 @@ const T = L({
...
@@ -127,7 +127,7 @@ const T = L({
list
:
c
.
value
list
:
c
.
value
})
})
}).
then
((
o
)
=>
{
}).
then
((
o
)
=>
{
o
.
ok
&&
(
h
==
null
||
h
.
$Notice
.
success
({
o
.
ok
&&
(
m
==
null
||
m
.
$Notice
.
success
({
title
:
"
\
u6210
\
u529F"
,
title
:
"
\
u6210
\
u529F"
,
desc
:
"
\
u4FDD
\
u5B58
\
u6210
\
u529F"
desc
:
"
\
u4FDD
\
u5B58
\
u6210
\
u529F"
}),
b
());
}),
b
());
...
@@ -157,7 +157,7 @@ const T = L({
...
@@ -157,7 +157,7 @@ const T = L({
if
(
o
.
stopPropagation
(),
r
.
ispersonal
=
Number
(
!
r
.
ispersonal
),
u
===
"remove"
)
if
(
o
.
stopPropagation
(),
r
.
ispersonal
=
Number
(
!
r
.
ispersonal
),
u
===
"remove"
)
c
.
value
.
splice
(
a
,
1
);
c
.
value
.
splice
(
a
,
1
);
else
if
(
u
===
"change"
)
{
else
if
(
u
===
"change"
)
{
const
P
=
c
.
value
.
findIndex
((
R
)
=>
R
.
pssysappfuncid
===
r
.
pssysappfuncid
);
const
P
=
c
.
value
.
findIndex
((
$
)
=>
$
.
pssysappfuncid
===
r
.
pssysappfuncid
);
P
===
-
1
?
c
.
value
.
push
(
r
)
:
c
.
value
.
splice
(
P
,
1
);
P
===
-
1
?
c
.
value
.
push
(
r
)
:
c
.
value
.
splice
(
P
,
1
);
}
}
};
};
...
@@ -209,7 +209,7 @@ const T = L({
...
@@ -209,7 +209,7 @@ const T = L({
class
:
e
.
be
(
"group-item"
,
"icon"
)
class
:
e
.
be
(
"group-item"
,
"icon"
)
},
[
t
(
"img"
,
{
},
[
t
(
"img"
,
{
attrs
:
{
attrs
:
{
src
:
o
.
icon
||
p
,
src
:
o
.
icon
?
g
.
dir
(
`/assets/img/
${
o
.
icon
}
`
)
:
p
,
draggable
:
!
1
draggable
:
!
1
}
}
})]),
t
(
w
,
{
})]),
t
(
w
,
{
...
@@ -219,7 +219,7 @@ const T = L({
...
@@ -219,7 +219,7 @@ const T = L({
}
}
},
[
t
(
"div"
,
{
},
[
t
(
"div"
,
{
class
:
e
.
be
(
"group-item"
,
"text"
)
class
:
e
.
be
(
"group-item"
,
"text"
)
},
[
o
.
pssysappfuncname
])])]))])]),
g
.
value
.
map
((
o
,
r
)
=>
t
(
"div"
,
{
},
[
o
.
pssysappfuncname
])])]))])]),
h
.
value
.
map
((
o
,
r
)
=>
t
(
"div"
,
{
class
:
e
.
b
(
"group"
),
class
:
e
.
b
(
"group"
),
key
:
r
key
:
r
},
[
t
(
"header"
,
{
},
[
t
(
"header"
,
{
...
@@ -246,7 +246,7 @@ const T = L({
...
@@ -246,7 +246,7 @@ const T = L({
class
:
e
.
be
(
"group-item"
,
"icon"
)
class
:
e
.
be
(
"group-item"
,
"icon"
)
},
[
t
(
"img"
,
{
},
[
t
(
"img"
,
{
attrs
:
{
attrs
:
{
src
:
a
.
icon
||
p
,
src
:
a
.
icon
?
g
.
dir
(
`/assets/img/
${
a
.
icon
}
`
)
:
p
,
draggable
:
!
1
draggable
:
!
1
}
}
})]),
t
(
w
,
{
})]),
t
(
w
,
{
...
@@ -274,17 +274,17 @@ const T = L({
...
@@ -274,17 +274,17 @@ const T = L({
}
}
},
},
setup
(
s
)
{
setup
(
s
)
{
const
n
=
k
(
"func-portal-list-portlet"
),
e
=
m
.
dir
(
"/assets/img/quick-entry.svg"
),
p
=
m
.
dir
(
"/assets/img/editor.svg"
),
l
=
m
.
dir
(
"/assets/img/placeholder.svg"
),
g
=
f
([]),
c
=
C
();
const
n
=
k
(
"func-portal-list-portlet"
),
e
=
g
.
dir
(
"/assets/img/quick-entry.svg"
),
p
=
g
.
dir
(
"/assets/img/editor.svg"
),
l
=
g
.
dir
(
"/assets/img/placeholder.svg"
),
h
=
f
([]),
c
=
C
();
let
i
=
null
;
let
i
=
null
;
c
&&
s
.
modelData
.
list
&&
(
i
=
O
(
c
.
proxy
,
s
.
modelData
.
list
,
s
.
controller
.
context
),
I
(()
=>
{
c
&&
s
.
modelData
.
list
&&
(
i
=
O
(
c
.
proxy
,
s
.
modelData
.
list
,
s
.
controller
.
context
),
I
(()
=>
{
i
==
null
||
i
.
nerve
.
self
.
evt
.
on
(
"mounted"
,
async
()
=>
{
i
==
null
||
i
.
nerve
.
self
.
evt
.
on
(
"mounted"
,
async
()
=>
{
if
(
i
)
{
if
(
i
)
{
const
d
=
await
i
.
load
();
const
d
=
await
i
.
load
();
g
.
value
=
d
;
h
.
value
=
d
;
}
}
});
});
}));
}));
const
h
=
(
d
)
=>
{
const
m
=
(
d
)
=>
{
d
&&
ibiz
.
net
.
get
(
`/appfuncs/
${
d
}
/getfuncurl`
).
then
((
v
)
=>
{
d
&&
ibiz
.
net
.
get
(
`/appfuncs/
${
d
}
/getfuncurl`
).
then
((
v
)
=>
{
v
.
ok
&&
v
.
data
&&
v
.
data
.
url
&&
window
.
open
(
v
.
data
.
url
);
v
.
ok
&&
v
.
data
&&
v
.
data
.
url
&&
window
.
open
(
v
.
data
.
url
);
});
});
...
@@ -294,13 +294,13 @@ const T = L({
...
@@ -294,13 +294,13 @@ const T = L({
quickEntryImg
:
e
,
quickEntryImg
:
e
,
editorImg
:
p
,
editorImg
:
p
,
placeholderImg
:
l
,
placeholderImg
:
l
,
funcPortalList
:
g
,
funcPortalList
:
h
,
openPage
:
h
,
openPage
:
m
,
isShowDrawer
:
b
,
isShowDrawer
:
b
,
isShowDrawerChange
:
async
()
=>
{
isShowDrawerChange
:
async
()
=>
{
if
(
b
.
value
=
!
1
,
i
)
{
if
(
b
.
value
=
!
1
,
i
)
{
const
d
=
await
i
.
load
();
const
d
=
await
i
.
load
();
g
.
value
=
d
;
h
.
value
=
d
;
}
}
}
}
};
};
...
@@ -349,7 +349,7 @@ const T = L({
...
@@ -349,7 +349,7 @@ const T = L({
class
:
this
.
ns
.
be
(
"item"
,
"icon"
)
class
:
this
.
ns
.
be
(
"item"
,
"icon"
)
},
[
t
(
"img"
,
{
},
[
t
(
"img"
,
{
attrs
:
{
attrs
:
{
src
:
m
.
dir
(
`/assets/img/
${
s
.
icon
}
`
)
||
this
.
placeholderImg
src
:
s
.
icon
?
g
.
dir
(
`/assets/img/
${
s
.
icon
}
`
)
:
this
.
placeholderImg
}
}
})]),
t
(
w
,
{
})]),
t
(
w
,
{
attrs
:
{
attrs
:
{
...
@@ -396,14 +396,14 @@ const Y = L({
...
@@ -396,14 +396,14 @@ const Y = L({
setup
(
s
)
{
setup
(
s
)
{
const
n
=
k
(
"todo-app-menu-portlet"
),
e
=
Array
.
from
({
const
n
=
k
(
"todo-app-menu-portlet"
),
e
=
Array
.
from
({
length
:
5
length
:
5
}).
map
((
c
,
i
)
=>
m
.
dir
(
`/assets/img/todo-app-menu-
${
i
}
.svg`
));
}).
map
((
c
,
i
)
=>
g
.
dir
(
`/assets/img/todo-app-menu-
${
i
}
.svg`
));
let
p
=
null
;
let
p
=
null
;
const
l
=
f
({});
const
l
=
f
({});
if
(
s
.
modelData
.
appMenu
)
{
if
(
s
.
modelData
.
appMenu
)
{
const
i
=
s
.
modelData
.
appMenu
.
source
.
getPSAppCounterRef
();
const
i
=
s
.
modelData
.
appMenu
.
source
.
getPSAppCounterRef
();
i
&&
(
I
(
async
()
=>
{
i
&&
(
I
(
async
()
=>
{
p
=
await
K
.
getCounterByRef
(
i
),
p
.
onChange
((
h
)
=>
{
p
=
await
K
.
getCounterByRef
(
i
),
p
.
onChange
((
m
)
=>
{
l
.
value
=
h
;
l
.
value
=
m
;
});
});
}),
H
(()
=>
{
}),
H
(()
=>
{
p
==
null
||
p
.
destroy
();
p
==
null
||
p
.
destroy
();
...
...
app_Web/public/plugins/@ibiz-template-plugin/sy-pms-portal@0.0.1/dist/index.legacy.js
浏览文件 @
f36de805
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录