|
@@ -189,7 +189,7 @@ body{
|
|
|
<div class="mobilehelp-2 hidden">
|
|
|
|
|
|
<form class="validForm form-horizontal" role="form" id="insertback" method="post">
|
|
|
- <input type="hidden" name="s_source" value="">
|
|
|
+ <input type="hidden" name="s_source" value="{{.T.url}}">
|
|
|
<div class="form-group hidden">
|
|
|
<label id="col-sm-2" class="col-sm-2 control-label" for="name"><span style="color:#D03102;margin-right:5px;">*</span>问题标题:</label>
|
|
|
<div class="col-sm-3">
|
|
@@ -212,14 +212,14 @@ body{
|
|
|
<input type="radio" name="i_type" id="option3" value="3" >我要吐槽</label>
|
|
|
<label class="btn btn-default btn-t" >
|
|
|
<input type="radio" name="i_type" id="option3" value="4" >其他建议</label>-->
|
|
|
- <label class='btn btn-default btn-t'>
|
|
|
- <input type="radio" name="i_type" id="option2" value="5" >服务分类</label>
|
|
|
- <label class="btn btn-default btn-t" >
|
|
|
- <input type="radio" name="i_type" id="option3" value="6" >问题咨询</label>
|
|
|
- <label class="btn btn-default btn-t" >
|
|
|
- <input type="radio" name="i_type" id="option3" value="7" >报告缺陷</label>
|
|
|
- <label class='btn btn-default btn-t active' >
|
|
|
- <input type="radio" name="i_type" id="option3" value="8" checked="checked">意见建议</label>
|
|
|
+ <label class='btn btn-default btn-t' {{if eq .T.type "serviceclassify"}} active{{end}}>
|
|
|
+ <input type="radio" name="i_type" id="option2" value="5" {{if eq .T.type "serviceclassify"}} checked="checked"{{end}}>服务分类</label>
|
|
|
+ <label class="btn btn-default btn-t" >
|
|
|
+ <input type="radio" name="i_type" id="option3" value="6" >问题咨询</label>
|
|
|
+ <label class="btn btn-default btn-t" >
|
|
|
+ <input type="radio" name="i_type" id="option3" value="7" >报告缺陷</label>
|
|
|
+ <label class='btn btn-default btn-t active' >
|
|
|
+ <input type="radio" name="i_type" id="option3" value="8" {{if not .T.type}} checked="checked"{{end}}>意见建议</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -336,7 +336,8 @@ body{
|
|
|
</div>
|
|
|
</div>
|
|
|
<script type="text/javascript">
|
|
|
-
|
|
|
+var tp = {{.T.tp}}
|
|
|
+switchm(tp)
|
|
|
function switchm(i){
|
|
|
for (j=1;j<4;j++){
|
|
|
if (j==i){
|