Browse Source

Merge branch 'dev2.0' of http://192.168.3.207:8080/data_processing/data_validation into dev2.0

* 'dev2.0' of http://192.168.3.207:8080/data_processing/data_validation:
  xg
Jianghan 3 years ago
parent
commit
70ed7514fa
2 changed files with 3 additions and 2 deletions
  1. 1 0
      src/front/mark.go
  2. 2 2
      src/web/templates/project/remark_detail.html

+ 1 - 0
src/front/mark.go

@@ -12,6 +12,7 @@ import (
 
 // DataMark 数据标注
 func (f *Front) DataMark() {
+	qu.Debug("------------------")
 	defer qu.Catch()
 	success := false
 	msg := ""

+ 2 - 2
src/web/templates/project/remark_detail.html

@@ -371,7 +371,7 @@
                 </div>
             </div>
             <div class="save-box">
-                <!--                 <button  class="code" @click.stop="showPop = true" style="width:100px">源码</button>&nbsp;&nbsp; -->
+                                 <button  class="code" @click.stop="showPop = true" style="width:100px">源码</button>&nbsp;&nbsp;
                 <!--                 <button  class="code" @click.stop="open(1)" style="width:100px">全部验证</button> -->
                 <button class="code" @click.stop="open(2)" style="width:100px">字段验证</button>
                 <!--            <button  class="code" @click.stop="open('', false)" style="width:100px">保存</button>&nbsp;&nbsp;-->
@@ -1379,7 +1379,7 @@
                     $.ajax({
                         url: "/front/data/mark",
                         method: "post",
-                        data: {key: d, _id: _id, stype: stype},
+                        data: {"data": d, "s_infoid": _id, "s_usertaskid": tid},
                         success: function (res) {
                             if (res) {
                                 _this.$message({