Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
de726443
Commit
de726443
authored
Dec 09, 2018
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善字典的搜索
parent
b1e37873
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
17 deletions
+7
-17
src/main/webapp/assets/modular/system/dict/dict.js
+7
-17
No files found.
src/main/webapp/assets/modular/system/dict/dict.js
View file @
de726443
...
...
@@ -69,22 +69,6 @@ Dict.openAddItem = function () {
};
/**
* 打开查看字典详情
*/
Dict
.
openDictDetail
=
function
()
{
if
(
this
.
check
())
{
this
.
layerIndex
=
layer
.
open
({
type
:
2
,
title
:
'字典详情'
,
area
:
[
'800px'
,
'420px'
],
//宽高
fix
:
false
,
//不固定
maxmin
:
true
,
content
:
Feng
.
ctxPath
+
'/dict/dict_edit/'
+
Dict
.
seItem
.
dictId
});
}
};
/**
* 删除字典
*/
Dict
.
delete
=
function
()
{
...
...
@@ -110,11 +94,17 @@ Dict.delete = function () {
*/
Dict
.
search
=
function
()
{
var
queryData
=
{};
queryData
[
'condition'
]
=
$
(
"#condition"
).
val
()
;
queryData
[
'condition'
]
=
Dict
.
condition
.
condition
;
Dict
.
table
.
refresh
({
query
:
queryData
});
};
$
(
function
()
{
Dict
.
app
=
new
Vue
({
el
:
'#dictPage'
,
data
:
Dict
.
condition
});
var
defaultColunms
=
Dict
.
initColumn
();
var
table
=
new
BSTable
(
Dict
.
id
,
"/dict/list"
,
defaultColunms
);
table
.
setPaginationType
(
"client"
);
...
...
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