Kaynağa Gözat

新增坐标

sunyize 2 yıl önce
ebeveyn
işleme
b947d4a20b

+ 3 - 1
src/views/networkAccess/registration.vue

@@ -3143,7 +3143,9 @@ export default {
             this.clearModel()
             this.$message.success("提交成功", 3);
             this.addIng == true
-             location.reload();
+            this.closeCurrent();
+            this.$router.push({path: '/networkAccess/registration'});
+            // location.reload();
             // this.onCance  ()
             //this.closeCurrent();
             //this.$router.replace({ path: this.$route.path })

+ 4 - 0
src/views/networkAccess/userStatistics.vue

@@ -810,9 +810,13 @@ export default {
     },
     /**修改*/
     showImproveAndUpload(record) {
+
       if (!record.createTime.match(RegExp(this.getDate()))){
         return this.$message.warning('非当天创建 禁止修改', 3);
       }
+      if (record.status!=='0'){
+        return this.$message.warning('当前状态非新建未报 不可修改', 3);
+      }
       //校验
       let data = {
         ids: [record.id],