account-info.component.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. <div class="all">
  2. <div class="region">
  3. <div class="nav">
  4. <div>
  5. <svg
  6. width="24"
  7. height="27"
  8. viewBox="0 0 18 20"
  9. fill="none"
  10. xmlns="http://www.w3.org/2000/svg"
  11. >
  12. <path
  13. d="M18 2H4C3.46957 2 2.96086 2.21071 2.58579 2.58579C2.21071 2.96086 2 3.46957 2 4C2 4.53043 2.21071 5.03914 2.58579 5.41421C2.96086 5.78929 3.46957 6 4 6H18V19C18 19.2652 17.8946 19.5196 17.7071 19.7071C17.5196 19.8946 17.2652 20 17 20H4C2.93913 20 1.92172 19.5786 1.17157 18.8284C0.421427 18.0783 0 17.0609 0 16V4C0 2.93913 0.421427 1.92172 1.17157 1.17157C1.92172 0.421427 2.93913 0 4 0H17C17.2652 0 17.5196 0.105357 17.7071 0.292893C17.8946 0.48043 18 0.734783 18 1V2Z"
  14. fill="url(#paint0_linear_5_11023)"
  15. />
  16. <defs>
  17. <linearGradient
  18. id="paint0_linear_5_11023"
  19. x1="9"
  20. y1="-2.21282e-07"
  21. x2="25.5"
  22. y2="40"
  23. gradientUnits="userSpaceOnUse"
  24. >
  25. <stop stop-color="#E04860" />
  26. <stop offset="1" stop-color="#E99306" />
  27. </linearGradient>
  28. </defs>
  29. </svg>
  30. </div>
  31. 完善账号信息
  32. <div class="tips">
  33. 欢迎使用“十四五”普通高等教育本科国家级规划教材申报系统
  34. ,请先完善您的资料信息,以便管理员审核账号。
  35. </div>
  36. </div>
  37. <div class="form">
  38. <form
  39. nz-form
  40. [formGroup]="validateForm"
  41. class="account-form"
  42. (ngSubmit)="submitForm()"
  43. >
  44. <nz-form-item nz-row nzJustify="space-between">
  45. <nz-form-label
  46. nz-col
  47. nzSpan="6"
  48. class="label"
  49. [nzNoColon]="true"
  50. nzRequired
  51. >用户名</nz-form-label
  52. >
  53. <nz-input-group nz-col nzSpan="16">
  54. <input
  55. nz-input
  56. type="text"
  57. formControlName="username"
  58. placeholder="请输入用户名"
  59. />
  60. </nz-input-group>
  61. </nz-form-item>
  62. <nz-form-item nz-row nzJustify="space-between">
  63. <nz-form-label
  64. nz-col
  65. nzSpan="6"
  66. class="label"
  67. [nzNoColon]="true"
  68. nzRequired
  69. >密码</nz-form-label
  70. >
  71. <nz-input-group nz-col nzSpan="16">
  72. <input
  73. nz-input
  74. type="password"
  75. formControlName="password"
  76. placeholder="请输入密码"
  77. />
  78. </nz-input-group>
  79. </nz-form-item>
  80. <nz-form-item nz-row nzJustify="space-between">
  81. <nz-form-label
  82. nz-col
  83. nzSpan="6"
  84. class="label"
  85. [nzNoColon]="true"
  86. nzRequired
  87. >姓名</nz-form-label
  88. >
  89. <nz-input-group nz-col nzSpan="16">
  90. <input
  91. nz-input
  92. type="text"
  93. formControlName="name"
  94. placeholder="请输入真实姓名"
  95. />
  96. </nz-input-group>
  97. </nz-form-item>
  98. <nz-form-item nz-row nzJustify="space-between">
  99. <nz-form-label nz-col nzSpan="6" class="label" [nzNoColon]="true" nzRequired
  100. >手机号</nz-form-label
  101. >
  102. <nz-input-group nz-col nzSpan="16">
  103. <input
  104. nz-input
  105. type="text"
  106. formControlName="phone"
  107. [disabled]="true"
  108. placeholder="请输入手机号"
  109. maxlength="11"
  110. />
  111. </nz-input-group>
  112. </nz-form-item>
  113. <nz-form-item nz-row nzJustify="space-between">
  114. <nz-form-label
  115. nz-col
  116. nzSpan="6"
  117. class="label"
  118. [nzNoColon]="true"
  119. nzRequired
  120. >电子邮箱</nz-form-label
  121. >
  122. <nz-input-group nz-col nzSpan="16">
  123. <input
  124. nz-input
  125. type="email"
  126. [disabled]="user?.get('email')"
  127. formControlName="email"
  128. placeholder="请输入电子邮箱"
  129. />
  130. </nz-input-group>
  131. </nz-form-item>
  132. <nz-form-item nz-row nzJustify="space-between">
  133. <nz-form-label
  134. nz-col
  135. nzSpan="6"
  136. class="label"
  137. [nzNoColon]="true"
  138. nzRequired
  139. >人员类型</nz-form-label
  140. >
  141. <nz-input-group nz-col nzSpan="16">
  142. <nz-select
  143. style="width: 100%"
  144. nzShowSearch
  145. nzAllowClear
  146. nzPlaceHolder="请选择您在本次教材遴选推荐中所属的身份类型"
  147. formControlName="identity"
  148. >
  149. @for(item of userType; track item;let index = $index){
  150. <nz-option nzCustomContent [nzValue]="item" [nzLabel]="item">{{
  151. item
  152. }}</nz-option>
  153. }
  154. </nz-select>
  155. </nz-input-group>
  156. </nz-form-item>
  157. <!-- validateForm.value.identity=='工作联系人' -->
  158. <!-- <nz-form-item nz-row nzJustify="space-between">
  159. <nz-form-label nz-col nzSpan="6" class="label" [nzNoColon]="true">办公电话</nz-form-label>
  160. <nz-input-group nz-col nzSpan="16">
  161. <input nz-input type="text" formControlName="telephone" placeholder="请填写办公电话" />
  162. </nz-input-group>
  163. </nz-form-item>
  164. <nz-form-item nz-row nzJustify="space-between">
  165. <nz-form-label nz-col nzSpan="6" class="label" [nzNoColon]="true">省份</nz-form-label>
  166. <nz-input-group nz-col nzSpan="16">
  167. <nz-select style="width: 100%" nzShowSearch nzAllowClear nzPlaceHolder="请选择省份" formControlName="province">
  168. @for(item of provinces; track item;let index = $index){
  169. <nz-option nzCustomContent [nzValue]="item" [nzLabel]="item">{{
  170. item
  171. }}</nz-option>
  172. }
  173. </nz-select>
  174. </nz-input-group>
  175. </nz-form-item> -->
  176. <nz-form-item nz-row nzJustify="space-between">
  177. <nz-form-label
  178. nz-col
  179. nzSpan="6"
  180. class="label"
  181. [nzNoColon]="true"
  182. nzRequired
  183. >单位类型</nz-form-label
  184. >
  185. <nz-input-group nz-col nzSpan="16">
  186. <nz-select
  187. style="width: 100%"
  188. nzShowSearch
  189. nzAllowClear
  190. [disabled]="true"
  191. nzPlaceHolder="请选择所在单位类型"
  192. [(ngModel)]="companyType"
  193. [ngModelOptions]="{ standalone: true }"
  194. (ngModelChange)="provinceChange('', true)"
  195. >
  196. @for(item of unitTypes; track item.name;let index = $index){
  197. <nz-option
  198. nzCustomContent
  199. [nzValue]="item.name"
  200. [nzLabel]="item.name"
  201. >{{ item.name }}</nz-option
  202. >
  203. }
  204. </nz-select>
  205. </nz-input-group>
  206. </nz-form-item>
  207. <nz-form-item nz-row nzJustify="space-between">
  208. <nz-form-label
  209. nz-col
  210. nzSpan="6"
  211. class="label"
  212. [nzNoColon]="true"
  213. nzRequired
  214. >单位名称</nz-form-label
  215. >
  216. <nz-input-group nz-col nzSpan="16">
  217. <nz-select
  218. style="width: 100%"
  219. nzShowSearch
  220. nzAllowClear
  221. nzPlaceHolder="请输入所在单位名称(需先选择单位类型)"
  222. [(ngModel)]="companyId"
  223. (nzOnSearch)="provinceChange($event)"
  224. [ngModelOptions]="{ standalone: true }"
  225. >
  226. @for(item of companys; track item;let index = $index){
  227. <nz-option
  228. nzCustomContent
  229. [nzValue]="item.id"
  230. [nzLabel]="item.name"
  231. >{{ item.name }}</nz-option
  232. >
  233. }
  234. </nz-select>
  235. </nz-input-group>
  236. </nz-form-item>
  237. <!-- <nz-form-item nz-row nzJustify="space-between">
  238. <nz-form-label nz-col nzSpan="6" class="label" [nzNoColon]="true">所在部门</nz-form-label>
  239. <nz-input-group nz-col nzSpan="16">
  240. <input nz-input type="text" formControlName="departmentName" placeholder="请填写所在部门" />
  241. </nz-input-group>
  242. </nz-form-item>
  243. <nz-form-item nz-row nzJustify="space-between">
  244. <nz-form-label nz-col nzSpan="6" class="label" [nzNoColon]="true">职务</nz-form-label>
  245. <nz-input-group nz-col nzSpan="16">
  246. <input nz-input type="text" formControlName="postName" placeholder="请填写职务" />
  247. </nz-input-group>
  248. </nz-form-item> -->
  249. <!-- <nz-form-item>
  250. <nz-form-label class="label" [nzNoColon]="true" nzRequired
  251. >身份证号</nz-form-label
  252. >
  253. <nz-input-group nz-col nzSpan="16">
  254. <input
  255. nz-input
  256. type="text"
  257. formControlName="idcard"
  258. placeholder="请填写身份证号"
  259. />
  260. </nz-input-group>
  261. </nz-form-item> -->
  262. <nz-form-item nz-row nzJustify="space-between">
  263. <nz-form-label
  264. nz-col
  265. nzSpan="6"
  266. class="label"
  267. [nzNoColon]="true"
  268. nzRequired
  269. >工作联系人信息表</nz-form-label
  270. >
  271. <nz-input-group nz-col nzSpan="16">
  272. <div
  273. style="
  274. padding: 5px 10px;
  275. border-radius: 5px;
  276. "
  277. >
  278. <app-comp-upload
  279. [width]="320"
  280. (change)="upload($event)"
  281. title="上传文件"
  282. ></app-comp-upload>
  283. </div>
  284. <div class="text" style="margin: 10px 0; color: #231c1f99">
  285. <a href="/file/模板.doc" download="模板"
  286. >下载工作联系人信息表</a
  287. >,填写盖章后上传 PDF 格式,单个文件大小不超过 2M
  288. <!-- 请<a href="">下载单位联系人认证文件模板</a>,填写盖章后上传。支持上传 PDF、JPG、JPEG、PNG
  289. 格式,单个文件大小不超过 2M -->
  290. </div>
  291. </nz-input-group>
  292. </nz-form-item>
  293. </form>
  294. <button
  295. id="basic"
  296. class="form-button"
  297. type="button"
  298. mat-button
  299. [disabled]="loading"
  300. (click)="submitForm()"
  301. >
  302. 提交
  303. </button>
  304. <!-- <div class="menu">
  305. <a nz-dropdown [nzDropdownMenu]="menu">
  306. <span style="color: #231c1f99">English</span>
  307. <span
  308. nz-icon
  309. nzType="down"
  310. style="color: #756b6d; margin-left: 4px"
  311. ></span>
  312. </a>
  313. <nz-dropdown-menu #menu="nzDropdownMenu">
  314. <ul nz-menu nzSelectable>
  315. <li nz-menu-item>English</li>
  316. <li nz-menu-item>中文简体</li>
  317. </ul>
  318. </nz-dropdown-menu>
  319. </div> -->
  320. <a style="color: #231c1f99;font-size: 14px;" (click)="back()">返回</a>
  321. </div>
  322. </div>
  323. </div>
  324. <div class="loading" [hidden]="!loading">
  325. <nz-spin nzSimple [nzSize]="'large'"></nz-spin>
  326. </div>