Browse Source

no message

Jianghan 3 years ago
parent
commit
2d765b161d
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/web/templates/project/remark_detail.html

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

@@ -908,16 +908,16 @@
                         this.setStatus(uni, status, two, one)
                     },
                 openHref() {
-                        if (!issave) {
-                            alert("请先保存数据!")
+                    if (!issave) {
+                        alert("请先保存数据!")
+                    } else {
+                        if (nextid === "") {
+                            showMsg("数据已经全部标注完")
                         } else {
-                            if (nextid === "") {
-                                showMsg("数据已经全部标注完")
-                            } else {
-                                window.location.href = "/front/user/remark/detail?pid=" + {{ .T.pid }} + "&did=" + nextid + "&s_sourceinfo=" + {{ .T.s_sourceinfo }}
-                            }
+                            window.location.href = "/front/user/remark/detail?pid=" + {{ .T.pid }} + "&did=" + nextid + "&s_sourceinfo=" + {{ .T.s_sourceinfo }}
                         }
-                    },
+                    }
+                },
                 // 检查一级是否需要改变状态
                 checkOneStatus: function (config) {
                     var tempObj = {
@@ -1004,6 +1004,7 @@
                 delNewTwo: function (one, index, two) {
                     //two.ck_isnew = false //目前点删除按钮页面直接不显示,但是集合索引位置不变,所以加了此代码
                     //two.show = false
+                    alert(two.isnew)
                     if (two.isnew) {
                         one.content.splice(index, 1)
                     } else {
@@ -1375,7 +1376,6 @@
                     var d = JSON.stringify(this.editData);
                     console.log(d)
                     var _this = this
-                    return;
                     $.ajax({
                         url: "/front/data/mark",
                         method: "post",