Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
014af9a9
提交
014af9a9
编写于
3月 08, 2024
作者:
fzh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 暂时修改外协管理系统入口个数
上级
e6127dfe
变更
3
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
49 行增加
和
49 行删除
+49
-49
ibiz-template-plugin.es.js
...lugin/sy-pms-portal@0.0.1/dist/ibiz-template-plugin.es.js
+47
-47
index.legacy.js
...-template-plugin/sy-pms-portal@0.0.1/dist/index.legacy.js
+1
-1
polyfills.legacy.js
...plate-plugin/sy-pms-portal@0.0.1/dist/polyfills.legacy.js
+1
-1
未找到文件。
app_Web/public/plugins/@ibiz-template-plugin/sy-pms-portal@0.0.1/dist/ibiz-template-plugin.es.js
浏览文件 @
014af9a9
...
@@ -3,11 +3,11 @@ var _ = (s, n, e) => n in s ? q(s, n, { enumerable: !0, configurable: !0, writab
...
@@ -3,11 +3,11 @@ var _ = (s, n, e) => n in s ? q(s, n, { enumerable: !0, configurable: !0, writab
var
w
=
(
s
,
n
,
e
)
=>
(
_
(
s
,
typeof
n
!=
"symbol"
?
n
+
""
:
n
,
e
),
e
);
var
w
=
(
s
,
n
,
e
)
=>
(
_
(
s
,
typeof
n
!=
"symbol"
?
n
+
""
:
n
,
e
),
e
);
import
{
ListPortletController
as
y
,
AppMenuPortletController
as
A
}
from
"@ibiz-template/controller"
;
import
{
ListPortletController
as
y
,
AppMenuPortletController
as
A
}
from
"@ibiz-template/controller"
;
import
{
ListPortletModel
as
F
,
AppMenuPortletModel
as
$
}
from
"@ibiz-template/model"
;
import
{
ListPortletModel
as
F
,
AppMenuPortletModel
as
$
}
from
"@ibiz-template/model"
;
import
{
useNamespace
as
k
,
useListController
as
T
}
from
"@ibiz-template/vue-util"
;
import
{
useNamespace
as
D
,
useListController
as
T
}
from
"@ibiz-template/vue-util"
;
import
{
defineComponent
as
D
,
ref
as
v
,
getCurrentInstance
as
L
,
onMounted
as
C
,
h
as
t
,
watch
as
R
,
onUnmounted
as
N
}
from
"vue"
;
import
{
defineComponent
as
k
,
ref
as
f
,
getCurrentInstance
as
L
,
onMounted
as
C
,
h
as
t
,
watch
as
R
,
onUnmounted
as
N
}
from
"vue"
;
import
{
PluginStaticResource
as
U
,
AppFuncCommand
as
j
}
from
"@ibiz-template/runtime"
;
import
{
PluginStaticResource
as
U
,
AppFuncCommand
as
j
}
from
"@ibiz-template/runtime"
;
import
{
CounterService
as
B
}
from
"@ibiz-template/service"
;
import
{
CounterService
as
B
}
from
"@ibiz-template/service"
;
const
d
=
new
U
(
import
.
meta
.
url
),
G
=
D
({
const
d
=
new
U
(
import
.
meta
.
url
),
G
=
k
({
name
:
"AppPortalListPortlet"
,
name
:
"AppPortalListPortlet"
,
props
:
{
props
:
{
modelData
:
{
modelData
:
{
...
@@ -20,15 +20,15 @@ const d = new U(import.meta.url), G = D({
...
@@ -20,15 +20,15 @@ const d = new U(import.meta.url), G = D({
}
}
},
},
setup
(
s
)
{
setup
(
s
)
{
const
n
=
k
(
"app-portal-list-portlet"
),
e
=
v
([]),
p
=
Array
.
from
({
const
n
=
D
(
"app-portal-list-portlet"
),
e
=
f
([]),
p
=
Array
.
from
({
length
:
4
length
:
4
}).
map
((
c
,
i
)
=>
d
.
dir
(
`/assets/img/app-portal-list-
${
i
}
.svg`
)),
l
=
L
();
}).
map
((
c
,
i
)
=>
d
.
dir
(
`/assets/img/app-portal-list-
${
i
}
.svg`
)),
l
=
L
();
if
(
l
&&
s
.
modelData
.
list
)
{
if
(
l
&&
s
.
modelData
.
list
)
{
const
c
=
T
(
l
.
proxy
,
s
.
modelData
.
list
,
s
.
controller
.
context
);
const
c
=
T
(
l
.
proxy
,
s
.
modelData
.
list
,
s
.
controller
.
context
);
C
(()
=>
{
C
(()
=>
{
c
.
nerve
.
self
.
evt
.
on
(
"mounted"
,
async
()
=>
{
c
.
nerve
.
self
.
evt
.
on
(
"mounted"
,
async
()
=>
{
const
i
=
await
c
.
load
()
,
g
=
i
.
find
((
f
)
=>
f
.
codename
===
"KFLPMSWebApp"
)
;
const
i
=
await
c
.
load
();
e
.
value
=
i
.
slice
(
0
,
3
)
,
e
.
value
.
push
(
g
)
;
e
.
value
=
i
.
slice
(
0
,
3
);
});
});
});
});
}
}
...
@@ -79,7 +79,7 @@ class J {
...
@@ -79,7 +79,7 @@ class J {
return
await
l
.
init
(),
l
;
return
await
l
.
init
(),
l
;
}
}
}
}
const
M
=
D
({
const
M
=
k
({
name
:
"FuncDrawer"
,
name
:
"FuncDrawer"
,
props
:
{
props
:
{
isShowDrawer
:
{
isShowDrawer
:
{
...
@@ -94,8 +94,8 @@ const M = D({
...
@@ -94,8 +94,8 @@ const M = D({
setup
(
s
,
{
setup
(
s
,
{
emit
:
n
emit
:
n
})
{
})
{
var
I
;
var
S
;
const
e
=
k
(
"func-drawer"
),
p
=
d
.
dir
(
"/assets/img/placeholder.svg"
),
l
=
"未分类"
,
m
=
v
([]),
c
=
v
([]),
i
=
v
(
!
1
),
g
=
(
I
=
L
())
==
null
?
void
0
:
I
.
proxy
,
f
=
()
=>
{
const
e
=
D
(
"func-drawer"
),
p
=
d
.
dir
(
"/assets/img/placeholder.svg"
),
l
=
"未分类"
,
h
=
f
([]),
c
=
f
([]),
i
=
f
(
!
1
),
m
=
(
S
=
L
())
==
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
,
...
@@ -111,7 +111,7 @@ const M = D({
...
@@ -111,7 +111,7 @@ const M = D({
r
[
u
]
?
r
[
u
].
push
(
o
)
:
r
[
u
]
=
[
o
];
r
[
u
]
?
r
[
u
].
push
(
o
)
:
r
[
u
]
=
[
o
];
}
}
return
o
.
ispersonal
;
return
o
.
ispersonal
;
}),
m
.
value
=
Object
.
keys
(
r
).
map
((
o
)
=>
({
}),
h
.
value
=
Object
.
keys
(
r
).
map
((
o
)
=>
({
name
:
o
,
name
:
o
,
items
:
r
[
o
]
items
:
r
[
o
]
}));
}));
...
@@ -125,20 +125,20 @@ const M = D({
...
@@ -125,20 +125,20 @@ const M = D({
list
:
c
.
value
list
:
c
.
value
})
})
}).
then
((
a
)
=>
{
}).
then
((
a
)
=>
{
a
.
ok
&&
(
g
==
null
||
g
.
$Notice
.
success
({
a
.
ok
&&
(
m
==
null
||
m
.
$Notice
.
success
({
title
:
"成功"
,
title
:
"成功"
,
desc
:
"保存成功"
desc
:
"保存成功"
}),
f
());
}),
b
());
})),
i
.
value
=
!
i
.
value
;
})),
i
.
value
=
!
i
.
value
;
};
};
R
(()
=>
s
.
isShowDrawer
,
(
a
)
=>
{
R
(()
=>
s
.
isShowDrawer
,
(
a
)
=>
{
a
&&
f
();
a
&&
b
();
});
});
const
h
=
(
a
)
=>
{
const
g
=
(
a
)
=>
{
a
&&
ibiz
.
net
.
get
(
`/appfuncs/
${
a
}
/getfuncurl`
).
then
((
r
)
=>
{
a
&&
ibiz
.
net
.
get
(
`/appfuncs/
${
a
}
/getfuncurl`
).
then
((
r
)
=>
{
r
.
ok
&&
r
.
data
&&
r
.
data
.
url
&&
window
.
open
(
r
.
data
.
url
);
r
.
ok
&&
r
.
data
&&
r
.
data
.
url
&&
window
.
open
(
r
.
data
.
url
);
});
});
},
b
=
(
a
,
r
)
=>
{
},
v
=
(
a
,
r
)
=>
{
var
o
;
var
o
;
i
.
value
&&
((
o
=
a
.
dataTransfer
)
==
null
||
o
.
setData
(
"originIndex"
,
r
.
toString
()));
i
.
value
&&
((
o
=
a
.
dataTransfer
)
==
null
||
o
.
setData
(
"originIndex"
,
r
.
toString
()));
},
E
=
(
a
)
=>
{
},
E
=
(
a
)
=>
{
...
@@ -151,7 +151,7 @@ const M = D({
...
@@ -151,7 +151,7 @@ const M = D({
c
.
value
.
splice
(
o
,
1
,
P
),
c
.
value
.
splice
(
r
,
1
,
u
);
c
.
value
.
splice
(
o
,
1
,
P
),
c
.
value
.
splice
(
r
,
1
,
u
);
}
}
}
}
},
S
=
(
a
,
r
,
o
,
u
)
=>
{
},
I
=
(
a
,
r
,
o
,
u
)
=>
{
if
(
a
.
stopPropagation
(),
r
.
ispersonal
=
+!
r
.
ispersonal
,
u
===
"remove"
)
if
(
a
.
stopPropagation
(),
r
.
ispersonal
=
+!
r
.
ispersonal
,
u
===
"remove"
)
c
.
value
.
splice
(
o
,
1
);
c
.
value
.
splice
(
o
,
1
);
else
if
(
u
===
"change"
)
{
else
if
(
u
===
"change"
)
{
...
@@ -185,8 +185,8 @@ const M = D({
...
@@ -185,8 +185,8 @@ const M = D({
class
:
[
e
.
b
(
"group-item"
),
a
.
pssysappfuncid
?
""
:
e
.
bm
(
"group-item"
,
"disabled"
)],
class
:
[
e
.
b
(
"group-item"
),
a
.
pssysappfuncid
?
""
:
e
.
bm
(
"group-item"
,
"disabled"
)],
key
:
a
.
pssysappfuncid
,
key
:
a
.
pssysappfuncid
,
on
:
{
on
:
{
click
:
()
=>
h
(
a
.
pssysappfuncid
),
click
:
()
=>
g
(
a
.
pssysappfuncid
),
dragstart
:
(
o
)
=>
b
(
o
,
r
),
dragstart
:
(
o
)
=>
v
(
o
,
r
),
dragover
:
E
,
dragover
:
E
,
drop
:
(
o
)
=>
z
(
o
,
r
)
drop
:
(
o
)
=>
z
(
o
,
r
)
},
},
...
@@ -196,7 +196,7 @@ const M = D({
...
@@ -196,7 +196,7 @@ const M = D({
},
[
t
(
"div"
,
{
},
[
t
(
"div"
,
{
class
:
[
e
.
be
(
"group-item"
,
"checkbox"
),
e
.
bem
(
"group-item"
,
"checkbox"
,
"remove"
),
i
.
value
?
e
.
bem
(
"group-item"
,
"checkbox"
,
"show"
)
:
""
],
class
:
[
e
.
be
(
"group-item"
,
"checkbox"
),
e
.
bem
(
"group-item"
,
"checkbox"
,
"remove"
),
i
.
value
?
e
.
bem
(
"group-item"
,
"checkbox"
,
"show"
)
:
""
],
on
:
{
on
:
{
click
:
(
o
)
=>
S
(
o
,
a
,
r
,
"remove"
)
click
:
(
o
)
=>
I
(
o
,
a
,
r
,
"remove"
)
}
}
},
[
t
(
"i-icon"
,
{
},
[
t
(
"i-icon"
,
{
attrs
:
{
attrs
:
{
...
@@ -217,7 +217,7 @@ const M = D({
...
@@ -217,7 +217,7 @@ const M = D({
}
}
},
[
t
(
"div"
,
{
},
[
t
(
"div"
,
{
class
:
e
.
be
(
"group-item"
,
"text"
)
class
:
e
.
be
(
"group-item"
,
"text"
)
},
[
a
.
pssysappfuncname
])])]))])]),
m
.
value
.
map
((
a
,
r
)
=>
t
(
"div"
,
{
},
[
a
.
pssysappfuncname
])])]))])]),
h
.
value
.
map
((
a
,
r
)
=>
t
(
"div"
,
{
class
:
e
.
b
(
"group"
),
class
:
e
.
b
(
"group"
),
key
:
r
key
:
r
},
[
t
(
"header"
,
{
},
[
t
(
"header"
,
{
...
@@ -228,12 +228,12 @@ const M = D({
...
@@ -228,12 +228,12 @@ const M = D({
class
:
[
e
.
b
(
"group-item"
),
o
.
pssysappfuncid
?
""
:
e
.
bm
(
"group-item"
,
"disabled"
)],
class
:
[
e
.
b
(
"group-item"
),
o
.
pssysappfuncid
?
""
:
e
.
bm
(
"group-item"
,
"disabled"
)],
key
:
o
.
pssysappfuncid
,
key
:
o
.
pssysappfuncid
,
on
:
{
on
:
{
click
:
()
=>
h
(
o
.
pssysappfuncid
)
click
:
()
=>
g
(
o
.
pssysappfuncid
)
}
}
},
[
t
(
"div"
,
{
},
[
t
(
"div"
,
{
class
:
[
e
.
be
(
"group-item"
,
"checkbox"
),
o
.
ispersonal
?
e
.
bem
(
"group-item"
,
"checkbox"
,
"selected"
)
:
""
,
i
.
value
?
e
.
bem
(
"group-item"
,
"checkbox"
,
"show"
)
:
""
],
class
:
[
e
.
be
(
"group-item"
,
"checkbox"
),
o
.
ispersonal
?
e
.
bem
(
"group-item"
,
"checkbox"
,
"selected"
)
:
""
,
i
.
value
?
e
.
bem
(
"group-item"
,
"checkbox"
,
"show"
)
:
""
],
on
:
{
on
:
{
click
:
(
u
)
=>
S
(
u
,
o
,
r
,
"change"
)
click
:
(
u
)
=>
I
(
u
,
o
,
r
,
"change"
)
}
}
},
[
o
.
ispersonal
?
t
(
"i-icon"
,
{
},
[
o
.
ispersonal
?
t
(
"i-icon"
,
{
attrs
:
{
attrs
:
{
...
@@ -256,7 +256,7 @@ const M = D({
...
@@ -256,7 +256,7 @@ const M = D({
class
:
e
.
be
(
"group-item"
,
"text"
)
class
:
e
.
be
(
"group-item"
,
"text"
)
},
[
o
.
pssysappfuncname
])])]))])]))])]);
},
[
o
.
pssysappfuncname
])])]))])]))])]);
}
}
}),
K
=
D
({
}),
H
=
k
({
name
:
"FuncPortalListPortlet"
,
name
:
"FuncPortalListPortlet"
,
components
:
{
components
:
{
FuncDrawer
:
M
FuncDrawer
:
M
...
@@ -272,33 +272,33 @@ const M = D({
...
@@ -272,33 +272,33 @@ const M = D({
}
}
},
},
setup
(
s
)
{
setup
(
s
)
{
const
n
=
k
(
"func-portal-list-portlet"
),
e
=
d
.
dir
(
"/assets/img/quick-entry.svg"
),
p
=
d
.
dir
(
"/assets/img/editor.svg"
),
l
=
d
.
dir
(
"/assets/img/placeholder.svg"
),
m
=
v
([]),
c
=
L
();
const
n
=
D
(
"func-portal-list-portlet"
),
e
=
d
.
dir
(
"/assets/img/quick-entry.svg"
),
p
=
d
.
dir
(
"/assets/img/editor.svg"
),
l
=
d
.
dir
(
"/assets/img/placeholder.svg"
),
h
=
f
([]),
c
=
L
();
let
i
=
null
;
let
i
=
null
;
c
&&
s
.
modelData
.
list
&&
(
i
=
T
(
c
.
proxy
,
s
.
modelData
.
list
,
s
.
controller
.
context
),
C
(()
=>
{
c
&&
s
.
modelData
.
list
&&
(
i
=
T
(
c
.
proxy
,
s
.
modelData
.
list
,
s
.
controller
.
context
),
C
(()
=>
{
i
==
null
||
i
.
nerve
.
self
.
evt
.
on
(
"mounted"
,
async
()
=>
{
i
==
null
||
i
.
nerve
.
self
.
evt
.
on
(
"mounted"
,
async
()
=>
{
if
(
i
)
{
if
(
i
)
{
const
h
=
await
i
.
load
();
const
g
=
await
i
.
load
();
m
.
value
=
h
;
h
.
value
=
g
;
}
}
});
});
}));
}));
const
g
=
(
h
)
=>
{
const
m
=
(
g
)
=>
{
h
&&
ibiz
.
net
.
get
(
`/appfuncs/
${
h
}
/getfuncurl`
).
then
((
b
)
=>
{
g
&&
ibiz
.
net
.
get
(
`/appfuncs/
${
g
}
/getfuncurl`
).
then
((
v
)
=>
{
b
.
ok
&&
b
.
data
&&
b
.
data
.
url
&&
window
.
open
(
b
.
data
.
url
);
v
.
ok
&&
v
.
data
&&
v
.
data
.
url
&&
window
.
open
(
v
.
data
.
url
);
});
});
},
f
=
v
(
!
1
);
},
b
=
f
(
!
1
);
return
{
return
{
ns
:
n
,
ns
:
n
,
quickEntryImg
:
e
,
quickEntryImg
:
e
,
editorImg
:
p
,
editorImg
:
p
,
placeholderImg
:
l
,
placeholderImg
:
l
,
funcPortalList
:
m
,
funcPortalList
:
h
,
openPage
:
g
,
openPage
:
m
,
isShowDrawer
:
f
,
isShowDrawer
:
b
,
isShowDrawerChange
:
async
()
=>
{
isShowDrawerChange
:
async
()
=>
{
if
(
f
.
value
=
!
1
,
i
)
{
if
(
b
.
value
=
!
1
,
i
)
{
const
h
=
await
i
.
load
();
const
g
=
await
i
.
load
();
m
.
value
=
h
;
h
.
value
=
g
;
}
}
}
}
};
};
...
@@ -366,9 +366,9 @@ const M = D({
...
@@ -366,9 +366,9 @@ const M = D({
})]);
})]);
}
}
});
});
class
W
{
class
K
{
constructor
()
{
constructor
()
{
w
(
this
,
"component"
,
K
);
w
(
this
,
"component"
,
H
);
}
}
async
createController
(
n
,
e
,
p
)
{
async
createController
(
n
,
e
,
p
)
{
const
l
=
new
y
(
const
l
=
new
y
(
...
@@ -379,7 +379,7 @@ class W {
...
@@ -379,7 +379,7 @@ class W {
return
await
l
.
init
(),
l
;
return
await
l
.
init
(),
l
;
}
}
}
}
const
H
=
D
({
const
Q
=
k
({
name
:
"TodoAppMenuPortlet"
,
name
:
"TodoAppMenuPortlet"
,
props
:
{
props
:
{
modelData
:
{
modelData
:
{
...
@@ -392,16 +392,16 @@ const H = D({
...
@@ -392,16 +392,16 @@ const H = D({
}
}
},
},
setup
(
s
)
{
setup
(
s
)
{
const
n
=
k
(
"todo-app-menu-portlet"
),
e
=
Array
.
from
({
const
n
=
D
(
"todo-app-menu-portlet"
),
e
=
Array
.
from
({
length
:
5
length
:
5
}).
map
((
c
,
i
)
=>
d
.
dir
(
`/assets/img/todo-app-menu-
${
i
}
.svg`
));
}).
map
((
c
,
i
)
=>
d
.
dir
(
`/assets/img/todo-app-menu-
${
i
}
.svg`
));
let
p
=
null
;
let
p
=
null
;
const
l
=
v
({});
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
&&
(
C
(
async
()
=>
{
i
&&
(
C
(
async
()
=>
{
p
=
await
B
.
getCounterByRef
(
i
),
p
.
onChange
((
g
)
=>
{
p
=
await
B
.
getCounterByRef
(
i
),
p
.
onChange
((
m
)
=>
{
l
.
value
=
g
;
l
.
value
=
m
;
});
});
}),
N
(()
=>
{
}),
N
(()
=>
{
p
==
null
||
p
.
destroy
();
p
==
null
||
p
.
destroy
();
...
@@ -452,9 +452,9 @@ const H = D({
...
@@ -452,9 +452,9 @@ const H = D({
},
[
n
.
label
])])])]))]);
},
[
n
.
label
])])])]))]);
}
}
});
});
class
Q
{
class
V
{
constructor
()
{
constructor
()
{
w
(
this
,
"component"
,
H
);
w
(
this
,
"component"
,
Q
);
}
}
async
createController
(
n
,
e
,
p
)
{
async
createController
(
n
,
e
,
p
)
{
const
l
=
new
A
(
const
l
=
new
A
(
...
@@ -473,10 +473,10 @@ const ot = {
...
@@ -473,10 +473,10 @@ const ot = {
new
J
()
new
J
()
),
ibiz
.
register
.
portletPart
.
register
(
),
ibiz
.
register
.
portletPart
.
register
(
"PORTLET_CUSTOM_FuncPortalList"
,
"PORTLET_CUSTOM_FuncPortalList"
,
new
W
()
new
K
()
),
ibiz
.
register
.
portletPart
.
register
(
),
ibiz
.
register
.
portletPart
.
register
(
"PORTLET_CUSTOM_TodoAppMenu"
,
"PORTLET_CUSTOM_TodoAppMenu"
,
new
Q
()
new
V
()
);
);
}
}
};
};
...
...
app_Web/public/plugins/@ibiz-template-plugin/sy-pms-portal@0.0.1/dist/index.legacy.js
浏览文件 @
014af9a9
此差异已折叠。
点击以展开。
app_Web/public/plugins/@ibiz-template-plugin/sy-pms-portal@0.0.1/dist/polyfills.legacy.js
浏览文件 @
014af9a9
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录