Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-solr
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
xzxt-solr
Commits
d0f81810
Commit
d0f81810
authored
Jul 14, 2018
by
wuyiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复刑事主案类别联动bug
parent
0d918d81
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
24 deletions
+25
-24
src/main/webapp/static/easyui-window/js/function.js
+0
-23
src/main/webapp/static/rasc/js/index.js
+25
-1
No files found.
src/main/webapp/static/easyui-window/js/function.js
View file @
d0f81810
...
...
@@ -1717,29 +1717,6 @@ function getCookie(name){
return
null
;
}
$
(
'#ajzlb'
).
combotree
({
onSelect
:
function
(
row
)
{
if
(
row
!=
null
)
{
$
(
'#ajxzlb'
).
combotree
(
'clear'
);
$
(
'#xalbdmbcms'
).
combotree
(
'clear'
);
$
(
'#ajxzlb'
).
combotree
({
codetype
:
"queryAjxzlbDicJson?code_val="
+
row
.
id
});
openCombotree
(
'ajxzlb'
);
}
}
});
$
(
'#ajxzlb'
).
combotree
({
onSelect
:
function
(
row
)
{
if
(
row
!=
null
)
{
$
(
'#xalbdmbcms'
).
combotree
(
'clear'
);
$
(
'#xalbdmbcms'
).
combotree
({
codetype
:
"queryXalbdmbcmsDicJson?code_val="
+
row
.
id
});
openCombotree
(
'xalbdmbcms'
);
}
}
});
$
(
function
(){
openCombotrees
();
})
src/main/webapp/static/rasc/js/index.js
View file @
d0f81810
...
...
@@ -233,8 +233,17 @@ var navCategoryFormUtils = {
var
codetype
=
$
(
this
).
combotree
(
'options'
).
codetype
;
var
index
=
codetype
.
indexOf
(
"type="
);
var
code
=
$
(
this
).
attr
(
"id"
);
var
type
=
""
;
if
(
index
>
0
)
{
var
type
=
codetype
.
substring
(
index
+
5
,
codetype
.
length
);
type
=
codetype
.
substring
(
index
+
5
,
codetype
.
length
);
}
else
{
if
(
code
==
"ajxzlb"
){
type
=
"CODE_AJXZLB"
;
}
else
if
(
code
==
"xalbdmbcms"
){
type
=
"CODE_XALBDMBCMS"
;
}
}
if
(
type
){
$
.
ajax
({
type
:
"get"
,
url
:
"getCodeNameByCodeVal"
,
...
...
@@ -246,6 +255,21 @@ var navCategoryFormUtils = {
}
});
}
if
(
code
==
"ajzlb"
){
$
(
'#ajxzlb'
).
combotree
(
'clear'
);
$
(
'#xalbdmbcms'
).
combotree
(
'clear'
);
$
(
'#ajxzlb'
).
combotree
({
codetype
:
"queryAjxzlbDicJson?code_val="
+
n
});
openCombotree
(
'ajxzlb'
);
}
if
(
code
==
"ajxzlb"
){
$
(
'#xalbdmbcms'
).
combotree
(
'clear'
);
$
(
'#xalbdmbcms'
).
combotree
({
codetype
:
"queryXalbdmbcmsDicJson?code_val="
+
n
});
openCombotree
(
'xalbdmbcms'
);
}
}
}
});
...
...
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