|
@@ -142,7 +142,8 @@
|
|
|
<label class="checkbox-inline">类型:</label>
|
|
|
<select name="type" id="topsubtype" class="form-control">
|
|
|
<option value="-1">请选择</option>
|
|
|
- <!--<option value="trailer" {{if eq .T.type "notice"}}selected{{end}}>预告</option> -->
|
|
|
+<!-- <option value="trailer" {{if eq .T.type "notice"}}selected{{end}}>预告</option>-->
|
|
|
+ <option value="intention" {{if eq .T.type "intention"}}selected{{end}}>采购意向</option>
|
|
|
<option value="tender" {{if eq .T.type "tender"}}selected{{end}}>招标</option>
|
|
|
<option value="bid" {{if eq .T.type "bid"}}selected{{end}}>结果</option>
|
|
|
</select>
|
|
@@ -151,7 +152,7 @@
|
|
|
<label class="checkbox-inline">字段:</label>
|
|
|
<select name="field" id="field" class="form-control">
|
|
|
<option value="-1">请选择</option>
|
|
|
-<!-- <option value="trailer" {{if eq .T.type "notice"}}selected{{end}}>预告</option> -->
|
|
|
+ <option value="trailer" {{if eq .T.type "notice"}}selected{{end}}>预告</option>
|
|
|
<option value="tender" {{if eq .T.type "tender"}}selected{{end}}>招标</option>
|
|
|
<option value="bid" {{if eq .T.type "bid"}}selected{{end}}>结果</option>
|
|
|
</select>
|
|
@@ -254,6 +255,7 @@ $(function(){
|
|
|
if({{.T.type}} == {{.T.topsubtype}}[i]){
|
|
|
selected = "selected"
|
|
|
}
|
|
|
+ console.log({{.T.topsubtype}}[i])
|
|
|
$("#topsubtype").append("<option "+selected+" value='"+{{.T.topsubtype}}[i]+"'>"+{{.T.topsubtype}}[i]+"</option>")
|
|
|
}
|
|
|
//标注人员筛选
|