Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
4fc0cc16
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1433
Star
162
Fork
130
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
4fc0cc16
编写于
1月 08, 2019
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
问卷删除功能完成
上级
cdf84240
变更
10
展开全部
隐藏空白更改
内联
并排
Showing
10 changed file
with
2494 addition
and
1 deletion
+2494
-1
logs/skyeye.log
logs/skyeye.log
+508
-0
skyeye-promote/src/main/java/com/skyeye/eve/controller/DwSurveyDirectoryController.java
...om/skyeye/eve/controller/DwSurveyDirectoryController.java
+16
-0
skyeye-promote/src/main/java/com/skyeye/eve/dao/DwSurveyDirectoryDao.java
...rc/main/java/com/skyeye/eve/dao/DwSurveyDirectoryDao.java
+2
-0
skyeye-promote/src/main/java/com/skyeye/eve/service/DwSurveyDirectoryService.java
...java/com/skyeye/eve/service/DwSurveyDirectoryService.java
+2
-0
skyeye-promote/src/main/java/com/skyeye/eve/service/impl/DwSurveyDirectoryServiceImpl.java
...skyeye/eve/service/impl/DwSurveyDirectoryServiceImpl.java
+16
-0
skyeye-promote/src/main/resources/dbmapper/DwSurveyDirectoryMapper.xml
...e/src/main/resources/dbmapper/DwSurveyDirectoryMapper.xml
+8
-0
skyeye-promote/src/main/resources/mapping/reqdwsurvey.xml
skyeye-promote/src/main/resources/mapping/reqdwsurvey.xml
+3
-0
skyeye-promote/src/main/resources/template/js/dwsurveydesign/dwsurveydesignlist.js
...esources/template/js/dwsurveydesign/dwsurveydesignlist.js
+1
-1
skyeye-promote/src/main/resources/template/tpl/dwsurveydesign/surveyModelTemplate.html
...rces/template/tpl/dwsurveydesign/surveyModelTemplate.html
+1202
-0
skyeye-promote/src/main/resources/template/tpl/dwsurveydesign/surveyModelTemplate.tpl
...urces/template/tpl/dwsurveydesign/surveyModelTemplate.tpl
+736
-0
未找到文件。
logs/skyeye.log
浏览文件 @
4fc0cc16
此差异已折叠。
点击以展开。
skyeye-promote/src/main/java/com/skyeye/eve/controller/DwSurveyDirectoryController.java
浏览文件 @
4fc0cc16
...
@@ -400,4 +400,20 @@ public class DwSurveyDirectoryController {
...
@@ -400,4 +400,20 @@ public class DwSurveyDirectoryController {
dwSurveyDirectoryService
.
queryDwSurveyDirectoryMationByIdToHTML
(
inputObject
,
outputObject
);
dwSurveyDirectoryService
.
queryDwSurveyDirectoryMationByIdToHTML
(
inputObject
,
outputObject
);
}
}
/**
*
* @Title: deleteSurveyMationById
* @Description: 删除问卷
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/DwSurveyDirectoryController/deleteSurveyMationById"
)
@ResponseBody
public
void
deleteSurveyMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
dwSurveyDirectoryService
.
deleteSurveyMationById
(
inputObject
,
outputObject
);
}
}
}
skyeye-promote/src/main/java/com/skyeye/eve/dao/DwSurveyDirectoryDao.java
浏览文件 @
4fc0cc16
...
@@ -130,4 +130,6 @@ public interface DwSurveyDirectoryDao {
...
@@ -130,4 +130,6 @@ public interface DwSurveyDirectoryDao {
public
int
editQuestionRowMationList
(
List
<
Map
<
String
,
Object
>>
editquRow
)
throws
Exception
;
public
int
editQuestionRowMationList
(
List
<
Map
<
String
,
Object
>>
editquRow
)
throws
Exception
;
public
int
deleteSurveyMationById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
}
}
skyeye-promote/src/main/java/com/skyeye/eve/service/DwSurveyDirectoryService.java
浏览文件 @
4fc0cc16
...
@@ -53,4 +53,6 @@ public interface DwSurveyDirectoryService {
...
@@ -53,4 +53,6 @@ public interface DwSurveyDirectoryService {
public
void
queryDwSurveyDirectoryMationByIdToHTML
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
queryDwSurveyDirectoryMationByIdToHTML
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
deleteSurveyMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
}
}
skyeye-promote/src/main/java/com/skyeye/eve/service/impl/DwSurveyDirectoryServiceImpl.java
浏览文件 @
4fc0cc16
...
@@ -1207,5 +1207,21 @@ public class DwSurveyDirectoryServiceImpl implements DwSurveyDirectoryService{
...
@@ -1207,5 +1207,21 @@ public class DwSurveyDirectoryServiceImpl implements DwSurveyDirectoryService{
outputObject
.
setBeans
(
questions
);
outputObject
.
setBeans
(
questions
);
outputObject
.
settotal
(
1
);
outputObject
.
settotal
(
1
);
}
}
/**
*
* @Title: deleteSurveyMationById
* @Description: 删除问卷
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
deleteSurveyMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
dwSurveyDirectoryDao
.
deleteSurveyMationById
(
map
);
//删除问卷
}
}
}
skyeye-promote/src/main/resources/dbmapper/DwSurveyDirectoryMapper.xml
浏览文件 @
4fc0cc16
...
@@ -858,4 +858,12 @@
...
@@ -858,4 +858,12 @@
WHERE id = #{quId}
WHERE id = #{quId}
</update>
</update>
<update
id=
"deleteSurveyMationById"
parameterType=
"java.util.Map"
>
UPDATE dw_survey_directory
<set>
visibility = '0',
</set>
WHERE id = #{id}
</update>
</mapper>
</mapper>
\ No newline at end of file
skyeye-promote/src/main/resources/mapping/reqdwsurvey.xml
浏览文件 @
4fc0cc16
...
@@ -190,6 +190,9 @@
...
@@ -190,6 +190,9 @@
<url
id=
"dwsurveydirectory024"
path=
"/post/DwSurveyDirectoryController/queryDwSurveyDirectoryMationByIdToHTML"
val=
"获取调查问卷题目信息用来生成html页面"
allUse=
"1"
>
<url
id=
"dwsurveydirectory024"
path=
"/post/DwSurveyDirectoryController/queryDwSurveyDirectoryMationByIdToHTML"
val=
"获取调查问卷题目信息用来生成html页面"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"问卷id"
/>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"问卷id"
/>
</url>
</url>
<url
id=
"dwsurveydirectory025"
path=
"/post/DwSurveyDirectoryController/deleteSurveyMationById"
val=
"删除问卷"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"问卷id"
/>
</url>
<!-- 问卷调查结束 -->
<!-- 问卷调查结束 -->
</controller>
</controller>
\ No newline at end of file
skyeye-promote/src/main/resources/template/js/dwsurveydesign/dwsurveydesignlist.js
浏览文件 @
4fc0cc16
...
@@ -69,7 +69,7 @@ layui.config({
...
@@ -69,7 +69,7 @@ layui.config({
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除问卷
'
},
function
(
index
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除问卷
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
//向服务端发送删除指令
//向服务端发送删除指令
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
planproject003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
dwsurveydirectory025
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
top
.
winui
.
window
.
msg
(
"
删除成功
"
,
{
icon
:
1
,
time
:
2000
});
top
.
winui
.
window
.
msg
(
"
删除成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
skyeye-promote/src/main/resources/template/tpl/dwsurveydesign/surveyModelTemplate.html
0 → 100644
浏览文件 @
4fc0cc16
此差异已折叠。
点击以展开。
skyeye-promote/src/main/resources/template/tpl/dwsurveydesign/surveyModelTemplate.tpl
0 → 100644
浏览文件 @
4fc0cc16
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录