maxiaoshan 3 жил өмнө
parent
commit
6e17abd3ec

+ 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 - 3
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;-->
@@ -1375,11 +1375,10 @@
                     var d = JSON.stringify(this.editData);
                     console.log(d)
                     var _this = this
-                    return;
                     $.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({