From 7571c6eaeec9a2742dc4faa12fa311bfec1bfdf6 Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Mon, 11 Nov 2019 17:43:18 +0800 Subject: update --- .../main/resources/templates/js/modules/detect/metaMapping.js | 11 +---------- .../resources/templates/modules/detect/addTypeTemplate.html | 4 ++-- .../main/resources/templates/modules/detect/deteType2.html | 2 +- .../main/resources/templates/modules/detect/metaMapping.html | 4 ++-- 4 files changed, 6 insertions(+), 15 deletions(-) diff --git a/nezha-admin/src/main/resources/templates/js/modules/detect/metaMapping.js b/nezha-admin/src/main/resources/templates/js/modules/detect/metaMapping.js index 6ceb091d..6b617c01 100644 --- a/nezha-admin/src/main/resources/templates/js/modules/detect/metaMapping.js +++ b/nezha-admin/src/main/resources/templates/js/modules/detect/metaMapping.js @@ -61,8 +61,6 @@ $(function () { $("#jqGrid").closest(".ui-jqgrid-bdiv").css({"overflow-x": "hidden"}); // var gridName = "jqGrid"; // Merger(gridName, 'type'); - console.log($(".costomTable").parent().css("padding-left", "0px")) - console.log($(".costomTable").parent().css("padding-right", "0px")) }, onSelectAll: function (rowids, status) { if (status) { @@ -195,7 +193,6 @@ var vm = new Vue({ }); }, save: function () { - console.log('save--') if (vm.validate()) { //在下方定义的validate方法 return; } @@ -204,7 +201,6 @@ var vm = new Vue({ vm.saveOrUpdate(url, method); }, update: function () { - console.log('update--') if (vm.validate()) { //在下方定义的validate方法 return; } @@ -235,7 +231,6 @@ var vm = new Vue({ if (types == null) { return; } - console.log("types-->" + JSON.stringify(types)) confirm("<@spring.message 'common.confirmDelete'/>", function () { $.ajax({ url: baseURL + "/deteType/deleteDic", @@ -261,7 +256,7 @@ var vm = new Vue({ vm.touchMappings(); var elementError = false; var componets = vm.$refs.metaMapping; - if (typeof componets != 'undefined' && componets.length > 1) { + if (typeof componets != 'undefined' && componets.length > 0) { for (var i = 0; i < componets.length; i++) { var componet = componets[i]; @@ -275,8 +270,6 @@ var vm = new Vue({ vm.mappingRequired = false; elementError = true; } - console.log(vm.$v.metaMappings.$error + '|' + elementError) - console.log(vm.$v.metaMappings) return vm.$v.metaMappings.$error || elementError; }, formatmetaMappingToSimple: function () { @@ -505,8 +498,6 @@ Vue.component("meta-mapping", { delSelf: function (e) { var temp = this; var p = temp.metaMapping; - console.log('p-->') - console.log(p) if (typeof p.new != 'undefined' && p.new != null && p.new) { temp.$emit("del-mapping", this.index); } else { diff --git a/nezha-admin/src/main/resources/templates/modules/detect/addTypeTemplate.html b/nezha-admin/src/main/resources/templates/modules/detect/addTypeTemplate.html index 16590cc9..72e7c259 100644 --- a/nezha-admin/src/main/resources/templates/modules/detect/addTypeTemplate.html +++ b/nezha-admin/src/main/resources/templates/modules/detect/addTypeTemplate.html @@ -374,10 +374,10 @@
- +
- +
diff --git a/nezha-admin/src/main/resources/templates/modules/detect/deteType2.html b/nezha-admin/src/main/resources/templates/modules/detect/deteType2.html index 4885091d..154c0a8d 100644 --- a/nezha-admin/src/main/resources/templates/modules/detect/deteType2.html +++ b/nezha-admin/src/main/resources/templates/modules/detect/deteType2.html @@ -499,7 +499,7 @@
-
<@spring.message 'deteType.defVal'/>:
+
<@spring.message 'common.defVal'/>:
* diff --git a/nezha-admin/src/main/resources/templates/modules/detect/metaMapping.html b/nezha-admin/src/main/resources/templates/modules/detect/metaMapping.html index 172dda1f..11b63c29 100644 --- a/nezha-admin/src/main/resources/templates/modules/detect/metaMapping.html +++ b/nezha-admin/src/main/resources/templates/modules/detect/metaMapping.html @@ -120,10 +120,10 @@
- +
- +
-- cgit v1.2.3