2 Commits 13b2a18585 ... 70ebd691d8

Author SHA1 Message Date
  duxiangyu 70ebd691d8 Merge branch 'master' into dev_duxiangyu 2 years ago
  duxiangyu f7e7198bcd 调整项目信息管理锚点顺序 2 years ago

+ 4 - 4
src/components/project-manage/components/anchor.vue

@@ -30,14 +30,14 @@ export default {
           value: "basic",
         },
         {
-          label: "项目信息",
-          value: "project",
-        },
-        {
           label: "地理信息",
           value: "geo",
         },
         {
+          label: "项目信息",
+          value: "project",
+        },
+        {
           label: "商业信息",
           value: "business",
         },

+ 2 - 2
src/components/project-manage/form/items/ImageUpload.vue

@@ -205,7 +205,7 @@ export default {
      */
     maxNumber: {
       type: Number,
-      default: 9,
+      default: 10,
     },
     /**
      * 接受上传的文件类型
@@ -279,7 +279,7 @@ export default {
     },
     // 最大限制数
     limitMaxNumber() {
-      return this.maxNumber >= 9 ? 9 : this.maxNumber;
+      return this.maxNumber >= 10 ? 10 : this.maxNumber;
     },
     // 是否缩放了图片
     isZoomImage() {

+ 0 - 3
src/components/project-manage/form/items/input.vue

@@ -117,8 +117,6 @@ export default {
       }
     },
     change(e) {
-      // this.$emit("change", this.value);
-      console.log(this.trueValue);
       this.errorInfo = "";
       const isNum = /^[0-9]+.?[0-9]*$/; // 是否都为数字
       const isDouble = /^[+-]?\d+(?:\.\d{1,2})?$/; // 最多两位小数,可为正负
@@ -143,7 +141,6 @@ export default {
         this.value.push({ value: "" });
       } else {
         if (this.value.length === 1) return;
-        console.log(this.value);
         this.value.splice(index, 1);
       }
     },

+ 1 - 5
src/components/project-manage/form/items/select.vue

@@ -44,15 +44,11 @@ export default {
     };
   },
   mounted() {
-    console.log(this.formItemObj);
+    // console.log(this.formItemObj);
   },
   methods: {
-    openNode() {
-      console.log(111);
-    },
     change(item) {
       this.$emit("change", item);
-      // this.$emit("change", result);
     },
     mapList(list) {
       let _list = list.map((i) => {