Commit 5e015590f57d558e99644ebea3272fb0dcc05216

Authored by smile
1 parent 4de364a7

111

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