Edit.cshtml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672
  1. @model EMIS.ViewModel.StudentManage.StudentProfile.StudentView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. var isEnable = Request["type"] == "detail" ? false : true;
  7. var isEdit = Request["type"] == "detail" ? false : (Request["type"] == "edit" ? false : true);
  8. //院系所
  9. ComboGridOptions cgopCollege = new ComboGridOptions
  10. {
  11. TextField = "Name",
  12. ValueField = "CollegeID",
  13. IsEnabled = false,
  14. GridOptions = new DataGridOptions
  15. {
  16. Columns = new List<DataGridColumn>()
  17. {
  18. new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center, Width=0.1 },
  19. new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.3 },
  20. new BoundFieldColumn { FieldName="CampusName", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center, Width=0.3 }
  21. },
  22. PageSize = 5,
  23. IsCheckOnSelect = true,
  24. DataSourceUrl = Url.Content("~/College/List"),
  25. IsPagination = true,
  26. IsShowRowNumbers = true,
  27. IsSingleSelect = false
  28. }
  29. };
  30. //班级信息
  31. ComboGridOptions cgopClassmajor = new ComboGridOptions
  32. {
  33. TextField = "Name",
  34. ValueField = "ClassmajorID",
  35. IsEnabled = isEdit,
  36. OnSelect = "queryClassmajor",
  37. GridOptions = new DataGridOptions
  38. {
  39. Columns = new List<DataGridColumn>()
  40. {
  41. new LinkButtonColumn { FieldName="No", HeaderText="班级编号", Width=0.2, Align=AlignStyle.Center },
  42. new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Width=0.35, Align=AlignStyle.Center }
  43. },
  44. PageSize = 5,
  45. IsCheckOnSelect = true,
  46. DataSourceUrl = Url.Content("~/Classmajor/List"),
  47. IsPagination = true,
  48. IsShowRowNumbers = true,
  49. IsSingleSelect = false
  50. }
  51. };
  52. }
  53. @section scripts{
  54. <script src="~/Scripts/Business/StudentManage/StudentProfile/StudentEdit.js" type="text/javascript"></script>
  55. <script type="text/javascript">
  56. var nonSelect = "@DropdownList.SELECT_ALL";
  57. </script>
  58. }
  59. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  60. @using (Html.BeginForm("Edit", "Student", new { MNU = Request["MNU"], WindowID = Request["WindowID"]}, FormMethod.Post, new { enctype = "multipart/form-data" }))
  61. {
  62. <div class="p_title">
  63. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
  64. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  65. @if (Request["type"] != "detail")
  66. {
  67. @Html.ContextMenuBar("Edit")
  68. }
  69. </div>
  70. </div>
  71. <div class="search_list">
  72. @Html.HiddenFor(x => x.UserID)
  73. @*@Html.HiddenFor(x => x.RecruitPictureUrl)
  74. @Html.HiddenFor(x => x.GraduationPictureUrl)
  75. @Html.HiddenFor(x => x.IsPhotoComparison)*@
  76. @if (!isEdit)
  77. {
  78. @Html.HiddenFor(x => x.StudentNo)
  79. @Html.HiddenFor(x => x.ExamineeNum)
  80. }
  81. <table cellpadding="0" cellspacing="0" id="studenttable">
  82. <tr>
  83. <td style="color:red;">
  84. @Html.LabelFor(x => x.StudentNo):
  85. </td>
  86. <td>
  87. @Html.TextBoxFor(x => x.StudentNo, new TextBoxOptions() { IsEnabled = isEdit })
  88. </td>
  89. <td rowspan="5">
  90. @Html.LabelFor(x => x.PhotoUrl):
  91. </td>
  92. <td rowspan="5">
  93. <div>
  94. <img src="@Model.PhotoUrlStr" id="imgPhoto" width="118" height="125" />
  95. </div>
  96. <div>
  97. <span>
  98. @if (isEnable)
  99. {
  100. if (Request["type"] == "edit")
  101. {
  102. @Html.SingleUploaderFor(x => x.PhotoUrl, new Dictionary<string, object> { { "style", "width:125px;" } })
  103. <input type="button" value="删除" onclick="javascript: delPhoto();" />
  104. }
  105. else
  106. {
  107. @Html.SingleUploaderFor(x => x.PhotoUrl, new Dictionary<string, object> { { "style", "width:175px;" } })
  108. }
  109. }
  110. </span>
  111. </div>
  112. </td>
  113. </tr>
  114. <tr>
  115. <td>
  116. @Html.LabelFor(x => x.Name):
  117. </td>
  118. <td>
  119. @Html.TextBoxFor(x => x.Name, new TextBoxOptions() { IsEnabled = isEnable })
  120. </td>
  121. </tr>
  122. <tr>
  123. <td>
  124. @Html.LabelFor(x => x.SexID):
  125. </td>
  126. <td>
  127. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Sex, (x => x.SexID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  128. </td>
  129. </tr>
  130. <tr>
  131. <td>
  132. @Html.LabelFor(x => x.BirthDate):
  133. </td>
  134. <td>
  135. @Html.TextBoxFor(x => x.BirthDate, new TextBoxOptions() { TextBoxType = TextBoxType.Date, IsEnabled = isEnable })
  136. </td>
  137. </tr>
  138. <tr>
  139. <td>
  140. @Html.LabelFor(x => x.NationID):
  141. </td>
  142. <td>
  143. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Nation, (x => x.NationID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  144. </td>
  145. </tr>
  146. <tr>
  147. <td>
  148. @Html.LabelFor(x => x.PoliticsID):
  149. </td>
  150. <td>
  151. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Politics, (x => x.PoliticsID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  152. </td>
  153. <td>
  154. @Html.LabelFor(x => x.StudentType):
  155. </td>
  156. <td>
  157. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_STUDENTTYPE, (x => x.StudentType), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  158. </td>
  159. </tr>
  160. <tr>
  161. <td>
  162. @Html.LabelFor(x => x.CertificatesType):
  163. </td>
  164. <td>
  165. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_CertificatesType, (x => x.CertificatesType), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  166. </td>
  167. <td>
  168. @Html.LabelFor(x => x.IDNumber):
  169. </td>
  170. <td>
  171. @Html.TextBoxFor(x => x.IDNumber, new TextBoxOptions() { IsEnabled = isEnable })
  172. </td>
  173. </tr>
  174. <tr>
  175. <td style="color:red;">
  176. @Html.LabelFor(x => x.InSchoolStatusID):
  177. </td>
  178. <td>
  179. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_InschoolStatus, (x => x.InSchoolStatusID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEdit })
  180. </td>
  181. <td style="color:red;">
  182. @Html.LabelFor(x => x.StudentStatus):
  183. </td>
  184. <td>
  185. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_StudentStatus, (x => x.StudentStatus), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEdit })
  186. </td>
  187. </tr>
  188. <tr>
  189. <td colspan="4" style="padding:1px;height:10px;">
  190. <div id="specialtyExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  191. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  192. onclick="swapSpecialty();">
  193. </div>
  194. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapSpecialty();">
  195. 专业班级信息
  196. </div>
  197. </td>
  198. </tr>
  199. <tr>
  200. <td>
  201. @Html.LabelFor(x => x.GradeID):
  202. </td>
  203. <td>
  204. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Grade, (x => x.GradeID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = false })
  205. </td>
  206. <td>
  207. @Html.LabelFor(x => x.StandardName):
  208. </td>
  209. <td>
  210. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Standard, (x => x.StandardID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = false })
  211. </td>
  212. </tr>
  213. <tr>
  214. <td>
  215. @Html.LabelFor(x => x.StandardCode):
  216. </td>
  217. <td>
  218. @Html.TextBoxFor(x => x.StandardCode, new TextBoxOptions() { IsEnabled = false })
  219. </td>
  220. <td>
  221. @Html.LabelFor(x => x.EducationID):
  222. </td>
  223. <td>
  224. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Education, (x => x.EducationID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = false })
  225. </td>
  226. </tr>
  227. <tr>
  228. <td>
  229. @Html.LabelFor(x => x.LearningformID):
  230. </td>
  231. <td>
  232. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Learningform, (x => x.LearningformID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = false })
  233. </td>
  234. <td>
  235. @Html.LabelFor(x => x.LearnSystem):
  236. </td>
  237. <td>
  238. @Html.TextBoxFor(x => x.LearnSystem, new TextBoxOptions() { IsEnabled = false })
  239. </td>
  240. </tr>
  241. <tr>
  242. <td>
  243. @Html.LabelFor(x => x.CollegeName):
  244. </td>
  245. <td>
  246. @Html.ComboGridFor(x => x.CollegeID, cgopCollege)
  247. </td>
  248. <td style="color: red">
  249. @Html.LabelFor(x => x.ClassmajorName):
  250. </td>
  251. <td>
  252. @Html.ComboGridFor(x => x.ClassmajorID, cgopClassmajor)
  253. </td>
  254. </tr>
  255. <tr>
  256. <td colspan="4" style="padding:1px;height:10px;">
  257. <div id="profileExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  258. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  259. onclick="swapProfile();">
  260. </div>
  261. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapProfile();">
  262. 学生扩展信息
  263. </div>
  264. </td>
  265. </tr>
  266. <tr>
  267. <td>
  268. @Html.LabelFor(x => x.UsedName):
  269. </td>
  270. <td>
  271. @Html.TextBoxFor(x => x.UsedName, new TextBoxOptions() { IsEnabled = isEnable })
  272. </td>
  273. <td>
  274. @Html.LabelFor(x => x.DirectorName):
  275. </td>
  276. <td>
  277. @Html.TextBoxFor(x => x.DirectorName, new TextBoxOptions() { IsEnabled = isEnable })
  278. </td>
  279. </tr>
  280. <tr>
  281. <td>
  282. @Html.LabelFor(x => x.LiteracyLevelID):
  283. </td>
  284. <td>
  285. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_LiteracyLevel, (x => x.LiteracyLevelID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  286. </td>
  287. <td>
  288. @Html.LabelFor(x => x.CultureModelID):
  289. </td>
  290. <td>
  291. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_CULTUREMODEL, (x => x.CultureModelID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  292. </td>
  293. </tr>
  294. <tr>
  295. <td>
  296. @Html.LabelFor(x => x.Country):
  297. </td>
  298. <td>
  299. @Html.TextBoxFor(x => x.Country, new TextBoxOptions() { IsEnabled = isEnable })
  300. </td>
  301. <td>
  302. @Html.LabelFor(x => x.Place):
  303. </td>
  304. <td>
  305. @Html.TextBoxFor(x => x.Place, new TextBoxOptions() { IsEnabled = isEnable })
  306. </td>
  307. </tr>
  308. <tr>
  309. <td>
  310. @Html.LabelFor(x => x.BornPlace):
  311. </td>
  312. <td>
  313. @Html.TextBoxFor(x => x.BornPlace, new TextBoxOptions() { IsEnabled = isEnable })
  314. </td>
  315. <td>
  316. @Html.LabelFor(x => x.HealthStateID):
  317. </td>
  318. <td>
  319. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_HealthState, (x => x.HealthStateID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  320. </td>
  321. </tr>
  322. <tr>
  323. <td>
  324. @Html.LabelFor(x => x.BloodGroup):
  325. </td>
  326. <td>
  327. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_BLOODGROUP, (x => x.BloodGroup), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  328. </td>
  329. <td>
  330. @Html.LabelFor(x => x.Specialty):
  331. </td>
  332. <td>
  333. @Html.TextBoxFor(x => x.Specialty, new TextBoxOptions() { IsEnabled = isEnable })
  334. </td>
  335. </tr>
  336. <tr>
  337. <td>
  338. @Html.LabelFor(x => x.Height):
  339. </td>
  340. <td>
  341. @Html.TextBoxFor(x => x.Height, new TextBoxOptions() { IsEnabled = isEnable })
  342. </td>
  343. <td>
  344. @Html.LabelFor(x => x.Weight):
  345. </td>
  346. <td>
  347. @Html.TextBoxFor(x => x.Weight, new TextBoxOptions() { IsEnabled = isEnable })
  348. </td>
  349. </tr>
  350. <tr>
  351. <td>
  352. @Html.LabelFor(x => x.StudentCardNo):
  353. </td>
  354. <td>
  355. @Html.TextBoxFor(x => x.StudentCardNo, new TextBoxOptions() { IsEnabled = isEnable })
  356. </td>
  357. <td>
  358. @Html.LabelFor(x => x.GraduateCardNo):
  359. </td>
  360. <td>
  361. @Html.TextBoxFor(x => x.GraduateCardNo, new TextBoxOptions() { IsEnabled = isEnable })
  362. </td>
  363. </tr>
  364. <tr>
  365. <td>
  366. @Html.LabelFor(x => x.PlanningGraduateDate):
  367. </td>
  368. <td>
  369. @Html.TextBoxFor(x => x.PlanningGraduateDate, new TextBoxOptions() { TextBoxType = TextBoxType.Date, IsEnabled = isEnable })
  370. </td>
  371. <td>
  372. @Html.LabelFor(x => x.GraduateDate):
  373. </td>
  374. <td>
  375. @Html.TextBoxFor(x => x.GraduateDate, new TextBoxOptions() { TextBoxType = TextBoxType.Date, IsEnabled = isEnable })
  376. </td>
  377. </tr>
  378. <tr>
  379. <td>
  380. @Html.LabelFor(x => x.ReplaceGraduateNo):
  381. </td>
  382. <td>
  383. @Html.TextBoxFor(x => x.ReplaceGraduateNo, new TextBoxOptions() { IsEnabled = isEnable })
  384. </td>
  385. <td>
  386. @Html.LabelFor(x => x.DegreeStatus):
  387. </td>
  388. <td>
  389. @if (!isEnable)
  390. {
  391. @Html.CheckBoxFor(x => x.DegreeStatus, new Dictionary<string, object>() { { "disabled", isEnable } })
  392. }
  393. else
  394. {
  395. @Html.CheckBoxFor((x => x.DegreeStatus))
  396. }
  397. </td>
  398. </tr>
  399. <tr>
  400. <td>
  401. @Html.LabelFor(x => x.IsDreamProject):
  402. </td>
  403. <td>
  404. @if (!isEnable)
  405. {
  406. @Html.CheckBoxFor(x => x.IsDreamProject, new Dictionary<string, object>() { { "disabled", isEnable } })
  407. }
  408. else
  409. {
  410. @Html.CheckBoxFor((x => x.IsDreamProject))
  411. }
  412. </td>
  413. <td style="color: red;">
  414. @Html.LabelFor(x => x.IsProofread):
  415. </td>
  416. <td>
  417. @if (!isEnable)
  418. {
  419. @Html.CheckBoxFor(x => x.IsProofread, new Dictionary<string, object>() { { "disabled", isEnable } })
  420. }
  421. else
  422. {
  423. @Html.CheckBoxFor(x => x.IsProofread, new Dictionary<string, object>() { { "disabled", isEnable } })
  424. }
  425. </td>
  426. </tr>
  427. <tr>
  428. <td colspan="4" style="padding:1px;height:10px;">
  429. <div id="contactExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  430. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  431. onclick="swapContact();">
  432. </div>
  433. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapContact();">
  434. 学生联系信息
  435. </div>
  436. </td>
  437. </tr>
  438. <tr>
  439. <td>
  440. @Html.LabelFor(x => x.Email):
  441. </td>
  442. <td>
  443. @Html.TextBoxFor(x => x.Email, new TextBoxOptions() { IsEnabled = isEnable })
  444. </td>
  445. <td>
  446. @Html.LabelFor(x => x.Mobile):
  447. </td>
  448. <td>
  449. @Html.TextBoxFor(x => x.Mobile, new TextBoxOptions() { IsEnabled = isEnable })
  450. </td>
  451. </tr>
  452. <tr>
  453. <td>
  454. @Html.LabelFor(x => x.Telephone):
  455. </td>
  456. <td>
  457. @Html.TextBoxFor(x => x.Telephone, new TextBoxOptions() { IsEnabled = isEnable })
  458. </td>
  459. <td>
  460. @Html.LabelFor(x => x.ZIPCode):
  461. </td>
  462. <td>
  463. @Html.TextBoxFor(x => x.ZIPCode, new TextBoxOptions() { IsEnabled = isEnable })
  464. </td>
  465. </tr>
  466. <tr>
  467. <td>
  468. @Html.LabelFor(x => x.WeChatNum):
  469. </td>
  470. <td>
  471. @Html.TextBoxFor(x => x.WeChatNum, new TextBoxOptions() { IsEnabled = isEnable })
  472. </td>
  473. <td>
  474. @Html.LabelFor(x => x.QQ):
  475. </td>
  476. <td>
  477. @Html.TextBoxFor(x => x.QQ, new TextBoxOptions() { IsEnabled = isEnable })
  478. </td>
  479. </tr>
  480. <tr>
  481. <td>
  482. @Html.LabelFor(x => x.HomeAddress):
  483. </td>
  484. <td colspan="3">
  485. @Html.TextBoxFor(x => x.HomeAddress, new TextBoxOptions() { IsEnabled = isEnable }, new Dictionary<string, string> { { "style", "width:90%;" } })
  486. </td>
  487. </tr>
  488. <tr>
  489. <td>
  490. @Html.LabelFor(x => x.WorkUnit):
  491. </td>
  492. <td colspan="3">
  493. @Html.TextBoxFor(x => x.WorkUnit, new TextBoxOptions() { IsEnabled = isEnable }, new Dictionary<string, string> { { "style", "width:90%;" } })
  494. </td>
  495. </tr>
  496. <tr>
  497. <td>
  498. @Html.LabelFor(x => x.Address):
  499. </td>
  500. <td colspan="3">
  501. @Html.TextBoxFor(x => x.Address, new TextBoxOptions() { IsEnabled = isEnable }, new Dictionary<string, string> { { "style", "width:90%;" } })
  502. </td>
  503. </tr>
  504. <tr>
  505. <td>
  506. @Html.LabelFor(x => x.Dormitory):
  507. </td>
  508. <td>
  509. @Html.TextBoxFor(x => x.Dormitory, new TextBoxOptions() { IsEnabled = isEnable })
  510. </td>
  511. <td>
  512. @Html.LabelFor(x => x.Recipient):
  513. </td>
  514. <td>
  515. @Html.TextBoxFor(x => x.Recipient, new TextBoxOptions() { IsEnabled = isEnable })
  516. </td>
  517. </tr>
  518. <tr>
  519. <td colspan="4" style="padding:1px;height:10px;">
  520. <div id="accountExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  521. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  522. onclick="swapAccount();">
  523. </div>
  524. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapAccount();">
  525. 学生缴费信息
  526. </div>
  527. </td>
  528. </tr>
  529. <tr>
  530. <td>
  531. @Html.LabelFor(x => x.BankName):
  532. </td>
  533. <td>
  534. @Html.TextBoxFor(x => x.BankName, new TextBoxOptions() { IsEnabled = isEnable })
  535. </td>
  536. <td>
  537. @Html.LabelFor(x => x.CardNo):
  538. </td>
  539. <td>
  540. @Html.TextBoxFor(x => x.CardNo, new TextBoxOptions() { IsEnabled = isEnable })
  541. </td>
  542. </tr>
  543. <tr>
  544. <td colspan="4" style="padding:1px;height:10px;">
  545. <div id="recruitExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  546. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  547. onclick="swapRecruit();">
  548. </div>
  549. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapRecruit();">
  550. 高考招生信息
  551. </div>
  552. </td>
  553. </tr>
  554. <tr>
  555. <td style="color:red;">
  556. @Html.LabelFor(x => x.ExamineeNum):
  557. </td>
  558. <td>
  559. @Html.TextBoxFor(x => x.ExamineeNum, new TextBoxOptions() { IsEnabled = isEdit })
  560. </td>
  561. <td>
  562. @Html.LabelFor(x => x.AdmissionTicketNo):
  563. </td>
  564. <td>
  565. @Html.TextBoxFor(x => x.AdmissionTicketNo, new TextBoxOptions() { IsEnabled = isEnable })
  566. </td>
  567. </tr>
  568. <tr>
  569. <td>
  570. @Html.LabelFor(x => x.ExamineeType):
  571. </td>
  572. <td>
  573. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_EXAMINEETYPE, (x => x.ExamineeType), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  574. </td>
  575. <td>
  576. @Html.LabelFor(x => x.EntranceDate):
  577. </td>
  578. <td>
  579. @Html.TextBoxFor(x => x.EntranceDate, new TextBoxOptions() { TextBoxType = TextBoxType.Date, IsEnabled = isEnable })
  580. </td>
  581. </tr>
  582. <tr>
  583. <td>
  584. @Html.LabelFor(x => x.Score):
  585. </td>
  586. <td>
  587. @Html.TextBoxFor(x => x.Score, new TextBoxOptions() { IsEnabled = isEnable })
  588. </td>
  589. <td>
  590. @Html.LabelFor(x => x.EntranceWayID):
  591. </td>
  592. <td>
  593. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_EntranceWay, (x => x.EntranceWayID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  594. </td>
  595. </tr>
  596. <tr>
  597. <td>
  598. @Html.LabelFor(x => x.FeaturesID):
  599. </td>
  600. <td>
  601. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Features, (x => x.FeaturesID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  602. </td>
  603. <td>
  604. @Html.LabelFor(x => x.TerritorialID):
  605. </td>
  606. <td>
  607. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Province, (x => x.TerritorialID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable })
  608. </td>
  609. </tr>
  610. <tr>
  611. <td>
  612. @Html.LabelFor(x => x.Area):
  613. </td>
  614. <td colspan="3">
  615. @Html.TextBoxFor(x => x.Area, new TextBoxOptions() { IsEnabled = isEnable }, new Dictionary<string, string> { { "style", "width:90%;" } })
  616. </td>
  617. </tr>
  618. <tr>
  619. <td colspan="4" style="padding:1px;height:10px;">
  620. <div id="otherExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  621. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  622. onclick="swapOther();">
  623. </div>
  624. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapOther();">
  625. 其它信息
  626. </div>
  627. </td>
  628. </tr>
  629. <tr>
  630. <td>
  631. @Html.LabelFor(x => x.Career):
  632. </td>
  633. <td colspan="3">
  634. @if (!isEnable)
  635. {
  636. @Html.TextAreaFor(x => x.Career, new Dictionary<string, object>
  637. {
  638. { "style", "width: 90%;min-height: 30px" },
  639. { "disabled", "true" }
  640. })
  641. }
  642. else
  643. {
  644. @Html.TextAreaFor(x => x.Career, new Dictionary<string, object> { { "style", "width: 90%;min-height: 30px" } })
  645. }
  646. </td>
  647. </tr>
  648. <tr>
  649. <td>
  650. @Html.LabelFor(x => x.Remark):
  651. </td>
  652. <td colspan="3">
  653. @if (!isEnable)
  654. {
  655. @Html.TextAreaFor(x => x.Remark, new Dictionary<string, object>
  656. {
  657. { "style", "width: 90%;min-height: 20px" },
  658. { "disabled", "true" }
  659. })
  660. }
  661. else
  662. {
  663. @Html.TextAreaFor(x => x.Remark, new Dictionary<string, object> { { "style", "width: 90%;min-height: 20px" } })
  664. }
  665. </td>
  666. </tr>
  667. </table>
  668. </div>
  669. }
  670. </div>