Index.cshtml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. @model EMIS.ViewModel.StudentManage.StudentProfile.StudentView
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Entities;
  4. @using EMIS.Web.Controls;
  5. @{
  6. ViewBag.Title = "Index";
  7. }
  8. @section scripts{
  9. <script src="~/Scripts/Business/StudentWeb/InfoCenter/PersonalInfo.js" type="text/javascript"></script>
  10. <script type="text/javascript">
  11. </script>
  12. }
  13. <style type="text/css">
  14. table
  15. {
  16. border-collapse: collapse;
  17. margin: 0 auto;
  18. text-align: left;
  19. }
  20. table td, table th
  21. {
  22. border: 1px solid #cad9ea;
  23. color: #666;
  24. height: 30px;
  25. }
  26. table thead th
  27. {
  28. background-color: #CCE8EB;
  29. width: 100px;
  30. }
  31. /*table tr:nth-child(odd)
  32. {
  33. background: #fff;
  34. }
  35. table tr:nth-child(even)
  36. {
  37. background: #F5FAFA;
  38. }*/
  39. .popupWindowContent {
  40. top: 50px;
  41. }
  42. </style>
  43. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  44. @Html.Position()
  45. @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
  46. {
  47. <div class="p_title">
  48. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
  49. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  50. @Html.ContextMenuBar("Index")
  51. </div>
  52. </div>
  53. <div class="search_list">
  54. @Html.HiddenFor(x => x.UserID)
  55. <table id="personalInfotable">
  56. <tr>
  57. <td style="color:red;">
  58. @Html.LabelFor(x => x.StudentNo):
  59. </td>
  60. <td>
  61. @Html.DisplayFor(x => x.StudentNo)
  62. </td>
  63. <td rowspan="5">
  64. @Html.LabelFor(x => x.PhotoUrl):
  65. </td>
  66. <td rowspan="5">
  67. <div>
  68. <img src="@Model.PhotoUrlStr" id="imgPhoto" width="150" height="154" />
  69. </div>
  70. </td>
  71. </tr>
  72. <tr>
  73. <td>
  74. @Html.LabelFor(x => x.Name):
  75. </td>
  76. <td>
  77. @Html.DisplayFor(x => x.Name)
  78. </td>
  79. </tr>
  80. <tr>
  81. <td>
  82. @Html.LabelFor(x => x.SexID):
  83. </td>
  84. <td>
  85. @Html.DisplayFor(x => x.SexName)
  86. </td>
  87. </tr>
  88. <tr>
  89. <td>
  90. @Html.LabelFor(x => x.BirthDate):
  91. </td>
  92. <td>
  93. @Html.DisplayFor(x => x.BirthDate)
  94. </td>
  95. </tr>
  96. <tr>
  97. <td>
  98. @Html.LabelFor(x => x.NationID):
  99. </td>
  100. <td>
  101. @Html.DisplayFor(x => x.NationName)
  102. </td>
  103. </tr>
  104. <tr>
  105. <td>
  106. @Html.LabelFor(x => x.PoliticsID):
  107. </td>
  108. <td>
  109. @Html.DisplayFor(x => x.PoliticsName)
  110. </td>
  111. <td>
  112. @Html.LabelFor(x => x.StudentType):
  113. </td>
  114. <td>
  115. @Html.DisplayFor(x => x.StudentTypeName)
  116. </td>
  117. </tr>
  118. <tr>
  119. <td>
  120. @Html.LabelFor(x => x.CertificatesType):
  121. </td>
  122. <td>
  123. @Html.DisplayFor(x => x.CertificatesTypeName)
  124. </td>
  125. <td>
  126. @Html.LabelFor(x => x.IDNumber):
  127. </td>
  128. <td>
  129. @Html.DisplayFor(x => x.IDNumber)
  130. </td>
  131. </tr>
  132. <tr>
  133. <td style="color:red;">
  134. @Html.LabelFor(x => x.InSchoolStatusID):
  135. </td>
  136. <td>
  137. @Html.DisplayFor(x => x.InSchoolStatusName)
  138. </td>
  139. <td style="color:red;">
  140. @Html.LabelFor(x => x.StudentStatus):
  141. </td>
  142. <td>
  143. @Html.DisplayFor(x => x.StudentStatusName)
  144. </td>
  145. </tr>
  146. <tr>
  147. <td colspan="4" style="padding:1px;height:10px;">
  148. <div id="specialtyExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  149. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  150. onclick="swapSpecialty();">
  151. </div>
  152. <div style="float: left;height: 10px; cursor: pointer; color: red; font-size: 12px;" onclick="swapSpecialty();">
  153. 专业班级信息
  154. </div>
  155. </td>
  156. </tr>
  157. <tr>
  158. <td>
  159. @Html.LabelFor(x => x.GradeID):
  160. </td>
  161. <td>
  162. @Html.DisplayFor(x => x.GradeID)
  163. </td>
  164. <td>
  165. @Html.LabelFor(x => x.StandardName):
  166. </td>
  167. <td>
  168. @Html.DisplayFor(x => x.StandardName)
  169. </td>
  170. </tr>
  171. <tr>
  172. <td>
  173. @Html.LabelFor(x => x.StandardCode):
  174. </td>
  175. <td>
  176. @Html.DisplayFor(x => x.StandardCode)
  177. </td>
  178. <td>
  179. @Html.LabelFor(x => x.EducationID):
  180. </td>
  181. <td>
  182. @Html.DisplayFor(x => x.EducationName)
  183. </td>
  184. </tr>
  185. <tr>
  186. <td>
  187. @Html.LabelFor(x => x.LearningformID):
  188. </td>
  189. <td>
  190. @Html.DisplayFor(x => x.LearningformName)
  191. </td>
  192. <td>
  193. @Html.LabelFor(x => x.LearnSystem):
  194. </td>
  195. <td>
  196. @Html.DisplayFor(x => x.LearnSystem)
  197. </td>
  198. </tr>
  199. <tr>
  200. <td style="color: red">
  201. @Html.LabelFor(x => x.CollegeName):
  202. </td>
  203. <td>
  204. @Html.DisplayFor(x => x.CollegeName)
  205. </td>
  206. <td style="color: red">
  207. @Html.LabelFor(x => x.ClassmajorName):
  208. </td>
  209. <td>
  210. @Html.DisplayFor(x => x.ClassmajorName)
  211. </td>
  212. </tr>
  213. <tr>
  214. <td colspan="4" style="padding:1px;height:10px;">
  215. <div id="profileExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  216. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  217. onclick="swapProfile();">
  218. </div>
  219. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapProfile();">
  220. 学生扩展信息
  221. </div>
  222. </td>
  223. </tr>
  224. <tr>
  225. <td>
  226. @Html.LabelFor(x => x.UsedName):
  227. </td>
  228. <td>
  229. @Html.DisplayFor(x => x.UsedName)
  230. </td>
  231. <td>
  232. @Html.LabelFor(x => x.DirectorName):
  233. </td>
  234. <td>
  235. @Html.DisplayFor(x => x.DirectorName)
  236. </td>
  237. </tr>
  238. <tr>
  239. <td>
  240. @Html.LabelFor(x => x.LiteracyLevelID):
  241. </td>
  242. <td>
  243. @Html.DisplayFor(x => x.LiteracyLevelName)
  244. </td>
  245. <td>
  246. @Html.LabelFor(x => x.CultureModelID):
  247. </td>
  248. <td>
  249. @Html.DisplayFor(x => x.CultureModelName)
  250. </td>
  251. </tr>
  252. <tr>
  253. <td>
  254. @Html.LabelFor(x => x.Country):
  255. </td>
  256. <td>
  257. @Html.DisplayFor(x => x.Country)
  258. </td>
  259. <td>
  260. @Html.LabelFor(x => x.Place):
  261. </td>
  262. <td>
  263. @Html.DisplayFor(x => x.Place)
  264. </td>
  265. </tr>
  266. <tr>
  267. <td>
  268. @Html.LabelFor(x => x.BornPlace):
  269. </td>
  270. <td>
  271. @Html.DisplayFor(x => x.BornPlace)
  272. </td>
  273. <td>
  274. @Html.LabelFor(x => x.HealthStateID):
  275. </td>
  276. <td>
  277. @Html.DisplayFor(x => x.HealthStateName)
  278. </td>
  279. </tr>
  280. <tr>
  281. <td>
  282. @Html.LabelFor(x => x.BloodGroup):
  283. </td>
  284. <td>
  285. @Html.DisplayFor(x => x.BloodGroupName)
  286. </td>
  287. <td>
  288. @Html.LabelFor(x => x.Specialty):
  289. </td>
  290. <td>
  291. @Html.DisplayFor(x => x.Specialty)
  292. </td>
  293. </tr>
  294. <tr>
  295. <td>
  296. @Html.LabelFor(x => x.Height):
  297. </td>
  298. <td>
  299. @Html.DisplayFor(x => x.Height)
  300. </td>
  301. <td>
  302. @Html.LabelFor(x => x.Weight):
  303. </td>
  304. <td>
  305. @Html.DisplayFor(x => x.Weight)
  306. </td>
  307. </tr>
  308. <tr>
  309. <td>
  310. @Html.LabelFor(x => x.StudentCardNo):
  311. </td>
  312. <td>
  313. @Html.DisplayFor(x => x.StudentCardNo)
  314. </td>
  315. <td>
  316. @Html.LabelFor(x => x.GraduateCardNo):
  317. </td>
  318. <td>
  319. @Html.DisplayFor(x => x.GraduateCardNo)
  320. </td>
  321. </tr>
  322. <tr>
  323. <td>
  324. @Html.LabelFor(x => x.PlanningGraduateDate):
  325. </td>
  326. <td>
  327. @Html.DisplayFor(x => x.PlanningGraduateDate)
  328. </td>
  329. <td>
  330. @Html.LabelFor(x => x.GraduateDate):
  331. </td>
  332. <td>
  333. @Html.DisplayFor(x => x.GraduateDate)
  334. </td>
  335. </tr>
  336. <tr>
  337. <td>
  338. @Html.LabelFor(x => x.ReplaceGraduateNo):
  339. </td>
  340. <td>
  341. @Html.DisplayFor(x => x.ReplaceGraduateNo)
  342. </td>
  343. <td>
  344. @Html.LabelFor(x => x.DegreeStatus):
  345. </td>
  346. <td>
  347. @Html.CheckBoxFor(x => x.DegreeStatus, new Dictionary<string, object>() { { "disabled", "true" } })
  348. </td>
  349. </tr>
  350. <tr>
  351. <td>
  352. @Html.LabelFor(x => x.IsDreamProject):
  353. </td>
  354. <td>
  355. @Html.CheckBoxFor(x => x.IsDreamProject, new Dictionary<string, object>() { { "disabled", "true" } })
  356. </td>
  357. <td style="color: red;">
  358. @Html.LabelFor(x => x.IsProofread):
  359. </td>
  360. <td>
  361. @Html.CheckBoxFor(x => x.IsProofread, new Dictionary<string, object>() { { "disabled", "true" } })
  362. </td>
  363. </tr>
  364. <tr>
  365. <td colspan="4" style="padding:1px;height:10px;">
  366. <div id="contactExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  367. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  368. onclick="swapContact();">
  369. </div>
  370. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapContact();">
  371. 学生联系信息
  372. </div>
  373. </td>
  374. </tr>
  375. <tr>
  376. <td>
  377. @Html.LabelFor(x => x.Email):
  378. </td>
  379. <td>
  380. @Html.DisplayFor(x => x.Email)
  381. </td>
  382. <td>
  383. @Html.LabelFor(x => x.Mobile):
  384. </td>
  385. <td>
  386. @Html.DisplayFor(x => x.Mobile)
  387. </td>
  388. </tr>
  389. <tr>
  390. <td>
  391. @Html.LabelFor(x => x.Telephone):
  392. </td>
  393. <td>
  394. @Html.DisplayFor(x => x.Telephone)
  395. </td>
  396. <td>
  397. @Html.LabelFor(x => x.ZIPCode):
  398. </td>
  399. <td>
  400. @Html.DisplayFor(x => x.ZIPCode)
  401. </td>
  402. </tr>
  403. <tr>
  404. <td>
  405. @Html.LabelFor(x => x.WeChatNum):
  406. </td>
  407. <td>
  408. @Html.DisplayFor(x => x.WeChatNum)
  409. </td>
  410. <td>
  411. @Html.LabelFor(x => x.QQ):
  412. </td>
  413. <td>
  414. @Html.DisplayFor(x => x.QQ)
  415. </td>
  416. </tr>
  417. <tr>
  418. <td>
  419. @Html.LabelFor(x => x.HomeAddress):
  420. </td>
  421. <td colspan="3">
  422. @Html.DisplayFor(x => x.HomeAddress)
  423. </td>
  424. </tr>
  425. <tr>
  426. <td>
  427. @Html.LabelFor(x => x.WorkUnit):
  428. </td>
  429. <td colspan="3">
  430. @Html.DisplayFor(x => x.WorkUnit)
  431. </td>
  432. </tr>
  433. <tr>
  434. <td>
  435. @Html.LabelFor(x => x.Address):
  436. </td>
  437. <td colspan="3">
  438. @Html.DisplayFor(x => x.Address)
  439. </td>
  440. </tr>
  441. <tr>
  442. <td>
  443. @Html.LabelFor(x => x.Dormitory):
  444. </td>
  445. <td>
  446. @Html.DisplayFor(x => x.Dormitory)
  447. </td>
  448. <td>
  449. @Html.LabelFor(x => x.Recipient):
  450. </td>
  451. <td>
  452. @Html.DisplayFor(x => x.Recipient)
  453. </td>
  454. </tr>
  455. <tr>
  456. <td colspan="4" style="padding:1px;height:10px;">
  457. <div id="accountExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  458. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  459. onclick="swapAccount();">
  460. </div>
  461. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapAccount();">
  462. 学生缴费信息
  463. </div>
  464. </td>
  465. </tr>
  466. <tr>
  467. <td>
  468. @Html.LabelFor(x => x.BankName):
  469. </td>
  470. <td>
  471. @Html.DisplayFor(x => x.BankName)
  472. </td>
  473. <td>
  474. @Html.LabelFor(x => x.CardNo):
  475. </td>
  476. <td>
  477. @Html.DisplayFor(x => x.CardNo)
  478. </td>
  479. </tr>
  480. <tr>
  481. <td colspan="4" style="padding:1px;height:10px;">
  482. <div id="recruitExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  483. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  484. onclick="swapRecruit();">
  485. </div>
  486. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapRecruit();">
  487. 高考招生信息
  488. </div>
  489. </td>
  490. </tr>
  491. <tr>
  492. <td>
  493. @Html.LabelFor(x => x.ExamineeNum):
  494. </td>
  495. <td>
  496. @Html.DisplayFor(x => x.ExamineeNum)
  497. </td>
  498. <td>
  499. @Html.LabelFor(x => x.AdmissionTicketNo):
  500. </td>
  501. <td>
  502. @Html.DisplayFor(x => x.AdmissionTicketNo)
  503. </td>
  504. </tr>
  505. <tr>
  506. <td>
  507. @Html.LabelFor(x => x.ExamineeType):
  508. </td>
  509. <td>
  510. @Html.DisplayFor(x => x.ExamineeTypeName)
  511. </td>
  512. <td>
  513. @Html.LabelFor(x => x.EntranceDate):
  514. </td>
  515. <td>
  516. @Html.DisplayFor(x => x.EntranceDate)
  517. </td>
  518. </tr>
  519. <tr>
  520. <td>
  521. @Html.LabelFor(x => x.Score):
  522. </td>
  523. <td>
  524. @Html.DisplayFor(x => x.Score)
  525. </td>
  526. <td>
  527. @Html.LabelFor(x => x.EntranceWayID):
  528. </td>
  529. <td>
  530. @Html.DisplayFor(x => x.EntranceWayName)
  531. </td>
  532. </tr>
  533. <tr>
  534. <td>
  535. @Html.LabelFor(x => x.FeaturesID):
  536. </td>
  537. <td>
  538. @Html.DisplayFor(x => x.FeaturesName)
  539. </td>
  540. <td>
  541. @Html.LabelFor(x => x.TerritorialID):
  542. </td>
  543. <td>
  544. @Html.DisplayFor(x => x.TerritorialName)
  545. </td>
  546. </tr>
  547. <tr>
  548. <td>
  549. @Html.LabelFor(x => x.Area):
  550. </td>
  551. <td colspan="3">
  552. @Html.DisplayFor(x => x.Area)
  553. </td>
  554. </tr>
  555. <tr>
  556. <td colspan="4" style="padding:1px;height:10px;">
  557. <div id="otherExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  558. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  559. onclick="swapOther();">
  560. </div>
  561. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapOther();">
  562. 其它信息
  563. </div>
  564. </td>
  565. </tr>
  566. <tr>
  567. <td>
  568. @Html.LabelFor(x => x.Career):
  569. </td>
  570. <td colspan="3">
  571. @Html.DisplayTextFor(x => x.Career)
  572. </td>
  573. </tr>
  574. <tr>
  575. <td>
  576. @Html.LabelFor(x => x.Remark):
  577. </td>
  578. <td colspan="3">
  579. @Html.DisplayTextFor(x => x.Remark)
  580. </td>
  581. </tr>
  582. </table>
  583. </div>
  584. }
  585. </div>