Merge branch 'delete'

sort
bo yu 2 years ago
commit 93383f702e

@ -379,6 +379,15 @@ Step 2: 显示图表
![](pictures/make_chart.drawio.svg) ![](pictures/make_chart.drawio.svg)
#### delete_data
Step 1: 输入学号
Step 2: if 不存在 then 提示学生不存在并结束
Step 3: else 删除学生信息
Step 4: 提示删除成功
![](pictures/delete.drawio.svg)
#### confirm #### confirm
Step 1: 输出 确定要退出吗 Step 1: 输出 确定要退出吗

@ -0,0 +1,129 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="621px" height="841px" viewBox="-0.5 -0.5 621 841" content="&lt;mxfile&gt;&lt;diagram id=&quot;qF64KuNW_ocn6PQy4_HQ&quot; name=&quot;第 1 页&quot;&gt;3VjLbqMwFP0abyuMwcASEjKzGalSFzNdjTzgBiTAyHGaZL5+TDDhYdowaUKVbiLfY1/7+tyXCUCLfP+NkzL5wWKaAdOI9wAtgWlihORvBRwUAO0aWPM0riHYAk/pX6pAQ6HbNKab3kLBWCbSsg9GrChoJHoY4Zzt+steWNY/tSRrqgFPEcl09Gcai6RGXdto8e80XSfNydBQMzlpFitgk5CY7ToQCgFacMZEPcr3C5pV3DW81HqrN2ZPhnFaiCkKZq3wSrKtupt0FRX0d0wEUSaKQ3NvqSsplkKwS1JBn0oSVTM76WSJJSLPpATlUO1KuaD7Ny2Dp/vKOKEsp4If5BKl4CiGVIi4Sty1fMOGxKTDdbOOKBevTxu3LMiBImKcFKSRAkIXBCHwEAht4NrAt6uBvwQ+PiIrEDgaW9K3ZTWUdyZZRjO25iSX5JSUp9Imyodzj+3EOYJf0j1tEuM2hJtoIuP4CoxDU4+1WKacEgtW0P796T4Vv+TYeLCV9NyZWVZXMhrh0AiFtKqjVInP3blW7Sg1erVplT3vMyvNZ1seqVWWqkuEr2nD1Dj/nGZEpK/93T/EpnUhm7DDZcvsWTax7fT4fDCgc4bTo9SJ9+sS7XyQaKX6yFJ57ilBMOpniGUMIr82QWm17vI5J4fOsrJasHnvHG/0nNb79Y5tLJzuOCk8rJHyphWzGvHcauAtgC8HEl8Ab6XFFk9Y/me7maUr4L4LEB4pUuhGbQGiL1eksJ473kxFCk+KQgsELnCXI+F4590W271Atr0Zu60zSr3rAt8AoQc8D/hWxxkO8Kwq7ytnrIAPQYiBC4GvV4I784E9qCaWNeeTB89QTS6rCu5N2idEwxf9jdqnOX7OtdqnO5o9slgFZpUZXgAC6zjAIDA0H995ithzpoinM/2ZX6SDku1OpeIqbw9jAhdF7Fd/bkgpyshmk0b39hwx9ecIGndJh3N7hPIG+2DJQnY/+k1r4MraeK1kaRudPhXURtCbVvsuKE8Qfk6kXObxr+HeYWtDzu3ca/+Xe0eeEW1GO72UhmdSug0KpxsVxg2iwtXrwBuf9PMECka43wXRleqAdbU6IMX2X+N6efvXOwr/AQ==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<ellipse cx="70" cy="40" rx="60" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 40px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
delete_data
</div>
</div>
</div>
</foreignObject>
<text x="70" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
delete_data
</text>
</switch>
</g>
<path d="M 10 210 L 30 150 L 130 150 L 110 210 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 180px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输入学号
</div>
</div>
</div>
</foreignObject>
<text x="70" y="184" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入学号
</text>
</switch>
</g>
<path d="M 65 360 L 65 503.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 65 508.88 L 61.5 501.88 L 65 503.63 L 68.5 501.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 130 320 L 569 320 Q 579 320 578.96 330 L 578.86 354.65" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 578.84 359.9 L 575.37 352.89 L 578.86 354.65 L 582.37 352.92 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 65 280 L 130 320 L 65 360 L 0 320 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 320px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
学号存在?
</div>
</div>
</div>
</foreignObject>
<text x="65" y="324" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
学号存在?
</text>
</switch>
</g>
<path d="M 65 570 L 65 753.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 65 758.88 L 61.5 751.88 L 65 753.63 L 68.5 751.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 5 570 L 25 510 L 125 510 L 105 570 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 540px; margin-left: 6px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
学号不存在
</div>
</div>
</div>
</foreignObject>
<text x="65" y="544" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
学号不存在
</text>
</switch>
</g>
<path d="M 500 420 L 520 360 L 620 360 L 600 420 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 390px; margin-left: 501px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
删除学生信息
</div>
</div>
</div>
</foreignObject>
<text x="560" y="394" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
删除学生信息
</text>
</switch>
</g>
<path d="M 560 520 L 560 710 Q 560 720 550 720 L 76.37 720" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 71.12 720 L 78.12 716.5 L 76.37 720 L 78.12 723.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 500 520 L 520 460 L 620 460 L 600 520 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 490px; margin-left: 501px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
已更新
</div>
</div>
</div>
</foreignObject>
<text x="560" y="494" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
已更新
</text>
</switch>
</g>
<ellipse cx="65" cy="800" rx="60" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 70 80 L 70 143.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 70 148.88 L 66.5 141.88 L 70 143.63 L 73.5 141.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 70 210 L 70 283.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 70 288.88 L 66.5 281.88 L 70 283.63 L 73.5 281.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 590 460 L 590 420" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

Loading…
Cancel
Save