diff --git a/pages/declaration/newDeclaration.vue b/pages/declaration/newDeclaration.vue index 3467707..723a84f 100644 --- a/pages/declaration/newDeclaration.vue +++ b/pages/declaration/newDeclaration.vue @@ -666,7 +666,6 @@ // return // } // } else { - // } // } // for (let i = 0; i < this.newtextlist.length; i++) { @@ -2197,7 +2196,7 @@ from: 'name0' }, ] - }else if (text == '交通运输设施/交通运输附属/道班') { + } else if (text == '交通运输设施/交通运输附属/道班') { this.newtextlist = [{ name: '所在线路', type: '1', @@ -2350,7 +2349,7 @@ }, ] } - + if (text == '纪念地旅游景点/自然保护区') { this.newtextlist = [{ name: '级别', @@ -2410,8 +2409,7 @@ }, ] } else if (text == '纪念地旅游景点/风景区' || text == ' 纪念地旅游景点/公园') { - this.newtextlist = [ - { + this.newtextlist = [{ name: '占地面积(平方米)', type: '1', isbx: true, @@ -2448,8 +2446,7 @@ }, ] } else if (text == '纪念地旅游景点/纪念地遗址/事件纪念地' || text == '纪念地旅游景点/纪念地遗址/人物纪念地') { - this.newtextlist = [ - { + this.newtextlist = [{ name: '占地面积(平方米)', type: '1', isbx: false, @@ -2492,9 +2489,9 @@ from: 'name0' }, ] - } else if (text == '纪念地旅游景点/纪念地遗址/宗教纪念地/教堂' || text == '纪念地旅游景点/纪念地遗址/宗教纪念地/寺' || text == '纪念地旅游景点/纪念地遗址/宗教纪念地/庙') { - this.newtextlist = [ - { + } else if (text == '纪念地旅游景点/纪念地遗址/宗教纪念地/教堂' || text == '纪念地旅游景点/纪念地遗址/宗教纪念地/寺' || text == + '纪念地旅游景点/纪念地遗址/宗教纪念地/庙') { + this.newtextlist = [{ name: '占地面积(平方米)', type: '1', isbx: false, @@ -2538,10 +2535,9 @@ }, ] } - + if (text == '建筑物/房屋') { - this.newtextlist = [ - { + this.newtextlist = [{ name: '地址', type: '1', isbx: true, @@ -2598,9 +2594,9 @@ from: 'name0' }, ] - } else if (text == '建筑物/亭台碑塔/亭' || text == '建筑物/亭台碑塔/塔'|| text == '建筑物/亭台碑塔/台'|| text == '建筑物/亭台碑塔/碑') { - this.newtextlist = [ - { + } else if (text == '建筑物/亭台碑塔/亭' || text == '建筑物/亭台碑塔/塔' || text == '建筑物/亭台碑塔/台' || text == + '建筑物/亭台碑塔/碑') { + this.newtextlist = [{ name: '所在位置(地址)', type: '1', isbx: true, @@ -2637,9 +2633,8 @@ }, ] - }else if (text == ' 建筑物/场/体育场' || text == '建筑物/场/广场') { - this.newtextlist = [ - { + } else if (text == ' 建筑物/场/体育场' || text == '建筑物/场/广场') { + this.newtextlist = [{ name: '所在位置(地址)', type: '1', isbx: true, @@ -2662,9 +2657,8 @@ }, ] - }else if (text == ' 建筑物/城堡、墙/墙' || text == '建筑物/城堡、墙/城堡') { - this.newtextlist = [ - { + } else if (text == ' 建筑物/城堡、墙/墙' || text == '建筑物/城堡、墙/城堡') { + this.newtextlist = [{ name: '所在位置(地址)', type: '1', isbx: true, @@ -2701,10 +2695,9 @@ }, ] } - + if (text == '非行政区域/矿区') { - this.newtextlist = [ - { + this.newtextlist = [{ name: '矿产类型', type: '1', isbx: false, @@ -2754,7 +2747,8 @@ from: 'name0' }, ] - }else if (text == '非行政区域/农、林、牧、渔区/牧区' || text == '非行政区域/农、林、牧、渔区/渔区' || text == '非行政区域/农、林、牧、渔区/林区' || text == '非行政区域/农、林、牧、渔区/农区') { + } else if (text == '非行政区域/农、林、牧、渔区/牧区' || text == '非行政区域/农、林、牧、渔区/渔区' || text == '非行政区域/农、林、牧、渔区/林区' || + text == '非行政区域/农、林、牧、渔区/农区') { this.array5 = ['农业区', '林区', '牧区', '渔区'] this.newtextlist = [{ name: '类型', @@ -2813,7 +2807,7 @@ from: 'name0' }, ] - }else if (text == '非行政区域/工业区、开发区/开发区' || text == '非行政区域/工业区、开发区/工业区' ) { + } else if (text == '非行政区域/工业区、开发区/开发区' || text == '非行政区域/工业区、开发区/工业区') { this.array5 = ['工业区', '开发区'] this.newtextlist = [{ name: '类型', @@ -2851,7 +2845,7 @@ from: 'name0' }, ] - }else if (text == '非行政区域/边贸区、口岸/口岸' || text == '非行政区域/边贸区、口岸/边贸区' ) { + } else if (text == '非行政区域/边贸区、口岸/口岸' || text == '非行政区域/边贸区、口岸/边贸区') { this.array5 = ['边贸区', '口岸'] this.newtextlist = [{ name: '类型', @@ -2897,10 +2891,9 @@ }, ] } - - if (text == '陆地地形/丘陵山地/山口、关隘' ) { - this.newtextlist = [ - { + + if (text == '陆地地形/丘陵山地/山口、关隘') { + this.newtextlist = [{ name: '长度(米)', type: '1', isbx: false, @@ -2929,9 +2922,8 @@ from: 'name0' }, ] - } else if (text == '陆地地形/丘陵山地/山谷、谷地' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/丘陵山地/山谷、谷地') { + this.newtextlist = [{ name: '长度(米)', type: '1', isbx: false, @@ -2967,9 +2959,8 @@ from: 'name0' }, ] - }else if (text == '陆地地形/丘陵山地/山坡' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/丘陵山地/山坡') { + this.newtextlist = [{ name: '走向', type: '1', isbx: false, @@ -2984,9 +2975,8 @@ from: 'name0' }, ] - }else if (text == '陆地地形/丘陵山地/山峰' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/丘陵山地/山峰') { + this.newtextlist = [{ name: '海拔(米)', type: '1', isbx: true, @@ -3001,9 +2991,8 @@ from: 'name0' }, ] - }else if (text == '陆地地形/丘陵山地/山' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/丘陵山地/山') { + this.newtextlist = [{ name: '长度(千米)', type: '1', isbx: false, @@ -3026,9 +3015,8 @@ }, ] - }else if (text == '陆地地形/丘陵山地/山体' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/丘陵山地/山体') { + this.newtextlist = [{ name: '长度(千米)', type: '1', isbx: false, @@ -3071,9 +3059,8 @@ from: 'name0' }, ] - }else if (text == '陆地地形/丘陵山地/本级' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/丘陵山地/本级') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: false, @@ -3131,10 +3118,9 @@ }, ] } - - if (text == '陆地地形/高原' ) { - this.newtextlist = [ - { + + if (text == '陆地地形/高原') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: false, @@ -3161,42 +3147,42 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '四至', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '所属山脉', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '气候类型', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '年均温度(摄氏度)', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '年降水量(毫米)', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '年无霜期(天)', type: '1', @@ -3206,8 +3192,7 @@ }, ] } else if (text == '陆地地形/盆地' || text == '陆地地形/平原') { - this.newtextlist = [ - { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: false, @@ -3227,7 +3212,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '最大长度(千米)', type: '1', @@ -3248,7 +3233,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年均温度(摄氏度)', type: '1', @@ -3262,7 +3247,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年无霜期(天)', type: '1', @@ -3271,9 +3256,8 @@ from: 'name0' }, ] - }else if (text == '陆地地形/重要陆地景观/绿洲') { - this.newtextlist = [ - { + } else if (text == '陆地地形/重要陆地景观/绿洲') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3293,7 +3277,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '上游水源', type: '1', @@ -3307,7 +3291,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '植被类型', type: '1', @@ -3335,7 +3319,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年无霜期(天)', type: '1', @@ -3344,9 +3328,8 @@ from: 'name0' }, ] - }else if ( text == '陆地地形/重要陆地景观/戈壁') { - this.newtextlist = [ - { + } else if (text == '陆地地形/重要陆地景观/戈壁') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3366,7 +3349,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '气候类型', @@ -3374,7 +3357,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年均温度(摄氏度)', type: '1', @@ -3395,7 +3378,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年无霜期(天)', type: '1', @@ -3404,9 +3387,8 @@ from: 'name0' }, ] - } else if ( text == '陆地地形/重要陆地景观/沙漠' || text == '陆地地形/重要陆地景观/森林') { - this.newtextlist = [ - { + } else if (text == '陆地地形/重要陆地景观/沙漠' || text == '陆地地形/重要陆地景观/森林') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3426,7 +3408,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '气候类型', type: '1', @@ -3440,7 +3422,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年均温度(摄氏度)', type: '1', @@ -3461,7 +3443,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年无霜期(天)', type: '1', @@ -3470,9 +3452,8 @@ from: 'name0' }, ] - } else if ( text == '陆地地形/重要陆地景观/草原' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/重要陆地景观/草原') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3492,7 +3473,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '主要植被类型', type: '1', @@ -3520,7 +3501,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年无霜期(天)', type: '1', @@ -3529,9 +3510,8 @@ from: 'name0' }, ] - } else if ( text == '陆地地形/重要陆地景观/苔原' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/重要陆地景观/苔原') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3551,7 +3531,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '气候类型', type: '1', @@ -3586,7 +3566,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年无霜期(天)', type: '1', @@ -3595,9 +3575,8 @@ from: 'name0' }, ] - } else if ( text == '陆地地形/重要陆地景观/湿地(沼泽)' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/重要陆地景观/湿地(沼泽)') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3617,21 +3596,21 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '深度(米)', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '水源', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '气候类型', type: '1', @@ -3666,7 +3645,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年无霜期(天)', type: '1', @@ -3676,10 +3655,9 @@ }, ] } - - if ( text == '陆地地形/其他陆地地形/台地' ) { - this.newtextlist = [ - { + + if (text == '陆地地形/其他陆地地形/台地') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3699,7 +3677,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '海拔(米)', type: '1', @@ -3734,7 +3712,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '年无霜期(天)', type: '1', @@ -3743,9 +3721,8 @@ from: 'name0' }, ] - } else if ( text == '陆地地形/其他陆地地形/陆地地形/其他陆地地形/天生桥' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/其他陆地地形/陆地地形/其他陆地地形/天生桥') { + this.newtextlist = [{ name: '长度(千米)', type: '1', isbx: false, @@ -3758,7 +3735,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '高度(米)', type: '1', @@ -3774,9 +3751,8 @@ from: 'name0' }, ] - } else if ( text == '陆地地形/其他陆地地形/陆地地形/其他陆地地形/洞穴' ) { - this.newtextlist = [ - { + } else if (text == '陆地地形/其他陆地地形/陆地地形/其他陆地地形/洞穴') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3796,7 +3772,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '高度(米)', type: '1', @@ -3824,7 +3800,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '所在山峰', type: '1', @@ -3834,11 +3810,10 @@ }, ] } - - - if (text == '水利电力通信设施/运河' ) { - this.newtextlist = [ - { + + + if (text == '水利电力通信设施/运河') { + this.newtextlist = [{ name: '长度(千米)', type: '1', isbx: false, @@ -3865,18 +3840,17 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '建成时间', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, ] - } else if (text == '水利电力通信设施/井' ) { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/井') { + this.newtextlist = [{ name: '深度(米)', type: '1', isbx: false, @@ -3889,11 +3863,10 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] - } else if (text == '水利电力通信设施/通信设施/通信基站' ) { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/通信设施/通信基站') { + this.newtextlist = [{ name: '基站天线高度(米)', type: '1', isbx: false, @@ -3906,30 +3879,27 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '建成时间', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, ] } - - if (text == '水利电力通信设施/蓄水区/灌区' ) { - this.newtextlist = [ - { - name: '面积(平方千米)', - type: '1', - isbx: false, - cent: '', - from: 'name0' - }, - ] + + if (text == '水利电力通信设施/蓄水区/灌区') { + this.newtextlist = [{ + name: '面积(平方千米)', + type: '1', + isbx: false, + cent: '', + from: 'name0' + }, ] } else if (text == '水利电力通信设施/蓄水区/泄洪区' || text == '水利电力通信设施/蓄水区/蓄洪区') { - this.newtextlist = [ - { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3942,25 +3912,24 @@ isbx: true, cent: '', from: 'name0' - }, + }, { name: '蓄洪水位(米)', type: '1', isbx: true, cent: '', from: 'name0' - }, + }, { name: '主要水源', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, ] - } else if (text == '水利电力通信设施/蓄水区/水库') { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/蓄水区/水库') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -3973,14 +3942,14 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '宽度(千米)', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '平均水深(米)', type: '1', @@ -4008,11 +3977,10 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] - } else if (text == '水利电力通信设施/蓄水区/海塘' || text == '水利电力通信设施/蓄水区/池塘') { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/蓄水区/海塘' || text == '水利电力通信设施/蓄水区/池塘') { + this.newtextlist = [{ name: '面积(平方千米)', type: '1', isbx: true, @@ -4025,45 +3993,44 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '宽度(千米)', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '水深(米)', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, ] - }else if (text == '水利电力通信设施/排灌设施/涵洞' ) { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/排灌设施/涵洞') { + this.newtextlist = [{ name: '宽度(米)', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '高度(米)', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '所在位置', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '始建时间', type: '1', @@ -4077,17 +4044,16 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] - }else if (text == '水利电力通信设施/排灌设施/泵站') { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/排灌设施/泵站') { + this.newtextlist = [{ name: '所在线路', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '始建时间', type: '1', @@ -4101,17 +4067,16 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] - }else if (text == '水利电力通信设施/排灌设施/渡槽') { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/排灌设施/渡槽') { + this.newtextlist = [{ name: '长度(米)', type: '1', isbx: false, cent: '', from: 'name0' - }, + }, { name: '宽度(米)', type: '1', @@ -4132,11 +4097,10 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] - }else if (text == '水利电力通信设施/排灌设施/排水沟') { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/排灌设施/排水沟') { + this.newtextlist = [{ name: '起点', type: '1', isbx: false, @@ -4149,7 +4113,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '最大深度(米)', type: '1', @@ -4170,11 +4134,10 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] - }else if (text == '水利电力通信设施/排灌设施/灌溉渠') { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/排灌设施/灌溉渠') { + this.newtextlist = [{ name: '起点', type: '1', isbx: false, @@ -4187,7 +4150,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, { name: '平均流量(立方米/秒)', type: '1', @@ -4215,11 +4178,11 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] - }else if (text == '水利电力通信设施/堤堰/拦河坝' || text == '水利电力通信设施/堤堰/闸坝' || text == '水利电力通信设施/堤堰/湖堤' || text == '水利电力通信设施/堤堰/河堤' || text == '水利电力通信设施/堤堰/海堤') { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/堤堰/拦河坝' || text == '水利电力通信设施/堤堰/闸坝' || text == '水利电力通信设施/堤堰/湖堤' || text == + '水利电力通信设施/堤堰/河堤' || text == '水利电力通信设施/堤堰/海堤') { + this.newtextlist = [{ name: '所在位置', type: '1', isbx: true, @@ -4239,11 +4202,10 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] - }else if (text == '水利电力通信设施/电力设施/输变电站') { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/电力设施/输变电站') { + this.newtextlist = [{ name: '输入容量(千瓦)', type: '1', isbx: true, @@ -4270,11 +4232,12 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] - }else if (text == '水利电力通信设施/电力设施/发电站/太阳能发电站' || text == '水利电力通信设施/电力设施/发电站/核发电站' || text == '水利电力通信设施/电力设施/发电站/风力发电站' || text == '水利电力通信设施/电力设施/发电站/水力发电站' || text == '水利电力通信设施/电力设施/发电站/火力发电站') { - this.newtextlist = [ - { + } else if (text == '水利电力通信设施/电力设施/发电站/太阳能发电站' || text == '水利电力通信设施/电力设施/发电站/核发电站' || text == + '水利电力通信设施/电力设施/发电站/风力发电站' || text == '水利电力通信设施/电力设施/发电站/水力发电站' || text == '水利电力通信设施/电力设施/发电站/火力发电站' + ) { + this.newtextlist = [{ name: '类型', type: '1', isbx: true, @@ -4315,7 +4278,7 @@ isbx: false, cent: '', from: 'name0' - }, + }, ] } this.newtextlist.push({ diff --git a/pages/receiptRegistration/organization.vue b/pages/receiptRegistration/organization.vue index b553388..a87c757 100644 --- a/pages/receiptRegistration/organization.vue +++ b/pages/receiptRegistration/organization.vue @@ -18,7 +18,8 @@ 发生地点 + v-model="form.incidentLocation" placeholder="请输入完整地址信息" + style="text-align: right;" /> @@ -205,22 +206,25 @@ data() { return { form: { - reportTime: "", - reportPlatform: "", - incidentLocation: "", - childName: "", - sex: "", - age: "", - reportReason: "", - reportRecord: "", - reporterName: "", - relationshipWithChild: "", - phone: "", - reporterType: "", - reporterOrganizationName: "", - reporterOccupation: "", + reportTime: null, + reportPlatform: null, + incidentLocation: null, + childName: null, + sex: null, + age: null, + reportReason: null, + reportRecord: null, + reporterName: null, + relationshipWithChild: null, + phone: null, + reporterType: null, + reporterOrganizationName: null, + reporterOccupation: null, userId: uni.getStorageSync('USERS_KEY').userId, - reportPlatform: '' + reportPlatform: null, + filingAgencyName: null, + reportType: null, + }, pages: { roleName: '机构用户' @@ -284,6 +288,90 @@ second < 10 ? "0" + second : second); }, register() { + if (this.form.incidentLocation == null || this.form.incidentLocation.length == 0) { + uni.showToast({ + icon: 'none', + title: '请填写发生地点' + }) + return + } + if (this.form.childName == null || this.form.childName.length == 0) { + uni.showToast({ + icon: 'none', + title: '请填写儿童姓名' + }) + return + } + if (this.form.sex == null || this.form.sex.length == 0) { + uni.showToast({ + icon: 'none', + title: '请选择儿童性别' + }) + return + } + if (this.form.age == null || this.form.age.length == 0) { + uni.showToast({ + icon: 'none', + title: '请填写儿童年龄' + }) + return + } + if (this.form.reportReason == null || this.form.reportReason.length == 0) { + uni.showToast({ + icon: 'none', + title: '请填写报告原因' + }) + return + } + if (this.form.reportRecord == null || this.form.reportRecord.length == 0) { + uni.showToast({ + icon: 'none', + title: '请填写其他信息' + }) + return + } + if (this.form.filingAgencyName == null || this.form.filingAgencyName.length == 0) { + uni.showToast({ + icon: 'none', + title: '请选择所属机构' + }) + return + } + if (this.form.reportType == null || this.form.reportType.length == 0) { + uni.showToast({ + icon: 'none', + title: '请选择报告类型' + }) + return + } + if (this.form.reporterName == null || this.form.reporterName.length == 0) { + uni.showToast({ + icon: 'none', + title: '请填写报告人姓名' + }) + return + } + if (this.form.relationshipWithChild == null || this.form.relationshipWithChild.length == 0) { + uni.showToast({ + icon: 'none', + title: '请填写与儿童关系' + }) + return + } + if (this.form.phone == null || this.form.phone.length == 0) { + uni.showToast({ + icon: 'none', + title: '请填写电话' + }) + return + } + if (this.form.reporterType == null || this.form.reporterType.length == 0) { + uni.showToast({ + icon: 'none', + title: '请选择报告主体' + }) + return + } this.getTime(); this.form.filingType = '机构'; this.form.reportPlatform = this.form.filingAgencyName; diff --git a/pages/receiptRegistration/receiptRegistrationDetail.vue b/pages/receiptRegistration/receiptRegistrationDetail.vue index 191ffbd..9fe1a20 100644 --- a/pages/receiptRegistration/receiptRegistrationDetail.vue +++ b/pages/receiptRegistration/receiptRegistrationDetail.vue @@ -1,97 +1,102 @@ @@ -101,14 +106,13 @@ data() { return { // 接报信息 - message: {}, - // 报告主体内容 - content: '', - item: {} + message: {}, + // 报告主体内容 + content: '', + item: {} }; }, - computed: { - }, + computed: {}, onLoad(params) { this.item = JSON.parse(params.item); this.message = this.item.chiAdoptCaseRegistrationPo; @@ -133,6 +137,7 @@ .page { padding-bottom: 10rpx; } + .listBox { position: relative; z-index: 1; @@ -195,11 +200,12 @@ .width100 { width: 100% !important; } + .info-box-width1 { width: 100%; font-size: 30rpx; font-weight: bold; - + .info-box-overflow { width: 95%; display: -webkit-box; @@ -207,24 +213,24 @@ -webkit-line-clamp: 1; overflow: hidden; } - + .info-box-small { font-size: 26rpx; color: #a8a8a8; font-weight: 500; margin-bottom: 10rpx; } - + .info-box-list-img { margin-top: 30rpx; - + image { width: 180rpx; height: 180rpx; border-radius: 20rpx; } } - + .info-box-list-sm { background-color: #F7F7F7; border-radius: 20rpx; @@ -235,11 +241,12 @@ padding: 20rpx; margin-top: 20rpx; } - + .green { color: #00D970; } } + .info-box-width { width: 50%; font-size: 30rpx; @@ -368,6 +375,7 @@ } } } + .top-box { display: flex; justify-content: space-between; @@ -377,6 +385,7 @@ background-color: #fff; border-radius: 20rpx; padding: 30rpx; + .top-box-img { image { width: 40rpx; diff --git a/pages/receiptRegistration/receiptRegistrationList.vue b/pages/receiptRegistration/receiptRegistrationList.vue index 1d0d29b..5ee7cbc 100644 --- a/pages/receiptRegistration/receiptRegistrationList.vue +++ b/pages/receiptRegistration/receiptRegistrationList.vue @@ -1,8 +1,11 @@