|
@@ -126,10 +126,10 @@
|
|
|
<div style="display: none">
|
|
|
<input type="input" name="labeler" id="labername" class="form-control" value=""/>
|
|
|
</div>
|
|
|
- <div class="col-md-3">
|
|
|
- <input type="input" name="spidercode" class="form-control" value="{{.T.spidercode}}"
|
|
|
- placeholder="请输入爬虫代码"/>
|
|
|
- </div>
|
|
|
+<!-- <div class="col-md-3">-->
|
|
|
+<!-- <input type="input" name="spidercode" class="form-control" value="{{.T.spidercode}}"-->
|
|
|
+<!-- placeholder="请输入爬虫代码"/>-->
|
|
|
+<!-- </div>-->
|
|
|
<div class="col-md-1" style="padding-left: 0;">
|
|
|
<input type="input" name="db" disabled class="form-control" value="{{.T.dbname}}"
|
|
|
placeholder="请输入库名"/>
|
|
@@ -138,37 +138,37 @@
|
|
|
<input type="input" name="coll" id="fromtable" class="form-control" value='{{if ne .T.coll ""}}{{.T.coll}}{{else}}{{.T.fromtable}}{{end}}' placeholder="请输入表名"/>
|
|
|
</div>
|
|
|
<div class="col-md-7 row-box" style="padding-left: 0">
|
|
|
- <div class=" row-box" style="padding-left: 0">
|
|
|
- <label class="checkbox-inline">类型:</label>
|
|
|
- <select name="type" id="topsubtype" class="form-control">
|
|
|
- <option value="-1">请选择</option>
|
|
|
+<!-- <div class=" row-box" style="padding-left: 0">-->
|
|
|
+<!-- <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="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>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div class="row-box">-->
|
|
|
+<!-- <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="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>
|
|
|
- </div>
|
|
|
- <div class="row-box">
|
|
|
- <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="tender" {{if eq .T.type "tender"}}selected{{end}}>招标</option>
|
|
|
- <option value="bid" {{if eq .T.type "bid"}}selected{{end}}>结果</option>
|
|
|
- </select>
|
|
|
- <input type="input" name="minval" id="minval" style="display:none" class="form-control"
|
|
|
- value="{{.T.min}}" placeholder="最小值"/>
|
|
|
- <input type="input" name="maxval" id="maxval" style="display:none" class="form-control"
|
|
|
- value="{{.T.max}}" placeholder="最大值"/>
|
|
|
- <div id="boexists" style="margin-left: -29px;">
|
|
|
- <input id="hasno" type="checkbox" name="hasno" onclick="checkboxOnclick(this)" value={{if .T.hasno}} true {{else}} false {{end}}/>
|
|
|
- <label style="margin-left: -28px;">不存在</label>
|
|
|
- </div>
|
|
|
- <div id="datanotag" style="margin-left: -29px;">
|
|
|
- <input id="notag" type="checkbox" name="notag" onclick="checktagboxOnclick(this)" value={{if .T.notag}} true {{else}} false {{end}}/>
|
|
|
- <label style="margin-left: -28px;">未标注</label>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+<!-- <option value="tender" {{if eq .T.type "tender"}}selected{{end}}>招标</option>-->
|
|
|
+<!-- <option value="bid" {{if eq .T.type "bid"}}selected{{end}}>结果</option>-->
|
|
|
+<!-- </select>-->
|
|
|
+<!-- <input type="input" name="minval" id="minval" style="display:none" class="form-control"-->
|
|
|
+<!-- value="{{.T.min}}" placeholder="最小值"/>-->
|
|
|
+<!-- <input type="input" name="maxval" id="maxval" style="display:none" class="form-control"-->
|
|
|
+<!-- value="{{.T.max}}" placeholder="最大值"/>-->
|
|
|
+<!-- <div id="boexists" style="margin-left: -29px;">-->
|
|
|
+<!-- <input id="hasno" type="checkbox" name="hasno" onclick="checkboxOnclick(this)" value={{if .T.hasno}} true {{else}} false {{end}}/>-->
|
|
|
+<!-- <label style="margin-left: -28px;">不存在</label>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div id="datanotag" style="margin-left: -29px;">-->
|
|
|
+<!-- <input id="notag" type="checkbox" name="notag" onclick="checktagboxOnclick(this)" value={{if .T.notag}} true {{else}} false {{end}}/>-->
|
|
|
+<!-- <label style="margin-left: -28px;">未标注</label>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
<!--<div class="col-md-2">
|
|
|
<label class="checkbox-inline">
|
|
|
<input type="checkbox" name="ispackage" value="1">分包数据
|
|
@@ -176,29 +176,29 @@
|
|
|
</div>-->
|
|
|
<button type="submit" style="display: none" class="btn btn-primary" id="submitForm"></button>
|
|
|
<div class="btn btn-primary" style="margin-left: 15px" onclick="alertsync()">查看</div>
|
|
|
- <div id="markedinit" class="btn btn-primary" style="margin-left: 15px;display:none;" onclick="markedinit()">初始化marked</div>
|
|
|
+<!-- <div id="markedinit" class="btn btn-primary" style="margin-left: 15px;display:none;" onclick="markedinit()">初始化marked</div>-->
|
|
|
<!-- <div class="btn btn-primary" style="margin-left: 15px" onclick="syncmarked()">同步</div>-->
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
<div class="col-md-12">
|
|
|
- <div class="form-group col-md-5" style="padding-left: 0">
|
|
|
- <textarea class="form-control" name="descript" id="es"></textarea>
|
|
|
- </div>
|
|
|
- <div class="form-group col-md-6" style="margin-top: 10px;margin-left: -14px;">
|
|
|
- <div class="col-md-3" style="padding-left: 0">
|
|
|
- <input type="input" id="importcoll" class="form-control" value="" placeholder="库表名"/>
|
|
|
- </div>
|
|
|
- <button class="btn btn-primary import-primary" onclick='getescount()'>
|
|
|
- Es导入数据
|
|
|
- </button>
|
|
|
- <button class="btn btn-primary import-primary" onclick='importbyexcel()'>
|
|
|
- 导入Excel
|
|
|
- </button>
|
|
|
- </div>
|
|
|
- <iframe srcdoc="<form id='uploadform' method='post' enctype='multipart/form-data' action='/center/importbyexcel'><input type='file' name='xlsx' /><input type='input' id='excelcoll' name='excelcoll' /></form>"
|
|
|
- height=0 scrolling=no class="hide" id="fileframe">
|
|
|
- </iframe>
|
|
|
+<!-- <div class="form-group col-md-5" style="padding-left: 0">-->
|
|
|
+<!-- <textarea class="form-control" name="descript" id="es"></textarea>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div class="form-group col-md-6" style="margin-top: 10px;margin-left: -14px;">-->
|
|
|
+<!-- <div class="col-md-3" style="padding-left: 0">-->
|
|
|
+<!-- <input type="input" id="importcoll" class="form-control" value="" placeholder="库表名"/>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <button class="btn btn-primary import-primary" onclick='getescount()'>-->
|
|
|
+<!-- Es导入数据-->
|
|
|
+<!-- </button>-->
|
|
|
+<!-- <button class="btn btn-primary import-primary" onclick='importbyexcel()'>-->
|
|
|
+<!-- 导入Excel-->
|
|
|
+<!-- </button>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <iframe srcdoc="<form id='uploadform' method='post' enctype='multipart/form-data' action='/center/importbyexcel'><input type='file' name='xlsx' /><input type='input' id='excelcoll' name='excelcoll' /></form>"-->
|
|
|
+<!-- height=0 scrolling=no class="hide" id="fileframe">-->
|
|
|
+<!-- </iframe>-->
|
|
|
</div>
|
|
|
<hr style="border:1 double" width="100%">
|
|
|
<div class="col-md-12">
|
|
@@ -209,7 +209,7 @@
|
|
|
</div>
|
|
|
<div class="r-c-box">
|
|
|
<button class="btn btn-primary" style="margin-left: 17px;" onclick="updateinfo()">刷新</button>
|
|
|
- <button class="btn btn-primary" style="margin-left: 50px;" onclick="skipReview()">数据质检</button>
|
|
|
+<!-- <button class="btn btn-primary" style="margin-left: 50px;" onclick="skipReview()">数据质检</button>-->
|
|
|
</div>
|
|
|
|
|
|
</div>
|