12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-330bb04c"],{"088b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAwlJREFUWEfNmE1oE0EUx/9vt7GLKB5WJYIIVQ8qoiBYRUtBET30JhhaPBVNNlM09KJ48uBJ9FKiZLKJ0ovSEsGbB0UUpIofKCiiPRQKIhjUHESR1CH7ZMpG0tjapI1l5jpv3vzmvXkfM4QmRz6f76hUKkcAdAHYyswbAKwM1Xwnog8A3gMYs237bjwen2xmC2pEuFAo2KVS6RiAUwD2AWhoHQAG8ATAVdd1b8Viscp8+82rOJfLHapUKlcAbKlaAcAdAA8AvFZKTUaj0W96rlgsropEIh0AdgI4CKCnxnrjtm2fTiQS9/8FNSfQ8PCwUy6Xh4gowcxaboKILhLRiOd5P+c7qZ73fX85M/cx8zkAm4mImTnnOM5gf39/eTYdswKl0+k1kUhEW2E3gLJlWecBDHmepxoBqZfxfT8CYDAIggsAHAAvlFI9qVTqS73sX0AhzKPQRZ+Y+ejAwMDThYDUr8lkMnuJ6DaAdQDGlVLd9VAzgEI3aRhtmTfhKT62AqaqI51Orw+tv0NbynGc7lr3zQCSUmYBeAA+KaU6U6lUS2HqoJ6HlvKFEMnq3B8gHU1BENxj5ilmPtAqN81l3dB9D4mo3bKsw9XomwYK88xbfW8syzrred7lVrppLl2+758JguCSvk+u627XeWoaSErZC2BEh7ZlWdsWGk3NHkJHXxAE73RKANAnhBitAo0B2E9EJ5PJ5PVmFS9GPpvNnmDmawAeCyG6KJPJbCSiCQA/LMuKNpr0FgNRu1YnzyAIigBWtLW1baJsNptkZglgVAjR16qNmtEjpdTXpZeIhAa6wczHASSEEPlmFLVKVkoZB5Ajopsa6CUz7wKwRwihc8OSDyllJ4BnRPSKpJS6nqxWSq2drbYsBV1Yrj4D+KqBdNVtd123PRaL/VoKgPo9CoXCslKpNAVgykggs1xm3KU2MezNSozGlY6w2ptTXI1sP4xr0LSVjGphq6ncqCZfQxn3DNJQRj0Ua95N5jylq1BGfTbU9ivGfMfUQhn1YVXf3enap5++/+tL7zfuJypjTGintwAAAABJRU5ErkJggg=="},"0cd8":function(t,e,r){"use strict";var A=r("5ca1"),i=r("7b23");A(A.P+A.F*!r("2f21")([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},4750:function(t,e,r){},"5db9":function(t,e,r){"use strict";r.r(e);var A=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrap"},[e("div",{staticClass:"header"},[e("img",{staticClass:"return-img",attrs:{src:r("f5a4")},on:{click:function(e){return t.$router.back()}}}),e("p",{staticClass:"header-title"},[t._v("举报")])]),e("ul",{staticClass:"choose-list"},[t._l(t.reportCase,(function(A,i){return e("li",{key:i},[e("p",{staticClass:"choose-title"},[t._v(t._s(A.title))]),e("ul",{staticClass:"sub-list"},t._l(A.children,(function(A,s){return e("li",{key:s,on:{click:function(e){return t.checkReportCase(i,s)}}},[A.checked?e("img",{staticClass:"circle-img",attrs:{src:r("7bcf")}}):e("img",{staticClass:"circle-img",attrs:{src:r("088b")}}),t._v("\n "+t._s(A.title)+"\n\t\t\t\t\t")])})),0)])})),0===t.reportCase.length?e("div",{staticClass:"normal-box"},[e("img",{attrs:{src:r("e18b")}}),t._v("\n\t\t\t\t暂无数据\n\t\t\t")]):t._e()],2),e("div",{staticClass:"footer"},[e("button",{staticClass:"active",attrs:{type:"button"},on:{click:function(e){return t.userReport()}}},[t._v("提交")])])])},i=[],s=r("2909"),a=(r("0cd8"),r("a481"),r("f523")),c=r("d399"),n={components:{},data:function(){return{reportCase:[],params:{report_id:0,case_ids:""}}},mounted:function(){var t=this.$route.query;this.params.report_id=parseInt(t.id||0),this.getReportCase()},methods:{userReport:function(){var t=this;return this.params.report_id<=0?Object(c["a"])("选择举报内容"):0===this.params.case_ids.length?Object(c["a"])("选择举报类目"):void a["k"].forumReport(this.params).then((function(){t.$router.replace("/report-result")}))},getReportCase:function(){var t=this;return a["s"].getReportCase().then((function(e){var r=e.data;t.reportCase=r.list}))},checkReportCase:function(t,e){var r=this.reportCase[t].children[e];this.$set(r,"checked",!r.checked),this.params.case_ids=this.reportCase.reduce((function(t,e){return t=[].concat(Object(s["a"])(t),Object(s["a"])(e.children.reduce((function(t,e){return e.checked&&t.push(e.id),t}),[]))),t}),[]).join(",")}}},o=n,h=(r("72b1"),r("2877")),p=Object(h["a"])(o,A,i,!1,null,"7e5b1c91",null);e["default"]=p.exports},"72b1":function(t,e,r){"use strict";r("4750")},"7b23":function(t,e,r){var A=r("d8e8"),i=r("4bf8"),s=r("626a"),a=r("9def");t.exports=function(t,e,r,c,n){A(e);var o=i(t),h=s(o),p=a(o.length),g=n?p-1:0,u=n?-1:1;if(r<2)for(;;){if(g in h){c=h[g],g+=u;break}if(g+=u,n?g<0:p<=g)throw TypeError("Reduce of empty array with no initial value")}for(;n?g>=0:p>g;g+=u)g in h&&(c=e(c,h[g],g,o));return c}},"7bcf":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA0tJREFUWEfNmEtoE0EYx//fpq+kLfVQr4JPLHgS9KClpCgbRa8FH3dtQcWDhaQIxYMmiIpYwcfZotKT2FK6PtCS9lLsQQQDWl94sj0opdmkTfaT2e22m1ezk00hc5z95vt+O99rZgiSQ72qb6eMEWJQJwgdxLyNQa1CDYEXmegXGJ8JHM9gRXsT2/JNxgS5Ee7pYd+/3XoPDFwA+JBp291ggKah4H7bF//IyAhlyy0rqzgU1o8yskMA7S2nbOPvnCD4Lk7E/K83kisJFBzkpobl1F2wcd4biHM1MYgeLzc0XX53jVLF9BYFOh5Z3Gqwb4zBB6oHs66JQDMKZU+MR1vn8/UXAAmYLHyTYPboojK/QpTwIduVD5UDJNzUmNYnN2tnCneDZtKN/i6n+3KA1Ij+sLox48LhpDzSov5eW3INyMom1gAum3kuzEi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RvmEL9pfBtQM4LeHGZ5Cv2ITDZXF1A2fgLOLDaLQv2IhjVXB1AmfhDMZkkM9YW+aD+NNL1DEH5+I0RmYBPmJ1WmKqJu/Xfa0C5+MEhmWKD2kpudiSLN3cCnARjmNIBnmHZbhaB66VDC7HEQzKIG/Tb+x6XbiqwDU4hAEZ5BUW43aduCrA9TiIqE4a7TliuO/VjSsLjA8hSqV8zj3BQjxsB64scDRiKPPs3UzZe9MJwDBEmbSz2/J0JyFLFaJFX6jKMrMdu7oh76ehflY0cNF+VYDx7K3Ygz5ZoCjnYz4+Lhq8SL+qwHj2ZuxD3yzQ04R8UCR4kT6tAOP5G3AA/bNgL9KcvFsE0KxPq8B4fhQFUesNzIK9Tgv3rWaAZtfrAEaM+P8exeAsYPz6luJaM8TfrtcFjBjxgUTxMDQL+D7hr1RF1gkMw7xUfg3PQFF+rcSFKsi6gWGYkwrYURkoNuwxV2NLUKq1AxiAmWkLEKcKjRZbgHUpw4WR7QIGIE4T4lSh+yZqAS4XFbYTGIY4VYg9cpwyNFrHHH00QJMTchLidGFVOkwqlMR2Z7CBGIHYJsTf5UYhWerUU8Aypt/69gIrp+5/GeKfiUBcKeCBb1YAAAAASUVORK5CYII="}}]);
- //# sourceMappingURL=chunk-330bb04c.9275b2ed.js.map
|