Commit d9fd3decfed3ab2b5fe4a9f80013c0e9a9decbcd
Merge branch 'master' of http://39.98.150.180/frontend-uniapp/Civil-Affairs-Bureau-WeChar
Showing
7 changed files
with
503 additions
and
321 deletions
pages/declaration/newDeclaration.vue
| @@ -666,7 +666,6 @@ | @@ -666,7 +666,6 @@ | ||
| 666 | // return | 666 | // return |
| 667 | // } | 667 | // } |
| 668 | // } else { | 668 | // } else { |
| 669 | - | ||
| 670 | // } | 669 | // } |
| 671 | // } | 670 | // } |
| 672 | // for (let i = 0; i < this.newtextlist.length; i++) { | 671 | // for (let i = 0; i < this.newtextlist.length; i++) { |
| @@ -2197,7 +2196,7 @@ | @@ -2197,7 +2196,7 @@ | ||
| 2197 | from: 'name0' | 2196 | from: 'name0' |
| 2198 | }, | 2197 | }, |
| 2199 | ] | 2198 | ] |
| 2200 | - }else if (text == '交通运输设施/交通运输附属/道班') { | 2199 | + } else if (text == '交通运输设施/交通运输附属/道班') { |
| 2201 | this.newtextlist = [{ | 2200 | this.newtextlist = [{ |
| 2202 | name: '所在线路', | 2201 | name: '所在线路', |
| 2203 | type: '1', | 2202 | type: '1', |
| @@ -2350,7 +2349,7 @@ | @@ -2350,7 +2349,7 @@ | ||
| 2350 | }, | 2349 | }, |
| 2351 | ] | 2350 | ] |
| 2352 | } | 2351 | } |
| 2353 | - | 2352 | + |
| 2354 | if (text == '纪念地旅游景点/自然保护区') { | 2353 | if (text == '纪念地旅游景点/自然保护区') { |
| 2355 | this.newtextlist = [{ | 2354 | this.newtextlist = [{ |
| 2356 | name: '级别', | 2355 | name: '级别', |
| @@ -2410,8 +2409,7 @@ | @@ -2410,8 +2409,7 @@ | ||
| 2410 | }, | 2409 | }, |
| 2411 | ] | 2410 | ] |
| 2412 | } else if (text == '纪念地旅游景点/风景区' || text == ' 纪念地旅游景点/公园') { | 2411 | } else if (text == '纪念地旅游景点/风景区' || text == ' 纪念地旅游景点/公园') { |
| 2413 | - this.newtextlist = [ | ||
| 2414 | - { | 2412 | + this.newtextlist = [{ |
| 2415 | name: '占地面积(平方米)', | 2413 | name: '占地面积(平方米)', |
| 2416 | type: '1', | 2414 | type: '1', |
| 2417 | isbx: true, | 2415 | isbx: true, |
| @@ -2448,8 +2446,7 @@ | @@ -2448,8 +2446,7 @@ | ||
| 2448 | }, | 2446 | }, |
| 2449 | ] | 2447 | ] |
| 2450 | } else if (text == '纪念地旅游景点/纪念地遗址/事件纪念地' || text == '纪念地旅游景点/纪念地遗址/人物纪念地') { | 2448 | } else if (text == '纪念地旅游景点/纪念地遗址/事件纪念地' || text == '纪念地旅游景点/纪念地遗址/人物纪念地') { |
| 2451 | - this.newtextlist = [ | ||
| 2452 | - { | 2449 | + this.newtextlist = [{ |
| 2453 | name: '占地面积(平方米)', | 2450 | name: '占地面积(平方米)', |
| 2454 | type: '1', | 2451 | type: '1', |
| 2455 | isbx: false, | 2452 | isbx: false, |
| @@ -2492,9 +2489,9 @@ | @@ -2492,9 +2489,9 @@ | ||
| 2492 | from: 'name0' | 2489 | from: 'name0' |
| 2493 | }, | 2490 | }, |
| 2494 | ] | 2491 | ] |
| 2495 | - } else if (text == '纪念地旅游景点/纪念地遗址/宗教纪念地/教堂' || text == '纪念地旅游景点/纪念地遗址/宗教纪念地/寺' || text == '纪念地旅游景点/纪念地遗址/宗教纪念地/庙') { | ||
| 2496 | - this.newtextlist = [ | ||
| 2497 | - { | 2492 | + } else if (text == '纪念地旅游景点/纪念地遗址/宗教纪念地/教堂' || text == '纪念地旅游景点/纪念地遗址/宗教纪念地/寺' || text == |
| 2493 | + '纪念地旅游景点/纪念地遗址/宗教纪念地/庙') { | ||
| 2494 | + this.newtextlist = [{ | ||
| 2498 | name: '占地面积(平方米)', | 2495 | name: '占地面积(平方米)', |
| 2499 | type: '1', | 2496 | type: '1', |
| 2500 | isbx: false, | 2497 | isbx: false, |
| @@ -2538,10 +2535,9 @@ | @@ -2538,10 +2535,9 @@ | ||
| 2538 | }, | 2535 | }, |
| 2539 | ] | 2536 | ] |
| 2540 | } | 2537 | } |
| 2541 | - | 2538 | + |
| 2542 | if (text == '建筑物/房屋') { | 2539 | if (text == '建筑物/房屋') { |
| 2543 | - this.newtextlist = [ | ||
| 2544 | - { | 2540 | + this.newtextlist = [{ |
| 2545 | name: '地址', | 2541 | name: '地址', |
| 2546 | type: '1', | 2542 | type: '1', |
| 2547 | isbx: true, | 2543 | isbx: true, |
| @@ -2598,9 +2594,9 @@ | @@ -2598,9 +2594,9 @@ | ||
| 2598 | from: 'name0' | 2594 | from: 'name0' |
| 2599 | }, | 2595 | }, |
| 2600 | ] | 2596 | ] |
| 2601 | - } else if (text == '建筑物/亭台碑塔/亭' || text == '建筑物/亭台碑塔/塔'|| text == '建筑物/亭台碑塔/台'|| text == '建筑物/亭台碑塔/碑') { | ||
| 2602 | - this.newtextlist = [ | ||
| 2603 | - { | 2597 | + } else if (text == '建筑物/亭台碑塔/亭' || text == '建筑物/亭台碑塔/塔' || text == '建筑物/亭台碑塔/台' || text == |
| 2598 | + '建筑物/亭台碑塔/碑') { | ||
| 2599 | + this.newtextlist = [{ | ||
| 2604 | name: '所在位置(地址)', | 2600 | name: '所在位置(地址)', |
| 2605 | type: '1', | 2601 | type: '1', |
| 2606 | isbx: true, | 2602 | isbx: true, |
| @@ -2637,9 +2633,8 @@ | @@ -2637,9 +2633,8 @@ | ||
| 2637 | }, | 2633 | }, |
| 2638 | 2634 | ||
| 2639 | ] | 2635 | ] |
| 2640 | - }else if (text == ' 建筑物/场/体育场' || text == '建筑物/场/广场') { | ||
| 2641 | - this.newtextlist = [ | ||
| 2642 | - { | 2636 | + } else if (text == ' 建筑物/场/体育场' || text == '建筑物/场/广场') { |
| 2637 | + this.newtextlist = [{ | ||
| 2643 | name: '所在位置(地址)', | 2638 | name: '所在位置(地址)', |
| 2644 | type: '1', | 2639 | type: '1', |
| 2645 | isbx: true, | 2640 | isbx: true, |
| @@ -2662,9 +2657,8 @@ | @@ -2662,9 +2657,8 @@ | ||
| 2662 | }, | 2657 | }, |
| 2663 | 2658 | ||
| 2664 | ] | 2659 | ] |
| 2665 | - }else if (text == ' 建筑物/城堡、墙/墙' || text == '建筑物/城堡、墙/城堡') { | ||
| 2666 | - this.newtextlist = [ | ||
| 2667 | - { | 2660 | + } else if (text == ' 建筑物/城堡、墙/墙' || text == '建筑物/城堡、墙/城堡') { |
| 2661 | + this.newtextlist = [{ | ||
| 2668 | name: '所在位置(地址)', | 2662 | name: '所在位置(地址)', |
| 2669 | type: '1', | 2663 | type: '1', |
| 2670 | isbx: true, | 2664 | isbx: true, |
| @@ -2701,10 +2695,9 @@ | @@ -2701,10 +2695,9 @@ | ||
| 2701 | }, | 2695 | }, |
| 2702 | ] | 2696 | ] |
| 2703 | } | 2697 | } |
| 2704 | - | 2698 | + |
| 2705 | if (text == '非行政区域/矿区') { | 2699 | if (text == '非行政区域/矿区') { |
| 2706 | - this.newtextlist = [ | ||
| 2707 | - { | 2700 | + this.newtextlist = [{ |
| 2708 | name: '矿产类型', | 2701 | name: '矿产类型', |
| 2709 | type: '1', | 2702 | type: '1', |
| 2710 | isbx: false, | 2703 | isbx: false, |
| @@ -2754,7 +2747,8 @@ | @@ -2754,7 +2747,8 @@ | ||
| 2754 | from: 'name0' | 2747 | from: 'name0' |
| 2755 | }, | 2748 | }, |
| 2756 | ] | 2749 | ] |
| 2757 | - }else if (text == '非行政区域/农、林、牧、渔区/牧区' || text == '非行政区域/农、林、牧、渔区/渔区' || text == '非行政区域/农、林、牧、渔区/林区' || text == '非行政区域/农、林、牧、渔区/农区') { | 2750 | + } else if (text == '非行政区域/农、林、牧、渔区/牧区' || text == '非行政区域/农、林、牧、渔区/渔区' || text == '非行政区域/农、林、牧、渔区/林区' || |
| 2751 | + text == '非行政区域/农、林、牧、渔区/农区') { | ||
| 2758 | this.array5 = ['农业区', '林区', '牧区', '渔区'] | 2752 | this.array5 = ['农业区', '林区', '牧区', '渔区'] |
| 2759 | this.newtextlist = [{ | 2753 | this.newtextlist = [{ |
| 2760 | name: '类型', | 2754 | name: '类型', |
| @@ -2813,7 +2807,7 @@ | @@ -2813,7 +2807,7 @@ | ||
| 2813 | from: 'name0' | 2807 | from: 'name0' |
| 2814 | }, | 2808 | }, |
| 2815 | ] | 2809 | ] |
| 2816 | - }else if (text == '非行政区域/工业区、开发区/开发区' || text == '非行政区域/工业区、开发区/工业区' ) { | 2810 | + } else if (text == '非行政区域/工业区、开发区/开发区' || text == '非行政区域/工业区、开发区/工业区') { |
| 2817 | this.array5 = ['工业区', '开发区'] | 2811 | this.array5 = ['工业区', '开发区'] |
| 2818 | this.newtextlist = [{ | 2812 | this.newtextlist = [{ |
| 2819 | name: '类型', | 2813 | name: '类型', |
| @@ -2851,7 +2845,7 @@ | @@ -2851,7 +2845,7 @@ | ||
| 2851 | from: 'name0' | 2845 | from: 'name0' |
| 2852 | }, | 2846 | }, |
| 2853 | ] | 2847 | ] |
| 2854 | - }else if (text == '非行政区域/边贸区、口岸/口岸' || text == '非行政区域/边贸区、口岸/边贸区' ) { | 2848 | + } else if (text == '非行政区域/边贸区、口岸/口岸' || text == '非行政区域/边贸区、口岸/边贸区') { |
| 2855 | this.array5 = ['边贸区', '口岸'] | 2849 | this.array5 = ['边贸区', '口岸'] |
| 2856 | this.newtextlist = [{ | 2850 | this.newtextlist = [{ |
| 2857 | name: '类型', | 2851 | name: '类型', |
| @@ -2897,10 +2891,9 @@ | @@ -2897,10 +2891,9 @@ | ||
| 2897 | }, | 2891 | }, |
| 2898 | ] | 2892 | ] |
| 2899 | } | 2893 | } |
| 2900 | - | ||
| 2901 | - if (text == '陆地地形/丘陵山地/山口、关隘' ) { | ||
| 2902 | - this.newtextlist = [ | ||
| 2903 | - { | 2894 | + |
| 2895 | + if (text == '陆地地形/丘陵山地/山口、关隘') { | ||
| 2896 | + this.newtextlist = [{ | ||
| 2904 | name: '长度(米)', | 2897 | name: '长度(米)', |
| 2905 | type: '1', | 2898 | type: '1', |
| 2906 | isbx: false, | 2899 | isbx: false, |
| @@ -2929,9 +2922,8 @@ | @@ -2929,9 +2922,8 @@ | ||
| 2929 | from: 'name0' | 2922 | from: 'name0' |
| 2930 | }, | 2923 | }, |
| 2931 | ] | 2924 | ] |
| 2932 | - } else if (text == '陆地地形/丘陵山地/山谷、谷地' ) { | ||
| 2933 | - this.newtextlist = [ | ||
| 2934 | - { | 2925 | + } else if (text == '陆地地形/丘陵山地/山谷、谷地') { |
| 2926 | + this.newtextlist = [{ | ||
| 2935 | name: '长度(米)', | 2927 | name: '长度(米)', |
| 2936 | type: '1', | 2928 | type: '1', |
| 2937 | isbx: false, | 2929 | isbx: false, |
| @@ -2967,9 +2959,8 @@ | @@ -2967,9 +2959,8 @@ | ||
| 2967 | from: 'name0' | 2959 | from: 'name0' |
| 2968 | }, | 2960 | }, |
| 2969 | ] | 2961 | ] |
| 2970 | - }else if (text == '陆地地形/丘陵山地/山坡' ) { | ||
| 2971 | - this.newtextlist = [ | ||
| 2972 | - { | 2962 | + } else if (text == '陆地地形/丘陵山地/山坡') { |
| 2963 | + this.newtextlist = [{ | ||
| 2973 | name: '走向', | 2964 | name: '走向', |
| 2974 | type: '1', | 2965 | type: '1', |
| 2975 | isbx: false, | 2966 | isbx: false, |
| @@ -2984,9 +2975,8 @@ | @@ -2984,9 +2975,8 @@ | ||
| 2984 | from: 'name0' | 2975 | from: 'name0' |
| 2985 | }, | 2976 | }, |
| 2986 | ] | 2977 | ] |
| 2987 | - }else if (text == '陆地地形/丘陵山地/山峰' ) { | ||
| 2988 | - this.newtextlist = [ | ||
| 2989 | - { | 2978 | + } else if (text == '陆地地形/丘陵山地/山峰') { |
| 2979 | + this.newtextlist = [{ | ||
| 2990 | name: '海拔(米)', | 2980 | name: '海拔(米)', |
| 2991 | type: '1', | 2981 | type: '1', |
| 2992 | isbx: true, | 2982 | isbx: true, |
| @@ -3001,9 +2991,8 @@ | @@ -3001,9 +2991,8 @@ | ||
| 3001 | from: 'name0' | 2991 | from: 'name0' |
| 3002 | }, | 2992 | }, |
| 3003 | ] | 2993 | ] |
| 3004 | - }else if (text == '陆地地形/丘陵山地/山' ) { | ||
| 3005 | - this.newtextlist = [ | ||
| 3006 | - { | 2994 | + } else if (text == '陆地地形/丘陵山地/山') { |
| 2995 | + this.newtextlist = [{ | ||
| 3007 | name: '长度(千米)', | 2996 | name: '长度(千米)', |
| 3008 | type: '1', | 2997 | type: '1', |
| 3009 | isbx: false, | 2998 | isbx: false, |
| @@ -3026,9 +3015,8 @@ | @@ -3026,9 +3015,8 @@ | ||
| 3026 | }, | 3015 | }, |
| 3027 | 3016 | ||
| 3028 | ] | 3017 | ] |
| 3029 | - }else if (text == '陆地地形/丘陵山地/山体' ) { | ||
| 3030 | - this.newtextlist = [ | ||
| 3031 | - { | 3018 | + } else if (text == '陆地地形/丘陵山地/山体') { |
| 3019 | + this.newtextlist = [{ | ||
| 3032 | name: '长度(千米)', | 3020 | name: '长度(千米)', |
| 3033 | type: '1', | 3021 | type: '1', |
| 3034 | isbx: false, | 3022 | isbx: false, |
| @@ -3071,9 +3059,8 @@ | @@ -3071,9 +3059,8 @@ | ||
| 3071 | from: 'name0' | 3059 | from: 'name0' |
| 3072 | }, | 3060 | }, |
| 3073 | ] | 3061 | ] |
| 3074 | - }else if (text == '陆地地形/丘陵山地/本级' ) { | ||
| 3075 | - this.newtextlist = [ | ||
| 3076 | - { | 3062 | + } else if (text == '陆地地形/丘陵山地/本级') { |
| 3063 | + this.newtextlist = [{ | ||
| 3077 | name: '面积(平方千米)', | 3064 | name: '面积(平方千米)', |
| 3078 | type: '1', | 3065 | type: '1', |
| 3079 | isbx: false, | 3066 | isbx: false, |
| @@ -3131,10 +3118,9 @@ | @@ -3131,10 +3118,9 @@ | ||
| 3131 | }, | 3118 | }, |
| 3132 | ] | 3119 | ] |
| 3133 | } | 3120 | } |
| 3134 | - | ||
| 3135 | - if (text == '陆地地形/高原' ) { | ||
| 3136 | - this.newtextlist = [ | ||
| 3137 | - { | 3121 | + |
| 3122 | + if (text == '陆地地形/高原') { | ||
| 3123 | + this.newtextlist = [{ | ||
| 3138 | name: '面积(平方千米)', | 3124 | name: '面积(平方千米)', |
| 3139 | type: '1', | 3125 | type: '1', |
| 3140 | isbx: false, | 3126 | isbx: false, |
| @@ -3161,42 +3147,42 @@ | @@ -3161,42 +3147,42 @@ | ||
| 3161 | isbx: false, | 3147 | isbx: false, |
| 3162 | cent: '', | 3148 | cent: '', |
| 3163 | from: 'name0' | 3149 | from: 'name0' |
| 3164 | - }, | 3150 | + }, |
| 3165 | { | 3151 | { |
| 3166 | name: '四至', | 3152 | name: '四至', |
| 3167 | type: '1', | 3153 | type: '1', |
| 3168 | isbx: false, | 3154 | isbx: false, |
| 3169 | cent: '', | 3155 | cent: '', |
| 3170 | from: 'name0' | 3156 | from: 'name0' |
| 3171 | - }, | 3157 | + }, |
| 3172 | { | 3158 | { |
| 3173 | name: '所属山脉', | 3159 | name: '所属山脉', |
| 3174 | type: '1', | 3160 | type: '1', |
| 3175 | isbx: false, | 3161 | isbx: false, |
| 3176 | cent: '', | 3162 | cent: '', |
| 3177 | from: 'name0' | 3163 | from: 'name0' |
| 3178 | - }, | 3164 | + }, |
| 3179 | { | 3165 | { |
| 3180 | name: '气候类型', | 3166 | name: '气候类型', |
| 3181 | type: '1', | 3167 | type: '1', |
| 3182 | isbx: false, | 3168 | isbx: false, |
| 3183 | cent: '', | 3169 | cent: '', |
| 3184 | from: 'name0' | 3170 | from: 'name0' |
| 3185 | - }, | 3171 | + }, |
| 3186 | { | 3172 | { |
| 3187 | name: '年均温度(摄氏度)', | 3173 | name: '年均温度(摄氏度)', |
| 3188 | type: '1', | 3174 | type: '1', |
| 3189 | isbx: false, | 3175 | isbx: false, |
| 3190 | cent: '', | 3176 | cent: '', |
| 3191 | from: 'name0' | 3177 | from: 'name0' |
| 3192 | - }, | 3178 | + }, |
| 3193 | { | 3179 | { |
| 3194 | name: '年降水量(毫米)', | 3180 | name: '年降水量(毫米)', |
| 3195 | type: '1', | 3181 | type: '1', |
| 3196 | isbx: false, | 3182 | isbx: false, |
| 3197 | cent: '', | 3183 | cent: '', |
| 3198 | from: 'name0' | 3184 | from: 'name0' |
| 3199 | - }, | 3185 | + }, |
| 3200 | { | 3186 | { |
| 3201 | name: '年无霜期(天)', | 3187 | name: '年无霜期(天)', |
| 3202 | type: '1', | 3188 | type: '1', |
| @@ -3206,8 +3192,7 @@ | @@ -3206,8 +3192,7 @@ | ||
| 3206 | }, | 3192 | }, |
| 3207 | ] | 3193 | ] |
| 3208 | } else if (text == '陆地地形/盆地' || text == '陆地地形/平原') { | 3194 | } else if (text == '陆地地形/盆地' || text == '陆地地形/平原') { |
| 3209 | - this.newtextlist = [ | ||
| 3210 | - { | 3195 | + this.newtextlist = [{ |
| 3211 | name: '面积(平方千米)', | 3196 | name: '面积(平方千米)', |
| 3212 | type: '1', | 3197 | type: '1', |
| 3213 | isbx: false, | 3198 | isbx: false, |
| @@ -3227,7 +3212,7 @@ | @@ -3227,7 +3212,7 @@ | ||
| 3227 | isbx: false, | 3212 | isbx: false, |
| 3228 | cent: '', | 3213 | cent: '', |
| 3229 | from: 'name0' | 3214 | from: 'name0' |
| 3230 | - }, | 3215 | + }, |
| 3231 | { | 3216 | { |
| 3232 | name: '最大长度(千米)', | 3217 | name: '最大长度(千米)', |
| 3233 | type: '1', | 3218 | type: '1', |
| @@ -3248,7 +3233,7 @@ | @@ -3248,7 +3233,7 @@ | ||
| 3248 | isbx: false, | 3233 | isbx: false, |
| 3249 | cent: '', | 3234 | cent: '', |
| 3250 | from: 'name0' | 3235 | from: 'name0' |
| 3251 | - }, | 3236 | + }, |
| 3252 | { | 3237 | { |
| 3253 | name: '年均温度(摄氏度)', | 3238 | name: '年均温度(摄氏度)', |
| 3254 | type: '1', | 3239 | type: '1', |
| @@ -3262,7 +3247,7 @@ | @@ -3262,7 +3247,7 @@ | ||
| 3262 | isbx: false, | 3247 | isbx: false, |
| 3263 | cent: '', | 3248 | cent: '', |
| 3264 | from: 'name0' | 3249 | from: 'name0' |
| 3265 | - }, | 3250 | + }, |
| 3266 | { | 3251 | { |
| 3267 | name: '年无霜期(天)', | 3252 | name: '年无霜期(天)', |
| 3268 | type: '1', | 3253 | type: '1', |
| @@ -3271,9 +3256,8 @@ | @@ -3271,9 +3256,8 @@ | ||
| 3271 | from: 'name0' | 3256 | from: 'name0' |
| 3272 | }, | 3257 | }, |
| 3273 | ] | 3258 | ] |
| 3274 | - }else if (text == '陆地地形/重要陆地景观/绿洲') { | ||
| 3275 | - this.newtextlist = [ | ||
| 3276 | - { | 3259 | + } else if (text == '陆地地形/重要陆地景观/绿洲') { |
| 3260 | + this.newtextlist = [{ | ||
| 3277 | name: '面积(平方千米)', | 3261 | name: '面积(平方千米)', |
| 3278 | type: '1', | 3262 | type: '1', |
| 3279 | isbx: true, | 3263 | isbx: true, |
| @@ -3293,7 +3277,7 @@ | @@ -3293,7 +3277,7 @@ | ||
| 3293 | isbx: false, | 3277 | isbx: false, |
| 3294 | cent: '', | 3278 | cent: '', |
| 3295 | from: 'name0' | 3279 | from: 'name0' |
| 3296 | - }, | 3280 | + }, |
| 3297 | { | 3281 | { |
| 3298 | name: '上游水源', | 3282 | name: '上游水源', |
| 3299 | type: '1', | 3283 | type: '1', |
| @@ -3307,7 +3291,7 @@ | @@ -3307,7 +3291,7 @@ | ||
| 3307 | isbx: false, | 3291 | isbx: false, |
| 3308 | cent: '', | 3292 | cent: '', |
| 3309 | from: 'name0' | 3293 | from: 'name0' |
| 3310 | - }, | 3294 | + }, |
| 3311 | { | 3295 | { |
| 3312 | name: '植被类型', | 3296 | name: '植被类型', |
| 3313 | type: '1', | 3297 | type: '1', |
| @@ -3335,7 +3319,7 @@ | @@ -3335,7 +3319,7 @@ | ||
| 3335 | isbx: false, | 3319 | isbx: false, |
| 3336 | cent: '', | 3320 | cent: '', |
| 3337 | from: 'name0' | 3321 | from: 'name0' |
| 3338 | - }, | 3322 | + }, |
| 3339 | { | 3323 | { |
| 3340 | name: '年无霜期(天)', | 3324 | name: '年无霜期(天)', |
| 3341 | type: '1', | 3325 | type: '1', |
| @@ -3344,9 +3328,8 @@ | @@ -3344,9 +3328,8 @@ | ||
| 3344 | from: 'name0' | 3328 | from: 'name0' |
| 3345 | }, | 3329 | }, |
| 3346 | ] | 3330 | ] |
| 3347 | - }else if ( text == '陆地地形/重要陆地景观/戈壁') { | ||
| 3348 | - this.newtextlist = [ | ||
| 3349 | - { | 3331 | + } else if (text == '陆地地形/重要陆地景观/戈壁') { |
| 3332 | + this.newtextlist = [{ | ||
| 3350 | name: '面积(平方千米)', | 3333 | name: '面积(平方千米)', |
| 3351 | type: '1', | 3334 | type: '1', |
| 3352 | isbx: true, | 3335 | isbx: true, |
| @@ -3366,7 +3349,7 @@ | @@ -3366,7 +3349,7 @@ | ||
| 3366 | isbx: false, | 3349 | isbx: false, |
| 3367 | cent: '', | 3350 | cent: '', |
| 3368 | from: 'name0' | 3351 | from: 'name0' |
| 3369 | - }, | 3352 | + }, |
| 3370 | 3353 | ||
| 3371 | { | 3354 | { |
| 3372 | name: '气候类型', | 3355 | name: '气候类型', |
| @@ -3374,7 +3357,7 @@ | @@ -3374,7 +3357,7 @@ | ||
| 3374 | isbx: false, | 3357 | isbx: false, |
| 3375 | cent: '', | 3358 | cent: '', |
| 3376 | from: 'name0' | 3359 | from: 'name0' |
| 3377 | - }, | 3360 | + }, |
| 3378 | { | 3361 | { |
| 3379 | name: '年均温度(摄氏度)', | 3362 | name: '年均温度(摄氏度)', |
| 3380 | type: '1', | 3363 | type: '1', |
| @@ -3395,7 +3378,7 @@ | @@ -3395,7 +3378,7 @@ | ||
| 3395 | isbx: false, | 3378 | isbx: false, |
| 3396 | cent: '', | 3379 | cent: '', |
| 3397 | from: 'name0' | 3380 | from: 'name0' |
| 3398 | - }, | 3381 | + }, |
| 3399 | { | 3382 | { |
| 3400 | name: '年无霜期(天)', | 3383 | name: '年无霜期(天)', |
| 3401 | type: '1', | 3384 | type: '1', |
| @@ -3404,9 +3387,8 @@ | @@ -3404,9 +3387,8 @@ | ||
| 3404 | from: 'name0' | 3387 | from: 'name0' |
| 3405 | }, | 3388 | }, |
| 3406 | ] | 3389 | ] |
| 3407 | - } else if ( text == '陆地地形/重要陆地景观/沙漠' || text == '陆地地形/重要陆地景观/森林') { | ||
| 3408 | - this.newtextlist = [ | ||
| 3409 | - { | 3390 | + } else if (text == '陆地地形/重要陆地景观/沙漠' || text == '陆地地形/重要陆地景观/森林') { |
| 3391 | + this.newtextlist = [{ | ||
| 3410 | name: '面积(平方千米)', | 3392 | name: '面积(平方千米)', |
| 3411 | type: '1', | 3393 | type: '1', |
| 3412 | isbx: true, | 3394 | isbx: true, |
| @@ -3426,7 +3408,7 @@ | @@ -3426,7 +3408,7 @@ | ||
| 3426 | isbx: false, | 3408 | isbx: false, |
| 3427 | cent: '', | 3409 | cent: '', |
| 3428 | from: 'name0' | 3410 | from: 'name0' |
| 3429 | - }, | 3411 | + }, |
| 3430 | { | 3412 | { |
| 3431 | name: '气候类型', | 3413 | name: '气候类型', |
| 3432 | type: '1', | 3414 | type: '1', |
| @@ -3440,7 +3422,7 @@ | @@ -3440,7 +3422,7 @@ | ||
| 3440 | isbx: false, | 3422 | isbx: false, |
| 3441 | cent: '', | 3423 | cent: '', |
| 3442 | from: 'name0' | 3424 | from: 'name0' |
| 3443 | - }, | 3425 | + }, |
| 3444 | { | 3426 | { |
| 3445 | name: '年均温度(摄氏度)', | 3427 | name: '年均温度(摄氏度)', |
| 3446 | type: '1', | 3428 | type: '1', |
| @@ -3461,7 +3443,7 @@ | @@ -3461,7 +3443,7 @@ | ||
| 3461 | isbx: false, | 3443 | isbx: false, |
| 3462 | cent: '', | 3444 | cent: '', |
| 3463 | from: 'name0' | 3445 | from: 'name0' |
| 3464 | - }, | 3446 | + }, |
| 3465 | { | 3447 | { |
| 3466 | name: '年无霜期(天)', | 3448 | name: '年无霜期(天)', |
| 3467 | type: '1', | 3449 | type: '1', |
| @@ -3470,9 +3452,8 @@ | @@ -3470,9 +3452,8 @@ | ||
| 3470 | from: 'name0' | 3452 | from: 'name0' |
| 3471 | }, | 3453 | }, |
| 3472 | ] | 3454 | ] |
| 3473 | - } else if ( text == '陆地地形/重要陆地景观/草原' ) { | ||
| 3474 | - this.newtextlist = [ | ||
| 3475 | - { | 3455 | + } else if (text == '陆地地形/重要陆地景观/草原') { |
| 3456 | + this.newtextlist = [{ | ||
| 3476 | name: '面积(平方千米)', | 3457 | name: '面积(平方千米)', |
| 3477 | type: '1', | 3458 | type: '1', |
| 3478 | isbx: true, | 3459 | isbx: true, |
| @@ -3492,7 +3473,7 @@ | @@ -3492,7 +3473,7 @@ | ||
| 3492 | isbx: false, | 3473 | isbx: false, |
| 3493 | cent: '', | 3474 | cent: '', |
| 3494 | from: 'name0' | 3475 | from: 'name0' |
| 3495 | - }, | 3476 | + }, |
| 3496 | { | 3477 | { |
| 3497 | name: '主要植被类型', | 3478 | name: '主要植被类型', |
| 3498 | type: '1', | 3479 | type: '1', |
| @@ -3520,7 +3501,7 @@ | @@ -3520,7 +3501,7 @@ | ||
| 3520 | isbx: false, | 3501 | isbx: false, |
| 3521 | cent: '', | 3502 | cent: '', |
| 3522 | from: 'name0' | 3503 | from: 'name0' |
| 3523 | - }, | 3504 | + }, |
| 3524 | { | 3505 | { |
| 3525 | name: '年无霜期(天)', | 3506 | name: '年无霜期(天)', |
| 3526 | type: '1', | 3507 | type: '1', |
| @@ -3529,9 +3510,8 @@ | @@ -3529,9 +3510,8 @@ | ||
| 3529 | from: 'name0' | 3510 | from: 'name0' |
| 3530 | }, | 3511 | }, |
| 3531 | ] | 3512 | ] |
| 3532 | - } else if ( text == '陆地地形/重要陆地景观/苔原' ) { | ||
| 3533 | - this.newtextlist = [ | ||
| 3534 | - { | 3513 | + } else if (text == '陆地地形/重要陆地景观/苔原') { |
| 3514 | + this.newtextlist = [{ | ||
| 3535 | name: '面积(平方千米)', | 3515 | name: '面积(平方千米)', |
| 3536 | type: '1', | 3516 | type: '1', |
| 3537 | isbx: true, | 3517 | isbx: true, |
| @@ -3551,7 +3531,7 @@ | @@ -3551,7 +3531,7 @@ | ||
| 3551 | isbx: false, | 3531 | isbx: false, |
| 3552 | cent: '', | 3532 | cent: '', |
| 3553 | from: 'name0' | 3533 | from: 'name0' |
| 3554 | - }, | 3534 | + }, |
| 3555 | { | 3535 | { |
| 3556 | name: '气候类型', | 3536 | name: '气候类型', |
| 3557 | type: '1', | 3537 | type: '1', |
| @@ -3586,7 +3566,7 @@ | @@ -3586,7 +3566,7 @@ | ||
| 3586 | isbx: false, | 3566 | isbx: false, |
| 3587 | cent: '', | 3567 | cent: '', |
| 3588 | from: 'name0' | 3568 | from: 'name0' |
| 3589 | - }, | 3569 | + }, |
| 3590 | { | 3570 | { |
| 3591 | name: '年无霜期(天)', | 3571 | name: '年无霜期(天)', |
| 3592 | type: '1', | 3572 | type: '1', |
| @@ -3595,9 +3575,8 @@ | @@ -3595,9 +3575,8 @@ | ||
| 3595 | from: 'name0' | 3575 | from: 'name0' |
| 3596 | }, | 3576 | }, |
| 3597 | ] | 3577 | ] |
| 3598 | - } else if ( text == '陆地地形/重要陆地景观/湿地(沼泽)' ) { | ||
| 3599 | - this.newtextlist = [ | ||
| 3600 | - { | 3578 | + } else if (text == '陆地地形/重要陆地景观/湿地(沼泽)') { |
| 3579 | + this.newtextlist = [{ | ||
| 3601 | name: '面积(平方千米)', | 3580 | name: '面积(平方千米)', |
| 3602 | type: '1', | 3581 | type: '1', |
| 3603 | isbx: true, | 3582 | isbx: true, |
| @@ -3617,21 +3596,21 @@ | @@ -3617,21 +3596,21 @@ | ||
| 3617 | isbx: false, | 3596 | isbx: false, |
| 3618 | cent: '', | 3597 | cent: '', |
| 3619 | from: 'name0' | 3598 | from: 'name0' |
| 3620 | - }, | 3599 | + }, |
| 3621 | { | 3600 | { |
| 3622 | name: '深度(米)', | 3601 | name: '深度(米)', |
| 3623 | type: '1', | 3602 | type: '1', |
| 3624 | isbx: false, | 3603 | isbx: false, |
| 3625 | cent: '', | 3604 | cent: '', |
| 3626 | from: 'name0' | 3605 | from: 'name0' |
| 3627 | - }, | 3606 | + }, |
| 3628 | { | 3607 | { |
| 3629 | name: '水源', | 3608 | name: '水源', |
| 3630 | type: '1', | 3609 | type: '1', |
| 3631 | isbx: false, | 3610 | isbx: false, |
| 3632 | cent: '', | 3611 | cent: '', |
| 3633 | from: 'name0' | 3612 | from: 'name0' |
| 3634 | - }, | 3613 | + }, |
| 3635 | { | 3614 | { |
| 3636 | name: '气候类型', | 3615 | name: '气候类型', |
| 3637 | type: '1', | 3616 | type: '1', |
| @@ -3666,7 +3645,7 @@ | @@ -3666,7 +3645,7 @@ | ||
| 3666 | isbx: false, | 3645 | isbx: false, |
| 3667 | cent: '', | 3646 | cent: '', |
| 3668 | from: 'name0' | 3647 | from: 'name0' |
| 3669 | - }, | 3648 | + }, |
| 3670 | { | 3649 | { |
| 3671 | name: '年无霜期(天)', | 3650 | name: '年无霜期(天)', |
| 3672 | type: '1', | 3651 | type: '1', |
| @@ -3676,10 +3655,9 @@ | @@ -3676,10 +3655,9 @@ | ||
| 3676 | }, | 3655 | }, |
| 3677 | ] | 3656 | ] |
| 3678 | } | 3657 | } |
| 3679 | - | ||
| 3680 | - if ( text == '陆地地形/其他陆地地形/台地' ) { | ||
| 3681 | - this.newtextlist = [ | ||
| 3682 | - { | 3658 | + |
| 3659 | + if (text == '陆地地形/其他陆地地形/台地') { | ||
| 3660 | + this.newtextlist = [{ | ||
| 3683 | name: '面积(平方千米)', | 3661 | name: '面积(平方千米)', |
| 3684 | type: '1', | 3662 | type: '1', |
| 3685 | isbx: true, | 3663 | isbx: true, |
| @@ -3699,7 +3677,7 @@ | @@ -3699,7 +3677,7 @@ | ||
| 3699 | isbx: false, | 3677 | isbx: false, |
| 3700 | cent: '', | 3678 | cent: '', |
| 3701 | from: 'name0' | 3679 | from: 'name0' |
| 3702 | - }, | 3680 | + }, |
| 3703 | { | 3681 | { |
| 3704 | name: '海拔(米)', | 3682 | name: '海拔(米)', |
| 3705 | type: '1', | 3683 | type: '1', |
| @@ -3734,7 +3712,7 @@ | @@ -3734,7 +3712,7 @@ | ||
| 3734 | isbx: false, | 3712 | isbx: false, |
| 3735 | cent: '', | 3713 | cent: '', |
| 3736 | from: 'name0' | 3714 | from: 'name0' |
| 3737 | - }, | 3715 | + }, |
| 3738 | { | 3716 | { |
| 3739 | name: '年无霜期(天)', | 3717 | name: '年无霜期(天)', |
| 3740 | type: '1', | 3718 | type: '1', |
| @@ -3743,9 +3721,8 @@ | @@ -3743,9 +3721,8 @@ | ||
| 3743 | from: 'name0' | 3721 | from: 'name0' |
| 3744 | }, | 3722 | }, |
| 3745 | ] | 3723 | ] |
| 3746 | - } else if ( text == '陆地地形/其他陆地地形/陆地地形/其他陆地地形/天生桥' ) { | ||
| 3747 | - this.newtextlist = [ | ||
| 3748 | - { | 3724 | + } else if (text == '陆地地形/其他陆地地形/陆地地形/其他陆地地形/天生桥') { |
| 3725 | + this.newtextlist = [{ | ||
| 3749 | name: '长度(千米)', | 3726 | name: '长度(千米)', |
| 3750 | type: '1', | 3727 | type: '1', |
| 3751 | isbx: false, | 3728 | isbx: false, |
| @@ -3758,7 +3735,7 @@ | @@ -3758,7 +3735,7 @@ | ||
| 3758 | isbx: false, | 3735 | isbx: false, |
| 3759 | cent: '', | 3736 | cent: '', |
| 3760 | from: 'name0' | 3737 | from: 'name0' |
| 3761 | - }, | 3738 | + }, |
| 3762 | { | 3739 | { |
| 3763 | name: '高度(米)', | 3740 | name: '高度(米)', |
| 3764 | type: '1', | 3741 | type: '1', |
| @@ -3774,9 +3751,8 @@ | @@ -3774,9 +3751,8 @@ | ||
| 3774 | from: 'name0' | 3751 | from: 'name0' |
| 3775 | }, | 3752 | }, |
| 3776 | ] | 3753 | ] |
| 3777 | - } else if ( text == '陆地地形/其他陆地地形/陆地地形/其他陆地地形/洞穴' ) { | ||
| 3778 | - this.newtextlist = [ | ||
| 3779 | - { | 3754 | + } else if (text == '陆地地形/其他陆地地形/陆地地形/其他陆地地形/洞穴') { |
| 3755 | + this.newtextlist = [{ | ||
| 3780 | name: '面积(平方千米)', | 3756 | name: '面积(平方千米)', |
| 3781 | type: '1', | 3757 | type: '1', |
| 3782 | isbx: true, | 3758 | isbx: true, |
| @@ -3796,7 +3772,7 @@ | @@ -3796,7 +3772,7 @@ | ||
| 3796 | isbx: false, | 3772 | isbx: false, |
| 3797 | cent: '', | 3773 | cent: '', |
| 3798 | from: 'name0' | 3774 | from: 'name0' |
| 3799 | - }, | 3775 | + }, |
| 3800 | { | 3776 | { |
| 3801 | name: '高度(米)', | 3777 | name: '高度(米)', |
| 3802 | type: '1', | 3778 | type: '1', |
| @@ -3824,7 +3800,7 @@ | @@ -3824,7 +3800,7 @@ | ||
| 3824 | isbx: false, | 3800 | isbx: false, |
| 3825 | cent: '', | 3801 | cent: '', |
| 3826 | from: 'name0' | 3802 | from: 'name0' |
| 3827 | - }, | 3803 | + }, |
| 3828 | { | 3804 | { |
| 3829 | name: '所在山峰', | 3805 | name: '所在山峰', |
| 3830 | type: '1', | 3806 | type: '1', |
| @@ -3834,11 +3810,10 @@ | @@ -3834,11 +3810,10 @@ | ||
| 3834 | }, | 3810 | }, |
| 3835 | ] | 3811 | ] |
| 3836 | } | 3812 | } |
| 3837 | - | ||
| 3838 | - | ||
| 3839 | - if (text == '水利电力通信设施/运河' ) { | ||
| 3840 | - this.newtextlist = [ | ||
| 3841 | - { | 3813 | + |
| 3814 | + | ||
| 3815 | + if (text == '水利电力通信设施/运河') { | ||
| 3816 | + this.newtextlist = [{ | ||
| 3842 | name: '长度(千米)', | 3817 | name: '长度(千米)', |
| 3843 | type: '1', | 3818 | type: '1', |
| 3844 | isbx: false, | 3819 | isbx: false, |
| @@ -3865,18 +3840,17 @@ | @@ -3865,18 +3840,17 @@ | ||
| 3865 | isbx: false, | 3840 | isbx: false, |
| 3866 | cent: '', | 3841 | cent: '', |
| 3867 | from: 'name0' | 3842 | from: 'name0' |
| 3868 | - }, | 3843 | + }, |
| 3869 | { | 3844 | { |
| 3870 | name: '建成时间', | 3845 | name: '建成时间', |
| 3871 | type: '1', | 3846 | type: '1', |
| 3872 | isbx: false, | 3847 | isbx: false, |
| 3873 | cent: '', | 3848 | cent: '', |
| 3874 | from: 'name0' | 3849 | from: 'name0' |
| 3875 | - }, | 3850 | + }, |
| 3876 | ] | 3851 | ] |
| 3877 | - } else if (text == '水利电力通信设施/井' ) { | ||
| 3878 | - this.newtextlist = [ | ||
| 3879 | - { | 3852 | + } else if (text == '水利电力通信设施/井') { |
| 3853 | + this.newtextlist = [{ | ||
| 3880 | name: '深度(米)', | 3854 | name: '深度(米)', |
| 3881 | type: '1', | 3855 | type: '1', |
| 3882 | isbx: false, | 3856 | isbx: false, |
| @@ -3889,11 +3863,10 @@ | @@ -3889,11 +3863,10 @@ | ||
| 3889 | isbx: false, | 3863 | isbx: false, |
| 3890 | cent: '', | 3864 | cent: '', |
| 3891 | from: 'name0' | 3865 | from: 'name0' |
| 3892 | - }, | 3866 | + }, |
| 3893 | ] | 3867 | ] |
| 3894 | - } else if (text == '水利电力通信设施/通信设施/通信基站' ) { | ||
| 3895 | - this.newtextlist = [ | ||
| 3896 | - { | 3868 | + } else if (text == '水利电力通信设施/通信设施/通信基站') { |
| 3869 | + this.newtextlist = [{ | ||
| 3897 | name: '基站天线高度(米)', | 3870 | name: '基站天线高度(米)', |
| 3898 | type: '1', | 3871 | type: '1', |
| 3899 | isbx: false, | 3872 | isbx: false, |
| @@ -3906,30 +3879,27 @@ | @@ -3906,30 +3879,27 @@ | ||
| 3906 | isbx: false, | 3879 | isbx: false, |
| 3907 | cent: '', | 3880 | cent: '', |
| 3908 | from: 'name0' | 3881 | from: 'name0' |
| 3909 | - }, | 3882 | + }, |
| 3910 | { | 3883 | { |
| 3911 | name: '建成时间', | 3884 | name: '建成时间', |
| 3912 | type: '1', | 3885 | type: '1', |
| 3913 | isbx: false, | 3886 | isbx: false, |
| 3914 | cent: '', | 3887 | cent: '', |
| 3915 | from: 'name0' | 3888 | from: 'name0' |
| 3916 | - }, | 3889 | + }, |
| 3917 | ] | 3890 | ] |
| 3918 | } | 3891 | } |
| 3919 | - | ||
| 3920 | - if (text == '水利电力通信设施/蓄水区/灌区' ) { | ||
| 3921 | - this.newtextlist = [ | ||
| 3922 | - { | ||
| 3923 | - name: '面积(平方千米)', | ||
| 3924 | - type: '1', | ||
| 3925 | - isbx: false, | ||
| 3926 | - cent: '', | ||
| 3927 | - from: 'name0' | ||
| 3928 | - }, | ||
| 3929 | - ] | 3892 | + |
| 3893 | + if (text == '水利电力通信设施/蓄水区/灌区') { | ||
| 3894 | + this.newtextlist = [{ | ||
| 3895 | + name: '面积(平方千米)', | ||
| 3896 | + type: '1', | ||
| 3897 | + isbx: false, | ||
| 3898 | + cent: '', | ||
| 3899 | + from: 'name0' | ||
| 3900 | + }, ] | ||
| 3930 | } else if (text == '水利电力通信设施/蓄水区/泄洪区' || text == '水利电力通信设施/蓄水区/蓄洪区') { | 3901 | } else if (text == '水利电力通信设施/蓄水区/泄洪区' || text == '水利电力通信设施/蓄水区/蓄洪区') { |
| 3931 | - this.newtextlist = [ | ||
| 3932 | - { | 3902 | + this.newtextlist = [{ |
| 3933 | name: '面积(平方千米)', | 3903 | name: '面积(平方千米)', |
| 3934 | type: '1', | 3904 | type: '1', |
| 3935 | isbx: true, | 3905 | isbx: true, |
| @@ -3942,25 +3912,24 @@ | @@ -3942,25 +3912,24 @@ | ||
| 3942 | isbx: true, | 3912 | isbx: true, |
| 3943 | cent: '', | 3913 | cent: '', |
| 3944 | from: 'name0' | 3914 | from: 'name0' |
| 3945 | - }, | 3915 | + }, |
| 3946 | { | 3916 | { |
| 3947 | name: '蓄洪水位(米)', | 3917 | name: '蓄洪水位(米)', |
| 3948 | type: '1', | 3918 | type: '1', |
| 3949 | isbx: true, | 3919 | isbx: true, |
| 3950 | cent: '', | 3920 | cent: '', |
| 3951 | from: 'name0' | 3921 | from: 'name0' |
| 3952 | - }, | 3922 | + }, |
| 3953 | { | 3923 | { |
| 3954 | name: '主要水源', | 3924 | name: '主要水源', |
| 3955 | type: '1', | 3925 | type: '1', |
| 3956 | isbx: false, | 3926 | isbx: false, |
| 3957 | cent: '', | 3927 | cent: '', |
| 3958 | from: 'name0' | 3928 | from: 'name0' |
| 3959 | - }, | 3929 | + }, |
| 3960 | ] | 3930 | ] |
| 3961 | - } else if (text == '水利电力通信设施/蓄水区/水库') { | ||
| 3962 | - this.newtextlist = [ | ||
| 3963 | - { | 3931 | + } else if (text == '水利电力通信设施/蓄水区/水库') { |
| 3932 | + this.newtextlist = [{ | ||
| 3964 | name: '面积(平方千米)', | 3933 | name: '面积(平方千米)', |
| 3965 | type: '1', | 3934 | type: '1', |
| 3966 | isbx: true, | 3935 | isbx: true, |
| @@ -3973,14 +3942,14 @@ | @@ -3973,14 +3942,14 @@ | ||
| 3973 | isbx: false, | 3942 | isbx: false, |
| 3974 | cent: '', | 3943 | cent: '', |
| 3975 | from: 'name0' | 3944 | from: 'name0' |
| 3976 | - }, | 3945 | + }, |
| 3977 | { | 3946 | { |
| 3978 | name: '宽度(千米)', | 3947 | name: '宽度(千米)', |
| 3979 | type: '1', | 3948 | type: '1', |
| 3980 | isbx: false, | 3949 | isbx: false, |
| 3981 | cent: '', | 3950 | cent: '', |
| 3982 | from: 'name0' | 3951 | from: 'name0' |
| 3983 | - }, | 3952 | + }, |
| 3984 | { | 3953 | { |
| 3985 | name: '平均水深(米)', | 3954 | name: '平均水深(米)', |
| 3986 | type: '1', | 3955 | type: '1', |
| @@ -4008,11 +3977,10 @@ | @@ -4008,11 +3977,10 @@ | ||
| 4008 | isbx: false, | 3977 | isbx: false, |
| 4009 | cent: '', | 3978 | cent: '', |
| 4010 | from: 'name0' | 3979 | from: 'name0' |
| 4011 | - }, | 3980 | + }, |
| 4012 | ] | 3981 | ] |
| 4013 | - } else if (text == '水利电力通信设施/蓄水区/海塘' || text == '水利电力通信设施/蓄水区/池塘') { | ||
| 4014 | - this.newtextlist = [ | ||
| 4015 | - { | 3982 | + } else if (text == '水利电力通信设施/蓄水区/海塘' || text == '水利电力通信设施/蓄水区/池塘') { |
| 3983 | + this.newtextlist = [{ | ||
| 4016 | name: '面积(平方千米)', | 3984 | name: '面积(平方千米)', |
| 4017 | type: '1', | 3985 | type: '1', |
| 4018 | isbx: true, | 3986 | isbx: true, |
| @@ -4025,45 +3993,44 @@ | @@ -4025,45 +3993,44 @@ | ||
| 4025 | isbx: false, | 3993 | isbx: false, |
| 4026 | cent: '', | 3994 | cent: '', |
| 4027 | from: 'name0' | 3995 | from: 'name0' |
| 4028 | - }, | 3996 | + }, |
| 4029 | { | 3997 | { |
| 4030 | name: '宽度(千米)', | 3998 | name: '宽度(千米)', |
| 4031 | type: '1', | 3999 | type: '1', |
| 4032 | isbx: false, | 4000 | isbx: false, |
| 4033 | cent: '', | 4001 | cent: '', |
| 4034 | from: 'name0' | 4002 | from: 'name0' |
| 4035 | - }, | 4003 | + }, |
| 4036 | { | 4004 | { |
| 4037 | name: '水深(米)', | 4005 | name: '水深(米)', |
| 4038 | type: '1', | 4006 | type: '1', |
| 4039 | isbx: false, | 4007 | isbx: false, |
| 4040 | cent: '', | 4008 | cent: '', |
| 4041 | from: 'name0' | 4009 | from: 'name0' |
| 4042 | - }, | 4010 | + }, |
| 4043 | ] | 4011 | ] |
| 4044 | - }else if (text == '水利电力通信设施/排灌设施/涵洞' ) { | ||
| 4045 | - this.newtextlist = [ | ||
| 4046 | - { | 4012 | + } else if (text == '水利电力通信设施/排灌设施/涵洞') { |
| 4013 | + this.newtextlist = [{ | ||
| 4047 | name: '宽度(米)', | 4014 | name: '宽度(米)', |
| 4048 | type: '1', | 4015 | type: '1', |
| 4049 | isbx: false, | 4016 | isbx: false, |
| 4050 | cent: '', | 4017 | cent: '', |
| 4051 | from: 'name0' | 4018 | from: 'name0' |
| 4052 | - }, | 4019 | + }, |
| 4053 | { | 4020 | { |
| 4054 | name: '高度(米)', | 4021 | name: '高度(米)', |
| 4055 | type: '1', | 4022 | type: '1', |
| 4056 | isbx: false, | 4023 | isbx: false, |
| 4057 | cent: '', | 4024 | cent: '', |
| 4058 | from: 'name0' | 4025 | from: 'name0' |
| 4059 | - }, | 4026 | + }, |
| 4060 | { | 4027 | { |
| 4061 | name: '所在位置', | 4028 | name: '所在位置', |
| 4062 | type: '1', | 4029 | type: '1', |
| 4063 | isbx: false, | 4030 | isbx: false, |
| 4064 | cent: '', | 4031 | cent: '', |
| 4065 | from: 'name0' | 4032 | from: 'name0' |
| 4066 | - }, | 4033 | + }, |
| 4067 | { | 4034 | { |
| 4068 | name: '始建时间', | 4035 | name: '始建时间', |
| 4069 | type: '1', | 4036 | type: '1', |
| @@ -4077,17 +4044,16 @@ | @@ -4077,17 +4044,16 @@ | ||
| 4077 | isbx: false, | 4044 | isbx: false, |
| 4078 | cent: '', | 4045 | cent: '', |
| 4079 | from: 'name0' | 4046 | from: 'name0' |
| 4080 | - }, | 4047 | + }, |
| 4081 | ] | 4048 | ] |
| 4082 | - }else if (text == '水利电力通信设施/排灌设施/泵站') { | ||
| 4083 | - this.newtextlist = [ | ||
| 4084 | - { | 4049 | + } else if (text == '水利电力通信设施/排灌设施/泵站') { |
| 4050 | + this.newtextlist = [{ | ||
| 4085 | name: '所在线路', | 4051 | name: '所在线路', |
| 4086 | type: '1', | 4052 | type: '1', |
| 4087 | isbx: false, | 4053 | isbx: false, |
| 4088 | cent: '', | 4054 | cent: '', |
| 4089 | from: 'name0' | 4055 | from: 'name0' |
| 4090 | - }, | 4056 | + }, |
| 4091 | { | 4057 | { |
| 4092 | name: '始建时间', | 4058 | name: '始建时间', |
| 4093 | type: '1', | 4059 | type: '1', |
| @@ -4101,17 +4067,16 @@ | @@ -4101,17 +4067,16 @@ | ||
| 4101 | isbx: false, | 4067 | isbx: false, |
| 4102 | cent: '', | 4068 | cent: '', |
| 4103 | from: 'name0' | 4069 | from: 'name0' |
| 4104 | - }, | 4070 | + }, |
| 4105 | ] | 4071 | ] |
| 4106 | - }else if (text == '水利电力通信设施/排灌设施/渡槽') { | ||
| 4107 | - this.newtextlist = [ | ||
| 4108 | - { | 4072 | + } else if (text == '水利电力通信设施/排灌设施/渡槽') { |
| 4073 | + this.newtextlist = [{ | ||
| 4109 | name: '长度(米)', | 4074 | name: '长度(米)', |
| 4110 | type: '1', | 4075 | type: '1', |
| 4111 | isbx: false, | 4076 | isbx: false, |
| 4112 | cent: '', | 4077 | cent: '', |
| 4113 | from: 'name0' | 4078 | from: 'name0' |
| 4114 | - }, | 4079 | + }, |
| 4115 | { | 4080 | { |
| 4116 | name: '宽度(米)', | 4081 | name: '宽度(米)', |
| 4117 | type: '1', | 4082 | type: '1', |
| @@ -4132,11 +4097,10 @@ | @@ -4132,11 +4097,10 @@ | ||
| 4132 | isbx: false, | 4097 | isbx: false, |
| 4133 | cent: '', | 4098 | cent: '', |
| 4134 | from: 'name0' | 4099 | from: 'name0' |
| 4135 | - }, | 4100 | + }, |
| 4136 | ] | 4101 | ] |
| 4137 | - }else if (text == '水利电力通信设施/排灌设施/排水沟') { | ||
| 4138 | - this.newtextlist = [ | ||
| 4139 | - { | 4102 | + } else if (text == '水利电力通信设施/排灌设施/排水沟') { |
| 4103 | + this.newtextlist = [{ | ||
| 4140 | name: '起点', | 4104 | name: '起点', |
| 4141 | type: '1', | 4105 | type: '1', |
| 4142 | isbx: false, | 4106 | isbx: false, |
| @@ -4149,7 +4113,7 @@ | @@ -4149,7 +4113,7 @@ | ||
| 4149 | isbx: false, | 4113 | isbx: false, |
| 4150 | cent: '', | 4114 | cent: '', |
| 4151 | from: 'name0' | 4115 | from: 'name0' |
| 4152 | - }, | 4116 | + }, |
| 4153 | { | 4117 | { |
| 4154 | name: '最大深度(米)', | 4118 | name: '最大深度(米)', |
| 4155 | type: '1', | 4119 | type: '1', |
| @@ -4170,11 +4134,10 @@ | @@ -4170,11 +4134,10 @@ | ||
| 4170 | isbx: false, | 4134 | isbx: false, |
| 4171 | cent: '', | 4135 | cent: '', |
| 4172 | from: 'name0' | 4136 | from: 'name0' |
| 4173 | - }, | 4137 | + }, |
| 4174 | ] | 4138 | ] |
| 4175 | - }else if (text == '水利电力通信设施/排灌设施/灌溉渠') { | ||
| 4176 | - this.newtextlist = [ | ||
| 4177 | - { | 4139 | + } else if (text == '水利电力通信设施/排灌设施/灌溉渠') { |
| 4140 | + this.newtextlist = [{ | ||
| 4178 | name: '起点', | 4141 | name: '起点', |
| 4179 | type: '1', | 4142 | type: '1', |
| 4180 | isbx: false, | 4143 | isbx: false, |
| @@ -4187,7 +4150,7 @@ | @@ -4187,7 +4150,7 @@ | ||
| 4187 | isbx: false, | 4150 | isbx: false, |
| 4188 | cent: '', | 4151 | cent: '', |
| 4189 | from: 'name0' | 4152 | from: 'name0' |
| 4190 | - }, | 4153 | + }, |
| 4191 | { | 4154 | { |
| 4192 | name: '平均流量(立方米/秒)', | 4155 | name: '平均流量(立方米/秒)', |
| 4193 | type: '1', | 4156 | type: '1', |
| @@ -4215,11 +4178,11 @@ | @@ -4215,11 +4178,11 @@ | ||
| 4215 | isbx: false, | 4178 | isbx: false, |
| 4216 | cent: '', | 4179 | cent: '', |
| 4217 | from: 'name0' | 4180 | from: 'name0' |
| 4218 | - }, | 4181 | + }, |
| 4219 | ] | 4182 | ] |
| 4220 | - }else if (text == '水利电力通信设施/堤堰/拦河坝' || text == '水利电力通信设施/堤堰/闸坝' || text == '水利电力通信设施/堤堰/湖堤' || text == '水利电力通信设施/堤堰/河堤' || text == '水利电力通信设施/堤堰/海堤') { | ||
| 4221 | - this.newtextlist = [ | ||
| 4222 | - { | 4183 | + } else if (text == '水利电力通信设施/堤堰/拦河坝' || text == '水利电力通信设施/堤堰/闸坝' || text == '水利电力通信设施/堤堰/湖堤' || text == |
| 4184 | + '水利电力通信设施/堤堰/河堤' || text == '水利电力通信设施/堤堰/海堤') { | ||
| 4185 | + this.newtextlist = [{ | ||
| 4223 | name: '所在位置', | 4186 | name: '所在位置', |
| 4224 | type: '1', | 4187 | type: '1', |
| 4225 | isbx: true, | 4188 | isbx: true, |
| @@ -4239,11 +4202,10 @@ | @@ -4239,11 +4202,10 @@ | ||
| 4239 | isbx: false, | 4202 | isbx: false, |
| 4240 | cent: '', | 4203 | cent: '', |
| 4241 | from: 'name0' | 4204 | from: 'name0' |
| 4242 | - }, | 4205 | + }, |
| 4243 | ] | 4206 | ] |
| 4244 | - }else if (text == '水利电力通信设施/电力设施/输变电站') { | ||
| 4245 | - this.newtextlist = [ | ||
| 4246 | - { | 4207 | + } else if (text == '水利电力通信设施/电力设施/输变电站') { |
| 4208 | + this.newtextlist = [{ | ||
| 4247 | name: '输入容量(千瓦)', | 4209 | name: '输入容量(千瓦)', |
| 4248 | type: '1', | 4210 | type: '1', |
| 4249 | isbx: true, | 4211 | isbx: true, |
| @@ -4270,11 +4232,12 @@ | @@ -4270,11 +4232,12 @@ | ||
| 4270 | isbx: false, | 4232 | isbx: false, |
| 4271 | cent: '', | 4233 | cent: '', |
| 4272 | from: 'name0' | 4234 | from: 'name0' |
| 4273 | - }, | 4235 | + }, |
| 4274 | ] | 4236 | ] |
| 4275 | - }else if (text == '水利电力通信设施/电力设施/发电站/太阳能发电站' || text == '水利电力通信设施/电力设施/发电站/核发电站' || text == '水利电力通信设施/电力设施/发电站/风力发电站' || text == '水利电力通信设施/电力设施/发电站/水力发电站' || text == '水利电力通信设施/电力设施/发电站/火力发电站') { | ||
| 4276 | - this.newtextlist = [ | ||
| 4277 | - { | 4237 | + } else if (text == '水利电力通信设施/电力设施/发电站/太阳能发电站' || text == '水利电力通信设施/电力设施/发电站/核发电站' || text == |
| 4238 | + '水利电力通信设施/电力设施/发电站/风力发电站' || text == '水利电力通信设施/电力设施/发电站/水力发电站' || text == '水利电力通信设施/电力设施/发电站/火力发电站' | ||
| 4239 | + ) { | ||
| 4240 | + this.newtextlist = [{ | ||
| 4278 | name: '类型', | 4241 | name: '类型', |
| 4279 | type: '1', | 4242 | type: '1', |
| 4280 | isbx: true, | 4243 | isbx: true, |
| @@ -4315,7 +4278,7 @@ | @@ -4315,7 +4278,7 @@ | ||
| 4315 | isbx: false, | 4278 | isbx: false, |
| 4316 | cent: '', | 4279 | cent: '', |
| 4317 | from: 'name0' | 4280 | from: 'name0' |
| 4318 | - }, | 4281 | + }, |
| 4319 | ] | 4282 | ] |
| 4320 | } | 4283 | } |
| 4321 | this.newtextlist.push({ | 4284 | this.newtextlist.push({ |
pages/receiptRegistration/organization.vue
| @@ -18,7 +18,8 @@ | @@ -18,7 +18,8 @@ | ||
| 18 | <view class="serve-title">发生地点</view> | 18 | <view class="serve-title">发生地点</view> |
| 19 | <view> | 19 | <view> |
| 20 | <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" | 20 | <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 21 | - v-model="form.incidentLocation" placeholder="请输入" style="text-align: right;" /> | 21 | + v-model="form.incidentLocation" placeholder="请输入完整地址信息" |
| 22 | + style="text-align: right;" /> | ||
| 22 | </view> | 23 | </view> |
| 23 | </view> | 24 | </view> |
| 24 | </view> | 25 | </view> |
| @@ -205,22 +206,25 @@ | @@ -205,22 +206,25 @@ | ||
| 205 | data() { | 206 | data() { |
| 206 | return { | 207 | return { |
| 207 | form: { | 208 | form: { |
| 208 | - reportTime: "", | ||
| 209 | - reportPlatform: "", | ||
| 210 | - incidentLocation: "", | ||
| 211 | - childName: "", | ||
| 212 | - sex: "", | ||
| 213 | - age: "", | ||
| 214 | - reportReason: "", | ||
| 215 | - reportRecord: "", | ||
| 216 | - reporterName: "", | ||
| 217 | - relationshipWithChild: "", | ||
| 218 | - phone: "", | ||
| 219 | - reporterType: "", | ||
| 220 | - reporterOrganizationName: "", | ||
| 221 | - reporterOccupation: "", | 209 | + reportTime: null, |
| 210 | + reportPlatform: null, | ||
| 211 | + incidentLocation: null, | ||
| 212 | + childName: null, | ||
| 213 | + sex: null, | ||
| 214 | + age: null, | ||
| 215 | + reportReason: null, | ||
| 216 | + reportRecord: null, | ||
| 217 | + reporterName: null, | ||
| 218 | + relationshipWithChild: null, | ||
| 219 | + phone: null, | ||
| 220 | + reporterType: null, | ||
| 221 | + reporterOrganizationName: null, | ||
| 222 | + reporterOccupation: null, | ||
| 222 | userId: uni.getStorageSync('USERS_KEY').userId, | 223 | userId: uni.getStorageSync('USERS_KEY').userId, |
| 223 | - reportPlatform: '' | 224 | + reportPlatform: null, |
| 225 | + filingAgencyName: null, | ||
| 226 | + reportType: null, | ||
| 227 | + | ||
| 224 | }, | 228 | }, |
| 225 | pages: { | 229 | pages: { |
| 226 | roleName: '机构用户' | 230 | roleName: '机构用户' |
| @@ -284,6 +288,90 @@ | @@ -284,6 +288,90 @@ | ||
| 284 | second < 10 ? "0" + second : second); | 288 | second < 10 ? "0" + second : second); |
| 285 | }, | 289 | }, |
| 286 | register() { | 290 | register() { |
| 291 | + if (this.form.incidentLocation == null || this.form.incidentLocation.length == 0) { | ||
| 292 | + uni.showToast({ | ||
| 293 | + icon: 'none', | ||
| 294 | + title: '请填写发生地点' | ||
| 295 | + }) | ||
| 296 | + return | ||
| 297 | + } | ||
| 298 | + if (this.form.childName == null || this.form.childName.length == 0) { | ||
| 299 | + uni.showToast({ | ||
| 300 | + icon: 'none', | ||
| 301 | + title: '请填写儿童姓名' | ||
| 302 | + }) | ||
| 303 | + return | ||
| 304 | + } | ||
| 305 | + if (this.form.sex == null || this.form.sex.length == 0) { | ||
| 306 | + uni.showToast({ | ||
| 307 | + icon: 'none', | ||
| 308 | + title: '请选择儿童性别' | ||
| 309 | + }) | ||
| 310 | + return | ||
| 311 | + } | ||
| 312 | + if (this.form.age == null || this.form.age.length == 0) { | ||
| 313 | + uni.showToast({ | ||
| 314 | + icon: 'none', | ||
| 315 | + title: '请填写儿童年龄' | ||
| 316 | + }) | ||
| 317 | + return | ||
| 318 | + } | ||
| 319 | + if (this.form.reportReason == null || this.form.reportReason.length == 0) { | ||
| 320 | + uni.showToast({ | ||
| 321 | + icon: 'none', | ||
| 322 | + title: '请填写报告原因' | ||
| 323 | + }) | ||
| 324 | + return | ||
| 325 | + } | ||
| 326 | + if (this.form.reportRecord == null || this.form.reportRecord.length == 0) { | ||
| 327 | + uni.showToast({ | ||
| 328 | + icon: 'none', | ||
| 329 | + title: '请填写其他信息' | ||
| 330 | + }) | ||
| 331 | + return | ||
| 332 | + } | ||
| 333 | + if (this.form.filingAgencyName == null || this.form.filingAgencyName.length == 0) { | ||
| 334 | + uni.showToast({ | ||
| 335 | + icon: 'none', | ||
| 336 | + title: '请选择所属机构' | ||
| 337 | + }) | ||
| 338 | + return | ||
| 339 | + } | ||
| 340 | + if (this.form.reportType == null || this.form.reportType.length == 0) { | ||
| 341 | + uni.showToast({ | ||
| 342 | + icon: 'none', | ||
| 343 | + title: '请选择报告类型' | ||
| 344 | + }) | ||
| 345 | + return | ||
| 346 | + } | ||
| 347 | + if (this.form.reporterName == null || this.form.reporterName.length == 0) { | ||
| 348 | + uni.showToast({ | ||
| 349 | + icon: 'none', | ||
| 350 | + title: '请填写报告人姓名' | ||
| 351 | + }) | ||
| 352 | + return | ||
| 353 | + } | ||
| 354 | + if (this.form.relationshipWithChild == null || this.form.relationshipWithChild.length == 0) { | ||
| 355 | + uni.showToast({ | ||
| 356 | + icon: 'none', | ||
| 357 | + title: '请填写与儿童关系' | ||
| 358 | + }) | ||
| 359 | + return | ||
| 360 | + } | ||
| 361 | + if (this.form.phone == null || this.form.phone.length == 0) { | ||
| 362 | + uni.showToast({ | ||
| 363 | + icon: 'none', | ||
| 364 | + title: '请填写电话' | ||
| 365 | + }) | ||
| 366 | + return | ||
| 367 | + } | ||
| 368 | + if (this.form.reporterType == null || this.form.reporterType.length == 0) { | ||
| 369 | + uni.showToast({ | ||
| 370 | + icon: 'none', | ||
| 371 | + title: '请选择报告主体' | ||
| 372 | + }) | ||
| 373 | + return | ||
| 374 | + } | ||
| 287 | this.getTime(); | 375 | this.getTime(); |
| 288 | this.form.filingType = '机构'; | 376 | this.form.filingType = '机构'; |
| 289 | this.form.reportPlatform = this.form.filingAgencyName; | 377 | this.form.reportPlatform = this.form.filingAgencyName; |
pages/receiptRegistration/receiptRegistrationDetail.vue
| 1 | <template> | 1 | <template> |
| 2 | <view class="page"> | 2 | <view class="page"> |
| 3 | - <view class="content"> | ||
| 4 | - <view class="message-list"> | ||
| 5 | - <view class="titleall-box"> | ||
| 6 | - <view class="titleall-left"> | ||
| 7 | - <view class="titleall-left-line"></view>接报信息 | 3 | + <view class="content"> |
| 4 | + <view class="message-list"> | ||
| 5 | + <view class="titleall-box"> | ||
| 6 | + <view class="titleall-left"> | ||
| 7 | + <view class="titleall-left-line"></view>接报信息 | ||
| 8 | + </view> | ||
| 9 | + </view> | ||
| 10 | + <view class="info-box"> | ||
| 11 | + <view class="info-box-list"> | ||
| 12 | + <view class="info-box-width1"> | ||
| 13 | + <view class="info-box-small">接报时间</view> | ||
| 14 | + <view class="info-box-overflow">{{message.reportTime}}</view> | ||
| 8 | </view> | 15 | </view> |
| 9 | </view> | 16 | </view> |
| 10 | - <view class="info-box"> | ||
| 11 | - <view class="info-box-list"> | ||
| 12 | - <view class="info-box-width1"> | ||
| 13 | - <view class="info-box-small">接报时间</view> | ||
| 14 | - <view class="info-box-overflow">{{message.reportTime}}</view> | ||
| 15 | - </view> | 17 | + <view class="info-box-list"> |
| 18 | + <view class="info-box-width1"> | ||
| 19 | + <view class="info-box-small">接报渠道</view> | ||
| 20 | + <view class="info-box-overflow">{{message.reportPlatform}}</view> | ||
| 16 | </view> | 21 | </view> |
| 17 | - <view class="info-box-list"> | ||
| 18 | - <view class="info-box-width1"> | ||
| 19 | - <view class="info-box-small">接报渠道</view> | ||
| 20 | - <view class="info-box-overflow">{{message.reportPlatform}}</view> | ||
| 21 | - </view> | 22 | + </view> |
| 23 | + <view class="info-box-list"> | ||
| 24 | + <view class="info-box-width1"> | ||
| 25 | + <view class="info-box-small">发生地点</view> | ||
| 26 | + <view class="info-box-overflow">{{message.incidentLocation}}</view> | ||
| 22 | </view> | 27 | </view> |
| 23 | - <view class="info-box-list"> | ||
| 24 | - <view class="info-box-width1"> | ||
| 25 | - <view class="info-box-small">发生地点</view> | ||
| 26 | - <view class="info-box-overflow">{{message.incidentLocation}}</view> | ||
| 27 | - </view> | 28 | + </view> |
| 29 | + <view class="info-box-list"> | ||
| 30 | + <view class="info-box-width"> | ||
| 31 | + <view class="info-box-small">儿童姓名</view> | ||
| 32 | + <view class="info-box-overflow">{{message.childName}}</view> | ||
| 28 | </view> | 33 | </view> |
| 29 | - <view class="info-box-list"> | ||
| 30 | - <view class="info-box-width"> | ||
| 31 | - <view class="info-box-small">儿童姓名</view> | ||
| 32 | - <view class="info-box-overflow">{{message.childName}}</view> | ||
| 33 | - </view> | ||
| 34 | - <view class="info-box-width"> | ||
| 35 | - <view class="info-box-small">儿童性别</view> | ||
| 36 | - <view class="info-box-overflow">{{message.sex == 0 ? '男':message.sex == 1 ? '女': '未填写'}}</view> | 34 | + <view class="info-box-width"> |
| 35 | + <view class="info-box-small">儿童性别</view> | ||
| 36 | + <view class="info-box-overflow">{{message.sex == 0 ? '男':message.sex == 1 ? '女': '未填写'}} | ||
| 37 | </view> | 37 | </view> |
| 38 | </view> | 38 | </view> |
| 39 | - <view class="info-box-list"> | ||
| 40 | - <view class="info-box-width"> | ||
| 41 | - <view class="info-box-small">儿童年龄</view> | ||
| 42 | - <view class="info-box-overflow">{{message.age}}</view> | ||
| 43 | - </view> | 39 | + </view> |
| 40 | + <view class="info-box-list"> | ||
| 41 | + <view class="info-box-width"> | ||
| 42 | + <view class="info-box-small">儿童年龄</view> | ||
| 43 | + <view class="info-box-overflow">{{message.age}}</view> | ||
| 44 | </view> | 44 | </view> |
| 45 | - <view class="info-box-list"> | ||
| 46 | - <view class="info-box-width1"> | ||
| 47 | - <view class="info-box-small">报告原因</view> | ||
| 48 | - <view class="info-box-overflow">{{message.reportReason}}</view> | ||
| 49 | - </view> | 45 | + </view> |
| 46 | + <view class="info-box-list"> | ||
| 47 | + <view class="info-box-width1"> | ||
| 48 | + <view class="info-box-small">报告原因</view> | ||
| 49 | + <view class="info-box-overflow">{{message.reportReason}}</view> | ||
| 50 | </view> | 50 | </view> |
| 51 | - <view class="info-box-list"> | ||
| 52 | - <view class="info-box-width1"> | ||
| 53 | - <view class="info-box-small">其他信息</view> | ||
| 54 | - <view class="info-box-overflow">{{message.reportRecord}}</view> | ||
| 55 | - </view> | 51 | + </view> |
| 52 | + <view class="info-box-list"> | ||
| 53 | + <view class="info-box-width1"> | ||
| 54 | + <view class="info-box-small">其他信息</view> | ||
| 55 | + <view class="info-box-overflow">{{message.reportRecord}}</view> | ||
| 56 | </view> | 56 | </view> |
| 57 | </view> | 57 | </view> |
| 58 | </view> | 58 | </view> |
| 59 | - <view class="message-list"> | ||
| 60 | - <view class="titleall-box"> | ||
| 61 | - <view class="titleall-left"> | ||
| 62 | - <view class="titleall-left-line"></view>报告人信息 | ||
| 63 | - </view> | 59 | + </view> |
| 60 | + <view class="message-list"> | ||
| 61 | + <view class="titleall-box"> | ||
| 62 | + <view class="titleall-left"> | ||
| 63 | + <view class="titleall-left-line"></view>报告人信息 | ||
| 64 | </view> | 64 | </view> |
| 65 | - <view class="info-box"> | ||
| 66 | - <view class="info-box-list"> | ||
| 67 | - <view class="info-box-width"> | ||
| 68 | - <view class="info-box-small">姓名</view> | ||
| 69 | - <view class="info-box-overflow">{{message.reporterName}}</view> | ||
| 70 | - </view> | ||
| 71 | - <view class="info-box-width"> | ||
| 72 | - <view class="info-box-small">与儿童关系</view> | ||
| 73 | - <view class="info-box-overflow">{{message.relationshipWithChild}}</view> | ||
| 74 | - </view> | 65 | + </view> |
| 66 | + <view class="info-box"> | ||
| 67 | + <view class="info-box-list"> | ||
| 68 | + <view class="info-box-width"> | ||
| 69 | + <view class="info-box-small">姓名</view> | ||
| 70 | + <view class="info-box-overflow">{{message.reporterName}}</view> | ||
| 75 | </view> | 71 | </view> |
| 76 | - <view class="info-box-list"> | ||
| 77 | - <view class="info-box-width"> | ||
| 78 | - <view class="info-box-small">电话</view> | ||
| 79 | - <view class="info-box-overflow">{{message.phone}}</view> | ||
| 80 | - </view> | 72 | + <view class="info-box-width"> |
| 73 | + <view class="info-box-small">与儿童关系</view> | ||
| 74 | + <view class="info-box-overflow">{{message.relationshipWithChild}}</view> | ||
| 81 | </view> | 75 | </view> |
| 82 | - <view class="info-box-list"> | ||
| 83 | - <view class="info-box-width1"> | ||
| 84 | - <view class="info-box-small">报告主体</view> | ||
| 85 | - <view class="info-box-overflow">{{message.reporterType}}<span v-if="message.reporterType != null">:</span>{{content}}</view> | ||
| 86 | - </view> | 76 | + </view> |
| 77 | + <view class="info-box-list"> | ||
| 78 | + <view class="info-box-width"> | ||
| 79 | + <view class="info-box-small">电话</view> | ||
| 80 | + <view class="info-box-overflow">{{message.phone}}</view> | ||
| 81 | + </view> | ||
| 82 | + </view> | ||
| 83 | + <view class="info-box-list"> | ||
| 84 | + <view class="info-box-width1"> | ||
| 85 | + <view class="info-box-small">报告主体</view> | ||
| 86 | + <view class="info-box-overflow">{{message.reporterType}}<span | ||
| 87 | + v-if="message.reporterType != null">:</span>{{content}}</view> | ||
| 87 | </view> | 88 | </view> |
| 88 | </view> | 89 | </view> |
| 89 | </view> | 90 | </view> |
| 90 | - <view class="top-box" @click="gopath('/pages/receiptRegistration/receiptRegistrationSchedule?item=' +JSON.stringify(item.chiAdoptCaseFlowExecuteNodeHistoryList))"> | ||
| 91 | - <view>查看进度</view> | ||
| 92 | - <view class="top-box-img"><image src="../../static/right2.png"></image></view> | 91 | + </view> |
| 92 | + <view class="top-box" | ||
| 93 | + @click="gopath('/pages/receiptRegistration/receiptRegistrationSchedule?item=' +JSON.stringify(item.caseByCaseHelpFlowPos))"> | ||
| 94 | + <view>查看进度</view> | ||
| 95 | + <view class="top-box-img"> | ||
| 96 | + <image src="../../static/right2.png"></image> | ||
| 93 | </view> | 97 | </view> |
| 94 | </view> | 98 | </view> |
| 99 | + </view> | ||
| 95 | </view> | 100 | </view> |
| 96 | </template> | 101 | </template> |
| 97 | 102 | ||
| @@ -101,14 +106,13 @@ | @@ -101,14 +106,13 @@ | ||
| 101 | data() { | 106 | data() { |
| 102 | return { | 107 | return { |
| 103 | // 接报信息 | 108 | // 接报信息 |
| 104 | - message: {}, | ||
| 105 | - // 报告主体内容 | ||
| 106 | - content: '', | ||
| 107 | - item: {} | 109 | + message: {}, |
| 110 | + // 报告主体内容 | ||
| 111 | + content: '', | ||
| 112 | + item: {} | ||
| 108 | }; | 113 | }; |
| 109 | }, | 114 | }, |
| 110 | - computed: { | ||
| 111 | - }, | 115 | + computed: {}, |
| 112 | onLoad(params) { | 116 | onLoad(params) { |
| 113 | this.item = JSON.parse(params.item); | 117 | this.item = JSON.parse(params.item); |
| 114 | this.message = this.item.chiAdoptCaseRegistrationPo; | 118 | this.message = this.item.chiAdoptCaseRegistrationPo; |
| @@ -133,6 +137,7 @@ | @@ -133,6 +137,7 @@ | ||
| 133 | .page { | 137 | .page { |
| 134 | padding-bottom: 10rpx; | 138 | padding-bottom: 10rpx; |
| 135 | } | 139 | } |
| 140 | + | ||
| 136 | .listBox { | 141 | .listBox { |
| 137 | position: relative; | 142 | position: relative; |
| 138 | z-index: 1; | 143 | z-index: 1; |
| @@ -195,11 +200,12 @@ | @@ -195,11 +200,12 @@ | ||
| 195 | .width100 { | 200 | .width100 { |
| 196 | width: 100% !important; | 201 | width: 100% !important; |
| 197 | } | 202 | } |
| 203 | + | ||
| 198 | .info-box-width1 { | 204 | .info-box-width1 { |
| 199 | width: 100%; | 205 | width: 100%; |
| 200 | font-size: 30rpx; | 206 | font-size: 30rpx; |
| 201 | font-weight: bold; | 207 | font-weight: bold; |
| 202 | - | 208 | + |
| 203 | .info-box-overflow { | 209 | .info-box-overflow { |
| 204 | width: 95%; | 210 | width: 95%; |
| 205 | display: -webkit-box; | 211 | display: -webkit-box; |
| @@ -207,24 +213,24 @@ | @@ -207,24 +213,24 @@ | ||
| 207 | -webkit-line-clamp: 1; | 213 | -webkit-line-clamp: 1; |
| 208 | overflow: hidden; | 214 | overflow: hidden; |
| 209 | } | 215 | } |
| 210 | - | 216 | + |
| 211 | .info-box-small { | 217 | .info-box-small { |
| 212 | font-size: 26rpx; | 218 | font-size: 26rpx; |
| 213 | color: #a8a8a8; | 219 | color: #a8a8a8; |
| 214 | font-weight: 500; | 220 | font-weight: 500; |
| 215 | margin-bottom: 10rpx; | 221 | margin-bottom: 10rpx; |
| 216 | } | 222 | } |
| 217 | - | 223 | + |
| 218 | .info-box-list-img { | 224 | .info-box-list-img { |
| 219 | margin-top: 30rpx; | 225 | margin-top: 30rpx; |
| 220 | - | 226 | + |
| 221 | image { | 227 | image { |
| 222 | width: 180rpx; | 228 | width: 180rpx; |
| 223 | height: 180rpx; | 229 | height: 180rpx; |
| 224 | border-radius: 20rpx; | 230 | border-radius: 20rpx; |
| 225 | } | 231 | } |
| 226 | } | 232 | } |
| 227 | - | 233 | + |
| 228 | .info-box-list-sm { | 234 | .info-box-list-sm { |
| 229 | background-color: #F7F7F7; | 235 | background-color: #F7F7F7; |
| 230 | border-radius: 20rpx; | 236 | border-radius: 20rpx; |
| @@ -235,11 +241,12 @@ | @@ -235,11 +241,12 @@ | ||
| 235 | padding: 20rpx; | 241 | padding: 20rpx; |
| 236 | margin-top: 20rpx; | 242 | margin-top: 20rpx; |
| 237 | } | 243 | } |
| 238 | - | 244 | + |
| 239 | .green { | 245 | .green { |
| 240 | color: #00D970; | 246 | color: #00D970; |
| 241 | } | 247 | } |
| 242 | } | 248 | } |
| 249 | + | ||
| 243 | .info-box-width { | 250 | .info-box-width { |
| 244 | width: 50%; | 251 | width: 50%; |
| 245 | font-size: 30rpx; | 252 | font-size: 30rpx; |
| @@ -368,6 +375,7 @@ | @@ -368,6 +375,7 @@ | ||
| 368 | } | 375 | } |
| 369 | } | 376 | } |
| 370 | } | 377 | } |
| 378 | + | ||
| 371 | .top-box { | 379 | .top-box { |
| 372 | display: flex; | 380 | display: flex; |
| 373 | justify-content: space-between; | 381 | justify-content: space-between; |
| @@ -377,6 +385,7 @@ | @@ -377,6 +385,7 @@ | ||
| 377 | background-color: #fff; | 385 | background-color: #fff; |
| 378 | border-radius: 20rpx; | 386 | border-radius: 20rpx; |
| 379 | padding: 30rpx; | 387 | padding: 30rpx; |
| 388 | + | ||
| 380 | .top-box-img { | 389 | .top-box-img { |
| 381 | image { | 390 | image { |
| 382 | width: 40rpx; | 391 | width: 40rpx; |
pages/receiptRegistration/receiptRegistrationList.vue
| 1 | <template> | 1 | <template> |
| 2 | <view> | 2 | <view> |
| 3 | <view> | 3 | <view> |
| 4 | - <view v-for="(item, index) in list" :key="index" class="top-box" @click="gopath('/pages/receiptRegistration/receiptRegistrationDetail?item=' +JSON.stringify(item))"> | ||
| 5 | - <view>{{item.chiAdoptCaseRegistrationPo.reportTime}}<span style="margin-left: 20rpx;color: #547DFF;">{{item.chiAdoptCaseFlowExecuteNodeHistoryList[item.chiAdoptCaseFlowExecuteNodeHistoryList.length-1].nodeName}}</span></view> | 4 | + <view v-for="(item, index) in list" :key="index" class="top-box" |
| 5 | + @click="gopath('/pages/receiptRegistration/receiptRegistrationDetail?item=' +JSON.stringify(item))"> | ||
| 6 | + <view>{{item.chiAdoptCaseRegistrationPo.reportTime}}<span | ||
| 7 | + style="margin-left: 20rpx;color: #547DFF;">{{item.chiAdoptCaseRegistrationPo.childName}}</span> | ||
| 8 | + </view> | ||
| 6 | <view class="top-box-img"> | 9 | <view class="top-box-img"> |
| 7 | <image src="../../static/right2.png" mode="widthFix"></image> | 10 | <image src="../../static/right2.png" mode="widthFix"></image> |
| 8 | </view> | 11 | </view> |
| @@ -18,10 +21,10 @@ | @@ -18,10 +21,10 @@ | ||
| 18 | export default { | 21 | export default { |
| 19 | data() { | 22 | data() { |
| 20 | return { | 23 | return { |
| 21 | - form:{ | ||
| 22 | - userId:uni.getStorageSync('USERS_KEY').userId, | 24 | + form: { |
| 25 | + userId: uni.getStorageSync('USERS_KEY').userId, | ||
| 23 | }, | 26 | }, |
| 24 | - list:[] | 27 | + list: [] |
| 25 | } | 28 | } |
| 26 | }, | 29 | }, |
| 27 | onLoad() { | 30 | onLoad() { |
| @@ -33,13 +36,13 @@ | @@ -33,13 +36,13 @@ | ||
| 33 | url: e | 36 | url: e |
| 34 | }) | 37 | }) |
| 35 | }, | 38 | }, |
| 36 | - getHistory(){ | 39 | + getHistory() { |
| 37 | this.API.getHistory(this.form).then(res => { | 40 | this.API.getHistory(this.form).then(res => { |
| 38 | if (res.code == 200) { | 41 | if (res.code == 200) { |
| 39 | this.list = res.data; | 42 | this.list = res.data; |
| 40 | } | 43 | } |
| 41 | }) | 44 | }) |
| 42 | - | 45 | + |
| 43 | } | 46 | } |
| 44 | } | 47 | } |
| 45 | } | 48 | } |
| @@ -55,7 +58,7 @@ | @@ -55,7 +58,7 @@ | ||
| 55 | background-color: #fff; | 58 | background-color: #fff; |
| 56 | border-radius: 21rpx; | 59 | border-radius: 21rpx; |
| 57 | padding: 30rpx; | 60 | padding: 30rpx; |
| 58 | - | 61 | + |
| 59 | .top-box-img { | 62 | .top-box-img { |
| 60 | image { | 63 | image { |
| 61 | width: 30rpx; | 64 | width: 30rpx; |
| @@ -63,27 +66,32 @@ | @@ -63,27 +66,32 @@ | ||
| 63 | } | 66 | } |
| 64 | } | 67 | } |
| 65 | } | 68 | } |
| 66 | - .content{ | 69 | + |
| 70 | + .content { | ||
| 67 | padding: 20rpx; | 71 | padding: 20rpx; |
| 68 | - .box_item{ | 72 | + |
| 73 | + .box_item { | ||
| 69 | background-color: #fff; | 74 | background-color: #fff; |
| 70 | display: flex; | 75 | display: flex; |
| 71 | padding: 20rpx 40rpx; | 76 | padding: 20rpx 40rpx; |
| 72 | border-radius: 20rpx; | 77 | border-radius: 20rpx; |
| 73 | align-items: center; | 78 | align-items: center; |
| 74 | - .box_left{ | 79 | + |
| 80 | + .box_left { | ||
| 75 | display: flex; | 81 | display: flex; |
| 76 | flex-direction: column; | 82 | flex-direction: column; |
| 77 | justify-content: space-between; | 83 | justify-content: space-between; |
| 78 | width: 58%; | 84 | width: 58%; |
| 79 | margin-right: 2%; | 85 | margin-right: 2%; |
| 80 | - .f1{ | 86 | + |
| 87 | + .f1 { | ||
| 81 | font-size: 35rpx; | 88 | font-size: 35rpx; |
| 82 | font-weight: 600; | 89 | font-weight: 600; |
| 83 | display: block; | 90 | display: block; |
| 84 | margin-bottom: 20rpx; | 91 | margin-bottom: 20rpx; |
| 85 | } | 92 | } |
| 86 | - .f2{ | 93 | + |
| 94 | + .f2 { | ||
| 87 | color: #ababab; | 95 | color: #ababab; |
| 88 | display: -webkit-box; | 96 | display: -webkit-box; |
| 89 | -webkit-box-orient: vertical; | 97 | -webkit-box-orient: vertical; |
| @@ -91,10 +99,11 @@ | @@ -91,10 +99,11 @@ | ||
| 91 | overflow: hidden; | 99 | overflow: hidden; |
| 92 | } | 100 | } |
| 93 | } | 101 | } |
| 94 | - .box_right{ | 102 | + |
| 103 | + .box_right { | ||
| 95 | width: 40%; | 104 | width: 40%; |
| 96 | text-align: right; | 105 | text-align: right; |
| 97 | } | 106 | } |
| 98 | } | 107 | } |
| 99 | } | 108 | } |
| 100 | -</style> | 109 | +</style> |
| 101 | \ No newline at end of file | 110 | \ No newline at end of file |
pages/receiptRegistration/receiptRegistrationSchedule.vue
| 1 | <template> | 1 | <template> |
| 2 | <view class="page"> | 2 | <view class="page"> |
| 3 | - <view class="top-box" v-for="(item, index) in list" :key="index"> | ||
| 4 | - <view>{{item.nodeName}}<span v-if="item.nodeAuditStatus =='true'" style="margin-left: 20rpx;color: #00D970;">已完成</span><span v-if="item.nodeAuditStatus =='flase'" style="margin-left: 20rpx;color: red;">正在进行</span></view> | 3 | + <view class="top-box" v-for="(item, index) in list" :key="index"> |
| 4 | + <view>{{item.nodeTime}} {{item.nodeName}}<span v-if="item.nodeAuditStatus =='true'" | ||
| 5 | + style="margin-left: 20rpx;color: #00D970;">已完成</span><span v-if="item.nodeAuditStatus =='flase'" | ||
| 6 | + style="margin-left: 20rpx;color: red;">正在进行</span></view> | ||
| 5 | </view> | 7 | </view> |
| 6 | </view> | 8 | </view> |
| 7 | </template> | 9 | </template> |
| @@ -18,10 +20,8 @@ | @@ -18,10 +20,8 @@ | ||
| 18 | this.list = JSON.parse(params.item); | 20 | this.list = JSON.parse(params.item); |
| 19 | console.log('list', this.list) | 21 | console.log('list', this.list) |
| 20 | }, | 22 | }, |
| 21 | - computed: { | ||
| 22 | - }, | ||
| 23 | - methods: { | ||
| 24 | - } | 23 | + computed: {}, |
| 24 | + methods: {} | ||
| 25 | } | 25 | } |
| 26 | </script> | 26 | </script> |
| 27 | 27 | ||
| @@ -29,6 +29,7 @@ | @@ -29,6 +29,7 @@ | ||
| 29 | .page { | 29 | .page { |
| 30 | padding: 15rpx; | 30 | padding: 15rpx; |
| 31 | } | 31 | } |
| 32 | + | ||
| 32 | .top-box { | 33 | .top-box { |
| 33 | display: flex; | 34 | display: flex; |
| 34 | justify-content: space-between; | 35 | justify-content: space-between; |
| @@ -39,5 +40,4 @@ | @@ -39,5 +40,4 @@ | ||
| 39 | border-radius: 21rpx; | 40 | border-radius: 21rpx; |
| 40 | padding: 30rpx; | 41 | padding: 30rpx; |
| 41 | } | 42 | } |
| 42 | - | ||
| 43 | </style> | 43 | </style> |
| 44 | \ No newline at end of file | 44 | \ No newline at end of file |
pages/receiptRegistration/townShip.vue
| @@ -240,9 +240,80 @@ | @@ -240,9 +240,80 @@ | ||
| 240 | second < 10 ? "0" + second : second); | 240 | second < 10 ? "0" + second : second); |
| 241 | }, | 241 | }, |
| 242 | register() { | 242 | register() { |
| 243 | + if (this.form.incidentLocation == null || this.form.incidentLocation.length == 0) { | ||
| 244 | + uni.showToast({ | ||
| 245 | + icon: 'none', | ||
| 246 | + title: '请填写发生地点' | ||
| 247 | + }) | ||
| 248 | + return | ||
| 249 | + } | ||
| 250 | + if (this.form.childName == null || this.form.childName.length == 0) { | ||
| 251 | + uni.showToast({ | ||
| 252 | + icon: 'none', | ||
| 253 | + title: '请填写儿童姓名' | ||
| 254 | + }) | ||
| 255 | + return | ||
| 256 | + } | ||
| 257 | + if (this.form.sex == null || this.form.sex.length == 0) { | ||
| 258 | + uni.showToast({ | ||
| 259 | + icon: 'none', | ||
| 260 | + title: '请选择儿童性别' | ||
| 261 | + }) | ||
| 262 | + return | ||
| 263 | + } | ||
| 264 | + if (this.form.age == null || this.form.age.length == 0) { | ||
| 265 | + uni.showToast({ | ||
| 266 | + icon: 'none', | ||
| 267 | + title: '请填写儿童年龄' | ||
| 268 | + }) | ||
| 269 | + return | ||
| 270 | + } | ||
| 271 | + if (this.form.reportReason == null || this.form.reportReason.length == 0) { | ||
| 272 | + uni.showToast({ | ||
| 273 | + icon: 'none', | ||
| 274 | + title: '请填写报告原因' | ||
| 275 | + }) | ||
| 276 | + return | ||
| 277 | + } | ||
| 278 | + if (this.form.reportRecord == null || this.form.reportRecord.length == 0) { | ||
| 279 | + uni.showToast({ | ||
| 280 | + icon: 'none', | ||
| 281 | + title: '请填写其他信息' | ||
| 282 | + }) | ||
| 283 | + return | ||
| 284 | + } | ||
| 285 | + if (this.form.reporterName == null || this.form.reporterName.length == 0) { | ||
| 286 | + uni.showToast({ | ||
| 287 | + icon: 'none', | ||
| 288 | + title: '请填写报告人姓名' | ||
| 289 | + }) | ||
| 290 | + return | ||
| 291 | + } | ||
| 292 | + if (this.form.relationshipWithChild == null || this.form.relationshipWithChild.length == 0) { | ||
| 293 | + uni.showToast({ | ||
| 294 | + icon: 'none', | ||
| 295 | + title: '请填写与儿童关系' | ||
| 296 | + }) | ||
| 297 | + return | ||
| 298 | + } | ||
| 299 | + if (this.form.phone == null || this.form.phone.length == 0) { | ||
| 300 | + uni.showToast({ | ||
| 301 | + icon: 'none', | ||
| 302 | + title: '请填写电话' | ||
| 303 | + }) | ||
| 304 | + return | ||
| 305 | + } | ||
| 306 | + if (this.form.reporterType == null || this.form.reporterType.length == 0) { | ||
| 307 | + uni.showToast({ | ||
| 308 | + icon: 'none', | ||
| 309 | + title: '请选择报告主体' | ||
| 310 | + }) | ||
| 311 | + return | ||
| 312 | + } | ||
| 243 | this.getTime(); | 313 | this.getTime(); |
| 244 | this.form.filingType = '个人'; | 314 | this.form.filingType = '个人'; |
| 245 | this.form.reportType = '强制报告'; | 315 | this.form.reportType = '强制报告'; |
| 316 | + console.log(this.form) | ||
| 246 | this.API.addRegistration(this.form).then(res => { | 317 | this.API.addRegistration(this.form).then(res => { |
| 247 | console.log(res) | 318 | console.log(res) |
| 248 | if (res.code == 200) { | 319 | if (res.code == 200) { |
pages/whisper/index.vue
| @@ -99,7 +99,7 @@ | @@ -99,7 +99,7 @@ | ||
| 99 | sex: "", | 99 | sex: "", |
| 100 | age: "", | 100 | age: "", |
| 101 | degree: "", | 101 | degree: "", |
| 102 | - attend_school: "", | 102 | + attendSchool: "", |
| 103 | content: "" | 103 | content: "" |
| 104 | }, | 104 | }, |
| 105 | // 性别下拉框 | 105 | // 性别下拉框 |
| @@ -115,6 +115,48 @@ | @@ -115,6 +115,48 @@ | ||
| 115 | this.form.sex = e.detail.value; | 115 | this.form.sex = e.detail.value; |
| 116 | }, | 116 | }, |
| 117 | register() { | 117 | register() { |
| 118 | + if (this.form.name == null || this.form.name.length == 0) { | ||
| 119 | + uni.showToast({ | ||
| 120 | + icon: 'none', | ||
| 121 | + title: '请填写姓名' | ||
| 122 | + }) | ||
| 123 | + return | ||
| 124 | + } | ||
| 125 | + if (this.form.sex == null || this.form.sex.length == 0) { | ||
| 126 | + uni.showToast({ | ||
| 127 | + icon: 'none', | ||
| 128 | + title: '请选择性别' | ||
| 129 | + }) | ||
| 130 | + return | ||
| 131 | + } | ||
| 132 | + if (this.form.age == null || this.form.age.length == 0) { | ||
| 133 | + uni.showToast({ | ||
| 134 | + icon: 'none', | ||
| 135 | + title: '请填写年龄' | ||
| 136 | + }) | ||
| 137 | + return | ||
| 138 | + } | ||
| 139 | + if (this.form.degree == null || this.form.degree.length == 0) { | ||
| 140 | + uni.showToast({ | ||
| 141 | + icon: 'none', | ||
| 142 | + title: '请填写学历' | ||
| 143 | + }) | ||
| 144 | + return | ||
| 145 | + } | ||
| 146 | + if (this.form.attendSchool == null || this.form.attendSchool.length == 0) { | ||
| 147 | + uni.showToast({ | ||
| 148 | + icon: 'none', | ||
| 149 | + title: '请填写就读学校' | ||
| 150 | + }) | ||
| 151 | + return | ||
| 152 | + } | ||
| 153 | + if (this.form.content == null || this.form.content.length == 0) { | ||
| 154 | + uni.showToast({ | ||
| 155 | + icon: 'none', | ||
| 156 | + title: '请填写内容' | ||
| 157 | + }) | ||
| 158 | + return | ||
| 159 | + } | ||
| 118 | this.API.addInfo(this.form).then(res => { | 160 | this.API.addInfo(this.form).then(res => { |
| 119 | console.log(res) | 161 | console.log(res) |
| 120 | if (res.code == 200) { | 162 | if (res.code == 200) { |