Jianghan 1 vuosi sitten
vanhempi
commit
483f3f8b3d
1 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. 6 1
      src/web/templates/project/check_detail.html

+ 6 - 1
src/web/templates/project/check_detail.html

@@ -324,7 +324,7 @@
             <div class="save-box">
 <!--                 <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="checkData()" style="width:100px">通过</button>
                 <button  class="code" @click.stop="open(2)" style="width:100px">保存</button>&nbsp;&nbsp;
                 <button  class="code" @click.stop="dataBack" style="width:100px">打回</button>&nbsp;&nbsp;
                 <button class="code" @click.stop="openHref" style="width:100px">下一条</button>
@@ -1457,6 +1457,11 @@
                             alert(err);
                         }
                     });
+                },
+                checkData: function () {
+                    app.editData.forEach(v => {
+                        app.saveDataOne(v, '1')
+                    })
                 }
                 //保存提示
                 // open:function(one, type) {