Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cmszMonitorAnalysis
Project
Project
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
liuna
cmszMonitorAnalysis
Commits
08503c0e
Commit
08503c0e
authored
Dec 02, 2017
by
胡斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
智能分析平台打包备份
parent
92210c7a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
2 deletions
+25
-2
workspace.xml
.idea/workspace.xml
+0
-0
CmszMonitorAnalysis.iml
CmszMonitorAnalysis.iml
+2
-2
FilterRuleMaintainController.java
...msz/web/analysissupport/FilterRuleMaintainController.java
+22
-0
ProvinceTag.tag
src/main/webapp/WEB-INF/tags/ProvinceTag.tag
+1
-0
No files found.
.idea/workspace.xml
View file @
08503c0e
This diff is collapsed.
Click to expand it.
CmszMonitorAnalysis.iml
View file @
08503c0e
...
@@ -1460,7 +1460,7 @@
...
@@ -1460,7 +1460,7 @@
<SOURCES
/>
<SOURCES
/>
</library>
</library>
</orderEntry>
</orderEntry>
<orderEntry
type=
"
jdk"
jdkName=
"1.6"
jdkType=
"JavaSDK
"
/>
<orderEntry
type=
"
inheritedJdk
"
/>
<orderEntry
type=
"module-library"
>
<orderEntry
type=
"module-library"
>
<library>
<library>
<CLASSES>
<CLASSES>
...
@@ -1473,7 +1473,7 @@
...
@@ -1473,7 +1473,7 @@
<orderEntry
type=
"module-library"
>
<orderEntry
type=
"module-library"
>
<library>
<library>
<CLASSES>
<CLASSES>
<root
url=
"jar://$MODULE_DIR$/
../../apache-tomcat-7.0.47/
lib/servlet-api.jar!/"
/>
<root
url=
"jar://$MODULE_DIR$/lib/servlet-api.jar!/"
/>
</CLASSES>
</CLASSES>
<JAVADOC
/>
<JAVADOC
/>
<SOURCES
/>
<SOURCES
/>
...
...
src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java
View file @
08503c0e
package
com
.
hp
.
cmsz
.
web
.
analysissupport
;
package
com
.
hp
.
cmsz
.
web
.
analysissupport
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
com.hp.cmsz.entity.Province
;
import
com.hp.cmsz.repository.ChannelDao
;
import
com.hp.cmsz.repository.DataSourceDao
;
import
com.hp.cmsz.repository.ProvinceDao
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
com.hp.cmsz.web.PageURLController
;
import
com.hp.cmsz.web.PageURLController
;
import
javax.annotation.Resource
;
/**
/**
* 质量规则维护的新增过滤规则控制类
* 质量规则维护的新增过滤规则控制类
*
*
...
@@ -18,9 +26,23 @@ import com.hp.cmsz.web.PageURLController;
...
@@ -18,9 +26,23 @@ import com.hp.cmsz.web.PageURLController;
@RequestMapping
(
value
=
"AnalysisSupport/FilterRuleMaintain"
)
@RequestMapping
(
value
=
"AnalysisSupport/FilterRuleMaintain"
)
public
class
FilterRuleMaintainController
{
public
class
FilterRuleMaintainController
{
@Resource
private
ProvinceDao
provinceDao
;
@Autowired
private
ChannelDao
channelDao
;
@Autowired
private
DataSourceDao
dataSourceDao
;
@RequestMapping
(
value
=
""
)
@RequestMapping
(
value
=
""
)
public
String
filterMaintainHome
(
Map
model
){
public
String
filterMaintainHome
(
Map
model
){
List
<
Province
>
provinceList
=(
List
<
Province
>)
provinceDao
.
findProvince
();
model
.
put
(
"providerList"
,
provinceList
);
return
PageURLController
.
FilterMaintain
;
return
PageURLController
.
FilterMaintain
;
}
}
}
}
src/main/webapp/WEB-INF/tags/ProvinceTag.tag
View file @
08503c0e
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
</c:forEach>
</c:forEach>
</div>
</div>
<script type="text/javascript">
<script type="text/javascript">
console.log("${provinceList}");
//全选和不全选所有的省
//全选和不全选所有的省
$("#allProvince").click(function(){
$("#allProvince").click(function(){
if($("#allProvince").attr("checked") == "checked"){//全选
if($("#allProvince").attr("checked") == "checked"){//全选
...
...
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