提交 3ed790bb 编写于 作者: doc_wei's avatar doc_wei

默认保存评分题完成

上级 473dab2e
此差异已折叠。
......@@ -4,12 +4,14 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@EnableAutoConfiguration(exclude={
org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class,
org.activiti.spring.boot.SecurityAutoConfiguration.class
})
@EnableTransactionManagement
@EnableScheduling
public class SkyEyeApplication {
......
......@@ -112,4 +112,20 @@ public class DwSurveyDirectoryController {
dwSurveyDirectoryService.addQuFillblankMation(inputObject, outputObject);
}
/**
*
* @Title: addQuScoreMation
* @Description: 添加评分题
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/DwSurveyDirectoryController/addQuScoreMation")
@ResponseBody
public void addQuScoreMation(InputObject inputObject, OutputObject outputObject) throws Exception{
dwSurveyDirectoryService.addQuScoreMation(inputObject, outputObject);
}
}
......@@ -46,4 +46,6 @@ public interface DwSurveyDirectoryDao {
public int addQuestionLogicsMationList(List<Map<String, Object>> quLogics) throws Exception;
public int addQuestionScoreMationList(List<Map<String, Object>> quScore) throws Exception;
}
......@@ -17,4 +17,6 @@ public interface DwSurveyDirectoryService {
public void addQuFillblankMation(InputObject inputObject, OutputObject outputObject) throws Exception;
public void addQuScoreMation(InputObject inputObject, OutputObject outputObject) throws Exception;
}
......@@ -135,7 +135,7 @@ public class DwSurveyDirectoryServiceImpl implements DwSurveyDirectoryService{
}
} else if (quType.equals(QuType.SCORE.getActionName())) {
List<Map<String, Object>> questionScore = dwSurveyDirectoryDao.queryQuestionScoreListByQuestionId(question);//获取评分题
question.put("questionScore", questionScore);
question.put("quScores", questionScore);
} else if (quType.equals(QuType.ORDERQU.getActionName())) {
List<Map<String, Object>> questionOrderBy = dwSurveyDirectoryDao.queryQuestionOrderByListByQuestionId(question);//获取排序题
question.put("questionOrderBy", questionOrderBy);
......@@ -196,8 +196,6 @@ public class DwSurveyDirectoryServiceImpl implements DwSurveyDirectoryService{
map.put("checkType", CheckType.valueOf(map.get("checkType").toString()).getIndex());
if(ToolUtil.isBlank(map.get("quId").toString())){
map.put("id", ToolUtil.getSurFaceId());
map.put("paramInt01", 3);
map.put("paramInt02", 10);
map.put("quTag", 1);
map.put("visibility", 1);
map.put("createTime", ToolUtil.getTimeAndToString());
......@@ -224,6 +222,80 @@ public class DwSurveyDirectoryServiceImpl implements DwSurveyDirectoryService{
quLogics.add(bean);
}
dwSurveyDirectoryDao.addQuestionLogicsMationList(quLogics);
map.put("quLogics", quLogics);
}
outputObject.setBean(map);
}
/**
*
* @Title: addQuScoreMation
* @Description: 添加评分题
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public void addQuScoreMation(InputObject inputObject, OutputObject outputObject) throws Exception {
Map<String, Object> map = inputObject.getParams();
map.put("quType", QuType.SCORE.getIndex());
String quId = "";
if(ToolUtil.isBlank(map.get("quId").toString())){
quId = ToolUtil.getSurFaceId();
map.put("id", quId);
map.put("quTag", 1);
map.put("visibility", 1);
map.put("createTime", ToolUtil.getTimeAndToString());
dwSurveyDirectoryDao.addQuestionMation(map);
}else{
}
JSONArray score = JSONArray.fromObject(map.get("scoreTd").toString());//获取模板绑定信息
if(score.size() > 0){
List<Map<String, Object>> quScore = new ArrayList<>();
Map<String, Object> user = inputObject.getLogParams();
for(int i = 0; i < score.size(); i++){
JSONObject object = (JSONObject) score.get(i);
Map<String, Object> bean = new HashMap<>();
bean.put("optionId", object.getString("optionId"));
bean.put("orderById", object.getString("key"));
bean.put("optionName", object.getString("optionValue"));
bean.put("quId", quId);
bean.put("visibility", 1);
bean.put("id", ToolUtil.getSurFaceId());
bean.put("createId", user.get("id"));
bean.put("createTime", ToolUtil.getTimeAndToString());
quScore.add(bean);
}
dwSurveyDirectoryDao.addQuestionScoreMationList(quScore);
map.put("quItems", quScore);
}
JSONArray array = JSONArray.fromObject(map.get("logic").toString());//获取模板绑定信息
if(array.size() > 0){
List<Map<String, Object>> quLogics = new ArrayList<>();
Map<String, Object> user = inputObject.getLogParams();
for(int i = 0; i < array.size(); i++){
JSONObject object = (JSONObject) array.get(i);
Map<String, Object> bean = new HashMap<>();
bean.put("quLogicId", object.getString("quLogicId"));
bean.put("cgQuItemId", object.getString("cgQuItemId"));
bean.put("skQuId", object.getString("skQuId"));
bean.put("visibility", object.getString("visibility"));
bean.put("logicType", object.getString("logicType"));
bean.put("title", object.getString("key"));
bean.put("geLe", object.getString("geLe"));
bean.put("scoreNum", object.getString("scoreNum"));
bean.put("id", ToolUtil.getSurFaceId());
bean.put("createId", user.get("id"));
bean.put("createTime", ToolUtil.getTimeAndToString());
quLogics.add(bean);
}
dwSurveyDirectoryDao.addQuestionLogicsMationList(quLogics);
map.put("quLogics", quLogics);
}
outputObject.setBean(map);
}
......
......@@ -200,7 +200,8 @@
a.option_name optionName,
a.option_title optionTitle,
a.order_by_id orderById,
a.visibility
a.visibility,
#{paramInt02} paramInt02
FROM
dw_qu_score a
WHERE
......@@ -336,4 +337,13 @@
</foreach>
</insert>
<insert id="addQuestionScoreMationList" parameterType="java.util.Map">
insert into dw_qu_score
(id, qu_id, option_id, option_name, option_title, order_by_id, visibility, create_id, create_time)
values
<foreach collection="list" item="item" index="index" separator="," >
(#{item.id}, #{item.quId}, #{item.optionId}, #{item.optionName}, #{item.optionTitle}, #{item.orderById}, #{item.visibility}, #{item.createId}, #{item.createTime})
</foreach>
</insert>
</mapper>
\ No newline at end of file
......@@ -49,6 +49,21 @@
<property id="cellCount" name="cellCount" ref="required,num" var="按列显示时,列数"/>
<property id="logic" name="logic" ref="" var="逻辑设置json串"/>
</url>
<url id="dwsurveydirectory007" path="/post/DwSurveyDirectoryController/addQuScoreMation" val="添加评分题" allUse="1">
<property id="quId" name="quId" ref="" var="问题id"/>
<property id="belongId" name="belongId" ref="required" var="问卷id"/>
<property id="quTitle" name="quTitle" ref="required" var="问题标题"/>
<property id="orderById" name="orderById" ref="required,num" var="序号"/>
<property id="tag" name="tag" ref="" var="表示题目是问卷题还是题库中题"/>
<property id="isRequired" name="isRequired" ref="required,num" var="是否必选"/>
<property id="hv" name="hv" ref="required,num" var="1水平显示 2垂直显示"/>
<property id="randOrder" name="randOrder" ref="required,num" var="选项随机排列 1随机排列 0不随机排列"/>
<property id="cellCount" name="cellCount" ref="required,num" var="按列显示时,列数"/>
<property id="paramInt01" name="paramInt01" ref="required,num" var="按列显示时,列数"/>
<property id="paramInt02" name="paramInt02" ref="required,num" var="按列显示时,列数"/>
<property id="scoreTd" name="scoreTd" ref="" var="评分题选项td json串"/>
<property id="logic" name="logic" ref="" var="逻辑设置json串"/>
</url>
<!-- 问卷调查结束 -->
</controller>
\ No newline at end of file
......@@ -82,6 +82,15 @@ layui.config({
hdb.registerHelper("showIndex",function(index, options){
return parseInt(index) + 1;
});
hdb.registerHelper("showParamInt02",function(v1, options){
var str = "";
for(var i = 1; i <= v1; i++){
str += "<td>" + i + "</td>";
}
return str;
});
hdb.registerHelper('compare1', function(v1, v2, options) {
if(v1 == v2){
return options.fn(this);
......@@ -1986,12 +1995,11 @@ layui.config({
**/
function saveFillblank(quItemBody, callback) {
var saveTag = quItemBody.find("input[name='saveTag']").val();
if(saveTag == 0) {
if(saveTag == 0 && isNull(quItemBody.find("input[name='quId']").val())) {
var data = {
belongId: parent.rowId,
orderById: quItemBody.find("input[name='orderById']").val(),
tag: svTag,
quType: quItemBody.find("input[name='quType']").val(),
quId: quItemBody.find("input[name='quId']").val(),
isRequired: quItemBody.find("input[name='isRequired']").val(),
hv: quItemBody.find("input[name='hv']").val(),
......@@ -2031,6 +2039,8 @@ layui.config({
AjaxPostUtil.request({url:reqBasePath + "dwsurveydirectory006", params:data, type:'json', callback:function(json){
if(json.returnCode == 0){
var quId = json.bean.id;
quItemBody.find("input[name='saveTag']").val(1);
quItemBody.find(".quCoTitle input[name='quTitleSaveTag']").val(1);
quItemBody.find("input[name='quId']").val(quId);
//同步logic Id信息
var quLogics = json.bean.quLogics;
......@@ -2040,8 +2050,6 @@ layui.config({
logicItem.find("input[name='logicSaveTag']").val(1);
});
quItemBody.find("input[name='saveTag']").val(1);
quItemBody.find(".quCoTitle input[name='quTitleSaveTag']").val(1);
//执行保存下一题
saveQus(quItemBody.next(), callback);
//同步-更新题目排序号
......@@ -2058,114 +2066,99 @@ layui.config({
//*****评分题****//
/**
** 新保存评分题
* 新保存评分题
**/
function saveScore(quItemBody, callback) {
var saveTag = quItemBody.find("input[name='saveTag']").val();
if(saveTag == 0) {
var url = reqBasePath + "/design/qu-score!ajaxSave.action";
var quType = quItemBody.find("input[name='quType']").val();
var quId = quItemBody.find("input[name='quId']").val();
var orderById = quItemBody.find("input[name='orderById']").val();
var isRequired = quItemBody.find("input[name='isRequired']").val();
var hv = quItemBody.find("input[name='hv']").val();
var randOrder = quItemBody.find("input[name='randOrder']").val();
var cellCount = quItemBody.find("input[name='cellCount']").val();
var paramInt01 = quItemBody.find("input[name='paramInt01']").val();
var paramInt02 = quItemBody.find("input[name='paramInt02']").val();
var data = "belongId=" + questionBelongId + "&orderById=" + orderById + "&tag=" + svTag + "&quType=" + quType + "&quId=" + quId;
data += "&isRequired=" + isRequired + "&hv=" + hv + "&randOrder=" + randOrder + "&cellCount=" + cellCount;
data += "&paramInt01=" + paramInt01 + "&paramInt02=" + paramInt02;
if(saveTag == 0 && isNull(quItemBody.find("input[name='quId']").val())) {
var data = {
belongId: parent.rowId,
orderById: quItemBody.find("input[name='orderById']").val(),
tag: svTag,
quId: quItemBody.find("input[name='quId']").val(),
isRequired: quItemBody.find("input[name='isRequired']").val(),
hv: quItemBody.find("input[name='hv']").val(),
randOrder: quItemBody.find("input[name='randOrder']").val(),
cellCount: quItemBody.find("input[name='cellCount']").val(),
paramInt01: quItemBody.find("input[name='paramInt01']").val(),
paramInt02: quItemBody.find("input[name='paramInt02']").val(),
quTitle: '',
};
var quTitleSaveTag = quItemBody.find("input[name='quTitleSaveTag']").val();
if(quTitleSaveTag == 0) {
var quTitle = quItemBody.find(".quCoTitleEdit").html();
quTitle = escape(encodeURIComponent(quTitle));
data += "&quTitle=" + quTitle;
data.quTitle = encodeURI(quTitle);
}
//评分题选项td
var quItemOptions = quItemBody.find(".quCoItem table.quCoItemTable tr td.quOptionEditTd");
var scoreTd = [];
$.each(quItemOptions, function(i) {
var optionValue = $(this).find("label.quCoOptionEdit").html();
var optionId = $(this).find(".quItemInputCase input[name='quItemId']").val();
var quItemSaveTag = $(this).find(".quItemInputCase input[name='quItemSaveTag']").val();
if(quItemSaveTag == 0) {
optionValue = escape(encodeURIComponent(optionValue));
data += "&optionValue_" + i + "=" + optionValue;
data += "&optionId_" + i + "=" + optionId;
var s = {
optionValue: encodeURI($(this).find("label.quCoOptionEdit").html()),
optionId: $(this).find(".quItemInputCase input[name='quItemId']").val(),
key: i,
};
scoreTd.push(s);
}
//更新 字母 title标记到选项上.
$(this).addClass("quOption_" + i);
});
data.scoreTd = JSON.stringify(scoreTd);
//逻辑选项
var quLogicItems = quItemBody.find(".quLogicItem");
var list = [];
$.each(quLogicItems, function(i) {
var thClass = $(this).attr("class");
thClass = thClass.replace("quLogicItem quLogicItem_", "");
var quLogicId = $(this).find("input[name='quLogicId']").val();
var cgQuItemId = $(this).find("input[name='cgQuItemId']").val();
var skQuId = $(this).find("input[name='skQuId']").val();
var logicSaveTag = $(this).find("input[name='logicSaveTag']").val();
var visibility = $(this).find("input[name='visibility']").val();
var geLe = $(this).find("input[name='geLe']").val();
var scoreNum = $(this).find("input[name='scoreNum']").val();
var logicType = $(this).find("input[name='logicType']").val();
var itemIndex = thClass;
if(logicSaveTag == 0) {
data += "&quLogicId_" + itemIndex + "=" + quLogicId;
data += "&cgQuItemId_" + itemIndex + "=" + cgQuItemId;
data += "&skQuId_" + itemIndex + "=" + skQuId;
data += "&visibility_" + itemIndex + "=" + visibility;
data += "&geLe_" + itemIndex + "=" + geLe;
data += "&scoreNum_" + itemIndex + "=" + scoreNum;
data += "&logicType_" + itemIndex + "=" + logicType;
var s = {
quLogicId: $(this).find("input[name='quLogicId']").val(),
cgQuItemId: $(this).find("input[name='cgQuItemId']").val(),
skQuId: $(this).find("input[name='skQuId']").val(),
visibility: $(this).find("input[name='visibility']").val(),
logicType: $(this).find("input[name='logicType']").val(),
scoreNum: $(this).find("input[name='scoreNum']").val(),
geLe: $(this).find("input[name='geLe']").val(),
key: $(this).attr("class").replace("quLogicItem quLogicItem_", ""),
};
list.push(s);
}
});
$.ajax({
url: url,
data: data,
type: 'post',
success: function(msg) {
//alert(msg);// resultJson quItemId
if(msg != "error") {
var jsons = eval("(" + msg + ")");
//alert(jsons);
var quId = jsons.id;
quItemBody.find("input[name='quId']").val(quId);
var quItems = jsons.quItems;
$.each(quItems, function(i, item) {
var quItemOption = quItemBody.find(".quOption_" + item.title);
quItemOption.find("input[name='quItemId']").val(item.id);
quItemOption.find(".quItemInputCase input[name='quItemSaveTag']").val(1);
});
//同步logic Id信息
var quLogics = jsons.quLogics;
$.each(quLogics, function(i, item) {
var logicItem = quItemBody.find(".quLogicItem_" + item.title);
logicItem.find("input[name='quLogicId']").val(item.id);
logicItem.find("input[name='logicSaveTag']").val(1);
});
quItemBody.find("input[name='saveTag']").val(1);
quItemBody.find(".quCoTitle input[name='quTitleSaveTag']").val(1);
//执行保存下一题
saveQus(quItemBody.next(), callback);
//同步-更新题目排序号
quCBNum2++;
exeQuCBNum();
}
}
});
data.logic = JSON.stringify(list);
AjaxPostUtil.request({url:reqBasePath + "dwsurveydirectory007", params:data, type:'json', callback:function(json){
if(json.returnCode == 0){
var quId = json.bean.id;
quItemBody.find("input[name='saveTag']").val(1);
quItemBody.find(".quCoTitle input[name='quTitleSaveTag']").val(1);
quItemBody.find("input[name='quId']").val(quId);
var quItems = json.bean.quItems;
$.each(quItems, function(i, item) {
var quItemOption = quItemBody.find(".quOption_" + item.orderById);
quItemOption.find("input[name='quItemId']").val(item.id);
quItemOption.find(".quItemInputCase input[name='quItemSaveTag']").val(1);
});
//同步logic Id信息
var quLogics = json.bean.quLogics;
$.each(quLogics, function(i, item) {
var logicItem = quItemBody.find(".quLogicItem_" + item.title);
logicItem.find("input[name='quLogicId']").val(item.id);
logicItem.find("input[name='logicSaveTag']").val(1);
});
//执行保存下一题
saveQus(quItemBody.next(), callback);
//同步-更新题目排序号
quCBNum2++;
exeQuCBNum();
}else{
top.winui.window.msg(json.returnMessage, {icon: 2,time: 2000});
}
}});
} else {
saveQus(quItemBody.next(), callback);
}
......
......@@ -56,7 +56,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -101,7 +101,7 @@
</div>
<div class="surveyQuItemContent">
<div class="quCoTitle">
<div class="quCoNum">{{count}}、</div>
<div class="quCoNum">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -203,7 +203,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -247,7 +247,7 @@
</div>
<div class="surveyQuItemContent">
<div class="quCoTitle">
<div class="quCoNum">{{count}}、</div>
<div class="quCoNum">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -352,7 +352,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogic}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -439,7 +439,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -478,7 +478,7 @@
</div>
<div class="surveyQuItemContent">
<div class="quCoTitle">
<div class="quCoNum">{{count}}、</div>
<div class="quCoNum">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -496,7 +496,7 @@
<table class="quOrderByTable">
{{#each quOrderbys}}
<tr>
<td class="quOrderyTableTd">{{count}}</td>
<td class="quOrderyTableTd">{{showIndex @index}}</td>
<td></td>
</tr>
{{/each}}
......@@ -535,7 +535,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -590,7 +590,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -623,7 +623,7 @@
</div>
<div class="surveyQuItemContent" style="min-height: 45px;">
<div class="quCoTitle">
<div class="quCoNum" style="display: none;">{{count}}、</div>
<div class="quCoNum" style="display: none;">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -650,7 +650,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -694,7 +694,7 @@
</div>
<div class="surveyQuItemContent">
<div class="quCoTitle">
<div class="quCoNum">{{count}}、</div>
<div class="quCoNum">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -741,7 +741,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="${fn:length(en.questionLogics)}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -785,7 +785,7 @@
</div>
<div class="surveyQuItemContent">
<div class="quCoTitle">
<div class="quCoNum">{{count}}、</div>
<div class="quCoNum">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -855,7 +855,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -899,7 +899,7 @@
</div>
<div class="surveyQuItemContent">
<div class="quCoTitle">
<div class="quCoNum">{{count}}、</div>
<div class="quCoNum">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -969,7 +969,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -1013,7 +1013,7 @@
</div>
<div class="surveyQuItemContent">
<div class="quCoTitle">
<div class="quCoNum">{{count}}、</div>
<div class="quCoNum">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -1083,7 +1083,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -1122,7 +1122,7 @@
</div>
<div class="surveyQuItemContent">
<div class="quCoTitle">
<div class="quCoNum">{{count}}、</div>
<div class="quCoNum">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -1196,7 +1196,7 @@
<div class="quLogicInputCase">
<input type="hidden" name="quLogicItemNum" value="{{questionLogics.length}}">
{{#each questionLogics}}
<div class="quLogicItem quLogicItem_{{count}}">
<div class="quLogicItem quLogicItem_{{showIndex @index}}">
<input type="hidden" name="quLogicId" value="{{id}}" />
<input type="hidden" name="cgQuItemId" value="{{cgQuItemId}}" />
<input type="hidden" name="skQuId" value="{{skQuId}}" />
......@@ -1240,7 +1240,7 @@
</div>
<div class="surveyQuItemContent">
<div class="quCoTitle">
<div class="quCoNum">{{count}}、</div>
<div class="quCoNum">{{showIndex @index}}、</div>
<div class="editAble quCoTitleEdit">{{quTitle}}</div>
<input type="hidden" name="quTitleSaveTag" value="1">
</div>
......@@ -1255,9 +1255,7 @@
<td class="quCoItemTableTd">
<table class="scoreNumTable">
<tr>
<c:forEach begin="1" end="{{paramInt02}}" var="scoreNum">
<td>{{scoreNum}}</td>
</c:forEach>
{{#showParamInt02 paramInt02}}{{/showParamInt02}}
</tr>
</table>
</td>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册