list.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>标注中心</title>
  6. <link href="/css/bootstrap.min.css" rel="stylesheet">
  7. <link href="/css/page.css" rel="stylesheet">
  8. <script src="/js/jquery.js"></script>
  9. <script src="/js/bootstrap.min.js"></script>
  10. <script src="/js/util.js"></script>
  11. <script src="/js/vue.min.js"></script>
  12. <script src="/js/index.js"></script>
  13. <script src="/js/jquery-page.js"></script>
  14. <link rel="stylesheet" href="/css/index.css">
  15. <style>
  16. .form-horizontal {
  17. min-height: 40px;
  18. margin-top: 20px;
  19. }
  20. .row-box label {
  21. white-space: nowrap;
  22. }
  23. .row-box select {
  24. width: 100px;
  25. }
  26. .row-box input {
  27. margin-left: 15px;
  28. width: 5em;
  29. }
  30. .row-box + .row-box {
  31. margin-left: 15px;
  32. }
  33. .row-box + button {
  34. margin-left: 15px;
  35. }
  36. .row-box {
  37. display: flex;
  38. flex-direction: row;
  39. align-items: center;
  40. }
  41. .checkbox-inline{
  42. margin-left: -11px;
  43. }
  44. .import-primary{
  45. margin-left: 9px;
  46. }
  47. .r-c-box {
  48. display: flex;
  49. flex-direction: row;
  50. align-items: center;
  51. }
  52. </style>
  53. </head>
  54. <body>
  55. <!-- 模态框(Modal) -->
  56. <div class="modal fade" id="editeuser" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  57. <div class="modal-dialog">
  58. <div class="modal-content">
  59. <div class="modal-header">
  60. <div class="modal-header">
  61. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  62. <div class="edit-form">
  63. <div class="edit-info">
  64. <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
  65. <span class="info">信息修改<span>
  66. </div>
  67. <form class="form-horizontal" role="form">
  68. <div class="form-group">
  69. <label for="username" class="col-sm-2 control-label">用户名:</label>
  70. <div class="col-sm-10">
  71. <input type="text" readonly="readonly" value='{{session "username"}}' class="form-control" id="username">
  72. </div>
  73. </div>
  74. <div class="form-group password">
  75. <label for="password" class="col-sm-2 control-label">密码:</label>
  76. <div class="col-sm-10">
  77. <input type="text" class="form-control" id="password" value='{{session "password"}}'>
  78. </div>
  79. <span class="passwordEdit hide check">密码不能为空</span>
  80. </div>
  81. <div class="form-group">
  82. <div class="col-sm-offset-2 col-sm-10">
  83. <input type="button" onclick="saveuser()" class="btn btn-primary" value="保存">
  84. <input type="button" onclick="cancel()" class="btn btn-default" value="取消">
  85. </div>
  86. </div>
  87. </form>
  88. </div>
  89. </div>
  90. </div>
  91. </div><!-- /.modal-content -->
  92. </div><!-- /.modal -->
  93. </div>
  94. <div>
  95. <div class="modal fade" id="loadingModal" backdrop="static" keyboard="false">
  96. <div style="width: 200px;height:100px; z-index: 20000; position: absolute; text-align: center; left: 50%; top: 50%;margin-left:-100px;margin-top:-10px">
  97. <div class="progress progress-striped active"
  98. style="margin-bottom: 0;height:50px; text-align:center;line-height: 50px;font-size:large;">
  99. 数据加载中,请稍候......    
  100. </div>
  101. </div>
  102. </div>
  103. <div style="background-color: #3c8dbc;text-align: right;">
  104. <div style="display: inline-block;">
  105. <div style="text-align: right;text-align: right;" class="glyphicon glyphicon-user"></div>
  106. <h3 onclick="editeuser()" style="cursor:pointer;color: #FFFFFF;margin-top: 10px;margin-right: 15px;display:-webkit-inline-box;">{{session "loginuser"}}</h3>
  107. </div>
  108. <div style="display: inline-block;">
  109. <a href="/front/logout"><span style="font-size: 18px; color:#FFFFFF; padding: 10px;margin-right: 15px">注销</span></a>
  110. </div>
  111. </div>
  112. <div class="col-md-12" style="border-right: 1px double #EEEEEE;">
  113. <div style="padding:10px 0px 0px 0px">
  114. <form action="/center/list" class="form-horizontal" role="form">
  115. <div style="display: none">
  116. <input type="input" name="pagenum" id="pagenum" class="form-control" value="{{.T.pagenum}}"/>
  117. </div>
  118. <div style="display: none">
  119. <input type="input" name="labeler" id="labername" class="form-control" value=""/>
  120. </div>
  121. <!-- <div class="col-md-3">-->
  122. <!-- <input type="input" name="spidercode" class="form-control" value="{{.T.spidercode}}"-->
  123. <!-- placeholder="请输入爬虫代码"/>-->
  124. <!-- </div>-->
  125. <div class="col-md-1" style="padding-left: 0;">
  126. <input type="input" name="db" disabled class="form-control" value="{{.T.dbname}}"
  127. placeholder="请输入库名"/>
  128. </div>
  129. <div class="col-md-1" style="padding-left: 0">
  130. <input type="input" name="coll" id="fromtable" class="form-control" value='{{if ne .T.coll ""}}{{.T.coll}}{{else}}{{.T.fromtable}}{{end}}' placeholder="请输入表名"/>
  131. </div>
  132. <div class="col-md-7 row-box" style="padding-left: 0">
  133. <!-- <div class=" row-box" style="padding-left: 0">-->
  134. <!-- <label class="checkbox-inline">类型:</label>-->
  135. <!-- <select name="type" id="topsubtype" class="form-control">-->
  136. <!-- <option value="-1">请选择</option>-->
  137. <!--&lt;!&ndash; <option value="trailer" {{if eq .T.type "notice"}}selected{{end}}>预告</option>&ndash;&gt;-->
  138. <!-- <option value="intention" {{if eq .T.type "intention"}}selected{{end}}>采购意向</option>-->
  139. <!-- <option value="tender" {{if eq .T.type "tender"}}selected{{end}}>招标</option>-->
  140. <!-- <option value="bid" {{if eq .T.type "bid"}}selected{{end}}>结果</option>-->
  141. <!-- </select>-->
  142. <!-- </div>-->
  143. <!-- <div class="row-box">-->
  144. <!-- <label class="checkbox-inline">字段:</label>-->
  145. <!-- <select name="field" id="field" class="form-control">-->
  146. <!-- <option value="-1">请选择</option>-->
  147. <!-- <option value="trailer" {{if eq .T.type "notice"}}selected{{end}}>预告</option>-->
  148. <!-- <option value="tender" {{if eq .T.type "tender"}}selected{{end}}>招标</option>-->
  149. <!-- <option value="bid" {{if eq .T.type "bid"}}selected{{end}}>结果</option>-->
  150. <!-- </select>-->
  151. <!-- <input type="input" name="minval" id="minval" style="display:none" class="form-control"-->
  152. <!-- value="{{.T.min}}" placeholder="最小值"/>-->
  153. <!-- <input type="input" name="maxval" id="maxval" style="display:none" class="form-control"-->
  154. <!-- value="{{.T.max}}" placeholder="最大值"/>-->
  155. <!-- <div id="boexists" style="margin-left: -29px;">-->
  156. <!-- <input id="hasno" type="checkbox" name="hasno" onclick="checkboxOnclick(this)" value={{if .T.hasno}} true {{else}} false {{end}}/>-->
  157. <!-- <label style="margin-left: -28px;">不存在</label>-->
  158. <!-- </div>-->
  159. <!-- <div id="datanotag" style="margin-left: -29px;">-->
  160. <!-- <input id="notag" type="checkbox" name="notag" onclick="checktagboxOnclick(this)" value={{if .T.notag}} true {{else}} false {{end}}/>-->
  161. <!-- <label style="margin-left: -28px;">未标注</label>-->
  162. <!-- </div>-->
  163. <!-- </div>-->
  164. <!--<div class="col-md-2">
  165. <label class="checkbox-inline">
  166. <input type="checkbox" name="ispackage" value="1">分包数据
  167. </label>
  168. </div>-->
  169. <button type="submit" style="display: none" class="btn btn-primary" id="submitForm"></button>
  170. <div class="btn btn-primary" style="margin-left: 15px" onclick="alertsync()">查看</div>
  171. <!-- <div id="markedinit" class="btn btn-primary" style="margin-left: 15px;display:none;" onclick="markedinit()">初始化marked</div>-->
  172. <!-- <div class="btn btn-primary" style="margin-left: 15px" onclick="syncmarked()">同步</div>-->
  173. </div>
  174. </form>
  175. </div>
  176. <div class="col-md-12">
  177. <!-- <div class="form-group col-md-5" style="padding-left: 0">-->
  178. <!-- <textarea class="form-control" name="descript" id="es"></textarea>-->
  179. <!-- </div>-->
  180. <div class="form-group col-md-6" style="margin-top: 10px;margin-left: -14px;">
  181. <div class="col-md-3" style="padding-left: 0">
  182. <input type="input" id="importcoll" class="form-control" value="markwork_wb_zcz" readonly placeholder="库表名"/>
  183. </div>
  184. <!-- <button class="btn btn-primary import-primary" onclick='getescount()'>-->
  185. <!-- Es导入数据-->
  186. <!-- </button>-->
  187. <button class="btn btn-primary import-primary" onclick='importbyexcel()'>
  188. 导入Excel
  189. </button>
  190. </div>
  191. <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>"
  192. height=0 scrolling=no class="hide" id="fileframe">
  193. </iframe>
  194. </div>
  195. <hr style="border:1 double" width="100%">
  196. <div class="col-md-12">
  197. <div class="form-group col-md-3" style="margin-left: -15px;">
  198. <h4>
  199. 已验/总数:{{.T.checkednum}}/{{.T.allnum}}
  200. </h4>
  201. </div>
  202. <div class="r-c-box">
  203. <button class="btn btn-primary" style="margin-left: 17px;" onclick="updateinfo()">刷新</button>
  204. <!-- <button class="btn btn-primary" style="margin-left: 50px;" onclick="skipReview()">数据质检</button>-->
  205. </div>
  206. </div>
  207. <hr style="border:1 double" width="100%">
  208. <div id="spcontent" class="column">
  209. {{range $k,$v:=.T.list}}
  210. <div>
  211. <span style="font-size:18px"><script>document.write({{ $v }}["num"])</script>:</span>&nbsp;
  212. <div onclick="getdetail({{$v._id}})" style="display: inline-block;cursor:pointer;font-size:18px;color:{{if $v.checked}}green{{else}}#428bca{{end}}">{{$v.title}}</div>
  213. </div>
  214. {{end}}
  215. </div>
  216. </div>
  217. <div style="text-align: center;justify-content: flex-end;padding-right: 100px;" class="r-c-box">
  218. <div id="pager" class="pager clearfix"></div>
  219. <div class="pager clearfix r-c-box" style="margin-left: 16px;">
  220. 跳转到
  221. <input type="text" id="changePage" style="width:30px;">
  222. <a type="text" href="javascript:void(0);" onclick="gopage()" style="text-align:center;float: right;">GO</a>
  223. </div>
  224. </div>
  225. </div>
  226. </body>
  227. <script>
  228. var vueApp = new Vue()
  229. //history.replaceState('', {},location.href.replace(location.search, '') )
  230. $(function(){
  231. if({{.T.coll}} == "marked"){
  232. $("#markedinit").css("display","");
  233. }
  234. //不存在标记
  235. if( {{.T.hasno}} ){
  236. $("#hasno").attr("checked",true);
  237. }
  238. if( {{.T.notag}} ){
  239. $("#notag").attr("checked",true);
  240. }
  241. //数据类型
  242. for(i in {{.T.topsubtype}}){
  243. var selected = ""
  244. if({{.T.type}} == {{.T.topsubtype}}[i]){
  245. selected = "selected"
  246. }
  247. console.log({{.T.topsubtype}}[i])
  248. $("#topsubtype").append("<option "+selected+" value='"+{{.T.topsubtype}}[i]+"'>"+{{.T.topsubtype}}[i]+"</option>")
  249. }
  250. //标注人员筛选
  251. for(i in {{.T.labelers}}){
  252. var selected = ""
  253. if({{.T.labeler}} == {{.T.labelers}}[i]){
  254. selected = "selected"
  255. }
  256. $("#labeler").append("<option "+selected+" value='"+{{.T.labelers}}[i]+"'>"+{{.T.labelers}}[i]+"</option>")
  257. }
  258. //字段选择
  259. var fk = "";
  260. for(i in {{.T.allfield}}){
  261. var selected = ""
  262. for(key in {{.T.allfield}}[i]){
  263. if({{.T.field}} == key){
  264. selected = "selected"
  265. fk = key
  266. }
  267. $("#field").append("<option " +selected+" value='"+key+"'>"+{{.T.allfield}}[i][key]+"</option>")
  268. }
  269. }
  270. if(fk=="budget"||fk=="bidamount"){
  271. $("#maxval").css("display","");
  272. $("#minval").css("display","");
  273. $("#boexists").css("display","");
  274. }
  275. $("#field").change(function(){
  276. $("#hasno").attr("checked",false);
  277. $("#notag").attr("checked",false);
  278. if($(this).val()=="bidamount"||$(this).val()=="budget"){
  279. $("#minval").css("display","");
  280. $("#maxval").css("display","");
  281. <!-- $("#boexists").css("display","none"); -->
  282. }else{
  283. $("#minval").css("display","none");
  284. $("#maxval").css("display","none");
  285. <!-- $("#boexists").css("display",""); -->
  286. }
  287. });
  288. $("#fromtable").on('input propertychange', function(){
  289. var tmpcoll = $("#fromtable").val();
  290. if(tmpcoll == "marked"){
  291. $("#markedinit").css("display","");
  292. }else{
  293. $("#markedinit").css("display","none");
  294. }
  295. });
  296. })
  297. //是否选择不存在
  298. function checkboxOnclick(checkbox){
  299. if ( checkbox.checked == true){
  300. $("#hasno").attr("value",true);
  301. }else{
  302. $("#hasno").attr("value",false);
  303. }
  304. }
  305. //是否选择未标注
  306. function checktagboxOnclick(checkbox){
  307. if ( checkbox.checked == true){
  308. $("#notag").attr("value",true);
  309. }else{
  310. $("#notag").attr("value",false);
  311. }
  312. }
  313. function getdetail(id) {
  314. $.ajax({
  315. url: "/center/checkid",
  316. type: "post",
  317. data: {"id":id},
  318. async: false,
  319. success: function (r) {
  320. if(r && r.msg == ""){
  321. if(r.exists){//标注完成
  322. window.open("/center/finishcheck");
  323. }else if(!r.exists && r.id != id){
  324. /*
  325. vueApp.$message({
  326. message: '此条数据正在标注,请选择未标注数据',
  327. type: 'danger',
  328. duration: 2000,
  329. offset: 300
  330. });
  331. */
  332. vueApp.$confirm('此条数据正在标注,是否直接跳转到未标注数据?', {
  333. confirmButtonText: '确认',
  334. cancelButtonText: '取消',
  335. type: 'warning'
  336. }).then(() => {
  337. window.open("/center/detail/"+r.id+".html");
  338. }).catch(() => {
  339. });
  340. }else if (!r.exists && r.id == id){
  341. window.open("/center/detail/"+r.id+".html");
  342. }else{
  343. alert("标注出错!")
  344. }
  345. }else{
  346. alert("标注出错!"+r.msg)
  347. }
  348. }
  349. })
  350. }
  351. function getescount(){
  352. var importcoll = $("#importcoll").val();
  353. if(importcoll == ""){
  354. alert("请输入导入表!")
  355. return
  356. }
  357. var estext = $("#es").val()
  358. if(estext==""){
  359. alert("请输入es查询语句!")
  360. return
  361. }
  362. $.ajax({
  363. url:"/center/getescount",
  364. method:"post",
  365. data: {"estext":estext},
  366. success:function(res){
  367. importbyes(res.count,res.msg,estext,importcoll)
  368. }
  369. });
  370. }
  371. function importbyes(count,msg,text,coll){
  372. vueApp.$confirm('es查询数据量:'+count, msg, {
  373. confirmButtonText: '确认导入',
  374. cancelButtonText: '取消',
  375. type: 'warning'
  376. }).then(() => {
  377. importes(text,coll)
  378. }).catch(() => {
  379. });
  380. }
  381. //es导入
  382. function importes(estext,coll){
  383. showLoading()
  384. $.ajax({
  385. url: "/center/importbyes",
  386. method: "post",
  387. data: {"estext": estext, "coll": coll},
  388. success: function (r) {
  389. hideLoading()
  390. if(r){
  391. alert(r.msg)
  392. }else{
  393. alert("导入失败")
  394. }
  395. // if (res && res.success) {
  396. // alert("数据导入成功")
  397. // //setTimeout(alert("数据导入成功"),200)
  398. // } else {
  399. // alert(res.msg)
  400. // //setTimeout(alert(res.msg),200)
  401. // }
  402. }
  403. });
  404. }
  405. //excel导入
  406. function importbyexcel(){
  407. var importcoll = $("#importcoll").val();
  408. if(importcoll == ""){
  409. alert("请输入导入表!")
  410. return
  411. }
  412. $("#excelcoll").val(importcoll);
  413. $("#fileframe").contents().find("#excelcoll").val(importcoll);
  414. var f=$("#fileframe").contents().find("input");
  415. f.get(0).click();
  416. f.change(function() {
  417. var val = $(this).val() ? $(this).val() : "";
  418. if (val.indexOf(".xlsx") < 0) {
  419. showMsg("文件格式非法",
  420. function() {});
  421. } else {
  422. $(this).parent().submit();
  423. showLoading()
  424. var ret = setInterval(function () {
  425. var f = $(window.frames[0].document).find("form");
  426. if (f.length == 0) {
  427. hideLoading()
  428. var b = $(window.frames[0].document).find("body").text();
  429. if (b) {
  430. var r = JSON.parse(b)
  431. if(r){
  432. console.log(r.msg)
  433. alert(r.msg)
  434. }else{
  435. alert("导入失败")
  436. }
  437. // if (r && r.success) {
  438. // alert("数据导入成功")
  439. // } else {
  440. // alert(r.msg)
  441. // }
  442. }
  443. $(window.frames[0].document).find("body").append("<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>");
  444. }
  445. },
  446. 500)
  447. }
  448. })
  449. }
  450. //展示loading框
  451. showLoading = function (){
  452. $('#loadingModal').modal({backdrop: 'static', keyboard: false});
  453. }
  454. //隐藏掉loading框
  455. hideLoading = function (){
  456. $('#loadingModal').modal('hide');
  457. }
  458. //分页
  459. $("#pager").zPager({
  460. totalData: {{.T.allnum}},//数据总条数
  461. current: {{.T.pagenum}},
  462. pageData: 50,//每页数据条数
  463. //htmlBox: $('#wraper'),
  464. btnShow: true,
  465. ajaxSetData: false
  466. });
  467. function currentPage(currentPage, type){
  468. /*
  469. 触发页码数位置: Page/js/jquery.z-pager.js 64行
  470. */
  471. console.log("当前页码数:" + currentPage);
  472. }
  473. function alertsync() {
  474. var coll = $("#fromtable").val();
  475. if(confirm("请先同步"+coll+"表中数据。如需同步,请点确定;否则,请取消,直接查看数据。"+"\n"+"(通过ES/Excel导入数据,无需同步)")){
  476. if(coll == "marked"){
  477. alert("marked表无需同步");
  478. return
  479. }
  480. showLoading();
  481. $.ajax({
  482. url:"/center/syncmarked",
  483. type:"post",
  484. async:false,
  485. data:{"coll":coll},
  486. success:function (r) {
  487. if(r){
  488. console.log(r.msg);
  489. alert(r.msg);
  490. hideLoading();
  491. if(r.flag){
  492. $("#submitForm").trigger('click');
  493. }
  494. }else{
  495. hideLoading()
  496. }
  497. }
  498. })
  499. }else{
  500. $("#submitForm").trigger('click');
  501. }
  502. }
  503. //页码跳转
  504. function gopage(){
  505. var pagenumber = $("#changePage").val();
  506. var totalcount = {{.T.allnum}};
  507. var pagecount = parseInt((totalcount + 50 - 1) / 50)
  508. if(1 <= pagenumber && pagenumber <= pagecount){
  509. submitform(pagenumber);
  510. }else{
  511. vueApp.$message({
  512. message: '页码输入有误,请重新输入!',
  513. type: 'danger',
  514. duration: 2000,
  515. offset: 300
  516. });
  517. }
  518. }
  519. function submitform(number){
  520. $("#pagenum").val(number);
  521. $("#submitForm").trigger('click');
  522. }
  523. function updateinfo(){
  524. $("#submitForm").trigger('click');
  525. }
  526. //同步marked表中的数据
  527. function syncmarked() {
  528. var coll = $("#fromtable").val();
  529. if(confirm("确定同步"+coll+"表中数据?")){
  530. if(coll == "marked"){
  531. alert("marked表无需同步");
  532. return
  533. }
  534. $.ajax({
  535. url:"/center/syncmarked",
  536. type:"post",
  537. data:{"coll":coll},
  538. success:function (r) {
  539. if(r){
  540. console.log(r.msg)
  541. alert(r.msg)
  542. }
  543. }
  544. })
  545. }
  546. }
  547. function markedinit(){
  548. vueApp.$confirm('确定初始化marked表中ck_data标记?', {
  549. confirmButtonText: '确认',
  550. cancelButtonText: '取消',
  551. type: 'warning'
  552. }).then(() => {
  553. $.ajax({
  554. url: "/center/markedinit",
  555. type: "post",
  556. success: function (r) {
  557. if(r&&r.success){
  558. alert("初始化成功");
  559. }else{
  560. alert("初始化失败");
  561. }
  562. }
  563. })
  564. }).catch(() => {
  565. });
  566. }
  567. function saveuser() {
  568. var username = $("#username").val();
  569. var password = $("#password").val();
  570. if(username!=""&&password!=""){
  571. $.ajax({
  572. url: "/center/saveuser",
  573. type: "post",
  574. data: {"username":username,"password":password},
  575. success: function (r) {
  576. if(r&&r.flag){
  577. alert("更新成功");
  578. $("#editeuser").modal("hide");
  579. }else{
  580. alert("更新失败");
  581. }
  582. }
  583. })
  584. }else{
  585. alert("用户或密码不能为空!")
  586. }
  587. }
  588. function editeuser() {
  589. $("#editeuser").modal("show");
  590. }
  591. function cancel() {
  592. $("#editeuser").modal("hide");
  593. }
  594. function changelabeler(labeler){
  595. if(labeler == "-1"){
  596. return
  597. }
  598. $("#labername").val(labeler)
  599. $("#submitForm").trigger('click');
  600. //window.location.href = '/center/getlistbylabeler/?user='+labeler;
  601. //window.open("/center/getlistbylabeler/?user="+labeler);
  602. }
  603. function skipReview() {
  604. window.location.href="/center/review?coll="+$("#fromtable").val()
  605. }
  606. </script>
  607. </html>