Commit fad22b61 authored by 黎博's avatar 黎博

提交代码

parent 43401ef1
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>QA测试平台</title><link rel="shortcut icon" href=/QA.png><link href=/static/css/app.3804c14083e2345202d2cd2d81fcfe7a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.1134eedaba434c4356cb.js></script><script type=text/javascript src=/static/js/app.7da8710a193a7ec6b4f2.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>QA测试平台</title><link rel="shortcut icon" href=/QA.png><link href=/static/css/app.f41bd8009244a7c9a99512e9c4b5b82c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.8705403673bf9eca112f.js></script><script type=text/javascript src=/static/js/app.f87257f7b04ece982d07.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="216"
height="144"
id="svg4136"
version="1.1"
inkscape:version="0.91 r"
sodipodi:docname="jsoneditor-icons.svg">
<title
id="title6512">JSON Editor Icons</title>
<metadata
id="metadata4148">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>JSON Editor Icons</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs4146" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1028"
id="namedview4144"
showgrid="true"
inkscape:zoom="4"
inkscape:cx="97.217248"
inkscape:cy="59.950227"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4136"
showguides="false"
borderlayer="false"
inkscape:showpageshadow="true"
showborder="true">
<inkscape:grid
type="xygrid"
id="grid4640"
empspacing="24" />
</sodipodi:namedview>
<!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
<g
id="g4394">
<rect
x="4"
y="4"
width="16"
height="16"
id="svg_1"
style="fill:#1aae1c;fill-opacity:1;stroke:none;stroke-width:0" />
<rect
style="fill:#ec3f29;fill-opacity:0.94117647;stroke:none;stroke-width:0"
x="28.000006"
y="3.999995"
width="16"
height="16"
id="svg_1-7" />
<rect
id="rect4165"
height="16"
width="16"
y="3.999995"
x="52.000004"
style="fill:#4c4c4c;fill-opacity:1;stroke:none;stroke-width:0" />
<rect
style="fill:#4c4c4c;fill-opacity:1;stroke:none;stroke-width:0"
x="172.00002"
y="3.9999852"
width="16"
height="16"
id="rect4175" />
<rect
style="fill:#4c4c4c;fill-opacity:1;stroke:none;stroke-width:0"
x="196"
y="3.999995"
width="16"
height="16"
id="rect4175-3" />
<g
style="stroke:none"
id="g4299">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0"
id="svg_1-1"
height="1.9999986"
width="9.9999924"
y="10.999998"
x="7.0000048" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0"
id="svg_1-1-1"
height="9.9999838"
width="1.9999955"
y="7.0000114"
x="11.000005" />
</g>
<g
style="stroke:none"
transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,19.029435,12.000001)"
id="g4299-3">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0"
id="svg_1-1-0"
height="1.9999986"
width="9.9999924"
y="10.999998"
x="7.0000048" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0"
id="svg_1-1-1-9"
height="9.9999838"
width="1.9999955"
y="7.0000114"
x="11.000005" />
</g>
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0"
x="55.000004"
y="7.0000048"
width="6.9999909"
height="6.9999905"
id="svg_1-7-5" />
<rect
id="rect4354"
height="6.9999905"
width="6.9999909"
y="10.00001"
x="58"
style="fill:#ffffff;fill-opacity:1;stroke:#4c4c4c;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#3c80df;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.94117647"
x="58.000004"
y="10.000005"
width="6.9999909"
height="6.9999905"
id="svg_1-7-5-7" />
<g
id="g4378">
<rect
id="svg_1-7-5-3"
height="1.9999965"
width="7.9999909"
y="10.999999"
x="198"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0"
x="198"
y="7.0000005"
width="11.999995"
height="1.9999946"
id="rect4374" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0"
x="198"
y="14.999996"
width="3.9999928"
height="1.9999995"
id="rect4376" />
</g>
<g
id="g4383"
transform="matrix(1,0,0,-1,-23.999995,23.999995)">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0"
x="198"
y="10.999999"
width="7.9999909"
height="1.9999965"
id="rect4385" />
<rect
id="rect4387"
height="1.9999946"
width="11.999995"
y="7.0000005"
x="198"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0" />
<rect
id="rect4389"
height="1.9999995"
width="3.9999928"
y="14.999996"
x="198"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0" />
</g>
<rect
y="3.9999199"
x="76"
height="16"
width="16"
id="rect3754-4"
style="fill:#4c4c4c;fill-opacity:1;stroke:none" />
<path
sodipodi:nodetypes="cccccccc"
inkscape:connector-curvature="0"
id="path4351"
d="m 85.10447,6.0157384 -0.0156,1.4063 c 3.02669,-0.2402 0.33008,3.6507996 2.48438,4.5780996 -2.18694,1.0938 0.49191,4.9069 -2.45313,4.5781 l -0.0156,1.4219 c 5.70828,0.559 1.03264,-5.1005 4.70313,-5.2656 l 0,-1.4063 c -3.61303,-0.027 1.11893,-5.7069996 -4.70313,-5.3124996 z"
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccccc"
inkscape:connector-curvature="0"
id="path4351-9"
d="m 82.78125,5.9984384 0.0156,1.4063 c -3.02668,-0.2402 -0.33007,3.6506996 -2.48437,4.5780996 2.18694,1.0938 -0.49192,4.9069 2.45312,4.5781 l 0.0156,1.4219 c -5.70827,0.559 -1.03263,-5.1004 -4.70312,-5.2656 l 0,-1.4063 c 3.61303,-0.027 -1.11894,-5.7070996 4.70312,-5.3124996 z"
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="3.9999199"
x="100"
height="16"
width="16"
id="rect3754-25"
style="fill:#4c4c4c;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path2987"
d="m 103.719,5.6719384 0,12.7187996 3.03125,0 0,-1.5313 -1.34375,0 0,-9.6249996 1.375,0 0,-1.5625 z"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path2987-1"
d="m 112.2185,5.6721984 0,12.7187996 -3.03125,0 0,-1.5313 1.34375,0 0,-9.6249996 -1.375,0 0,-1.5625 z"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
y="3.9999199"
x="124"
height="16"
width="16"
id="rect3754-73"
style="fill:#4c4c4c;fill-opacity:1;stroke:none" />
<path
sodipodi:nodetypes="ccccccccc"
inkscape:connector-curvature="0"
id="path3780"
d="m 126.2824,17.602938 1.78957,0 1.14143,-2.8641 5.65364,0 1.14856,2.8641 1.76565,0 -4.78687,-11.1610996 -1.91903,0 z"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path3782"
d="m 129.72704,13.478838 4.60852,0.01 -2.30426,-5.5497996 z"
style="fill:#4c4c4c;fill-opacity:1;stroke:none" />
<rect
y="3.9999199"
x="148"
height="16"
width="16"
id="rect3754-35"
style="fill:#4c4c4c;fill-opacity:1;stroke:none" />
<path
sodipodi:nodetypes="ccccccc"
inkscape:connector-curvature="0"
id="path5008-2"
d="m 156.47655,5.8917384 0,2.1797 0.46093,2.3983996 1.82813,0 0.39844,-2.3983996 0,-2.1797 z"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<path
sodipodi:nodetypes="ccccccc"
inkscape:connector-curvature="0"
id="path5008-2-8"
d="m 152.51561,5.8906384 0,2.1797 0.46094,2.3983996 1.82812,0 0.39844,-2.3983996 0,-2.1797 z"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
</g>
<rect
x="4"
y="27.999994"
width="16"
height="16"
id="rect4432"
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0" />
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0"
x="28.000006"
y="27.99999"
width="16"
height="16"
id="rect4434" />
<rect
id="rect4436"
height="16"
width="16"
y="27.99999"
x="52.000004"
style="fill:#d3d3d3;fill-opacity:1;stroke:#000000;stroke-width:0" />
<rect
style="fill:#d3d3d3;stroke:#000000;stroke-width:0"
x="172.00002"
y="27.999981"
width="16"
height="16"
id="rect4446" />
<rect
style="fill:#d3d3d3;stroke:#000000;stroke-width:0"
x="196"
y="27.99999"
width="16"
height="16"
id="rect4448" />
<g
id="g4466"
style="stroke:none"
transform="translate(0,23.999995)">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0"
id="rect4468"
height="1.9999986"
width="9.9999924"
y="10.999998"
x="7.0000048" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0"
id="rect4470"
height="9.9999838"
width="1.9999955"
y="7.0000114"
x="11.000005" />
</g>
<g
transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,19.029435,35.999996)"
id="g4472"
style="stroke:none">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0"
id="rect4474"
height="1.9999986"
width="9.9999924"
y="10.999998"
x="7.0000048" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0"
id="rect4476"
height="9.9999838"
width="1.9999955"
y="7.0000114"
x="11.000005" />
</g>
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0"
x="55.000004"
y="31"
width="6.9999909"
height="6.9999905"
id="rect4478" />
<rect
id="rect4480"
height="6.9999905"
width="6.9999909"
y="34.000008"
x="58"
style="fill:#ffffff;fill-opacity:1;stroke:#d3d3d3;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#d3d3d3;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none"
x="58.000004"
y="34.000004"
width="6.9999909"
height="6.9999905"
id="rect4482" />
<g
id="g4484"
transform="translate(0,23.999995)">
<rect
id="rect4486"
height="1.9999965"
width="7.9999909"
y="10.999999"
x="198"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0"
x="198"
y="7.0000005"
width="11.999995"
height="1.9999946"
id="rect4488" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0"
x="198"
y="14.999996"
width="3.9999928"
height="1.9999995"
id="rect4490" />
</g>
<g
id="g4492"
transform="matrix(1,0,0,-1,-23.999995,47.99999)">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0"
x="198"
y="10.999999"
width="7.9999909"
height="1.9999965"
id="rect4494" />
<rect
id="rect4496"
height="1.9999946"
width="11.999995"
y="7.0000005"
x="198"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0" />
<rect
id="rect4498"
height="1.9999995"
width="3.9999928"
y="14.999996"
x="198"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0" />
</g>
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none"
id="rect3754-8"
width="16"
height="16"
x="76"
y="27.99992" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 85.10448,30.015537 -0.0156,1.4063 c 3.02668,-0.2402 0.33007,3.6508 2.48438,4.5781 -2.18695,1.0938 0.49191,4.90688 -2.45313,4.57808 l -0.0156,1.4219 c 5.70827,0.559 1.03263,-5.10048 4.70313,-5.26558 l 0,-1.4063 c -3.61304,-0.027 1.11893,-5.707 -4.70313,-5.3125 z"
id="path4351-1"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 82.78126,29.998237 0.0156,1.4063 c -3.02668,-0.2402 -0.33008,3.6507 -2.48438,4.5781 2.18694,1.0938 -0.49191,4.90688 2.45313,4.57808 l 0.0156,1.4219 c -5.70828,0.559 -1.03264,-5.10038 -4.70313,-5.26558 l 0,-1.4063 c 3.61303,-0.027 -1.11893,-5.7071 4.70313,-5.3125 z"
id="path4351-9-5"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none"
id="rect3754-65"
width="16"
height="16"
x="100"
y="27.99992" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none"
d="m 103.719,29.671937 0,12.71878 3.03125,0 0,-1.5313 -1.34375,0 0,-9.62498 1.375,0 0,-1.5625 z"
id="path2987-8"
inkscape:connector-curvature="0" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none"
d="m 112.2185,29.671937 0,12.71878 -3.03125,0 0,-1.5313 1.34375,0 0,-9.62498 -1.375,0 0,-1.5625 z"
id="path2987-1-9"
inkscape:connector-curvature="0" />
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none"
id="rect3754-92"
width="16"
height="16"
x="124"
y="27.99992" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none"
d="m 126.2824,41.602917 1.78957,0 1.14143,-2.86408 5.65364,0 1.14856,2.86408 1.76565,0 -4.78687,-11.16108 -1.91902,0 z"
id="path3780-9"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccc" />
<path
style="fill:#d3d3d3;fill-opacity:1;stroke:none"
d="m 129.72704,37.478837 4.60852,0.01 -2.30426,-5.5498 z"
id="path3782-2"
inkscape:connector-curvature="0" />
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none"
id="rect3754-47"
width="16"
height="16"
x="148"
y="27.99992" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none"
d="m 156.47656,29.891737 0,2.1797 0.46093,2.3984 1.82813,0 0.39844,-2.3984 0,-2.1797 z"
id="path5008-2-1"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccc" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none"
d="m 152.51562,29.890637 0,2.1797 0.46094,2.3984 1.82812,0 0.39844,-2.3984 0,-2.1797 z"
id="path5008-2-8-8"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccc" />
<rect
id="svg_1-7-2"
height="1.9999961"
width="11.999996"
y="64"
x="54"
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0" />
<rect
id="svg_1-7-2-2"
height="2.9999905"
width="2.9999907"
y="52"
x="80.000008"
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0" />
<rect
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0"
x="85.000008"
y="52"
width="2.9999907"
height="2.9999905"
id="rect4561" />
<rect
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0"
x="80.000008"
y="58"
width="2.9999907"
height="2.9999905"
id="rect4563" />
<rect
id="rect4565"
height="2.9999905"
width="2.9999907"
y="58"
x="85.000008"
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0" />
<rect
id="rect4567"
height="2.9999905"
width="2.9999907"
y="64"
x="80.000008"
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0" />
<rect
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0"
x="85.000008"
y="64"
width="2.9999907"
height="2.9999905"
id="rect4569" />
<circle
style="opacity:1;fill:none;fill-opacity:1;stroke:#4c4c4c;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="path4571"
cx="110.06081"
cy="57.939209"
r="4.7438836" />
<rect
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0"
x="116.64566"
y="-31.79752"
width="4.229713"
height="6.4053884"
id="rect4563-2"
transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)" />
<path
style="fill:#4c4c4c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 125,56 138.77027,56.095 132,64 Z"
id="path4613"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0"
id="path4615"
d="M 149,64 162.77027,63.905 156,56 Z"
style="fill:#4c4c4c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0"
x="54"
y="53"
width="11.999996"
height="1.9999961"
id="rect4638" />
<rect
id="svg_1-7-2-24"
height="1.9999957"
width="12.99999"
y="-56"
x="53"
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0"
transform="matrix(0,1,-1,0,0,0)" />
<rect
transform="matrix(0,1,-1,0,0,0)"
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0"
x="53"
y="-66"
width="12.99999"
height="1.9999957"
id="rect4657" />
<rect
id="rect4659"
height="0.99999291"
width="11.999999"
y="57"
x="54"
style="fill:#4c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0" />
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1"
x="54"
y="88.000122"
width="11.999996"
height="1.9999961"
id="rect4661" />
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1"
x="80.000008"
y="76.000122"
width="2.9999907"
height="2.9999905"
id="rect4663" />
<rect
id="rect4665"
height="2.9999905"
width="2.9999907"
y="76.000122"
x="85.000008"
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1" />
<rect
id="rect4667"
height="2.9999905"
width="2.9999907"
y="82.000122"
x="80.000008"
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1" />
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1"
x="85.000008"
y="82.000122"
width="2.9999907"
height="2.9999905"
id="rect4669" />
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1"
x="80.000008"
y="88.000122"
width="2.9999907"
height="2.9999905"
id="rect4671" />
<rect
id="rect4673"
height="2.9999905"
width="2.9999907"
y="88.000122"
x="85.000008"
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1" />
<circle
r="4.7438836"
cy="81.939331"
cx="110.06081"
id="circle4675"
style="opacity:1;fill:none;fill-opacity:1;stroke:#d3d3d3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)"
id="rect4677"
height="6.4053884"
width="4.229713"
y="-14.826816"
x="133.6163"
style="fill:#d3d3d3;fill-opacity:1;stroke:#d3d3d3;stroke-width:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0"
id="path4679"
d="m 125,80.000005 13.77027,0.09499 L 132,87.999992 Z"
style="fill:#d3d3d3;fill-opacity:1;fill-rule:evenodd;stroke:#d3d3d3;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:#d3d3d3;fill-opacity:1;fill-rule:evenodd;stroke:#d3d3d3;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 149,88.0002 162.77027,87.9052 156,80.0002 Z"
id="path4681"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<rect
id="rect4683"
height="1.9999961"
width="11.999996"
y="77.000122"
x="54"
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1" />
<rect
transform="matrix(0,1,-1,0,0,0)"
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1"
x="77.000122"
y="-56"
width="12.99999"
height="1.9999957"
id="rect4685" />
<rect
id="rect4687"
height="1.9999957"
width="12.99999"
y="-66"
x="77.000122"
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1"
transform="matrix(0,1,-1,0,0,0)" />
<rect
style="fill:#d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1"
x="54"
y="81.000122"
width="11.999999"
height="0.99999291"
id="rect4689" />
<rect
id="rect4761-1"
height="1.9999945"
width="15.99999"
y="101"
x="76.000008"
style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" />
<rect
id="rect4761-0"
height="1.9999945"
width="15.99999"
y="105"
x="76.000008"
style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" />
<rect
id="rect4761-7"
height="1.9999945"
width="9"
y="109"
x="76.000008"
style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" />
<rect
id="rect4761-1-1"
height="1.9999945"
width="12"
y="125"
x="76.000008"
style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" />
<rect
id="rect4761-1-1-4"
height="1.9999945"
width="10"
y="137"
x="76.000008"
style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" />
<rect
id="rect4761-1-1-4-4"
height="1.9999945"
width="10"
y="129"
x="82"
style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" />
<rect
id="rect4761-1-1-4-4-3"
height="1.9999945"
width="9"
y="133"
x="82"
style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" />
<path
inkscape:connector-curvature="0"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.8;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.66157866;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 36.398438,100.0254 c -0.423362,-0.013 -0.846847,0.01 -1.265626,0.062 -1.656562,0.2196 -3.244567,0.9739 -4.507812,2.2266 L 29,100.5991 l -2.324219,7.7129 7.826172,-1.9062 -1.804687,-1.9063 c 1.597702,-1.5308 4.048706,-1.8453 5.984375,-0.7207 1.971162,1.1452 2.881954,3.3975 2.308593,5.5508 -0.573361,2.1533 -2.533865,3.6953 -4.830078,3.6953 l 0,3.0742 c 3.550756,0 6.710442,-2.4113 7.650391,-5.9414 0.939949,-3.5301 -0.618463,-7.2736 -3.710938,-9.0703 -1.159678,-0.6738 -2.431087,-1.0231 -3.701171,-1.0625 z"
id="path4138" />
<path
inkscape:connector-curvature="0"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.8;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.66157866;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 59.722656,99.9629 c -1.270084,0.039 -2.541493,0.3887 -3.701172,1.0625 -3.092475,1.7967 -4.650886,5.5402 -3.710937,9.0703 0.939949,3.5301 4.09768,5.9414 7.648437,5.9414 l 0,-3.0742 c -2.296214,0 -4.256717,-1.542 -4.830078,-3.6953 -0.573361,-2.1533 0.337432,-4.4056 2.308594,-5.5508 1.935731,-1.1246 4.38863,-0.8102 5.986326,0.7207 l -1.806638,1.9063 7.828128,1.9062 -2.32422,-7.7129 -1.62696,1.7168 c -1.26338,-1.2531 -2.848917,-2.0088 -4.505855,-2.2285 -0.418778,-0.055 -0.842263,-0.076 -1.265625,-0.062 z"
id="path4138-1" />
<path
inkscape:connector-curvature="0"
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.966;stroke-miterlimit:4;stroke-dasharray:none"
d="m 10.5,100 0,2 -2.4999996,0 L 12,107 l 4,-5 -2.5,0 0,-2 -3,0 z"
id="path3055-0-77" />
<path
style="opacity:0.8;fill:none;stroke:#ffffff;stroke-width:1.966;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 4.9850574,108.015 14.0298856,-0.03"
id="path5244-5-0-5"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="opacity:0.8;fill:none;stroke:#ffffff;stroke-width:1.966;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 4.9849874,132.015 14.0298866,-0.03"
id="path5244-5-0-5-8"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
inkscape:connector-curvature="0"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.4;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#4d4d4d;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.66157866;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 36.398438,123.9629 c -0.423362,-0.013 -0.846847,0.01 -1.265626,0.062 -1.656562,0.2196 -3.244567,0.9739 -4.507812,2.2266 L 29,124.5366 l -2.324219,7.7129 7.826172,-1.9062 -1.804687,-1.9063 c 1.597702,-1.5308 4.048706,-1.8453 5.984375,-0.7207 1.971162,1.1453 2.881954,3.3975 2.308593,5.5508 -0.573361,2.1533 -2.533864,3.6953 -4.830078,3.6953 l 0,3.0742 c 3.550757,0 6.710442,-2.4093 7.650391,-5.9394 0.939949,-3.5301 -0.618463,-7.2756 -3.710938,-9.0723 -1.159678,-0.6737 -2.431087,-1.0231 -3.701171,-1.0625 z"
id="path4138-12" />
<path
inkscape:connector-curvature="0"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.4;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#4d4d4d;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.66157866;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 59.722656,123.9629 c -1.270084,0.039 -2.541493,0.3888 -3.701172,1.0625 -3.092475,1.7967 -4.650886,5.5422 -3.710937,9.0723 0.939949,3.5301 4.09768,5.9394 7.648437,5.9394 l 0,-3.0742 c -2.296214,0 -4.256717,-1.542 -4.830078,-3.6953 -0.573361,-2.1533 0.337432,-4.4055 2.308594,-5.5508 1.935731,-1.1246 4.38863,-0.8102 5.986326,0.7207 l -1.806638,1.9063 7.828128,1.9062 -2.32422,-7.7129 -1.62696,1.7168 c -1.26338,-1.2531 -2.848917,-2.0088 -4.505855,-2.2285 -0.418778,-0.055 -0.842263,-0.076 -1.265625,-0.062 z"
id="path4138-1-3" />
<path
id="path6191"
d="m 10.5,116 0,-2 -2.4999996,0 L 12,109 l 4,5 -2.5,0 0,2 -3,0 z"
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.966;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.966;stroke-miterlimit:4;stroke-dasharray:none"
d="m 10.5,129 0,-2 -2.4999996,0 L 12,122 l 4,5 -2.5,0 0,2 -3,0 z"
id="path6193" />
<path
id="path6195"
d="m 10.5,135 0,2 -2.4999996,0 L 12,142 l 4,-5 -2.5,0 0,-2 -3,0 z"
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.966;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0" />
<path
sodipodi:type="star"
style="fill:#4d4d4d;fill-opacity:0.90196078;stroke:#d3d3d3;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="path4500"
sodipodi:sides="3"
sodipodi:cx="11.55581"
sodipodi:cy="60.073242"
sodipodi:r1="5.1116104"
sodipodi:r2="2.5558052"
sodipodi:arg1="0"
sodipodi:arg2="1.0471976"
inkscape:flatsided="false"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 16.66742,60.073242 -3.833708,2.213392 -3.8337072,2.213393 0,-4.426785 0,-4.426784 3.8337082,2.213392 z"
inkscape:transform-center-x="-1.2779026" />
<path
inkscape:transform-center-x="1.277902"
d="m -31.500004,60.073242 -3.833708,2.213392 -3.833707,2.213393 0,-4.426785 0,-4.426784 3.833707,2.213392 z"
inkscape:randomized="0"
inkscape:rounded="0"
inkscape:flatsided="false"
sodipodi:arg2="1.0471976"
sodipodi:arg1="0"
sodipodi:r2="2.5558052"
sodipodi:r1="5.1116104"
sodipodi:cy="60.073242"
sodipodi:cx="-36.611614"
sodipodi:sides="3"
id="path4502"
style="fill:#4d4d4d;fill-opacity:0.90196078;stroke:#d3d3d3;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
sodipodi:type="star"
transform="scale(-1,1)" />
<path
d="m 16.66742,60.073212 -3.833708,2.213392 -3.8337072,2.213392 0,-4.426784 0,-4.426785 3.8337082,2.213392 z"
inkscape:randomized="0"
inkscape:rounded="0"
inkscape:flatsided="false"
sodipodi:arg2="1.0471976"
sodipodi:arg1="0"
sodipodi:r2="2.5558052"
sodipodi:r1="5.1116104"
sodipodi:cy="60.073212"
sodipodi:cx="11.55581"
sodipodi:sides="3"
id="path4504"
style="fill:#4d4d4d;fill-opacity:0.90196078;stroke:#d3d3d3;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
sodipodi:type="star"
transform="matrix(0,1,-1,0,72.0074,71.7877)"
inkscape:transform-center-y="1.2779029" />
<path
inkscape:transform-center-y="-1.2779026"
transform="matrix(0,-1,-1,0,96,96)"
sodipodi:type="star"
style="fill:#4d4d4d;fill-opacity:0.90196078;stroke:#d3d3d3;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="path4506"
sodipodi:sides="3"
sodipodi:cx="11.55581"
sodipodi:cy="60.073212"
sodipodi:r1="5.1116104"
sodipodi:r2="2.5558052"
sodipodi:arg1="0"
sodipodi:arg2="1.0471976"
inkscape:flatsided="false"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 16.66742,60.073212 -3.833708,2.213392 -3.8337072,2.213392 0,-4.426784 0,-4.426785 3.8337082,2.213392 z" />
<path
sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0"
id="path4615-5"
d="m 171.82574,65.174193 16.34854,0 -8.17427,-13.348454 z"
style="fill:#fbb917;fill-opacity:1;fill-rule:evenodd;stroke:#fbb917;stroke-width:1.65161395;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 179,55 0,6 2,0 0,-6"
id="path4300"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 179,62 0,2 2,0 0,-2"
id="path4300-6"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
</svg>
webpackJsonp([1],{"/VtZ":function(e,t){},"2b9c":function(e,t){},"2xTR":function(e,t){},CxV6:function(e,t){},F0KO:function(e,t){},Ipgj:function(e,t){},J373:function(e,t){},KItN:function(e,t,a){e.exports=a.p+"static/img/logo.eaaed2e.png"},KXPB:function(e,t,a){e.exports=a.p+"static/img/qa.b80bda4.jpg"},MVJg:function(e,t){},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("7+uW"),l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},staticRenderFns:[]};var s=a("VU/8")({name:"App"},l,!1,function(e){a("gqJV")},null,null).exports,o=(a("J373"),a("/ocq")),r={data:function(){return{namespace:"",nsOptions:[{label:"dev1",value:"dev1"},{label:"pre",value:"pre"},{label:"qa",value:"qa"},{label:"qa2",value:"qa2"},{label:"qa3",value:"qa3"},{label:"test1",value:"test1"},{label:"xjfq",value:"xjfq"},{label:"xyqb",value:"xyqb"},{label:"vcc",value:"vcc"},{label:"vcc2",value:"vcc2"},{label:"vcc3",value:"vcc3"}]}},methods:{handleSelectChange:function(){window.sessionStorage.setItem("env",this.namespace)},login:function(){if(""===this.namespace)return this.$message.error("请先选择环境");this.$router.push("/main")}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main"},[a("div",{staticClass:"container"},[a("h3",{staticClass:"title"},[e._v("测试平台")]),e._v(" "),a("el-select",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{placeholder:"请选择环境"},on:{change:e.handleSelectChange},model:{value:e.namespace,callback:function(t){e.namespace=t},expression:"namespace"}},e._l(e.nsOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-button",{staticStyle:{width:"100%","margin-top":"40px"},attrs:{type:"primary"},on:{click:e.login}},[e._v("登录")])],1)])},staticRenderFns:[]};var c=a("VU/8")(r,i,!1,function(e){a("/VtZ")},"data-v-51e49343",null).exports,u={data:function(){return{loginForm:{username:"",password:""},loginFormRules:{}}},methods:{resetForm:function(){this.$refs.loginFormRef.resetFields()},login:function(){var e=this;this.$refs.loginFormRef.validate(function(t){if(!t)return!1;e.$axios.post("login",e.loginForm).then(function(t){200===t.data.meta.status?(e.$message.success("登录成功"),window.sessionStorage.setItem("token",t.data.data.token),e.$router.push("/home")):e.$message.error("登录失败")}).catch(function(e){console.log(e)})})}}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"login_container"},[a("div",{staticClass:"login_box"},[e._m(0),e._v(" "),a("el-form",{ref:"loginFormRef",staticClass:"login_form",attrs:{model:e.loginForm,rules:e.loginFormRules,"label-width":"0px"}},[a("el-form-item",{attrs:{prop:"username"}},[a("el-input",{attrs:{placeholder:"请输入用户名","prefix-icon":"el-icon-user"},model:{value:e.loginForm.username,callback:function(t){e.$set(e.loginForm,"username",t)},expression:"loginForm.username"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"password"}},[a("el-input",{attrs:{placeholder:"请输入密码",type:"password","prefix-icon":"el-icon-lock"},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}})],1),e._v(" "),a("el-form-item",{staticClass:"btns"},[a("el-button",{attrs:{type:"primary"},on:{click:e.login}},[e._v("登录")]),e._v(" "),a("el-button",{attrs:{type:"info"},on:{click:e.resetForm}},[e._v("重置")])],1)],1)],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"avatar_box"},[t("img",{attrs:{src:a("KXPB")}})])}]};var p=a("VU/8")(u,d,!1,function(e){a("2xTR")},"data-v-5a0719e6",null).exports,m={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("h2",[this._v("欢迎来到测试平台!")])])}]};var h=a("VU/8")({},m,!1,function(e){a("uRBg")},"data-v-1bc80410",null).exports,v={data:function(){return{activePath:"",selectNamespace:"",env:window.sessionStorage.getItem("env")}},methods:{logout:function(){window.sessionStorage.clear(),this.$router.push("/")},saveNavState:function(e){this.activePath=e,window.sessionStorage.setItem("activePath",e)}},created:function(){null===window.sessionStorage.getItem("env")&&this.$router.push("/"),this.activePath=window.sessionStorage.getItem("activePath")}},g={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",{staticClass:"home"},[n("el-header",[n("div",[n("img",{attrs:{src:a("KItN"),alt:""}}),e._v(" "),n("span",[e._v("测试平台")])]),e._v(" "),n("el-tag",{attrs:{type:"info",effect:"dark"}},[e._v("当前环境:"+e._s(e.env))]),e._v(" "),n("el-button",{attrs:{type:"info"},on:{click:e.logout}},[e._v("退出")])],1),e._v(" "),n("el-container",[n("el-aside",{attrs:{width:"200px"}},[n("el-menu",{attrs:{"default-active":e.activePath,"background-color":"#525e70","text-color":"#fff","active-text-color":"#ffd04b",router:""}},[n("el-submenu",{attrs:{index:2}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-money"}),e._v(" "),n("span",[e._v("现金分期")])]),e._v(" "),n("el-menu-item",{attrs:{index:"/xyqb/getLoanData"},on:{click:function(t){return e.saveNavState("/xyqb/getLoanData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-watermelon"}),e._v(" "),n("span",[e._v("捞数据")])])],2),e._v(" "),n("el-menu-item",{attrs:{index:"/xyqb/genLoanData"},on:{click:function(t){return e.saveNavState("/xyqb/genLoanData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-cherry"}),e._v(" "),n("span",[e._v("造数据")])])],2)],2),e._v(" "),n("el-submenu",{attrs:{index:3}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-s-shop"}),e._v(" "),n("span",[e._v("消费分期")])]),e._v(" "),n("el-menu-item",{attrs:{index:"/vcc/checkData"},on:{click:function(t){return e.saveNavState("/vcc/checkData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-pear"}),e._v(" "),n("span",[e._v("查数据")])])],2),e._v(" "),n("el-menu-item",{attrs:{index:"/vcc/getData"},on:{click:function(t){return e.saveNavState("/vcc/getData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-grape"}),e._v(" "),n("span",[e._v("捞数据")])])],2),e._v(" "),n("el-menu-item",{attrs:{index:"/vcc/genData"},on:{click:function(t){return e.saveNavState("/vcc/genData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-apple"}),e._v(" "),n("span",[e._v("造数据")])])],2)],2)],1)],1),e._v(" "),n("el-main",[n("router-view")],1)],1)],1)},staticRenderFns:[]};var b=a("VU/8")(v,g,!1,function(e){a("Ipgj")},"data-v-5fd31d80",null).exports,f={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t("el-breadcrumb-item",[this._v("自动化测试")]),this._v(" "),t("el-breadcrumb-item",[this._v("项目管理")])],1),this._v(" "),t("el-card",[this._v("项目管理")])],1)},staticRenderFns:[]};var _=a("VU/8")({},f,!1,function(e){a("zBxi")},"data-v-b09fcdd6",null).exports,y={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t("el-breadcrumb-item",[this._v("自动化测试")]),this._v(" "),t("el-breadcrumb-item",[this._v("接口管理")])],1),this._v(" "),t("el-card",[this._v("接口管理")])],1)},staticRenderFns:[]};var x=a("VU/8")({},y,!1,function(e){a("F0KO")},"data-v-7f903df4",null).exports,w={data:function(){return{activeNames:["1","2"],testcaseName:"123",totalCaseNum:100,passedCaseNum:50,failedCaseNum:50,jumpCaseNum:0,startTime:"xxx",elapsedTime:123,resultOption:{tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:["成功","失败","跳过"]},series:[{name:"用例数",type:"pie",radius:"55%",center:["50%","50%"],data:[{value:100,name:"成功"},{value:20,name:"失败"},{value:0,name:"跳过"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}},itemStyle:{normal:{color:function(e){return["#1CB395","#EE5968","#F9B264"][e.dataIndex]}}}}]}}},mounted:function(){this.setResultChart()},methods:{handleCollapseChange:function(e){console.log(e)},setResultChart:function(){this.$echarts.init(document.querySelector(".panel .chart")).setOption(this.resultOption)}}},C={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"report"},[e._m(0),e._v(" "),a("el-card",[a("el-collapse",{on:{change:e.handleCollapseChange},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[a("el-collapse-item",{attrs:{title:"报告汇总",name:"1"}},[a("div",{staticClass:"total"},[a("div",{staticClass:"panel"},[a("div",{staticClass:"data"},[a("p",{staticStyle:{color:"#1CB395","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例名称:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.testcaseName,callback:function(t){e.testcaseName=t},expression:"testcaseName"}})],1),e._v(" "),a("p",{staticStyle:{color:"#1CB395","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例总数:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.totalCaseNum,callback:function(t){e.totalCaseNum=t},expression:"totalCaseNum"}})],1),e._v(" "),a("p",{staticStyle:{color:"#1CB395","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例通过:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.passedCaseNum,callback:function(t){e.passedCaseNum=t},expression:"passedCaseNum"}})],1),e._v(" "),a("p",{staticStyle:{color:"#EE5968","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例失败:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.failedCaseNum,callback:function(t){e.failedCaseNum=t},expression:"failedCaseNum"}})],1),e._v(" "),a("p",{staticStyle:{color:"#F9B264","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例跳过:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.jumpCaseNum,callback:function(t){e.jumpCaseNum=t},expression:"jumpCaseNum"}})],1),e._v(" "),a("p",{staticStyle:{color:"#1CB395","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 开始时间:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.startTime,callback:function(t){e.startTime=t},expression:"startTime"}})],1),e._v(" "),a("p",{staticStyle:{color:"#1CB395","font-weight":"bold"}},[e._v("\n 运行时长:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.elapsedTime,callback:function(t){e.elapsedTime=t},expression:"elapsedTime"}})],1)])]),e._v(" "),a("div",{staticClass:"panel"},[a("div",{staticClass:"chart"})])])]),e._v(" "),a("el-collapse-item",{attrs:{title:"详细数据",name:"2"}},[a("div",{staticClass:"body"},[a("div",{staticClass:"detail"},[a("div",{staticClass:"filter"},[a("p",[e._v("\n 接口地址: \n "),a("el-select",{staticStyle:{width:"300px"},attrs:{clearable:"",placeholder:"请选择",size:"medium"},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("p",[e._v("\n 结果: \n "),a("el-select",{attrs:{clearable:"",placeholder:"请选择",size:"medium"},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1)]),e._v(" "),a("div",{staticClass:"num"},[a("p",{staticStyle:{color:"#1CB395"}},[e._v("用例数: 10000 | ")]),e._v(" "),a("p",{staticStyle:{color:"#1CB395"}},[e._v("成功: 0 | ")]),e._v(" "),a("p",{staticStyle:{color:"#1CB395"}},[e._v("失败: 0 | ")]),e._v(" "),a("p",{staticStyle:{color:"#1CB395"}},[e._v("跳过: 0  ")])])])]),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:""}},[a("el-table-column",{attrs:{type:"index",label:"编号",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"date",label:"请求地址",width:"180"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"响应结果",width:"180"}}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"用例描述"}}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"耗时"}}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"结果"}}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"操作"}})],1),e._v(" "),a("el-pagination",{attrs:{"current-page":e.currentPage4,"page-sizes":[100,200,300,400],"page-size":100,layout:"total, sizes, prev, pager, next, jumper",total:400},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)],1)],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"reportheader"},[t("h2",[this._v("测试报告")])])}]};var D=a("VU/8")(w,C,!1,function(e){a("PS1V")},"data-v-25d82976",null).exports;var k=a("//Fk"),S=a.n(k),N=a("mtWM"),B=a.n(N),I=B.a.create({baseURL:"//qa-platform-pre.liangkebang.net/",timeout:5e5});I.interceptors.request.use(),I.interceptors.response.use(function(e){return e},function(e){return console.log("error"+e),S.a.reject(e)});var $=I;var q=B.a.create({baseURL:"//testdata.liangkebang.com",timeout:5e3});q.interceptors.request.use(),q.interceptors.response.use(function(e){return e},function(e){return console.log("err"+e),S.a.reject(e)});var F=q;var T={data:function(){return{activeCollapse:["1"],namespaceOptions:[],statusOptions:[{label:"审核通过",value:0},{label:"审核拒绝",value:1},{label:"放款中",value:2},{label:"放款成功",value:3},{label:"放款失败",value:4}],fundList:[],channelList:[],selectNamespace:"",expectNum:"1",dataTableList:[],genDataBody:{namespace:window.sessionStorage.getItem("env"),status:"",phoneNo:"",name:"",idCardNo:"",channel:"",fundId:"",term:6,amount:1e4,bankCardNo:"",bankName:"",bankCode:"",fixedBillDay:"2",fixedRepayDay:"12",rate:"31.86",symbol:""},loopStatus:"",timer:"",websock:null,genLog:""}},methods:{getUserBasicInfo:function(){var e,t=this;(e={count:1},F({url:"/testdata/getAll",method:"get",params:e})).then(function(e){var a=e.data.data[0];t.genDataBody.name=a.name,t.genDataBody.idCardNo=a.IDCardNo,t.genDataBody.bankCardNo=a.bankNo,t.genDataBody.phoneNo=a.mobile,t.genDataBody.bankName=a.bankType.split(" ")[0],t.genDataBody.bankCode=a.bankType.split(" ")[1]}).catch(function(e){return console.log(e)})},reGenBankCardData:function(){this.getUserBasicInfo()},getSupportChannelAndFund:function(){var e=this;$({url:"/gen/supportChannelAndFund",method:"get"}).then(function(t){e.channelList=t.data.data.channelList,e.fundList=t.data.data.fundList})},genData:function(){var e,t=this;return""===this.genDataBody.status?this.$message.error("借款状态不能为空!"):""===this.genDataBody.channel?this.$message.error("渠道不能为空!"):""===this.genDataBody.fundId?this.$message.error("资方不能为空!"):""===this.genDataBody.phoneNo?this.$message.error("手机号不能为空!"):(this.genDataBody.symbol=function(){for(var e=[],t=0;t<36;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]="0123456789abcdef".substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}(),(e=this.genDataBody,$({url:"/gen/data",method:"post",data:e})).then(function(e){return!1===e.data.data?(t.loopStatus=t.genDataBody.status,t.queryGenProgress(t.genDataBody.phoneNo),t.$message.error("数据生成失败!")):(t.loopStatus=t.genDataBody.status,t.queryGenProgress(t.genDataBody.phoneNo),t.$message.success("数据生成成功!"))}).catch(function(e){return console.log(e),t.$message.error("数据接口返回失败!")}),this.$message.success("开始造数据!"),this.initWebSocket(),void(this.timer=setInterval(this.queryGenProgress,1e4,this.genDataBody.phoneNo)))},handleChannelChange:function(){var e,t=this;""!==this.genDataBody.channel&&(e={channel:this.genDataBody.channel},$({url:"/gen/channelMappedFund",method:"get",params:e})).then(function(e){t.fundList=e.data.data})},haneleFundChange:function(){var e,t=this;""!==this.genDataBody.fundId&&(e={fundId:this.genDataBody.fundId},$({url:"/gen/fundMappedChannel",method:"get",params:e})).then(function(e){t.channelList=e.data.data})},handleClear:function(){this.getSupportChannelAndFund()},queryGenProgress:function(e){var t,a=this;(t={namespace:window.sessionStorage.getItem("env"),phoneNo:e},$({url:"/gen/userStatus",method:"get",params:t})).then(function(e){a.loopStatus=e.data.data.status;var t=0;a.dataTableList.forEach(function(a){a.phoneNo===e.data.data.phoneNo&&(a.desc=e.data.data.desc,a.fundId=e.data.data.fundId,t=1)}),1!==t&&a.dataTableList.push(e.data.data)}).catch(function(e){console.log(e),clearInterval(a.timer)})},retryToGen:function(e){},initWebSocket:function(){var e="wss://qa-platform-pre.liangkebang.net//websocket/"+this.genDataBody.symbol;this.websock=new WebSocket(e),this.websock.onopen=this.websocketonopen,this.websock.onerror=this.websocketonerror,this.websock.onmessage=this.websocketonmessage,this.websock.onclose=this.websocketclose},websocketonopen:function(){console.log("WebSocket连接成功")},websocketonerror:function(e){console.log("WebSocket连接发生错误")},websocketonmessage:function(e){this.genLog+=e.data,this.genLog+="\n";var t=document.getElementById("textarea");t.scrollHeight&&(t.scrollTop=t.scrollHeight)},websocketsend:function(e){this.websock.send(e)},websocketclose:function(e){console.log("connection closed ("+e.code+")")}},mounted:function(){this.getSupportChannelAndFund(),this.getUserBasicInfo()},computed:{statusData:function(){return this.loopStatus}},watch:{statusData:function(e){var t=this;e===this.genDataBody.status&&clearInterval(this.timer),this.$once("hook:beforeDestory",function(){clearInterval(t.timer)})}}},P={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("现金分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("生成新数据")])],1),e._v(" "),a("el-card",[a("div",{staticClass:"filter"},[e._v("\n 借款状态:\n "),a("el-select",{attrs:{placeholder:"请选择类型"},on:{change:e.handleChannelChange},model:{value:e.genDataBody.status,callback:function(t){e.$set(e.genDataBody,"status",t)},expression:"genDataBody.status"}},e._l(e.statusOptions,function(e){return a("el-option",{key:e.label,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),e._v("\n 渠道:\n "),a("el-select",{attrs:{clearable:"",placeholder:"请选择渠道"},on:{change:e.handleChannelChange,clear:e.handleClear},model:{value:e.genDataBody.channel,callback:function(t){e.$set(e.genDataBody,"channel",t)},expression:"genDataBody.channel"}},e._l(e.channelList,function(e){return a("el-option",{key:e.channelId,attrs:{label:e.name,value:e.channelId}})}),1),e._v(" "),e._v("\n 资方:\n "),a("el-select",{attrs:{clearable:"",placeholder:"请选择资方"},on:{change:e.haneleFundChange,clear:e.handleClear},model:{value:e.genDataBody.fundId,callback:function(t){e.$set(e.genDataBody,"fundId",t)},expression:"genDataBody.fundId"}},e._l(e.fundList,function(e){return a("el-option",{key:e.fundId,attrs:{label:e.name,value:e.fundId}})}),1)],1),e._v(" "),a("div",{staticClass:"filter"},[e._v("\n 手机号:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"手机号",maxlength:"11"},model:{value:e.genDataBody.phoneNo,callback:function(t){e.$set(e.genDataBody,"phoneNo",t)},expression:"genDataBody.phoneNo"}}),e._v("期数:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"期数"},model:{value:e.genDataBody.term,callback:function(t){e.$set(e.genDataBody,"term",t)},expression:"genDataBody.term"}}),e._v("金额:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"金额"},model:{value:e.genDataBody.amount,callback:function(t){e.$set(e.genDataBody,"amount",t)},expression:"genDataBody.amount"}}),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.genData}},[e._v("生成数据")])],1),e._v(" "),a("el-collapse",{model:{value:e.activeCollapse,callback:function(t){e.activeCollapse=t},expression:"activeCollapse"}},[a("el-collapse-item",{attrs:{title:"基本信息(非必填)",name:"1"}},[a("div",{staticClass:"filter"},[e._v("\n 姓名:\n "),a("el-input",{staticStyle:{width:"150px"},attrs:{clearable:"",placeholder:"姓名"},model:{value:e.genDataBody.name,callback:function(t){e.$set(e.genDataBody,"name",t)},expression:"genDataBody.name"}}),e._v("身份证号:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"身份证"},model:{value:e.genDataBody.idCardNo,callback:function(t){e.$set(e.genDataBody,"idCardNo",t)},expression:"genDataBody.idCardNo"}})],1),e._v(" "),a("div",{staticClass:"filter"},[e._v("\n 银行卡号:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"银行卡号"},model:{value:e.genDataBody.bankCardNo,callback:function(t){e.$set(e.genDataBody,"bankCardNo",t)},expression:"genDataBody.bankCardNo"}}),e._v("银行名称:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"银行名称"},model:{value:e.genDataBody.bankName,callback:function(t){e.$set(e.genDataBody,"bankName",t)},expression:"genDataBody.bankName"}}),e._v("银行code:\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{clearable:"",placeholder:"银行code"},model:{value:e.genDataBody.bankCode,callback:function(t){e.$set(e.genDataBody,"bankCode",t)},expression:"genDataBody.bankCode"}}),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.reGenBankCardData}},[e._v("换一换")])],1),e._v(" "),159886===e.genDataBody.channel?a("div",{staticClass:"filter"},[e._v("\n 利率:\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"利率"},model:{value:e.genDataBody.rate,callback:function(t){e.$set(e.genDataBody,"rate",t)},expression:"genDataBody.rate"}}),e._v("\n 出账日:\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"出账日"},model:{value:e.genDataBody.fixedBillDay,callback:function(t){e.$set(e.genDataBody,"fixedBillDay",t)},expression:"genDataBody.fixedBillDay"}}),e._v("\n 还款日:\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"还款日"},model:{value:e.genDataBody.fixedRepayDay,callback:function(t){e.$set(e.genDataBody,"fixedRepayDay",t)},expression:"genDataBody.fixedRepayDay"}})],1):e._e()])],1),e._v(" "),a("div",{staticClass:"dataTable"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataTableList,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"phone_no",width:"150px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userId",label:"user_id",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"registeredFrom",label:"注册渠道id",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"fundId",label:"资方id",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"createdAt",label:"创建时间",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"desc",label:"状态",width:"200px"}})],1)],1),e._v(" "),a("div",{staticStyle:{padding:"20px 0px"}},[e.genLog?a("p",[e._v("实时日志:")]):e._e(),e._v(" "),e.genLog?a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.genLog,expression:"genLog"}],staticStyle:{"min-height":"600px","background-color":"black",width:"-webkit-fill-available",color:"white"},attrs:{id:"textarea"},domProps:{value:e.genLog},on:{input:function(t){t.target.composing||(e.genLog=t.target.value)}}}):e._e()])],1)],1)},staticRenderFns:[]};var L=a("VU/8")(T,P,!1,function(e){a("CxV6")},"data-v-01e3fbed",null).exports;var z={inject:["reload"],data:function(){return{baseUrl:"",statusOptions:[],dataTable:[],selectStatus:"",totalNum:0,queryInfo:{namespace:window.sessionStorage.getItem("env"),status:"",channel:"",fundId:"",phone:"",salary:"",termNo:"",pageNum:1,pageSize:10}}},methods:{getStatusOptions:function(){var e=this;$({url:"/query/getAllStatus",method:"get"}).then(function(t){e.statusOptions=t.data.data}).catch(function(e){return console.log(e)})},getTableData:function(){var e,t=this;return""===this.selectNamespace?this.$message.error("namespace不能为空!"):""===this.selectStatus||null===this.selectStatus?this.$message.error("状态不能为空!"):(this.dataTable=[],void(e=this.queryInfo,$({url:"/query/loanUser",method:"get",params:e})).then(function(e){t.dataTable=e.data.data.content,t.totalNum=e.data.data.totalNum,console.log(t.dataTable)}).catch(function(e){return console.log(e)}))},checkData:function(){this.queryInfo.pageNum=1,this.queryInfo.pageSize=10,this.getTableData()},selectStatusChange:function(){this.queryInfo.status=this.selectStatus},selectNamespaceChange:function(){this.queryInfo.namespace=this.selectNamespace},handleSizeChange:function(e){this.queryInfo.pageSize=e,this.getTableData()},handleCurrentChange:function(e){this.queryInfo.pageNum=e,this.getTableData()}},mounted:function(){this.getStatusOptions()}},R={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("现金分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("已有数据查询")])],1),e._v(" "),a("el-card",[a("div",[e._v("\n 借款状态:\n "),a("el-select",{attrs:{placeholder:"请选择借款状态"},on:{change:e.selectStatusChange},model:{value:e.selectStatus,callback:function(t){e.selectStatus=t},expression:"selectStatus"}},e._l(e.statusOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),e._v("\n 渠道:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"渠道id"},model:{value:e.queryInfo.channel,callback:function(t){e.$set(e.queryInfo,"channel",t)},expression:"queryInfo.channel"}}),e._v(" "),e._v("\n 资方:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"资方id"},model:{value:e.queryInfo.fundId,callback:function(t){e.$set(e.queryInfo,"fundId",t)},expression:"queryInfo.fundId"}}),e._v(" "),a("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:e.checkData}},[e._v("查询数据")])],1),e._v(" "),a("div",{staticClass:"dataTable"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataTable,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"手机号",width:"150px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userId",label:"userId",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"uuid",label:"uuid",width:"330px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"registeredFrom",label:"注册渠道",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"fundId",label:"资方id",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"createdAt",label:"创建时间",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"enable",label:"enable"},scopedSlots:e._u([{key:"default",fn:function(t){return[1===t.row.enable?a("el-tag",{attrs:{type:"success"}},[e._v("启用")]):0===t.row.enable?a("el-tag",{attrs:{type:"danger"}},[e._v("停用")]):e._e()]}}])})],1)],1),e._v(" "),a("el-pagination",{attrs:{background:"","current-page":e.queryInfo.pageNum,"page-size":e.queryInfo.pageSize,layout:"total, prev, pager, next",total:e.totalNum},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){return e.$set(e.queryInfo,"pageNum",t)},"update:current-page":function(t){return e.$set(e.queryInfo,"pageNum",t)}}})],1)],1)},staticRenderFns:[]};var V=a("VU/8")(z,R,!1,function(e){a("aUMx")},"data-v-d91940d4",null).exports;var U={data:function(){return{userStatus:"",queryInfo:{namespace:window.sessionStorage.getItem("env"),status:"",pageNum:1,pageSize:10},totalNum:0,statusOption:[{label:"初始状态",value:0},{label:"授信成功未开户",value:1},{label:"授信失败",value:2},{label:"禁用",value:3},{label:"审核中",value:4},{label:"冻结",value:5},{label:"开户成功",value:6},{label:"开户失败",value:7}],dataTable:[]}},methods:{selectUserStatusChange:function(){this.queryInfo.status=this.userStatus},getVccData:function(){var e,t=this;(e=this.queryInfo,$({url:"/vcc/getData",method:"get",params:e})).then(function(e){t.dataTable=e.data.data.content,t.totalNum=e.data.data.totalNum})},searchVccData:function(){this.queryInfo.pageNum=1,this.queryInfo.pageSize=10,this.getVccData()},handleSizeChange:function(e){this.queryInfo.pageSize=e,this.getVccData()},handleCurrentChange:function(e){this.queryInfo.pageNum=e,this.getVccData()}}},E={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("消费分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("获取特定数据")])],1),e._v(" "),a("el-card",[a("div",{staticClass:"filter"},[e._v("\n 用户状态:\n "),a("el-select",{attrs:{placeholder:"请选择用户状态"},on:{change:e.selectUserStatusChange},model:{value:e.userStatus,callback:function(t){e.userStatus=t},expression:"userStatus"}},e._l(e.statusOption,function(e){return a("el-option",{key:e.label,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:e.searchVccData}},[e._v("查询数据")])],1),e._v(" "),a("div",{staticClass:"dataTable"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataTable,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"手机号",width:"150px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userId",label:"userId",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"uuid",label:"uuid",width:"350px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"registeredFrom",label:"注册渠道",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"nextApplyTime",label:"过期时间",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"createdAt",label:"创建时间"}})],1)],1),e._v(" "),a("el-pagination",{attrs:{background:"","current-page":e.queryInfo.pageNum,"page-size":e.queryInfo.pageSize,layout:"total, prev, pager, next",total:e.totalNum},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){return e.$set(e.queryInfo,"pageNum",t)},"update:current-page":function(t){return e.$set(e.queryInfo,"pageNum",t)}}})],1)],1)},staticRenderFns:[]};var O=a("VU/8")(U,E,!1,function(e){a("YAtV")},"data-v-43a5e2a6",null).exports;var A={data:function(){return{options:[{value:1,label:"授信成功"},{value:2,label:"授信失败"},{value:3,label:"开户成功"},{value:4,label:"开户失败"}],genDataParams:{namespace:window.sessionStorage.getItem("env"),phoneNo:"",channel:"214",status:""},tableData:[],loadingOptions:{text:"数据生成中...",lock:!0,spinner:"el-icon-loading",background:"rgba(0,0,0,0.7)"}}},methods:{genData:function(){var e=this;if(!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.genDataParams.phoneNo))return this.$message.error("手机号格式不正确!");if(""===this.genDataParams.status)return this.$message.error("用户状态不能为空!");if(4===this.genDataParams.status&&"9"!==this.genDataParams.phoneNo.charAt(this.genDataParams.phoneNo.length-1))return this.$message.error("开户失败对应手机尾号必须为9");var t=new FormData;t.set("namespace",this.genDataParams.namespace),t.set("phoneNo",this.genDataParams.phoneNo),t.set("channel",this.genDataParams.channel),t.set("status",this.genDataParams.status);var a,n=this.$loading.service(this.loadingOptions);(a=t,$({url:"/vcc/gen",method:"post",data:a})).then(function(t){null!==t&&n.close(),e.tableData.push(t.data.data)})}}},j={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("消费分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("生成新数据")])],1),e._v(" "),a("el-card",[a("div",[e._v("\n 手机号:"),a("el-input",{attrs:{placeholder:"请输入手机号"},model:{value:e.genDataParams.phoneNo,callback:function(t){e.$set(e.genDataParams,"phoneNo",t)},expression:"genDataParams.phoneNo"}}),e._v("\n 用户状态:\n "),a("el-select",{attrs:{placeholder:"请选择用户状态"},model:{value:e.genDataParams.status,callback:function(t){e.$set(e.genDataParams,"status",t)},expression:"genDataParams.status"}},e._l(e.options,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.genData}},[e._v("生成数据")]),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"手机号",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"eacctNo",label:"卡号",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"amount",label:"额度",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"openedChannel",label:"开户渠道",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"msg",label:"状态"}})],1)],1)])],1)},staticRenderFns:[]};var M=a("VU/8")(A,j,!1,function(e){a("2b9c")},"data-v-0364401e",null).exports;var G={data:function(){return{idCardNo:"",queryInfo:{namespace:window.sessionStorage.getItem("env"),phoneNo:""},dataTable:[]}},methods:{checkData:function(){var e,t=this;return""===this.queryInfo.phoneNo?this.$message.error("手机号不能为空!"):11!==this.queryInfo.phoneNo.length?this.$message.error("手机号长度不对!"):void(e=this.queryInfo,$({url:"/vcc/checkData",method:"get",params:e})).then(function(e){if(500===e.data.code)return t.$message.error(e.data.data);t.dataTable.push(e.data.data)})}}},J={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("消费分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("查询单个数据")])],1),e._v(" "),a("el-card",[a("div",{staticClass:"filter"},[e._v("\n 手机号:"),a("el-input",{attrs:{placeholder:"请输入手机号"},model:{value:e.queryInfo.phoneNo,callback:function(t){e.$set(e.queryInfo,"phoneNo",t)},expression:"queryInfo.phoneNo"}}),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.checkData}},[e._v("查询")])],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataTable,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"手机号",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userId",label:"userId",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"uuid",label:"uuid",width:"320px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"registeredFrom",label:"注册渠道",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"nextApplyTime",label:"过期时间",width:"180px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"createdAt",label:"创建时间",width:"180px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"status",label:"状态"}})],1)],1)],1)},staticRenderFns:[]};var W=a("VU/8")(G,J,!1,function(e){a("MVJg")},"data-v-143078ca",null).exports;n.default.use(o.a);var K=new o.a({mode:"history",routes:[{path:"/",redirect:"/index"},{path:"/index",component:c},{path:"/login",component:p},{path:"/home",component:b,children:[{path:"/main",component:h},{path:"/project",component:_},{path:"/case",component:x},{path:"/report",component:D},{path:"/xyqb/genLoanData",component:L},{path:"/xyqb/getLoanData",component:V},{path:"/vcc/getData",component:O},{path:"/vcc/genData",component:M},{path:"/vcc/checkData",component:W}]}]}),H=a("XLwt"),X=a.n(H),Y=(a("tvR6"),a("zL8q"));n.default.config.productionTip=!1,n.default.prototype.$axios=B.a,n.default.prototype.$echarts=X.a,n.default.prototype.$message=Y.Message,n.default.prototype.$loading=Y.Loading,n.default.use(Y.Container),n.default.use(Y.Header),n.default.use(Y.Aside),n.default.use(Y.Main),n.default.use(Y.Menu),n.default.use(Y.Submenu),n.default.use(Y.MenuItem),n.default.use(Y.Card),n.default.use(Y.Collapse),n.default.use(Y.CollapseItem),n.default.use(Y.Input),n.default.use(Y.Table),n.default.use(Y.TableColumn),n.default.use(Y.Select),n.default.use(Y.Option),n.default.use(Y.Breadcrumb),n.default.use(Y.BreadcrumbItem),n.default.use(Y.Button),n.default.use(Y.InputNumber),n.default.use(Y.Tag),n.default.use(Y.Pagination),n.default.use(Y.Form),n.default.use(Y.FormItem),new n.default({el:"#app",router:K,components:{App:s},template:"<App/>"})},PS1V:function(e,t){},YAtV:function(e,t){},aUMx:function(e,t){},gqJV:function(e,t){},tvR6:function(e,t){},uRBg:function(e,t){},zBxi:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.7da8710a193a7ec6b4f2.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([1],{"/VtZ":function(e,t){},"2b9c":function(e,t){},"2xTR":function(e,t){},"9s9Z":function(e,t){},CxV6:function(e,t){},F0KO:function(e,t){},J373:function(e,t){},KItN:function(e,t,a){e.exports=a.p+"static/img/logo.eaaed2e.png"},KXPB:function(e,t,a){e.exports=a.p+"static/img/qa.b80bda4.jpg"},MVJg:function(e,t){},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("7+uW"),l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},staticRenderFns:[]};var s=a("VU/8")({name:"App"},l,!1,function(e){a("gqJV")},null,null).exports,o=(a("J373"),a("/ocq")),r={data:function(){return{namespace:"",nsOptions:[{label:"dev1",value:"dev1"},{label:"pre",value:"pre"},{label:"qa",value:"qa"},{label:"qa2",value:"qa2"},{label:"qa3",value:"qa3"},{label:"test1",value:"test1"},{label:"xjfq",value:"xjfq"},{label:"xyqb",value:"xyqb"},{label:"vcc",value:"vcc"},{label:"vcc2",value:"vcc2"},{label:"vcc3",value:"vcc3"}]}},methods:{handleSelectChange:function(){window.sessionStorage.setItem("env",this.namespace)},login:function(){if(""===this.namespace)return this.$message.error("请先选择环境");this.$router.push("/main")}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main"},[a("div",{staticClass:"container"},[a("h3",{staticClass:"title"},[e._v("测试平台")]),e._v(" "),a("el-select",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{placeholder:"请选择环境"},on:{change:e.handleSelectChange},model:{value:e.namespace,callback:function(t){e.namespace=t},expression:"namespace"}},e._l(e.nsOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-button",{staticStyle:{width:"100%","margin-top":"40px"},attrs:{type:"primary"},on:{click:e.login}},[e._v("登录")])],1)])},staticRenderFns:[]};var c=a("VU/8")(r,i,!1,function(e){a("/VtZ")},"data-v-51e49343",null).exports,u={data:function(){return{loginForm:{username:"",password:""},loginFormRules:{}}},methods:{resetForm:function(){this.$refs.loginFormRef.resetFields()},login:function(){var e=this;this.$refs.loginFormRef.validate(function(t){if(!t)return!1;e.$axios.post("login",e.loginForm).then(function(t){200===t.data.meta.status?(e.$message.success("登录成功"),window.sessionStorage.setItem("token",t.data.data.token),e.$router.push("/home")):e.$message.error("登录失败")}).catch(function(e){console.log(e)})})}}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"login_container"},[a("div",{staticClass:"login_box"},[e._m(0),e._v(" "),a("el-form",{ref:"loginFormRef",staticClass:"login_form",attrs:{model:e.loginForm,rules:e.loginFormRules,"label-width":"0px"}},[a("el-form-item",{attrs:{prop:"username"}},[a("el-input",{attrs:{placeholder:"请输入用户名","prefix-icon":"el-icon-user"},model:{value:e.loginForm.username,callback:function(t){e.$set(e.loginForm,"username",t)},expression:"loginForm.username"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"password"}},[a("el-input",{attrs:{placeholder:"请输入密码",type:"password","prefix-icon":"el-icon-lock"},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}})],1),e._v(" "),a("el-form-item",{staticClass:"btns"},[a("el-button",{attrs:{type:"primary"},on:{click:e.login}},[e._v("登录")]),e._v(" "),a("el-button",{attrs:{type:"info"},on:{click:e.resetForm}},[e._v("重置")])],1)],1)],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"avatar_box"},[t("img",{attrs:{src:a("KXPB")}})])}]};var p=a("VU/8")(u,d,!1,function(e){a("2xTR")},"data-v-5a0719e6",null).exports,m={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("h2",[this._v("欢迎来到测试平台!")])])}]};var v=a("VU/8")({},m,!1,function(e){a("uRBg")},"data-v-1bc80410",null).exports,h={data:function(){return{activePath:"",selectNamespace:"",env:window.sessionStorage.getItem("env")}},methods:{logout:function(){window.sessionStorage.clear(),this.$router.push("/")},saveNavState:function(e){this.activePath=e,window.sessionStorage.setItem("activePath",e)}},created:function(){null===window.sessionStorage.getItem("env")&&this.$router.push("/"),this.activePath=window.sessionStorage.getItem("activePath")}},f={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",{staticClass:"home"},[n("el-header",[n("div",[n("img",{attrs:{src:a("KItN"),alt:""}}),e._v(" "),n("span",[e._v("测试平台")])]),e._v(" "),n("el-tag",{attrs:{type:"info",effect:"dark"}},[e._v("当前环境:"+e._s(e.env))]),e._v(" "),n("el-button",{attrs:{type:"info"},on:{click:e.logout}},[e._v("退出")])],1),e._v(" "),n("el-container",[n("el-aside",{attrs:{width:"200px"}},[n("el-menu",{attrs:{"default-active":e.activePath,"background-color":"#525e70","text-color":"#fff","active-text-color":"#ffd04b",router:""}},[n("el-submenu",{attrs:{index:2}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-money"}),e._v(" "),n("span",[e._v("现金分期")])]),e._v(" "),n("el-menu-item",{attrs:{index:"/xyqb/getLoanData"},on:{click:function(t){return e.saveNavState("/xyqb/getLoanData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-watermelon"}),e._v(" "),n("span",[e._v("捞数据")])])],2),e._v(" "),n("el-menu-item",{attrs:{index:"/xyqb/genLoanData"},on:{click:function(t){return e.saveNavState("/xyqb/genLoanData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-cherry"}),e._v(" "),n("span",[e._v("造数据")])])],2)],2),e._v(" "),n("el-submenu",{attrs:{index:3}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-s-shop"}),e._v(" "),n("span",[e._v("消费分期")])]),e._v(" "),n("el-menu-item",{attrs:{index:"/vcc/checkData"},on:{click:function(t){return e.saveNavState("/vcc/checkData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-pear"}),e._v(" "),n("span",[e._v("查数据")])])],2),e._v(" "),n("el-menu-item",{attrs:{index:"/vcc/getData"},on:{click:function(t){return e.saveNavState("/vcc/getData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-grape"}),e._v(" "),n("span",[e._v("捞数据")])])],2),e._v(" "),n("el-menu-item",{attrs:{index:"/vcc/genData"},on:{click:function(t){return e.saveNavState("/vcc/genData")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-apple"}),e._v(" "),n("span",[e._v("造数据")])])],2)],2),e._v(" "),n("el-submenu",{attrs:{index:4}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-s-shop"}),e._v(" "),n("span",[e._v("Mock")])]),e._v(" "),n("el-menu-item",{attrs:{index:"/mock/list"},on:{click:function(t){return e.saveNavState("/mock/list")}}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-pear"}),e._v(" "),n("span",[e._v("mock")])])],2)],2)],1)],1),e._v(" "),n("el-main",[n("router-view")],1)],1)],1)},staticRenderFns:[]};var g=a("VU/8")(h,f,!1,function(e){a("ce0L")},"data-v-09fa17c3",null).exports,b={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t("el-breadcrumb-item",[this._v("自动化测试")]),this._v(" "),t("el-breadcrumb-item",[this._v("项目管理")])],1),this._v(" "),t("el-card",[this._v("项目管理")])],1)},staticRenderFns:[]};var _=a("VU/8")({},b,!1,function(e){a("zBxi")},"data-v-b09fcdd6",null).exports,y={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t("el-breadcrumb-item",[this._v("自动化测试")]),this._v(" "),t("el-breadcrumb-item",[this._v("接口管理")])],1),this._v(" "),t("el-card",[this._v("接口管理")])],1)},staticRenderFns:[]};var x=a("VU/8")({},y,!1,function(e){a("F0KO")},"data-v-7f903df4",null).exports,k={data:function(){return{activeNames:["1","2"],testcaseName:"123",totalCaseNum:100,passedCaseNum:50,failedCaseNum:50,jumpCaseNum:0,startTime:"xxx",elapsedTime:123,resultOption:{tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:["成功","失败","跳过"]},series:[{name:"用例数",type:"pie",radius:"55%",center:["50%","50%"],data:[{value:100,name:"成功"},{value:20,name:"失败"},{value:0,name:"跳过"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}},itemStyle:{normal:{color:function(e){return["#1CB395","#EE5968","#F9B264"][e.dataIndex]}}}}]}}},mounted:function(){this.setResultChart()},methods:{handleCollapseChange:function(e){console.log(e)},setResultChart:function(){this.$echarts.init(document.querySelector(".panel .chart")).setOption(this.resultOption)}}},w={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"report"},[e._m(0),e._v(" "),a("el-card",[a("el-collapse",{on:{change:e.handleCollapseChange},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[a("el-collapse-item",{attrs:{title:"报告汇总",name:"1"}},[a("div",{staticClass:"total"},[a("div",{staticClass:"panel"},[a("div",{staticClass:"data"},[a("p",{staticStyle:{color:"#1CB395","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例名称:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.testcaseName,callback:function(t){e.testcaseName=t},expression:"testcaseName"}})],1),e._v(" "),a("p",{staticStyle:{color:"#1CB395","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例总数:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.totalCaseNum,callback:function(t){e.totalCaseNum=t},expression:"totalCaseNum"}})],1),e._v(" "),a("p",{staticStyle:{color:"#1CB395","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例通过:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.passedCaseNum,callback:function(t){e.passedCaseNum=t},expression:"passedCaseNum"}})],1),e._v(" "),a("p",{staticStyle:{color:"#EE5968","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例失败:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.failedCaseNum,callback:function(t){e.failedCaseNum=t},expression:"failedCaseNum"}})],1),e._v(" "),a("p",{staticStyle:{color:"#F9B264","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 用例跳过:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.jumpCaseNum,callback:function(t){e.jumpCaseNum=t},expression:"jumpCaseNum"}})],1),e._v(" "),a("p",{staticStyle:{color:"#1CB395","font-weight":"bold","margin-bottom":"10px"}},[e._v("\n 开始时间:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.startTime,callback:function(t){e.startTime=t},expression:"startTime"}})],1),e._v(" "),a("p",{staticStyle:{color:"#1CB395","font-weight":"bold"}},[e._v("\n 运行时长:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{disable:!0,size:"small"},model:{value:e.elapsedTime,callback:function(t){e.elapsedTime=t},expression:"elapsedTime"}})],1)])]),e._v(" "),a("div",{staticClass:"panel"},[a("div",{staticClass:"chart"})])])]),e._v(" "),a("el-collapse-item",{attrs:{title:"详细数据",name:"2"}},[a("div",{staticClass:"body"},[a("div",{staticClass:"detail"},[a("div",{staticClass:"filter"},[a("p",[e._v("\n 接口地址: \n "),a("el-select",{staticStyle:{width:"300px"},attrs:{clearable:"",placeholder:"请选择",size:"medium"},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("p",[e._v("\n 结果: \n "),a("el-select",{attrs:{clearable:"",placeholder:"请选择",size:"medium"},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1)]),e._v(" "),a("div",{staticClass:"num"},[a("p",{staticStyle:{color:"#1CB395"}},[e._v("用例数: 10000 | ")]),e._v(" "),a("p",{staticStyle:{color:"#1CB395"}},[e._v("成功: 0 | ")]),e._v(" "),a("p",{staticStyle:{color:"#1CB395"}},[e._v("失败: 0 | ")]),e._v(" "),a("p",{staticStyle:{color:"#1CB395"}},[e._v("跳过: 0  ")])])])]),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:""}},[a("el-table-column",{attrs:{type:"index",label:"编号",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"date",label:"请求地址",width:"180"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"响应结果",width:"180"}}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"用例描述"}}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"耗时"}}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"结果"}}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"操作"}})],1),e._v(" "),a("el-pagination",{attrs:{"current-page":e.currentPage4,"page-sizes":[100,200,300,400],"page-size":100,layout:"total, sizes, prev, pager, next, jumper",total:400},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)],1)],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"reportheader"},[t("h2",[this._v("测试报告")])])}]};var C=a("VU/8")(k,w,!1,function(e){a("PS1V")},"data-v-25d82976",null).exports;var D=a("//Fk"),S=a.n(D),N=a("mtWM"),B=a.n(N),I=B.a.create({baseURL:"//qa-platform-pre.liangkebang.net/",timeout:5e5});I.interceptors.request.use(),I.interceptors.response.use(function(e){return e},function(e){return console.log("error"+e),S.a.reject(e)});var $=I;var F=B.a.create({baseURL:"//testdata.liangkebang.com",timeout:5e3});F.interceptors.request.use(),F.interceptors.response.use(function(e){return e},function(e){return console.log("err"+e),S.a.reject(e)});var q=F;var M={data:function(){return{activeCollapse:["1"],namespaceOptions:[],statusOptions:[{label:"审核通过",value:0},{label:"审核拒绝",value:1},{label:"放款中",value:2},{label:"放款成功",value:3},{label:"放款失败",value:4}],fundList:[],channelList:[],selectNamespace:"",expectNum:"1",dataTableList:[],genDataBody:{namespace:window.sessionStorage.getItem("env"),status:"",phoneNo:"",name:"",idCardNo:"",channel:"",fundId:"",term:6,amount:1e4,bankCardNo:"",bankName:"",bankCode:"",fixedBillDay:"2",fixedRepayDay:"12",rate:"31.86",symbol:""},loopStatus:"",timer:"",websock:null,genLog:""}},methods:{getUserBasicInfo:function(){var e,t=this;(e={count:1},q({url:"/testdata/getAll",method:"get",params:e})).then(function(e){var a=e.data.data[0];t.genDataBody.name=a.name,t.genDataBody.idCardNo=a.IDCardNo,t.genDataBody.bankCardNo=a.bankNo,t.genDataBody.phoneNo=a.mobile,t.genDataBody.bankName=a.bankType.split(" ")[0],t.genDataBody.bankCode=a.bankType.split(" ")[1]}).catch(function(e){return console.log(e)})},reGenBankCardData:function(){this.getUserBasicInfo()},getSupportChannelAndFund:function(){var e=this;$({url:"/gen/supportChannelAndFund",method:"get"}).then(function(t){e.channelList=t.data.data.channelList,e.fundList=t.data.data.fundList})},genData:function(){var e,t=this;return""===this.genDataBody.status?this.$message.error("借款状态不能为空!"):""===this.genDataBody.channel?this.$message.error("渠道不能为空!"):""===this.genDataBody.fundId?this.$message.error("资方不能为空!"):""===this.genDataBody.phoneNo?this.$message.error("手机号不能为空!"):(this.genDataBody.symbol=function(){for(var e=[],t=0;t<36;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]="0123456789abcdef".substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}(),(e=this.genDataBody,$({url:"/gen/data",method:"post",data:e})).then(function(e){return!1===e.data.data?(t.loopStatus=t.genDataBody.status,t.queryGenProgress(t.genDataBody.phoneNo),t.$message.error("数据生成失败!")):(t.loopStatus=t.genDataBody.status,t.queryGenProgress(t.genDataBody.phoneNo),t.$message.success("数据生成成功!"))}).catch(function(e){return console.log(e),t.$message.error("数据接口返回失败!")}),this.$message.success("开始造数据!"),this.initWebSocket(),void(this.timer=setInterval(this.queryGenProgress,1e4,this.genDataBody.phoneNo)))},handleChannelChange:function(){var e,t=this;""!==this.genDataBody.channel&&(e={channel:this.genDataBody.channel},$({url:"/gen/channelMappedFund",method:"get",params:e})).then(function(e){t.fundList=e.data.data})},haneleFundChange:function(){var e,t=this;""!==this.genDataBody.fundId&&(e={fundId:this.genDataBody.fundId},$({url:"/gen/fundMappedChannel",method:"get",params:e})).then(function(e){t.channelList=e.data.data})},handleClear:function(){this.getSupportChannelAndFund()},queryGenProgress:function(e){var t,a=this;(t={namespace:window.sessionStorage.getItem("env"),phoneNo:e},$({url:"/gen/userStatus",method:"get",params:t})).then(function(e){a.loopStatus=e.data.data.status;var t=0;a.dataTableList.forEach(function(a){a.phoneNo===e.data.data.phoneNo&&(a.desc=e.data.data.desc,a.fundId=e.data.data.fundId,t=1)}),1!==t&&a.dataTableList.push(e.data.data)}).catch(function(e){console.log(e),clearInterval(a.timer)})},retryToGen:function(e){},initWebSocket:function(){var e="wss://qa-platform-pre.liangkebang.net//websocket/"+this.genDataBody.symbol;this.websock=new WebSocket(e),this.websock.onopen=this.websocketonopen,this.websock.onerror=this.websocketonerror,this.websock.onmessage=this.websocketonmessage,this.websock.onclose=this.websocketclose},websocketonopen:function(){console.log("WebSocket连接成功")},websocketonerror:function(e){console.log("WebSocket连接发生错误")},websocketonmessage:function(e){this.genLog+=e.data,this.genLog+="\n";var t=document.getElementById("textarea");t.scrollHeight&&(t.scrollTop=t.scrollHeight)},websocketsend:function(e){this.websock.send(e)},websocketclose:function(e){console.log("connection closed ("+e.code+")")}},mounted:function(){this.getSupportChannelAndFund(),this.getUserBasicInfo()},computed:{statusData:function(){return this.loopStatus}},watch:{statusData:function(e){var t=this;e===this.genDataBody.status&&clearInterval(this.timer),this.$once("hook:beforeDestory",function(){clearInterval(t.timer)})}}},T={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("现金分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("生成新数据")])],1),e._v(" "),a("el-card",[a("div",{staticClass:"filter"},[e._v("\n 借款状态:\n "),a("el-select",{attrs:{placeholder:"请选择类型"},on:{change:e.handleChannelChange},model:{value:e.genDataBody.status,callback:function(t){e.$set(e.genDataBody,"status",t)},expression:"genDataBody.status"}},e._l(e.statusOptions,function(e){return a("el-option",{key:e.label,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),e._v("\n 渠道:\n "),a("el-select",{attrs:{clearable:"",placeholder:"请选择渠道"},on:{change:e.handleChannelChange,clear:e.handleClear},model:{value:e.genDataBody.channel,callback:function(t){e.$set(e.genDataBody,"channel",t)},expression:"genDataBody.channel"}},e._l(e.channelList,function(e){return a("el-option",{key:e.channelId,attrs:{label:e.name,value:e.channelId}})}),1),e._v(" "),e._v("\n 资方:\n "),a("el-select",{attrs:{clearable:"",placeholder:"请选择资方"},on:{change:e.haneleFundChange,clear:e.handleClear},model:{value:e.genDataBody.fundId,callback:function(t){e.$set(e.genDataBody,"fundId",t)},expression:"genDataBody.fundId"}},e._l(e.fundList,function(e){return a("el-option",{key:e.fundId,attrs:{label:e.name,value:e.fundId}})}),1)],1),e._v(" "),a("div",{staticClass:"filter"},[e._v("\n 手机号:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"手机号",maxlength:"11"},model:{value:e.genDataBody.phoneNo,callback:function(t){e.$set(e.genDataBody,"phoneNo",t)},expression:"genDataBody.phoneNo"}}),e._v("期数:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"期数"},model:{value:e.genDataBody.term,callback:function(t){e.$set(e.genDataBody,"term",t)},expression:"genDataBody.term"}}),e._v("金额:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"金额"},model:{value:e.genDataBody.amount,callback:function(t){e.$set(e.genDataBody,"amount",t)},expression:"genDataBody.amount"}}),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.genData}},[e._v("生成数据")])],1),e._v(" "),a("el-collapse",{model:{value:e.activeCollapse,callback:function(t){e.activeCollapse=t},expression:"activeCollapse"}},[a("el-collapse-item",{attrs:{title:"基本信息(非必填)",name:"1"}},[a("div",{staticClass:"filter"},[e._v("\n 姓名:\n "),a("el-input",{staticStyle:{width:"150px"},attrs:{clearable:"",placeholder:"姓名"},model:{value:e.genDataBody.name,callback:function(t){e.$set(e.genDataBody,"name",t)},expression:"genDataBody.name"}}),e._v("身份证号:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"身份证"},model:{value:e.genDataBody.idCardNo,callback:function(t){e.$set(e.genDataBody,"idCardNo",t)},expression:"genDataBody.idCardNo"}})],1),e._v(" "),a("div",{staticClass:"filter"},[e._v("\n 银行卡号:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"银行卡号"},model:{value:e.genDataBody.bankCardNo,callback:function(t){e.$set(e.genDataBody,"bankCardNo",t)},expression:"genDataBody.bankCardNo"}}),e._v("银行名称:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"银行名称"},model:{value:e.genDataBody.bankName,callback:function(t){e.$set(e.genDataBody,"bankName",t)},expression:"genDataBody.bankName"}}),e._v("银行code:\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{clearable:"",placeholder:"银行code"},model:{value:e.genDataBody.bankCode,callback:function(t){e.$set(e.genDataBody,"bankCode",t)},expression:"genDataBody.bankCode"}}),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.reGenBankCardData}},[e._v("换一换")])],1),e._v(" "),159886===e.genDataBody.channel?a("div",{staticClass:"filter"},[e._v("\n 利率:\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"利率"},model:{value:e.genDataBody.rate,callback:function(t){e.$set(e.genDataBody,"rate",t)},expression:"genDataBody.rate"}}),e._v("\n 出账日:\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"出账日"},model:{value:e.genDataBody.fixedBillDay,callback:function(t){e.$set(e.genDataBody,"fixedBillDay",t)},expression:"genDataBody.fixedBillDay"}}),e._v("\n 还款日:\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"还款日"},model:{value:e.genDataBody.fixedRepayDay,callback:function(t){e.$set(e.genDataBody,"fixedRepayDay",t)},expression:"genDataBody.fixedRepayDay"}})],1):e._e()])],1),e._v(" "),a("div",{staticClass:"dataTable"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataTableList,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"phone_no",width:"150px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userId",label:"user_id",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"registeredFrom",label:"注册渠道id",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"fundId",label:"资方id",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"createdAt",label:"创建时间",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"desc",label:"状态",width:"200px"}})],1)],1),e._v(" "),a("div",{staticStyle:{padding:"20px 0px"}},[e.genLog?a("p",[e._v("实时日志:")]):e._e(),e._v(" "),e.genLog?a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.genLog,expression:"genLog"}],staticStyle:{"min-height":"600px","background-color":"black",width:"-webkit-fill-available",color:"white"},attrs:{id:"textarea"},domProps:{value:e.genLog},on:{input:function(t){t.target.composing||(e.genLog=t.target.value)}}}):e._e()])],1)],1)},staticRenderFns:[]};var V=a("VU/8")(M,T,!1,function(e){a("CxV6")},"data-v-01e3fbed",null).exports;var L={inject:["reload"],data:function(){return{baseUrl:"",statusOptions:[],dataTable:[],selectStatus:"",totalNum:0,queryInfo:{namespace:window.sessionStorage.getItem("env"),status:"",channel:"",fundId:"",phone:"",salary:"",termNo:"",pageNum:1,pageSize:10}}},methods:{getStatusOptions:function(){var e=this;$({url:"/query/getAllStatus",method:"get"}).then(function(t){e.statusOptions=t.data.data}).catch(function(e){return console.log(e)})},getTableData:function(){var e,t=this;return""===this.selectNamespace?this.$message.error("namespace不能为空!"):""===this.selectStatus||null===this.selectStatus?this.$message.error("状态不能为空!"):(this.dataTable=[],void(e=this.queryInfo,$({url:"/query/loanUser",method:"get",params:e})).then(function(e){t.dataTable=e.data.data.content,t.totalNum=e.data.data.totalNum,console.log(t.dataTable)}).catch(function(e){return console.log(e)}))},checkData:function(){this.queryInfo.pageNum=1,this.queryInfo.pageSize=10,this.getTableData()},selectStatusChange:function(){this.queryInfo.status=this.selectStatus},selectNamespaceChange:function(){this.queryInfo.namespace=this.selectNamespace},handleSizeChange:function(e){this.queryInfo.pageSize=e,this.getTableData()},handleCurrentChange:function(e){this.queryInfo.pageNum=e,this.getTableData()}},mounted:function(){this.getStatusOptions()}},R={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("现金分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("已有数据查询")])],1),e._v(" "),a("el-card",[a("div",[e._v("\n 借款状态:\n "),a("el-select",{attrs:{placeholder:"请选择借款状态"},on:{change:e.selectStatusChange},model:{value:e.selectStatus,callback:function(t){e.selectStatus=t},expression:"selectStatus"}},e._l(e.statusOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),e._v("\n 渠道:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"渠道id"},model:{value:e.queryInfo.channel,callback:function(t){e.$set(e.queryInfo,"channel",t)},expression:"queryInfo.channel"}}),e._v(" "),e._v("\n 资方:\n "),a("el-input",{staticStyle:{width:"200px"},attrs:{clearable:"",placeholder:"资方id"},model:{value:e.queryInfo.fundId,callback:function(t){e.$set(e.queryInfo,"fundId",t)},expression:"queryInfo.fundId"}}),e._v(" "),a("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:e.checkData}},[e._v("查询数据")])],1),e._v(" "),a("div",{staticClass:"dataTable"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataTable,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"手机号",width:"150px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userId",label:"userId",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"uuid",label:"uuid",width:"330px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"registeredFrom",label:"注册渠道",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"fundId",label:"资方id",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"createdAt",label:"创建时间",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"enable",label:"enable"},scopedSlots:e._u([{key:"default",fn:function(t){return[1===t.row.enable?a("el-tag",{attrs:{type:"success"}},[e._v("启用")]):0===t.row.enable?a("el-tag",{attrs:{type:"danger"}},[e._v("停用")]):e._e()]}}])})],1)],1),e._v(" "),a("el-pagination",{attrs:{background:"","current-page":e.queryInfo.pageNum,"page-size":e.queryInfo.pageSize,layout:"total, prev, pager, next",total:e.totalNum},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){return e.$set(e.queryInfo,"pageNum",t)},"update:current-page":function(t){return e.$set(e.queryInfo,"pageNum",t)}}})],1)],1)},staticRenderFns:[]};var z=a("VU/8")(L,R,!1,function(e){a("aUMx")},"data-v-d91940d4",null).exports;var P={data:function(){return{userStatus:"",queryInfo:{namespace:window.sessionStorage.getItem("env"),status:"",pageNum:1,pageSize:10},totalNum:0,statusOption:[{label:"初始状态",value:0},{label:"授信成功未开户",value:1},{label:"授信失败",value:2},{label:"禁用",value:3},{label:"审核中",value:4},{label:"冻结",value:5},{label:"开户成功",value:6},{label:"开户失败",value:7}],dataTable:[]}},methods:{selectUserStatusChange:function(){this.queryInfo.status=this.userStatus},getVccData:function(){var e,t=this;(e=this.queryInfo,$({url:"/vcc/getData",method:"get",params:e})).then(function(e){t.dataTable=e.data.data.content,t.totalNum=e.data.data.totalNum})},searchVccData:function(){this.queryInfo.pageNum=1,this.queryInfo.pageSize=10,this.getVccData()},handleSizeChange:function(e){this.queryInfo.pageSize=e,this.getVccData()},handleCurrentChange:function(e){this.queryInfo.pageNum=e,this.getVccData()}}},j={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("消费分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("获取特定数据")])],1),e._v(" "),a("el-card",[a("div",{staticClass:"filter"},[e._v("\n 用户状态:\n "),a("el-select",{attrs:{placeholder:"请选择用户状态"},on:{change:e.selectUserStatusChange},model:{value:e.userStatus,callback:function(t){e.userStatus=t},expression:"userStatus"}},e._l(e.statusOption,function(e){return a("el-option",{key:e.label,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:e.searchVccData}},[e._v("查询数据")])],1),e._v(" "),a("div",{staticClass:"dataTable"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataTable,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"手机号",width:"150px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userId",label:"userId",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"uuid",label:"uuid",width:"350px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"registeredFrom",label:"注册渠道",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"nextApplyTime",label:"过期时间",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"createdAt",label:"创建时间"}})],1)],1),e._v(" "),a("el-pagination",{attrs:{background:"","current-page":e.queryInfo.pageNum,"page-size":e.queryInfo.pageSize,layout:"total, prev, pager, next",total:e.totalNum},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){return e.$set(e.queryInfo,"pageNum",t)},"update:current-page":function(t){return e.$set(e.queryInfo,"pageNum",t)}}})],1)],1)},staticRenderFns:[]};var E=a("VU/8")(P,j,!1,function(e){a("YAtV")},"data-v-43a5e2a6",null).exports;var U={data:function(){return{options:[{value:1,label:"授信成功"},{value:2,label:"授信失败"},{value:3,label:"开户成功"},{value:4,label:"开户失败"}],genDataParams:{namespace:window.sessionStorage.getItem("env"),phoneNo:"",channel:"214",status:""},tableData:[],loadingOptions:{text:"数据生成中...",lock:!0,spinner:"el-icon-loading",background:"rgba(0,0,0,0.7)"}}},methods:{genData:function(){var e=this;if(!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.genDataParams.phoneNo))return this.$message.error("手机号格式不正确!");if(""===this.genDataParams.status)return this.$message.error("用户状态不能为空!");if(4===this.genDataParams.status&&"9"!==this.genDataParams.phoneNo.charAt(this.genDataParams.phoneNo.length-1))return this.$message.error("开户失败对应手机尾号必须为9");var t=new FormData;t.set("namespace",this.genDataParams.namespace),t.set("phoneNo",this.genDataParams.phoneNo),t.set("channel",this.genDataParams.channel),t.set("status",this.genDataParams.status);var a,n=this.$loading.service(this.loadingOptions);(a=t,$({url:"/vcc/gen",method:"post",data:a})).then(function(t){null!==t&&n.close(),e.tableData.push(t.data.data)})}}},A={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("消费分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("生成新数据")])],1),e._v(" "),a("el-card",[a("div",[e._v("\n 手机号:"),a("el-input",{attrs:{placeholder:"请输入手机号"},model:{value:e.genDataParams.phoneNo,callback:function(t){e.$set(e.genDataParams,"phoneNo",t)},expression:"genDataParams.phoneNo"}}),e._v("\n 用户状态:\n "),a("el-select",{attrs:{placeholder:"请选择用户状态"},model:{value:e.genDataParams.status,callback:function(t){e.$set(e.genDataParams,"status",t)},expression:"genDataParams.status"}},e._l(e.options,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.genData}},[e._v("生成数据")]),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"手机号",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"eacctNo",label:"卡号",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"amount",label:"额度",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"openedChannel",label:"开户渠道",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"msg",label:"状态"}})],1)],1)])],1)},staticRenderFns:[]};var O=a("VU/8")(U,A,!1,function(e){a("2b9c")},"data-v-0364401e",null).exports;var J={data:function(){return{idCardNo:"",queryInfo:{namespace:window.sessionStorage.getItem("env"),phoneNo:""},dataTable:[]}},methods:{checkData:function(){var e,t=this;return""===this.queryInfo.phoneNo?this.$message.error("手机号不能为空!"):11!==this.queryInfo.phoneNo.length?this.$message.error("手机号长度不对!"):void(e=this.queryInfo,$({url:"/vcc/checkData",method:"get",params:e})).then(function(e){if(500===e.data.code)return t.$message.error(e.data.data);t.dataTable.push(e.data.data)})}}},G={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("消费分期")]),e._v(" "),a("el-breadcrumb-item",[e._v("查询单个数据")])],1),e._v(" "),a("el-card",[a("div",{staticClass:"filter"},[e._v("\n 手机号:"),a("el-input",{attrs:{placeholder:"请输入手机号"},model:{value:e.queryInfo.phoneNo,callback:function(t){e.$set(e.queryInfo,"phoneNo",t)},expression:"queryInfo.phoneNo"}}),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.checkData}},[e._v("查询")])],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataTable,border:""}},[a("el-table-column",{attrs:{prop:"phoneNo",label:"手机号",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userId",label:"userId",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"uuid",label:"uuid",width:"320px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"registeredFrom",label:"注册渠道",width:"100px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"nextApplyTime",label:"过期时间",width:"180px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"createdAt",label:"创建时间",width:"180px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"status",label:"状态"}})],1)],1)],1)},staticRenderFns:[]};var W=a("VU/8")(J,G,!1,function(e){a("MVJg")},"data-v-143078ca",null).exports,H=a("mvHQ"),K=a.n(H);var X=a("Xxa5"),Z=a.n(X),Y=a("exGp"),Q=a.n(Y),ee=(a("uGPS"),a("L6Z1")),te=a.n(ee),ae={props:{value:[String,Number,Object,Array],showBtns:[Boolean],expandedOnStart:{type:Boolean,default:!1},mode:{type:String,default:"tree"},modes:{type:Array,default:function(){return["tree","code","form","text","view"]}},lang:{type:String,default:"en"}},watch:{value:{immediate:!0,handler:function(e){var t=this;return Q()(Z.a.mark(function a(){return Z.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(t.internalChange){a.next=5;break}return a.next=3,t.setEditor(e);case 3:t.error=!1,t.expandAll();case 5:case"end":return a.stop()}},a,t)}))()},deep:!0}},data:function(){return{editor:null,error:!1,json:this.value,internalChange:!1,expandedModes:["tree","view","form"],locale:{it:{save:"SALVA"},en:{save:"SAVE"},zh:{save:"保存"}}}},mounted:function(){var e=this,t={mode:this.mode,modes:this.modes,onChange:function(){try{var t=e.editor.get();e.json=t,e.error=!1,e.$emit("json-change",t),e.internalChange=!0,e.$emit("input",t),e.$nextTick(function(){e.internalChange=!1})}catch(t){e.error=!0,e.$emit("has-error",t)}},onModeChange:function(){e.expandAll()}};this.editor=new te.a(this.$el.querySelector(".jsoneditor-vue"),t,this.json)},methods:{expandAll:function(){this.expandedOnStart&&this.expandedModes.includes(this.editor.getMode())&&this.editor.expandAll()},onSave:function(){this.$emit("json-save",this.json)},setEditor:function(e){var t=this;return Q()(Z.a.mark(function a(){return Z.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:t.editor&&t.editor.set(e);case 1:case"end":return a.stop()}},a,t)}))()}}},ne={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"jsoneditor-vue"}),e._v(" "),!1!==e.showBtns?a("div",{staticClass:"jsoneditor-btns"},[a("button",{staticClass:"json-save-btn",attrs:{type:"button",disabled:e.error},on:{click:function(t){return e.onSave()}}},[e._v(e._s(e.locale[e.lang].save))])]):e._e()])},staticRenderFns:[]};var le={data:function(){return{queryInfo:{pageNo:"",pageSize:""},mockList:[],addDialogVisible:!1,detailDialogVisible:!1,editDialogVisible:!1,activeTab:"basic",successResponse:"",failResponse:"",activeUrl:"",activeDescription:"",addMockForm:{url:"",description:"",success:"",fail:"",flag:""},successJson:"",failJson:""}},components:{vueJsonEditor:a("VU/8")(ae,ne,!1,function(e){a("xhWt")},"data-v-723cff9b",null).exports},methods:{getMockList:function(){var e=this;$({url:"/list/mock",method:"get"}).then(function(t){e.mockList=t.data.data})},openDetailDialog:function(e){this.detailDialogVisible=!0,this.successResponse=JSON.parse(e.success),this.failResponse=JSON.parse(e.fail),this.activeUrl=e.url,this.activeDescription=e.description},openEditDialog:function(e){this.editDialogVisible=!0},addMock:function(){var e,t=this;this.addMockForm.success=K()(this.addMockForm.success),this.addMockForm.fail=K()(this.addMockForm.fail),(e=this.addMockForm,$({url:"/add/mock",method:"post",data:e})).then(function(e){return!0===e.data.data?(t.addDialogVisible=!1,t.getMockList(),t.$message.success("新增mock成功!")):t.$message.error("新增mock失败!")})},onSuccessJsonChange:function(){},onSuccessJsonSave:function(){},onFailJsonChange:function(){},onFailJsonSave:function(){}},created:function(){this.getMockList()}},se={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",[e._v("Mock")]),e._v(" "),a("el-breadcrumb-item",[e._v("Mock列表")])],1),e._v(" "),a("el-card",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.addDialogVisible=!0}}},[e._v("新增mock")]),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.mockList,border:""}},[a("el-table-column",{attrs:{prop:"id",label:"序号",width:"100"}}),e._v(" "),a("el-table-column",{attrs:{prop:"url",label:"路径",width:"250"}}),e._v(" "),a("el-table-column",{attrs:{prop:"description",label:"描述",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return e._t("default",[a("el-button",{attrs:{type:"warning"},on:{click:function(a){return e.openDetailDialog(t.row)}}},[e._v("详情")]),e._v(" "),a("el-button",{attrs:{type:"success"},on:{click:function(a){return e.openEditDialog(t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"danger"}},[e._v("删除")])])}}],null,!0)})],1),e._v(" "),a("el-pagination",{attrs:{background:"","current-page":e.queryInfo.pageNum,"page-size":e.queryInfo.pageSize,layout:"total, prev, pager, next",total:e.totalNum},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){return e.$set(e.queryInfo,"pageNum",t)},"update:current-page":function(t){return e.$set(e.queryInfo,"pageNum",t)}}})],1),e._v(" "),a("el-dialog",{attrs:{title:"Mock详情",visible:e.detailDialogVisible,width:"60%"},on:{"update:visible":function(t){e.detailDialogVisible=t}}},[a("el-tabs",{model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[a("el-tab-pane",{attrs:{label:"基本信息",name:"basic"}},[a("p",[e._v("路径:"+e._s(e.activeUrl))]),e._v(" "),a("p",[e._v("描述:"+e._s(e.activeDescription))])]),e._v(" "),a("el-tab-pane",{attrs:{label:"成功响应",name:"success"}},[a("vue-json-editor",{attrs:{mode:"code",showBtns:!1,lang:"zh"},on:{"json-change":e.onSuccessJsonChange,"json-save":e.onSuccessJsonSave},model:{value:e.successResponse,callback:function(t){e.successResponse=t},expression:"successResponse"}})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"失败响应",name:"fail"}},[a("vue-json-editor",{attrs:{mode:"code",showBtns:!1,lang:"zh"},on:{"json-change":e.onSuccessJsonChange,"json-save":e.onSuccessJsonSave},model:{value:e.failResponse,callback:function(t){e.failResponse=t},expression:"failResponse"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.detailDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.detailDialogVisible=!1}}},[e._v("确 定")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"Mock详情",visible:e.addDialogVisible,width:"60%"},on:{"update:visible":function(t){e.addDialogVisible=t}}},[a("el-form",{attrs:{"label-width":"80px",model:e.addMockForm}},[a("el-form-item",{attrs:{label:"路径"}},[a("el-input",{model:{value:e.addMockForm.url,callback:function(t){e.$set(e.addMockForm,"url",t)},expression:"addMockForm.url"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"描述"}},[a("el-input",{model:{value:e.addMockForm.description,callback:function(t){e.$set(e.addMockForm,"description",t)},expression:"addMockForm.description"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"成功响应"}},[a("vue-json-editor",{attrs:{mode:"code",showBtns:!1,lang:"zh"},on:{"json-change":e.onSuccessJsonChange,"json-save":e.onSuccessJsonSave},model:{value:e.addMockForm.success,callback:function(t){e.$set(e.addMockForm,"success",t)},expression:"addMockForm.success"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"失败响应"}},[a("vue-json-editor",{attrs:{mode:"code",showBtns:!1,lang:"zh"},on:{"json-change":e.onFailJsonChange,"json-save":e.onFailJsonSave},model:{value:e.addMockForm.fail,callback:function(t){e.$set(e.addMockForm,"fail",t)},expression:"addMockForm.fail"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"当前返回"}},[a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949","active-value":"1","inactive-value":"0",width:"60"},model:{value:e.addMockForm.flag,callback:function(t){e.$set(e.addMockForm,"flag",t)},expression:"addMockForm.flag"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.addDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.addMock}},[e._v("确 定")])],1)],1)],1)},staticRenderFns:[]};var oe=a("VU/8")(le,se,!1,function(e){a("9s9Z")},"data-v-0278bd7c",null).exports;n.default.use(o.a);var re=new o.a({mode:"history",routes:[{path:"/",redirect:"/index"},{path:"/index",component:c},{path:"/login",component:p},{path:"/home",component:g,children:[{path:"/main",component:v},{path:"/project",component:_},{path:"/case",component:x},{path:"/report",component:C},{path:"/xyqb/genLoanData",component:V},{path:"/xyqb/getLoanData",component:z},{path:"/vcc/getData",component:E},{path:"/vcc/genData",component:O},{path:"/vcc/checkData",component:W},{path:"/mock/list",component:oe}]}]}),ie=a("XLwt"),ce=a.n(ie),ue=(a("tvR6"),a("zL8q"));n.default.config.productionTip=!1,n.default.prototype.$axios=B.a,n.default.prototype.$echarts=ce.a,n.default.prototype.$message=ue.Message,n.default.prototype.$loading=ue.Loading,n.default.use(ue.Container),n.default.use(ue.Header),n.default.use(ue.Aside),n.default.use(ue.Main),n.default.use(ue.Menu),n.default.use(ue.Submenu),n.default.use(ue.MenuItem),n.default.use(ue.Card),n.default.use(ue.Collapse),n.default.use(ue.CollapseItem),n.default.use(ue.Input),n.default.use(ue.Table),n.default.use(ue.TableColumn),n.default.use(ue.Select),n.default.use(ue.Option),n.default.use(ue.Breadcrumb),n.default.use(ue.BreadcrumbItem),n.default.use(ue.Button),n.default.use(ue.InputNumber),n.default.use(ue.Tag),n.default.use(ue.Pagination),n.default.use(ue.Form),n.default.use(ue.FormItem),n.default.use(ue.Dialog),n.default.use(ue.Tabs),n.default.use(ue.TabPane),n.default.use(ue.Switch),new n.default({el:"#app",router:re,components:{App:s},template:"<App/>"})},PS1V:function(e,t){},YAtV:function(e,t){},aUMx:function(e,t){},ce0L:function(e,t){},gqJV:function(e,t){},tvR6:function(e,t){},uGPS:function(e,t){},uRBg:function(e,t){},xhWt:function(e,t){},zBxi:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.f87257f7b04ece982d07.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{"version":3,"sources":["webpack:///webpack/bootstrap fbcb0f9991c3208cfeed"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,IAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.2ae2e69a05c33dfc65f8.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap fbcb0f9991c3208cfeed"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 53967894d90fdd130634"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,IAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.2ae2e69a05c33dfc65f8.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 53967894d90fdd130634"],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -15290,6 +15290,14 @@
}
}
},
"vue-json-editor": {
"version": "1.4.3",
"resolved": "https://registry.npmjs.org/vue-json-editor/-/vue-json-editor-1.4.3.tgz",
"integrity": "sha512-st9HdXBgCnyEmmfWrZQiKzp4KuYXzmYVUNDn5h6Fa18MrrGS1amnyUFyv7hQFsNBDW27B7BKkdGOqszYT1srAg==",
"requires": {
"vue": "^2.2.6"
}
},
"vue-loader": {
"version": "13.7.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-13.7.3.tgz",
......
......@@ -19,6 +19,7 @@
"element-ui": "^2.13.2",
"less": "^3.11.1",
"vue": "^2.5.2",
"vue-json-editor": "^1.4.3",
"vue-router": "^3.0.1"
},
"devDependencies": {
......
import request from '@/utils/request'
export function getMockList() {
return request({
url: '/list/mock',
method: 'get'
})
}
export function addMock(data) {
return request({
url: '/add/mock',
method: 'post',
data
})
}
......@@ -32,7 +32,11 @@ import {
Form,
FormItem,
Message,
Loading
Loading,
Dialog,
Tabs,
TabPane,
Switch
} from 'element-ui'
Vue.config.productionTip = false
......@@ -68,6 +72,10 @@ Vue.use(Tag)
Vue.use(Pagination)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Dialog)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Switch)
/* eslint-disable no-new */
new Vue({
el: '#app',
......
......@@ -12,6 +12,7 @@ import XyqbGetLoanData from '../views/Xyqb/GetLoanData'
import VccGetData from '../views/Vcc/GetData'
import VccGenData from '../views/Vcc/GenData'
import VccCheckData from '../views/Vcc/CheckData'
import Mock from '../views/Mock/Mock'
Vue.use(Router)
......@@ -69,6 +70,10 @@ const router = new Router({
{
'path': '/vcc/checkData',
component: VccCheckData
},
{
'path': '/mock/list',
component: Mock
}
]
}
......
......@@ -80,6 +80,18 @@
</template>
</el-menu-item>
</el-submenu>
<el-submenu :index="4">
<template slot="title">
<i class="el-icon-s-shop"></i>
<span>Mock</span>
</template>
<el-menu-item index="/mock/list" @click="saveNavState('/mock/list')">
<template slot="title">
<i class="el-icon-pear"></i>
<span>mock</span>
</template>
</el-menu-item>
</el-submenu>
</el-menu>
</el-aside>
<el-main>
......
<template>
<div>
<!-- 头部导航栏 -->
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item>Mock</el-breadcrumb-item>
<el-breadcrumb-item>Mock列表</el-breadcrumb-item>
</el-breadcrumb>
<el-card>
<el-button type="primary" @click="addDialogVisible = true">新增mock</el-button>
<el-table :data="mockList" border style="width: 100%">
<el-table-column prop="id" label="序号" width="100">
</el-table-column>
<el-table-column prop="url" label="路径" width="250">
</el-table-column>
<el-table-column prop="description" label="描述" width="200">
</el-table-column>
<el-table-column label="操作">
<slot slot-scope="scope">
<el-button type="warning" @click="openDetailDialog(scope.row)">详情</el-button>
<el-button type="success" @click="openEditDialog(scope.row)">编辑</el-button>
<el-button type="danger">删除</el-button>
</slot>
</el-table-column>
</el-table>
<!-- 分页 -->
<el-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="queryInfo.pageNum"
:page-size="queryInfo.pageSize"
layout="total, prev, pager, next"
:total="totalNum"
></el-pagination>
</el-card>
<!-- 详情对话框 -->
<el-dialog title="Mock详情" :visible.sync="detailDialogVisible" width="60%">
<el-tabs v-model="activeTab">
<el-tab-pane label="基本信息" name="basic">
<p>路径:{{ activeUrl }}</p>
<p>描述:{{ activeDescription }}</p>
</el-tab-pane>
<el-tab-pane label="成功响应" name="success">
<vue-json-editor v-model="successResponse" :mode="'code'" :showBtns="false" lang="zh" @json-change="onSuccessJsonChange" @json-save="onSuccessJsonSave" />
</el-tab-pane>
<el-tab-pane label="失败响应" name="fail">
<vue-json-editor v-model="failResponse" :mode="'code'" :showBtns="false" lang="zh" @json-change="onSuccessJsonChange" @json-save="onSuccessJsonSave" />
</el-tab-pane>
</el-tabs>
<span slot="footer" class="dialog-footer">
<el-button @click="detailDialogVisible = false">取 消</el-button>
<el-button type="primary" @click="detailDialogVisible = false">确 定</el-button>
</span>
</el-dialog>
<!-- 新增对话框 -->
<el-dialog title="Mock详情" :visible.sync="addDialogVisible" width="60%">
<el-form label-width="80px" :model="addMockForm">
<el-form-item label="路径">
<el-input v-model="addMockForm.url"></el-input>
</el-form-item>
<el-form-item label="描述">
<el-input v-model="addMockForm.description"></el-input>
</el-form-item>
<el-form-item label="成功响应">
<!-- <el-input v-model="addMockForm.success"></el-input> -->
<vue-json-editor v-model="addMockForm.success" :mode="'code'" :showBtns="false" lang="zh" @json-change="onSuccessJsonChange" @json-save="onSuccessJsonSave" />
</el-form-item>
<el-form-item label="失败响应">
<!-- <el-input v-model="addMockForm.fail"></el-input> -->
<vue-json-editor v-model="addMockForm.fail" :mode="'code'" :showBtns="false" lang="zh" @json-change="onFailJsonChange" @json-save="onFailJsonSave" />
</el-form-item>
<el-form-item label="当前返回">
<el-switch v-model="addMockForm.flag" active-color="#13ce66" inactive-color="#ff4949" active-value="1" inactive-value="0" width="60">
</el-switch>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="addDialogVisible = false">取 消</el-button>
<el-button type="primary" @click="addMock">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import { getMockList, addMock } from '@/api/mock'
import vueJsonEditor from 'vue-json-editor'
export default {
data() {
return {
queryInfo: {
pageNo: '',
pageSize: ''
},
mockList: [],
addDialogVisible: false,
detailDialogVisible: false,
editDialogVisible: false,
activeTab: 'basic',
successResponse: '',
failResponse: '',
activeUrl: '',
activeDescription: '',
addMockForm: {
url: '',
description: '',
success: '',
fail: '',
flag: ''
},
successJson: '',
failJson: ''
}
},
components: {
vueJsonEditor
},
methods: {
// 获取mock列表
getMockList() {
getMockList().then((resp) => {
this.mockList = resp.data.data
})
},
openDetailDialog(row) {
this.detailDialogVisible = true
this.successResponse = JSON.parse(row.success)
this.failResponse = JSON.parse(row.fail)
this.activeUrl = row.url
this.activeDescription = row.description
},
openEditDialog(row) {
this.editDialogVisible = true
},
addMock() {
this.addMockForm.success = JSON.stringify(this.addMockForm.success)
this.addMockForm.fail = JSON.stringify(this.addMockForm.fail)
addMock(this.addMockForm).then((resp) => {
if (resp.data.data === true) {
this.addDialogVisible = false
this.getMockList()
return this.$message.success('新增mock成功!')
} else {
return this.$message.error('新增mock失败!')
}
})
},
onSuccessJsonChange() {},
onSuccessJsonSave() {},
onFailJsonChange() {},
onFailJsonSave() {}
},
created() {
this.getMockList()
}
}
</script>
<style lang="less" scoped>
.el-table {
margin-top: 20px;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment