first commit
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
<script>
|
||||
function doScoreParamUpdate(paramId)
|
||||
{
|
||||
var paramValue = Z("#paramValue_" + paramId).val();
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("ScorePresenter");
|
||||
ajax.setMethodName("doScoreParamUpdate");
|
||||
ajax.addParam("paramId", paramId);
|
||||
ajax.addParam("paramValue", paramValue);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("修改成功", function(){Z.L.reload();});
|
||||
});
|
||||
ajax.execute();
|
||||
}
|
||||
|
||||
function doScoreParamDelete(paramId)
|
||||
{
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("ScorePresenter");
|
||||
ajax.setMethodName("doScoreParamDelete");
|
||||
ajax.addParam("paramId", paramId);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("删除成功", function(){Z.L.reload();});
|
||||
});
|
||||
ajax.execute();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
${zhiqim_manager_breadcrumb("关键词分数权重")}
|
||||
${zhiqim_manager_content()}
|
||||
<#-- 导航栏 -->
|
||||
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('templateWeight.htm');">模板分数权重</li>
|
||||
<li onclick="Z.L.href('templateScore.htm');">模板评分参数</li>
|
||||
<li onclick="Z.L.href('keywordWeight.htm');">关键词分数权重</li>
|
||||
<li class="z-active">关键词评分参数</li>
|
||||
</ul>
|
||||
<div class="z-text-right z-mg-t10 z-mg-r5">
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.href('keywordScoreAdd.htm?scoreType=${scoreType}');"><i class="z-font z-add"></i>增加评分参数</button>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<#-- 列表 -->
|
||||
<table class="z-table">
|
||||
<tr>
|
||||
<td width="350" valign="top">
|
||||
<table class="z-table z-bordered z-h40-tr z-pd6 z-bg-white z-text-center">
|
||||
<tr bgcolor="${zmr_thead_bgolor}">
|
||||
<td width="80">序号</td>
|
||||
<td width="*">类型名称</td>
|
||||
</tr>
|
||||
<#for item : scoreList>
|
||||
<tr ${zhiqim_manager_tr_onmouse()}>
|
||||
<td>${item_index+1}</td>
|
||||
<td><a href="/keywordScore.htm?scoreType=${item.getScoreType()}">${ScoreConstants.getKeywordScoreTypeDesc(item.getScoreType())}</a></td>
|
||||
</#for>
|
||||
</table>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="*" id="result" valign="top">
|
||||
<table class="z-table z-bordered z-h40-tr z-pd6 z-bg-white z-text-center">
|
||||
<tr>
|
||||
<td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="5">
|
||||
<#if Validates.isNotEmpty(scoreType)><span style="color:red">[${ScoreConstants.getKeywordScoreTypeDesc(scoreType)}]</span>参数列表<#else>所有参数列表</#if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="10%">操作类型</td>
|
||||
<td width="10%">参数名称</td>
|
||||
<td width="20%">参数键</td>
|
||||
<td width="10%">参数值</td>
|
||||
<td width="*">操作</td>
|
||||
</tr>
|
||||
<#for item : paramList>
|
||||
<tr ${zhiqim_manager_tr_onmouse()}>
|
||||
<td>
|
||||
<#if item.getParamType() == 0>加分</#if>
|
||||
<#if item.getParamType() == 1>减分</#if>
|
||||
</td>
|
||||
<td>${KeywordScoreConstants.getKeywordParamDesc(item.getParamKey())}</td>
|
||||
<td>${item.getParamKey()}</td>
|
||||
<td><input id="paramValue_${item.getParamId()}" class="z-input z-w100 ${zmr_color_class} z-text-center" value="${item.getParamValue()}"></td>
|
||||
<td><button type="button" onclick="doScoreParamUpdate('${item.getParamId()}');" class="z-button z-blue z-mg-r10"><i class="z-font z-modify"></i>修改参数值</button><button type="button" onclick="doScoreParamDelete('${item.getParamId()}')" class="z-button z-red"><i class="z-font z-delete"></i>删除参数</button></td>
|
||||
</tr>
|
||||
</form>
|
||||
</#for>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,57 @@
|
||||
${zhiqim_manager_history("/keywordScore.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/keywordScore.htm", "关键词评分参数", "增加关键词评分参数")}
|
||||
${request.getValidateScript()}
|
||||
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("新增关键词评分参数")}
|
||||
<form name="theForm" action="keywordScoreInsert.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr>
|
||||
<td width="35%">评分类型:(请选择)</td>
|
||||
<td width="*">
|
||||
<select name="scoreName" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="KEYWORD">关键词</option>
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>评分类型:(请选择)</td>
|
||||
<td>
|
||||
<select name="scoreType" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<#if Validates.isNotEmpty(scoreType)>
|
||||
<option value="${scoreType}">${ScoreConstants.getKeywordScoreTypeDesc(scoreType)}</option>
|
||||
<#else>
|
||||
<#for item : scoreList>
|
||||
<option value="${item.getScoreType()}">${ScoreConstants.getKeywordScoreTypeDesc(item.getScoreType())}</option>
|
||||
</#for>
|
||||
</#if>
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>参数操作类型:(请选择)</td>
|
||||
<td>
|
||||
<select name="paramType" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="0">加分</option>
|
||||
<option value="1">减分</option>
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>参数键:(32位不定长字符)</td>
|
||||
<td>
|
||||
<select name="paramKey" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<#for item : KeywordScoreConstants.getKeywordParamList()>
|
||||
<option value="${item.value()}">${item.desc()}</option>
|
||||
</#for>
|
||||
</select> <font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>参数值:(请输入)</td>
|
||||
<td><input name="paramValue" class="z-input z-w200 ${zmr_color_class}" data-options="type:Integer;" maxlength="6"> <font color=red>*</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,50 @@
|
||||
${zhiqim_manager_breadcrumb("关键词分数权重")}
|
||||
${zhiqim_manager_content()}
|
||||
<#-- 导航栏 -->
|
||||
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('templateWeight.htm');">模板分数权重</li>
|
||||
<li onclick="Z.L.href('templateScore.htm');">模板评分参数</li>
|
||||
<li class="z-active">关键词分数权重</li>
|
||||
<li onclick="Z.L.href('keywordScore.htm');">关键词评分参数</li>
|
||||
</ul>
|
||||
<div class="z-text-right z-mg-t10 z-mg-r5">
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.href('keywordWeightAdd.htm');"><i class="z-font z-add"></i>增加关键词分数权重</button>
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.check('keywordWeightModify.htm', 'scoreId');"><i class="z-font z-modify"></i>修改关键词分数权重</button>
|
||||
<button class="z-button z-red" onclick="Z.Location.confirm('keywordWeightDelete.htm', '确认要删除该评分类型吗?', 'scoreId');"><i class="z-font z-delete"></i>删除关键词分数权重</button>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<table class="z-table z-bordered z-bg-white z-pd6">
|
||||
<tr>
|
||||
<td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="6"> 关键词分数权重列表</td>
|
||||
</tr>
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="5%">选择</td>
|
||||
<td width ="10%">类型名称</td>
|
||||
<td width="15%">日期</td>
|
||||
<td width="20%">规则类型</td>
|
||||
<td width="20%">类型分值</td>
|
||||
<td width="20%">权重比例</td>
|
||||
</tr>
|
||||
<#if pageResult.total() == 0>
|
||||
${zhiqim_manager_no_record(6 "暂时没有关键词分数权重信息")}
|
||||
</#if>
|
||||
<#for item : pageResult.list()>
|
||||
<tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||||
<td><input name="scoreId" id="scoreId" data-role="z-radio" data-class="${zmr_color_class}" type="radio" value="${item.getScoreId()}"></td>
|
||||
<td>
|
||||
<#if Validates.isEqual("TEMPLATE", item.getScoreName())>模板</#if>
|
||||
<#if Validates.isEqual("KEYWORD", item.getScoreName())>关键词</#if>
|
||||
</td>
|
||||
<td>${item.getDayCode()}</td>
|
||||
<td>${ScoreConstants.getKeywordScoreTypeDesc(item.getScoreType())}</td>
|
||||
<td><#if item.getScoreValue() gt 0> ${item.getScoreValue()}</#if></td>
|
||||
<td>${Amounts.toYuanMustRadix(item.getScoreWeight())}</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
${zhiqim_manager_paging(pageResult, "/keywordWeight.htm")}
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,43 @@
|
||||
${zhiqim_manager_history("/templateWeight.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/templateWeight.htm", "关键词分数权重", "增加关键词分数权重")}
|
||||
${request.getValidateScript()}
|
||||
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("新增关键词分数权重")}
|
||||
<form name="theForm" action="keywordWeightInsert.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr height="40">
|
||||
<td width="35%">类型名称:</td>
|
||||
<td width="*">
|
||||
<select name="scoreName" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<!--<option value="TEMPLATE">模板</option>-->
|
||||
<option value="KEYWORD">关键词</option>
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>权重类型:(请选择)</td>
|
||||
<td>
|
||||
<select name="scoreType" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<#for item : ScoreConstants.getKeywordScoreTypeList()>
|
||||
<option value="${item.value()}">${item.desc()}</option>
|
||||
</#for>
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>日期:(请选择)</td>
|
||||
<td><input name="dayCode" class="z-input z-w200 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);"><font color=red> *</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>基础分:(请输入)</td>
|
||||
<td><input name="scoreValue" class="z-input z-w200 ${zmr_color_class}" data-options="type:Integer;" maxlength="6"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>权重值:(百分比,如50%,只需填写50)</td>
|
||||
<td><input name="scoreWeight" class="z-input ${zmr_color_class} z-w50 z-cyan" data-options="type:Integer;" maxlength="4">%<font color=red> *</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,37 @@
|
||||
${zhiqim_manager_history("/keywordWeight.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/keywordWeight.htm", "关键词分数权重", "修改关键词分数权重")}
|
||||
${request.getValidateScript()}
|
||||
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("修改关键词分数权重")}
|
||||
<form name="theForm" action="keywordWeightUpdate.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<input name="scoreId" type="hidden" value="${weight.getScoreId()}">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr height="40">
|
||||
<td width="35%">类型名称:</td>
|
||||
<td width="*">
|
||||
<#if Validates.isEqual("TEMPLATE", weight.getScoreName())>模板</#if>
|
||||
<#if Validates.isEqual("KEYWORD", weight.getScoreName())>关键词</#if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="40">
|
||||
<td>权重类型:</td>
|
||||
<td>${ScoreConstants.getKeywordScoreTypeDesc(weight.getScoreType())}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>日期:(请选择)</td>
|
||||
<td><input name="dayCode" class="z-input z-w200 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${weight.getDayCode()}"><font color=red> *</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>基础分:(请输入)</td>
|
||||
<td><input name="scoreValue" class="z-input z-w200 ${zmr_color_class}" data-options="type:Integer;" maxlength="6" value="${weight.getScoreValue()}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>权重值:(百分比,如50%,只需填写50)</td>
|
||||
<td><input name="scoreWeight" class="z-input ${zmr_color_class} z-w50 z-cyan" data-options="type:Integer;" maxlength="4" value="${weight.getScoreWeight()}">%<font color=red> *</font></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,44 @@
|
||||
${zhiqim_manager_breadcrumb("设计师等级配置")}
|
||||
${zhiqim_manager_content()}
|
||||
<#-- 导航栏 -->
|
||||
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="z-active">等级配置</li>
|
||||
<li onclick="Z.L.href('scoreType.htm');">积分细则</li>
|
||||
<li onclick="Z.L.href('scoreDesignerRecord.htm');">设计师积分</li>
|
||||
</ul>
|
||||
<div class="z-text-right z-mg-t10 z-mg-r5">
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.href('scoreDesignerLeverAdd.htm');"><i class="z-font z-add"></i>增加设计师等级配置</button>
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.check('scoreDesignerLeverModify.htm', 'designerLeverId');"><i class="z-font z-modify"></i>修改设计师等级配置</button>
|
||||
<button class="z-button z-red" onclick="Z.Location.confirm('scoreDesignerLeverDelete.htm', '确认要删除该设计师等级吗?', 'designerLeverId');"><i class="z-font z-delete"></i>删除设计师等级配置</button>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<table class="z-table z-bordered z-bg-white z-pd6">
|
||||
<tr>
|
||||
<td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="6"> 设计师等级配置列表</td>
|
||||
</tr>
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="5%">选择</td>
|
||||
<td width ="10%">设计师等级</td>
|
||||
<td width="30%">积分分数</td>
|
||||
<td width="10%">操作人</td>
|
||||
<td width="10%">更新时间</td>
|
||||
</tr>
|
||||
<#if pageResult.total() == 0>
|
||||
${zhiqim_manager_no_record(6 "暂时没有设计师等级配置信息")}
|
||||
</#if>
|
||||
<#for item : pageResult.list()>
|
||||
<tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||||
<td><input name="designerLeverId" id="designerLeverId" data-role="z-radio" data-class="${zmr_color_class}" type="radio" value="${item.getDesignerLeverId()}"></td>
|
||||
<td>${item.getDesignerLever()}</td>
|
||||
<td>${item.getMinScore()}至${item.getMaxScore()}</td>
|
||||
<td>${item.getLastOperatorCode()}</td>
|
||||
<td>${item.getModifyTime()}</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
${zhiqim_manager_paging(pageResult, "/scoreDesignerLever.htm")}
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,22 @@
|
||||
${zhiqim_manager_history("/scoreDesignerLever.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/scoreDesignerLever.htm", "设计师等级配置", "增加设计师等级配置")}
|
||||
${request.getValidateScript()}
|
||||
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("新增设计师等级配置")}
|
||||
<form name="theForm" action="scoreDesignerLeverInsert.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr height="40">
|
||||
<td width="35%">设计师等级:</td>
|
||||
<td width="*">
|
||||
<input name="designerLever" class="z-input z-w200 ${zmr_color_class}" maxlength="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>评分分数:</td>
|
||||
<td><input name="minScore" class="z-input z-w200 ${zmr_color_class}" maxlength="6" data-options="paste:true">-<input name="maxScore" class="z-input z-w200 ${zmr_color_class}" maxlength="6" data-options="paste:true"></td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,24 @@
|
||||
${zhiqim_manager_history("/scoreDesignerLever.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/scoreDesignerLever.htm", "设计师等级配置", "修改设计师等级配置")}
|
||||
${request.getValidateScript()}
|
||||
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("修改设计师等级配置")}
|
||||
<form name="theForm" action="scoreDesignerLeverUpdate.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<input name="designerLeverId" type="hidden" value="${scoreDesignerLever.getDesignerLeverId()}">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr height="40">
|
||||
<td width="35%">设计师等级:</td>
|
||||
<td width="*">
|
||||
<input name="designerLever" class="z-input z-w200 ${zmr_color_class}" maxlength="20" value="${scoreDesignerLever.getDesignerLever()}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>评分分数:</td>
|
||||
<td><input name="minScore" class="z-input z-w200 ${zmr_color_class}" value="${scoreDesignerLever.getMinScore()}" maxlength="6" data-options="paste:true">-<input name="maxScore" class="z-input z-w200 ${zmr_color_class}" value="${scoreDesignerLever.getMaxScore()}" maxlength="6" data-options="paste:true"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,111 @@
|
||||
<script>
|
||||
function showRecordDetail(operatorCode)
|
||||
{//进度备注
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "积分详情";
|
||||
dialog.url = "/scoreDesignerRecordDetail.htm?operatorCode="+operatorCode;
|
||||
dialog.width = 1000;
|
||||
dialog.height = 630;
|
||||
dialog.execute();
|
||||
}
|
||||
</script>
|
||||
${zhiqim_manager_breadcrumb("设计师积分列表")}
|
||||
${zhiqim_manager_content()}
|
||||
<#-- 导航栏 -->
|
||||
<#-- 导航栏 -->
|
||||
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('scoreDesignerLever.htm');">等级配置</li>
|
||||
<li onclick="Z.L.href('scoreType.htm');">积分细则</li>
|
||||
<li class="z-active">设计师积分</li>
|
||||
</ul>
|
||||
<div class="z-text-right z-mg-t10 z-mg-r5">
|
||||
<form action="scoreDesignerRecord.htm" method="post" >
|
||||
组织
|
||||
<select name="orgId" class="z-select z-w150" data-role="z-select-search" data-class="${zmr_color_class}">
|
||||
<option value="">请选择</option>
|
||||
<#for item : orgList>
|
||||
<option value="${item.getOrgId()}" <#if orgId == item.getOrgId()>selected</#if>>${item.getOrgName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
设计师:
|
||||
<input type="text" name="operatorCode" class="z-input z-w150 ${zmr_color_class}" value="${operatorCode}">
|
||||
排序字段:<select name="sortColumn" class="z-select z-w150" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="score" <#if sortColumn == "score">selected</#if>>积分</option>
|
||||
<option value="lastModifyTime" <#if sortColumn == "lastModifyTime">selected</#if>>更新时间</option>
|
||||
<option value="operatorCode" <#if sortColumn == "operatorCode">selected</#if>>设计师</option>
|
||||
</select>
|
||||
排序:<select name="sortType" class="z-select z-w150" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="desc" <#if sortType == "desc">selected</#if>>倒序</option>
|
||||
<option value="asc" <#if sortType == "asc">selected</#if>>正序</option>
|
||||
</select>
|
||||
状态:<select name="state" class="z-select z-w80" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="">全部</option>
|
||||
<option value="1" <#if state == 1>selected</#if>>生效</option>
|
||||
<option value="0" <#if state == 0>selected</#if>>失效</option>
|
||||
</select>
|
||||
<button class="z-button z-w120 ${zmr_color_class}">查询</button>
|
||||
</form>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
<table class="z-table z-bordered z-bg-white z-pd6">
|
||||
<tr>
|
||||
<td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="6"> 设计师积分列表</td>
|
||||
</tr>
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width ="10%">设计师</td>
|
||||
<td width="10%">当前积分</td>
|
||||
<td width="10%">当前等级</td>
|
||||
<td width="5%">状态</td>
|
||||
<td width="8%">最后更新积分值</td>
|
||||
<td width="15%">最后更新积分细则</td>
|
||||
<td width="10%">最后更新涉及订单</td>
|
||||
<td width="10%">最后更新时间</td>
|
||||
<td width="15%">操作</td>
|
||||
</tr>
|
||||
<#if pageResult.total() == 0>
|
||||
${zhiqim_manager_no_record(6 "暂时没有设计师积分信息")}
|
||||
</#if>
|
||||
<#for item : pageResult.list()>
|
||||
<tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||||
<td>${item.getOperatorCode()}</td>
|
||||
<td>${item.getScore()}</td>
|
||||
<td>
|
||||
<#for scoreDesignerLever : scoreDesignerLeverList>
|
||||
<#if scoreDesignerLever.maxScore gte item.getScore() && item.getScore() gte scoreDesignerLever.minScore >
|
||||
${scoreDesignerLever.getDesignerLever()}
|
||||
</#if>
|
||||
</#for>
|
||||
</td>
|
||||
<td>
|
||||
<#if item.getState() == 1>
|
||||
<div class='z-button zi-w50 z-h30 z-bd-rd8 z-green z-readonly'>生效</div>
|
||||
<#else>
|
||||
<div class='z-button zi-w50 z-h30 z-bd-rd8 z-red z-readonly'>失效</div>
|
||||
</#if>
|
||||
</td>
|
||||
<td>
|
||||
<#if item.getLastModifyScore() !=0 >
|
||||
${item.getLastModifyScore()}
|
||||
</#if>
|
||||
</td>
|
||||
<td>${item.getTypeName()}</td>
|
||||
<td>
|
||||
<#if item.getOrderId() !=-1 && item.getOrderId() !=0>
|
||||
${item.getOrderId()}
|
||||
</#if>
|
||||
</td>
|
||||
<td>${item.getLastModifyTime()}</td>
|
||||
<td>
|
||||
<button class="z-button ${zmr_color_class}" onclick="showRecordDetail('${item.getOperatorCode()}');"><i class="z-font z-image-text"></i>积分详情</button>
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.href('scoreDesignerRecordDetailAdd.htm?operatorCode=${item.getOperatorCode()}');"><i class="z-font z-modify"></i>人工修正</button>
|
||||
</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
${zhiqim_manager_paging(pageResult, "/scoreDesignerRecord.htm")}
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,27 @@
|
||||
${zhiqim_manager_history("/scoreDesignerRecord.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/scoreDesignerRecord.htm", "设计师积分", "人工修正")}
|
||||
${request.getValidateScript()}
|
||||
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("人工修正设计师积分")}
|
||||
<form name="theForm" action="scoreDesignerRecordDetailInsert.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<input name="operatorCode" type="hidden" value="${operatorCode}">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr>
|
||||
<td>积分(正数为增加,负数为减少):</td>
|
||||
<td><input name="score" class="z-input z-w200 ${zmr_color_class}"><span class="z-color-red"> *</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>备注:</td>
|
||||
<td><input name="remark" class="z-input z-w200 ${zmr_color_class}" maxlength="100"><span class="z-color-red"> *</span></td>
|
||||
</tr>
|
||||
<tr height="40">
|
||||
<td width="35%">涉及订单:</td>
|
||||
<td width="*">
|
||||
<input name="orderId" class="z-input z-w200 ${zmr_color_class}" maxlength="20">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,48 @@
|
||||
${zhiqim_manager_content()}
|
||||
|
||||
<div class="z-text-left z-mg-t10 z-mg-r5 z-mg-b10">
|
||||
<form action="scoreDesignerRecordDetail.htm" method="post" >
|
||||
<input name="operatorCode" type="hidden" value="${operatorCode}">
|
||||
项目类型:
|
||||
<select name="detailType" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="all" <#if detailType == "all">selected</#if>>全部</option>
|
||||
<option value="add" <#if detailType == "add">selected</#if>>加分项</option>
|
||||
<option value="sub" <#if detailType == "operatorCode">selected</#if>>减分项</option>
|
||||
</select>
|
||||
|
||||
记录时间:
|
||||
<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}"> -
|
||||
<input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
|
||||
<button class="z-button z-w120 ${zmr_color_class}">查询</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<table class="z-table z-bordered z-bg-white z-pd6">
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="10%">积分</td>
|
||||
<td width="15%">时间</td>
|
||||
<td width="20%">积分细则</td>
|
||||
<td width="10%">涉及订单</td>
|
||||
<td width="10%">备注</td>
|
||||
<td width="15%">操作人</td>
|
||||
</tr>
|
||||
<#if pageResult.total() == 0>
|
||||
${zhiqim_manager_no_record(6 "暂时没有设计师积分详情")}
|
||||
</#if>
|
||||
<#for item : pageResult.list()>
|
||||
<tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||||
<td>${item.getScore()}</td>
|
||||
<td>${item.getModifyTime()}</td>
|
||||
<td>${item.getTypeName()}</td>
|
||||
<td>
|
||||
<#if item.getOrderId() !=-1 && item.getOrderId() !=0>
|
||||
${item.getOrderId()}
|
||||
</#if>
|
||||
</td>
|
||||
<td>${item.getRemark()}</td>
|
||||
<td>${item.getCreateOperator()}</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
${zhiqim_manager_paging(pageResult, "/scoreDesignerRecordDetail.htm")}
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,71 @@
|
||||
<script>
|
||||
function doScoreTypeUpdate(typeId)
|
||||
{
|
||||
var value = Z("#paramValue_" + typeId+"_value").val();
|
||||
var state = Z("#paramValue_" + typeId+"_state").val();
|
||||
Z.confirm("确认修改吗?", function(){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("ScorePresenter");
|
||||
ajax.setMethodName("doScoreTypeUpdate");
|
||||
ajax.addParam("typeId", typeId);
|
||||
ajax.addParam("value", value);
|
||||
ajax.addParam("state", state);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("修改成功", function(){Z.L.reload();});
|
||||
});
|
||||
ajax.execute();
|
||||
});
|
||||
}
|
||||
</script>
|
||||
${zhiqim_manager_breadcrumb("积分细则")}
|
||||
${zhiqim_manager_content()}
|
||||
<#-- 导航栏 -->
|
||||
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('scoreDesignerLever.htm');">等级配置</li>
|
||||
<li class="z-active" >积分细则</li>
|
||||
<li onclick="Z.L.href('scoreDesignerRecord.htm');">设计师积分</li>
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<table class="z-table z-bordered z-bg-white z-pd6">
|
||||
<tr>
|
||||
<td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="6"> 积分细则列表</td>
|
||||
</tr>
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width ="20%">操作类型</td>
|
||||
<td width="10%">积分值</td>
|
||||
<td width="10%">状态</td>
|
||||
<td width="20%">备注</td>
|
||||
<td width="10%">操作人</td>
|
||||
<td width="10%">更新时间</td>
|
||||
<td width="*">操作</td>
|
||||
</tr>
|
||||
<#if pageResult.total() == 0>
|
||||
${zhiqim_manager_no_record(6 "暂时没有积分细则信息")}
|
||||
</#if>
|
||||
<#for item : pageResult.list()>
|
||||
<tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||||
<td>${item.getTypeName()}</td>
|
||||
<td>
|
||||
<input id="paramValue_${item.getTypeId()}_value" maxlength="5" class="z-input z-w100 ${zmr_color_class} z-text-center" value="${item.getValue()}">
|
||||
</td>
|
||||
<td>
|
||||
<select id="paramValue_${item.getTypeId()}_state" class="z-select" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="1" <#if item.getState()=1>selected</#if>>正常</option>
|
||||
<option value="0" <#if item.getState()=0>selected</#if>>停用</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>${item.getRemark()}</td>
|
||||
<td>${item.getLastOperatorCode()}</td>
|
||||
<td>${item.getModifyTime()}</td>
|
||||
<td><button type="button" onclick="doScoreTypeUpdate('${item.getTypeId()}');" class="z-button z-blue z-mg-r10"><i class="z-font z-modify"></i>修改参数值</button></td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
${zhiqim_manager_paging(pageResult, "/scoreType.htm")}
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,98 @@
|
||||
<script>
|
||||
function doScoreParamUpdate(paramId)
|
||||
{
|
||||
var paramValue = Z("#paramValue_" + paramId).val();
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("ScorePresenter");
|
||||
ajax.setMethodName("doScoreParamUpdate");
|
||||
ajax.addParam("paramId", paramId);
|
||||
ajax.addParam("paramValue", paramValue);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("修改成功", function(){Z.L.reload();});
|
||||
});
|
||||
ajax.execute();
|
||||
}
|
||||
|
||||
function doScoreParamDelete(paramId)
|
||||
{
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("ScorePresenter");
|
||||
ajax.setMethodName("doScoreParamDelete");
|
||||
ajax.addParam("paramId", paramId);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("删除成功", function(){Z.L.reload();});
|
||||
});
|
||||
ajax.execute();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
${zhiqim_manager_breadcrumb("模板评分参数")}
|
||||
${zhiqim_manager_content()}
|
||||
<#-- 导航栏 -->
|
||||
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('templateWeight.htm');">模板分数权重</li>
|
||||
<li class="z-active">模板评分参数</li>
|
||||
<li onclick="Z.L.href('keywordWeight.htm');">关键词分数权重</li>
|
||||
<li onclick="Z.L.href('keywordScore.htm');">关键词评分参数</li>
|
||||
</ul>
|
||||
<div class="z-text-right z-mg-t10 z-mg-r5">
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.href('templateScoreAdd.htm?scoreType=${scoreType}');"><i class="z-font z-add"></i>增加模板评分参数</button>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<#-- 列表 -->
|
||||
<table class="z-table">
|
||||
<tr>
|
||||
<td width="350" valign="top">
|
||||
<table class="z-table z-bordered z-h40-tr z-pd6 z-bg-white z-text-center">
|
||||
<tr bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="80">序号</td>
|
||||
<td width="*">类型名称</td>
|
||||
</tr>
|
||||
<#for item : scoreList>
|
||||
<tr ${zhiqim_manager_tr_onmouse()}>
|
||||
<td>${item_index+1}</td>
|
||||
<td><a href="/templateScore.htm?scoreType=${item.getScoreType()}">${ScoreConstants.getTemplateScoreTypeDesc(item.getScoreType())}</a></td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="*" id="result" valign="top">
|
||||
<table class="z-table z-bordered z-h40-tr z-pd6 z-bg-white z-text-center">
|
||||
<tr>
|
||||
<td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="4">
|
||||
<#if Validates.isNotEmpty(scoreType)><span style="color:red">[${ScoreConstants.getTemplateScoreTypeDesc(scoreType)}]</span>参数列表<#else>所有参数列表</#if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="10%">操作类型</td>
|
||||
<td width="10%">参数名称</td>
|
||||
<td width="20%">参数键</td>
|
||||
<td width="10%">参数值</td>
|
||||
<td width="*">操作</td>
|
||||
</tr>
|
||||
<#for item : paramList>
|
||||
<tr ${zhiqim_manager_tr_onmouse()}>
|
||||
<td>
|
||||
<#if item.getParamType() == 0>加分</#if>
|
||||
<#if item.getParamType() == 1>减分</#if>
|
||||
</td>
|
||||
<td>${TemplateScoreConstants.getTemplateParamDesc(item.getParamKey())}</td>
|
||||
<td>${item.getParamKey()}</td>
|
||||
<td><input id="paramValue_${item.getParamId()}" class="z-input z-w100 ${zmr_color_class} z-text-center" value="${item.getParamValue()}"></td>
|
||||
<td><button type="button" onclick="doScoreParamUpdate('${item.getParamId()}');" class="z-button z-blue z-mg-r10"><i class="z-font z-modify"></i>修改参数值</button><button type="button" onclick="doScoreParamDelete('${item.getParamId()}')" class="z-button z-red"><i class="z-font z-delete"></i>删除参数</button></td>
|
||||
</tr>
|
||||
</form>
|
||||
</#for>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,57 @@
|
||||
${zhiqim_manager_history("/templateScore.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/templateScore.htm", "模板评分参数", "增加模板评分参数")}
|
||||
${request.getValidateScript()}
|
||||
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("新增模板评分参数")}
|
||||
<form name="theForm" action="templateScoreInsert.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr>
|
||||
<td width="35%">评分类型:(请选择)</td>
|
||||
<td width="*">
|
||||
<select name="scoreName" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="TEMPLATE">模板</option>
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>评分类型:(请选择)</td>
|
||||
<td>
|
||||
<select name="scoreType" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<#if Validates.isNotEmpty(scoreType)>
|
||||
<option value="${scoreType}">${ScoreConstants.getTemplateScoreTypeDesc(scoreType)}</option>
|
||||
<#else>
|
||||
<#for item : scoreList>
|
||||
<option value="${item.getScoreType()}">${ScoreConstants.getTemplateScoreTypeDesc(item.getScoreType())}</option>
|
||||
</#for>
|
||||
</#if>
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>参数操作类型:(请选择)</td>
|
||||
<td>
|
||||
<select name="paramType" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="0">加分</option>
|
||||
<option value="1">减分</option>
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>参数键:(32位不定长字符)</td>
|
||||
<td>
|
||||
<select name="paramKey" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<#for item : TemplateScoreConstants.getTemplateParamList()>
|
||||
<option value="${item.value()}">${item.desc()}</option>
|
||||
</#for>
|
||||
</select> <font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>参数值:(请输入)</td>
|
||||
<td><input name="paramValue" class="z-input z-w200 ${zmr_color_class}" data-options="type:Integer;" maxlength="6"> <font color=red>*</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,50 @@
|
||||
${zhiqim_manager_breadcrumb("模板分数权重")}
|
||||
${zhiqim_manager_content()}
|
||||
<#-- 导航栏 -->
|
||||
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="z-active">模板分数权重</li>
|
||||
<li onclick="Z.L.href('templateScore.htm');">模板评分参数</li>
|
||||
<li onclick="Z.L.href('keywordWeight.htm');">关键词分数权重</li>
|
||||
<li onclick="Z.L.href('keywordScore.htm');">关键词评分参数</li>
|
||||
</ul>
|
||||
<div class="z-text-right z-mg-t10 z-mg-r5">
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.href('templateWeightAdd.htm');"><i class="z-font z-add"></i>增加模板分数权重</button>
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.check('templateWeightModify.htm', 'scoreId');"><i class="z-font z-modify"></i>修改模板分数权重</button>
|
||||
<button class="z-button z-red" onclick="Z.Location.confirm('templateWeightDelete.htm', '确认要删除该评分类型吗?', 'scoreId');"><i class="z-font z-delete"></i>删除模板分数权重</button>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<table class="z-table z-bordered z-bg-white z-pd6">
|
||||
<tr>
|
||||
<td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="6"> 模板分数权重列表</td>
|
||||
</tr>
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="5%">选择</td>
|
||||
<td width ="10%">类型名称</td>
|
||||
<td width="15%">日期</td>
|
||||
<td width="20%">规则类型</td>
|
||||
<td width="20%">类型分值</td>
|
||||
<td width="20%">权重比例</td>
|
||||
</tr>
|
||||
<#if pageResult.total() == 0>
|
||||
${zhiqim_manager_no_record(6 "暂时没有模板分数权重信息")}
|
||||
</#if>
|
||||
<#for item : pageResult.list()>
|
||||
<tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||||
<td><input name="scoreId" id="scoreId" data-role="z-radio" data-class="${zmr_color_class}" type="radio" value="${item.getScoreId()}"></td>
|
||||
<td>
|
||||
<#if Validates.isEqual("TEMPLATE", item.getScoreName())>模板</#if>
|
||||
<#if Validates.isEqual("KEYWORD", item.getScoreName())>关键词</#if>
|
||||
</td>
|
||||
<td>${item.getDayCode()}</td>
|
||||
<td>${ScoreConstants.getTemplateScoreTypeDesc(item.getScoreType())}</td>
|
||||
<td><#if item.getScoreValue() gt 0> ${item.getScoreValue()}</#if></td>
|
||||
<td>${Amounts.toYuanMustRadix(item.getScoreWeight())}</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
${zhiqim_manager_paging(pageResult, "/templateWeight.htm")}
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,43 @@
|
||||
${zhiqim_manager_history("/templateWeight.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/templateWeight.htm", "模板分数权重", "增加模板分数权重")}
|
||||
${request.getValidateScript()}
|
||||
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("新增模板分数权重")}
|
||||
<form name="theForm" action="templateWeightInsert.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr height="40">
|
||||
<td width="35%">类型名称:</td>
|
||||
<td width="*">
|
||||
<select name="scoreName" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="TEMPLATE">模板</option>
|
||||
<!--<option value="KEYWORD">关键词</option>-->
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>权重类型:(请选择)</td>
|
||||
<td>
|
||||
<select name="scoreType" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<#for item : ScoreConstants.getTemplateScoreTypeList()>
|
||||
<option value="${item.value()}">${item.desc()}</option>
|
||||
</#for>
|
||||
</select><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>日期:(请选择)</td>
|
||||
<td><input name="dayCode" class="z-input z-w200 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);"><font color=red> *</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>基础分:(请输入)</td>
|
||||
<td><input name="scoreValue" class="z-input z-w200 ${zmr_color_class}" data-options="type:Integer;" maxlength="6"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>权重值:(百分比,如50%,只需填写50)</td>
|
||||
<td><input name="scoreWeight" class="z-input ${zmr_color_class} z-w50 z-cyan" type="text" maxlength="2">%<font color=red> *</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,37 @@
|
||||
${zhiqim_manager_history("/templateWeight.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/templateWeight.htm", "模板分数权重", "修改模板分数权重")}
|
||||
${request.getValidateScript()}
|
||||
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("修改模板分数权重")}
|
||||
<form name="theForm" action="templateWeightUpdate.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<input name="scoreId" type="hidden" value="${weight.getScoreId()}">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr height="40">
|
||||
<td width="35%">类型名称:</td>
|
||||
<td width="*">
|
||||
<#if Validates.isEqual("TEMPLATE", weight.getScoreName())>模板</#if>
|
||||
<#if Validates.isEqual("KEYWORD", weight.getScoreName())>关键词</#if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="40">
|
||||
<td>权重类型:</td>
|
||||
<td>${ScoreConstants.getTemplateScoreTypeDesc(weight.getScoreType())}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>日期:(请选择)</td>
|
||||
<td><input name="dayCode" class="z-input z-w200 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${weight.getDayCode()}"><font color=red> *</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>基础分:(请输入)</td>
|
||||
<td><input name="scoreValue" class="z-input z-w200 ${zmr_color_class}" data-options="type:Integer;" maxlength="6" value="${weight.getScoreValue()}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>权重值:(百分比,如50%,只需填写50)</td>
|
||||
<td><input name="scoreWeight" class="z-input ${zmr_color_class} z-w50 z-cyan" data-options="type:Integer;" maxlength="2" value="${weight.getScoreWeight()}">%<font color=red> *</font></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user