Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fusionadmin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林洽文
fusionadmin
Commits
8cda7e4c
Commit
8cda7e4c
authored
May 12, 2023
by
zazaname
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
聚合服务端后台V1.0
parent
7de8a5a2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
4012 deletions
+30
-4012
composer.lock
composer.lock
+0
-4012
config-admin.js
public/static/config-admin.js
+2
-0
easy-admin.js
public/static/plugs/easy-admin/easy-admin.js
+20
-0
xm-select.js
public/static/plugs/lay-module/xm-select/xm-select.js
+8
-0
No files found.
composer.lock
deleted
100644 → 0
View file @
7de8a5a2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
public/static/config-admin.js
View file @
8cda7e4c
...
...
@@ -20,6 +20,7 @@ require.config({
"tableSelect"
:
[
"plugs/lay-module/tableSelect/tableSelect"
],
"iconPickerFa"
:
[
"plugs/lay-module/iconPicker/iconPickerFa"
],
"autocomplete"
:
[
"plugs/lay-module/autocomplete/autocomplete"
],
"xm-select"
:
[
"plugs/lay-module/xm-select/xm-select"
],
"vue"
:
[
"plugs/vue-2.6.10/vue.min"
],
"ckeditor"
:
[
"plugs/ckeditor4/ckeditor"
],
}
...
...
@@ -33,6 +34,7 @@ window.PATH_CONFIG = PATH_CONFIG;
// 初始化控制器对应的JS自动加载
if
(
"undefined"
!=
typeof
CONFIG
.
AUTOLOAD_JS
&&
CONFIG
.
AUTOLOAD_JS
)
{
console
.
log
(
BASE_URL
+
CONFIG
.
CONTROLLER_JS_PATH
);
require
([
BASE_URL
+
CONFIG
.
CONTROLLER_JS_PATH
+
"?t="
+
(
Date
.
parse
(
new
Date
()))],
function
(
Controller
)
{
if
(
eval
(
'Controller.'
+
CONFIG
.
ACTION
))
{
eval
(
'Controller.'
+
CONFIG
.
ACTION
+
'()'
);
...
...
public/static/plugs/easy-admin/easy-admin.js
View file @
8cda7e4c
...
...
@@ -333,6 +333,26 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
'</div>
\
n'
+
'</div>'
;
break
;
case
'xm-select'
:
d
.
searchOp
=
'='
;
var
xm_select_html
=
''
;
$
.
each
(
d
.
selectList
,
function
(
sI
,
sV
)
{
var
selected
=
''
;
if
(
sI
===
d
.
searchValue
)
{
selected
=
'selected=""'
;
}
xm_select_html
+=
'<option value="'
+
sI
+
'" '
+
selected
+
'>'
+
sV
+
'</option>/n'
;
});
formHtml
+=
'
\
t<div class="layui-form-item layui-inline">
\
n'
+
'<label class="layui-form-label">'
+
d
.
title
+
'</label>
\
n'
+
'<div class="layui-input-inline xm-select">
\
n'
+
'<select class="layui-select" id="c-'
+
d
.
fieldAlias
+
'" name="'
+
d
.
fieldAlias
+
'" data-search-op="'
+
d
.
searchOp
+
'" >
\
n'
+
'<option value="">- 全部 -</option>
\
n'
+
xm_select_html
+
'</select>
\
n'
+
'</div>
\
n'
+
'</div>'
;
break
;
case
'range'
:
d
.
searchOp
=
'range'
;
formHtml
+=
'
\
t<div class="layui-form-item layui-inline">
\
n'
+
...
...
public/static/plugs/lay-module/xm-select/xm-select.js
0 → 100644
View file @
8cda7e4c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment