placePersonAdd.vue 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497
  1. <template>
  2. <van-nav-bar
  3. fixed
  4. title="人员信息录入"
  5. left-arrow
  6. @click-left="onClickLeft"
  7. :style="{ 'background-color': selectColor }"
  8. />
  9. <div class="main">
  10. <div class="formArea">
  11. <van-cell-group>
  12. <van-field
  13. v-model="idTypeName"
  14. readonly
  15. required
  16. label="证件类型:"
  17. name="validator"
  18. placeholder="请选择证件类型"
  19. input-align="right"
  20. right-icon="arrow-down"
  21. @click="showPicker = true"
  22. :rules="[{ validator, message: '证件类型不能为空' }]"
  23. />
  24. <van-popup v-model:show="showPicker" round position="bottom">
  25. <van-picker
  26. title="证件类型"
  27. :columns="places"
  28. @cancel="showPicker = false"
  29. @confirm="getPlace"
  30. />
  31. </van-popup>
  32. </van-cell-group>
  33. <van-cell-group>
  34. <van-field
  35. v-model="inputForm.idcard"
  36. center
  37. required
  38. label="证件号码:"
  39. placeholder="请填写证件号码"
  40. input-align="right"
  41. />
  42. </van-cell-group>
  43. <van-cell-group>
  44. <van-field
  45. v-model="inputForm.name"
  46. center
  47. required
  48. label="姓名:"
  49. placeholder="请填写姓名"
  50. input-align="right"
  51. />
  52. </van-cell-group>
  53. <van-cell-group>
  54. <van-field name="uploader" label-align="top" label="工作照片:">
  55. <template #input>
  56. <van-uploader
  57. v-model="fileList"
  58. :after-read="afterRead1"
  59. :max-count="6"
  60. capture="camera"
  61. accept=""
  62. :before-delete="fjdelete"
  63. >
  64. </van-uploader>
  65. </template>
  66. </van-field>
  67. </van-cell-group>
  68. <van-cell-group>
  69. <van-field
  70. v-model="inputForm.beforeUsedName"
  71. center
  72. label="曾用名:"
  73. placeholder="请填写曾用名"
  74. input-align="right"
  75. />
  76. </van-cell-group>
  77. <van-cell-group>
  78. <van-field
  79. v-model="nationName"
  80. readonly
  81. label="民族:"
  82. placeholder="请选择民族"
  83. input-align="right"
  84. right-icon="arrow-down"
  85. @click="hs_nation = true"
  86. />
  87. <van-popup v-model:show="hs_nation" round position="bottom">
  88. <van-picker
  89. title="民族类型"
  90. :columns="nation"
  91. @cancel="hs_nation = false"
  92. @confirm="getnation"
  93. />
  94. </van-popup>
  95. </van-cell-group>
  96. <van-cell-group>
  97. <van-field
  98. v-model="sexName"
  99. readonly
  100. required
  101. label="性别:"
  102. placeholder="请选择选择"
  103. input-align="right"
  104. right-icon="arrow-down"
  105. @click="hs_sex = true"
  106. />
  107. <van-popup v-model:show="hs_sex" round position="bottom">
  108. <van-picker
  109. title="选择"
  110. :columns="sex"
  111. @cancel="hs_sex = false"
  112. @confirm="getsex"
  113. />
  114. </van-popup>
  115. </van-cell-group>
  116. <van-cell-group>
  117. <van-field
  118. v-model="inputForm.phone"
  119. center
  120. label="手机号:"
  121. placeholder="请填写手机号"
  122. input-align="right"
  123. />
  124. </van-cell-group>
  125. <van-cell-group>
  126. <van-field
  127. v-model="inputForm.nativePlace"
  128. readonly
  129. label="籍贯:"
  130. placeholder="请选择籍贯地区"
  131. input-align="right"
  132. right-icon="arrow-down"
  133. @click="hs_nativePlace = true"
  134. />
  135. <van-popup v-model:show="hs_nativePlace" round position="bottom">
  136. <van-picker
  137. title="籍贯"
  138. :columns="nativePlace"
  139. :columns-field-names="customFieldName"
  140. @cancel="hs_nativePlace = false"
  141. @confirm="getnativePlace"
  142. />
  143. </van-popup>
  144. </van-cell-group>
  145. <van-cell-group>
  146. <van-field
  147. v-model="educationName"
  148. readonly
  149. label="教育程度"
  150. placeholder="请选择教育程度"
  151. input-align="right"
  152. right-icon="arrow-down"
  153. @click="hs_education = true"
  154. />
  155. <van-popup v-model:show="hs_education" round position="bottom">
  156. <van-picker
  157. title="教育程度"
  158. :columns="education"
  159. @cancel="hs_education = false"
  160. @confirm="geteducation"
  161. />
  162. </van-popup>
  163. </van-cell-group>
  164. <van-cell-group>
  165. <van-field
  166. v-model="inputForm.graduatedFrom"
  167. center
  168. label="毕业院校:"
  169. placeholder="请填写毕业院校"
  170. input-align="right"
  171. />
  172. </van-cell-group>
  173. <van-cell-group>
  174. <van-field
  175. v-model="religiousName"
  176. readonly
  177. label="教别:"
  178. name="validator"
  179. placeholder="请选择教别"
  180. input-align="right"
  181. right-icon="arrow-down"
  182. @click="hs_religious = true"
  183. />
  184. <van-popup v-model:show="hs_religious" round position="bottom">
  185. <van-picker
  186. title="教别"
  187. :columns="religious"
  188. @cancel="hs_religious = false"
  189. @confirm="getreligious"
  190. />
  191. </van-popup>
  192. </van-cell-group>
  193. <van-cell-group>
  194. <van-field
  195. v-model="inputForm.religiousAppellation"
  196. center
  197. label="宗教称谓:"
  198. placeholder="请填写宗教称谓"
  199. input-align="right"
  200. />
  201. </van-cell-group>
  202. <van-cell-group>
  203. <van-field
  204. v-model="locationName"
  205. readonly
  206. label="所属场所:"
  207. placeholder="请选择所属场所"
  208. input-align="right"
  209. right-icon="arrow-down"
  210. @click="hs_site = true"
  211. >
  212. </van-field>
  213. <van-dialog v-model:show="hs_site" title="所属场所" show-cancel-button>
  214. <div class="dialog">
  215. <van-list
  216. v-model:loading="loading"
  217. :finished="finished"
  218. finished-text="没有更多了"
  219. @load="onLoad"
  220. >
  221. <van-radio-group v-model="checked">
  222. <van-cell-group inset>
  223. <van-cell
  224. v-for="item in sitelist"
  225. :key="item"
  226. :title="item.name"
  227. clickable
  228. @click="getsite(item)"
  229. >
  230. <template #right-icon>
  231. <van-radio :name="item.id" @click="getsite(item)"/>
  232. </template>
  233. </van-cell>
  234. </van-cell-group>
  235. </van-radio-group>
  236. </van-list>
  237. </div>
  238. </van-dialog>
  239. </van-cell-group>
  240. <van-cell-group>
  241. <van-field
  242. v-model="typeOfEmployeesName"
  243. readonly
  244. label-width="7.2em"
  245. label="场所任职情况:"
  246. placeholder="请选择场所任职情况"
  247. input-align="right"
  248. right-icon="arrow-down"
  249. @click="hs_typeOfEmployees = true"
  250. />
  251. <van-popup v-model:show="hs_typeOfEmployees" round position="bottom">
  252. <van-picker
  253. title="任职情况"
  254. :columns="typeOfEmployees"
  255. @cancel="hs_typeOfEmployees = false"
  256. @confirm="gettypeOfEmployees"
  257. />
  258. </van-popup>
  259. </van-cell-group>
  260. <van-cell-group>
  261. <van-field
  262. v-model="inputForm.currentResidence"
  263. center
  264. required
  265. readonly
  266. label="现居地:"
  267. placeholder="请填写现居地"
  268. input-align="right"
  269. right-icon="arrow-down"
  270. @click="showPlace1 = true"
  271. />
  272. <van-popup v-model:show="showPlace1" round position="bottom">
  273. <van-picker
  274. title="现居地选择"
  275. :columns="options"
  276. :columns-field-names="customFieldName"
  277. @cancel="showPlace1 = false"
  278. @confirm="getPlace1"
  279. />
  280. </van-popup>
  281. </van-cell-group>
  282. <van-cell-group>
  283. <van-field
  284. v-model="inputForm.place"
  285. center
  286. label="详细地址:"
  287. placeholder="请填写详细场所"
  288. input-align="right"
  289. >
  290. <template #right-icon>
  291. <van-icon name="location" @click="getLocation()" />
  292. </template>
  293. </van-field>
  294. </van-cell-group>
  295. <van-cell-group>
  296. <van-field
  297. v-model="personnalType"
  298. readonly
  299. required
  300. label="人员类型:"
  301. placeholder="请选择人员类型"
  302. input-align="right"
  303. right-icon="arrow-down"
  304. @click="hs_persontype = true"
  305. />
  306. <van-dialog
  307. v-model:show="hs_persontype"
  308. title="人员类型"
  309. show-cancel-button
  310. >
  311. <div class="dialog">
  312. <van-list>
  313. <van-checkbox-group v-model="checked2">
  314. <van-cell-group inset>
  315. <van-cell
  316. v-for="(item, index) in persontype"
  317. clickable
  318. :key="item"
  319. :title="`${item.text}`"
  320. @click="toggle(index)"
  321. >
  322. <template #right-icon>
  323. <van-checkbox
  324. :name="item.value"
  325. :ref="(el) => (checkboxRefs[index] = el)"
  326. @click.stop
  327. />
  328. </template>
  329. </van-cell>
  330. </van-cell-group>
  331. </van-checkbox-group>
  332. </van-list>
  333. </div>
  334. </van-dialog>
  335. </van-cell-group>
  336. <van-cell-group>
  337. <van-field
  338. v-model="tissueName"
  339. readonly
  340. label="宗教组织:"
  341. placeholder="请选择宗教组织"
  342. input-align="right"
  343. right-icon="arrow-down"
  344. @click="hs_tissue = true"
  345. />
  346. <van-dialog
  347. v-model:show="hs_tissue"
  348. title="所属场所"
  349. show-cancel-button
  350. >
  351. <div class="dialog">
  352. <van-list
  353. v-model:loading="loading1"
  354. :finished="finished1"
  355. finished-text="没有更多了"
  356. @load="onLoad1"
  357. >
  358. <van-radio-group v-model="checked1">
  359. <van-cell-group inset>
  360. <van-cell
  361. v-for="item in tissuelist"
  362. :key="item"
  363. :title="item.organizationName"
  364. clickable
  365. @click="gettissue(item)"
  366. >
  367. <template #right-icon>
  368. <van-radio :name="item.id" />
  369. </template>
  370. </van-cell>
  371. </van-cell-group>
  372. </van-radio-group>
  373. </van-list>
  374. </div>
  375. </van-dialog>
  376. </van-cell-group>
  377. <van-cell-group>
  378. <van-field
  379. v-model="inputForm.zjzzJob"
  380. center
  381. label-width="6.5em"
  382. label="团体任职情况:"
  383. placeholder="请填写团体任职情况"
  384. input-align="right"
  385. />
  386. </van-cell-group>
  387. <van-cell-group>
  388. <van-field
  389. v-model="activitytext"
  390. readonly
  391. required
  392. label-width="7em"
  393. label="非法活动参加:"
  394. placeholder="请选择是否参加非法活动"
  395. input-align="right"
  396. right-icon="arrow-down"
  397. @click="hs_activity = true"
  398. />
  399. <van-popup v-model:show="hs_activity" round position="bottom">
  400. <van-picker
  401. title="选择是否参加"
  402. :columns="activity"
  403. @cancel="hs_activity = false"
  404. @confirm="getactivity"
  405. />
  406. </van-popup>
  407. </van-cell-group>
  408. <p class="miniTitle">扩展信息</p>
  409. <van-cell-group
  410. v-if="
  411. showZW.includes('15') &&
  412. showZW.includes('17') &&
  413. showZW.includes('18') &&
  414. showZW.includes('19') &&
  415. showZW.includes('21') &&
  416. showZW.includes('22')
  417. "
  418. >
  419. <van-field
  420. v-model="job"
  421. center
  422. label="职务:"
  423. placeholder="请填写职务"
  424. input-align="right"
  425. />
  426. </van-cell-group>
  427. <van-cell-group v-if="showZW.includes('3')">
  428. <van-field
  429. v-model="teachPosition"
  430. readonly
  431. label="教职身份:"
  432. name="validator"
  433. placeholder="请选择教职身份"
  434. input-align="right"
  435. right-icon="arrow-down"
  436. @click="hs_teach = true"
  437. />
  438. <van-popup v-model:show="hs_teach" round position="bottom">
  439. <van-picker
  440. title="教职身份"
  441. :columns="teach"
  442. @cancel="hs_teach = false"
  443. @confirm="getteach"
  444. />
  445. </van-popup>
  446. </van-cell-group>
  447. <van-cell-group v-if="showZW.includes('3')">
  448. <van-field
  449. v-model="Religiouseducation"
  450. readonly
  451. label-width="6.5em"
  452. label="宗教教育程度:"
  453. name="validator"
  454. placeholder="请选择宗教教育程度"
  455. input-align="right"
  456. right-icon="arrow-down"
  457. @click="hs_Reducation = true"
  458. />
  459. <van-popup v-model:show="hs_Reducation" round position="bottom">
  460. <van-picker
  461. title="宗教教育程度"
  462. :columns="Reducation"
  463. @cancel="hs_Reducation = false"
  464. @confirm="getReducation"
  465. />
  466. </van-popup>
  467. </van-cell-group>
  468. <van-cell-group v-if="showZW.includes('3')">
  469. <van-field
  470. v-model="finishschoolName"
  471. center
  472. label-width="6.5em"
  473. label="宗教毕业院校:"
  474. placeholder="请填写宗教毕业院校"
  475. input-align="right"
  476. />
  477. </van-cell-group>
  478. <van-cell-group v-if="showZW.includes('3')">
  479. <van-field
  480. v-model="certificateNumber"
  481. center
  482. label-width="6.5em"
  483. label="教职证书号:"
  484. placeholder="请填写教职证书号"
  485. input-align="right"
  486. />
  487. </van-cell-group>
  488. <van-cell-group v-if="showZW.includes('3')">
  489. <van-field
  490. v-model="issueDate"
  491. center
  492. label-width="6.5em"
  493. label="证书颁发时间:"
  494. placeholder="请填写证书颁发时间"
  495. input-align="right"
  496. @click="hs_issueDate = true"
  497. />
  498. <van-popup v-model:show="hs_issueDate" round position="bottom">
  499. <van-date-picker
  500. v-model="currentDate"
  501. title="选择日期"
  502. :min-date="minDate"
  503. :max-date="maxDate"
  504. @cancel="hs_issueDate = false"
  505. @confirm="getissueDate"
  506. />
  507. </van-popup>
  508. </van-cell-group>
  509. <van-cell-group v-if="showZW.includes('3')">
  510. <van-field
  511. v-model="certificateUnit"
  512. center
  513. label-width="6.5em"
  514. label="证书颁发单位:"
  515. placeholder="请填写证书颁发单位"
  516. input-align="right"
  517. />
  518. </van-cell-group>
  519. <van-cell-group v-if="showZW.includes('3')">
  520. <van-field
  521. v-model="recordDate"
  522. center
  523. label="备案时间:"
  524. placeholder="请填写备案时间"
  525. input-align="right"
  526. @click="hs_recordDate = true"
  527. />
  528. <van-popup v-model:show="hs_recordDate" round position="bottom">
  529. <van-date-picker
  530. v-model="currentDate"
  531. title="选择日期"
  532. :min-date="minDate"
  533. :max-date="maxDate"
  534. @cancel="hs_recordDate = false"
  535. @confirm="getrecordDate"
  536. />
  537. </van-popup>
  538. </van-cell-group>
  539. <van-cell-group v-if="showZW.includes('3')">
  540. <van-field
  541. v-model="authorityName"
  542. center
  543. label-width="6.5em"
  544. label="备案机关名称:"
  545. placeholder="请填写备案机关名称"
  546. input-align="right"
  547. />
  548. </van-cell-group>
  549. <van-cell-group v-if="showZW.includes('3')">
  550. <van-field
  551. v-model="schoolName"
  552. center
  553. label-width="6.5em"
  554. label="宗教院校名称:"
  555. placeholder="请填写宗教院校名称"
  556. input-align="right"
  557. />
  558. </van-cell-group>
  559. <van-cell-group v-if="showZW.includes('3')">
  560. <van-field
  561. v-model="takeoffice"
  562. center
  563. label-width="6.5em"
  564. label="院校任职情况:"
  565. placeholder="请填写院校任职情况"
  566. input-align="right"
  567. />
  568. </van-cell-group>
  569. <van-cell-group v-if="showZW.includes('16')">
  570. <van-field
  571. v-model="operateName"
  572. center
  573. label-width="6.5em"
  574. label="网络运营类型:"
  575. placeholder="请填写网络运营类型"
  576. input-align="right"
  577. @click="hs_operate = true"
  578. />
  579. <van-popup v-model:show="hs_operate" round position="bottom">
  580. <van-picker
  581. title="网络运营类型"
  582. :columns="operate"
  583. @cancel="hs_operate = false"
  584. @confirm="getoperate"
  585. />
  586. </van-popup>
  587. </van-cell-group>
  588. <van-cell-group v-if="showZW.includes('18')">
  589. <van-field
  590. v-model="journalistName"
  591. center
  592. label-width="6.5em"
  593. label="记者类型:"
  594. placeholder="请填写记者类型"
  595. input-align="right"
  596. @click="hs_journalist = true"
  597. />
  598. <van-popup v-model:show="hs_journalist" round position="bottom">
  599. <van-picker
  600. title="记者类型"
  601. :columns="journalistn"
  602. @cancel="hs_journalist = false"
  603. @confirm="getjournalist"
  604. />
  605. </van-popup>
  606. </van-cell-group>
  607. <van-cell-group v-if="showZW.includes('6') && showZW.includes('19')">
  608. <van-field
  609. v-model="overseas"
  610. center
  611. label-width="6.5em"
  612. label="境外来源地:"
  613. placeholder="请填写境外来源地"
  614. input-align="right"
  615. />
  616. </van-cell-group>
  617. <van-cell-group
  618. v-if="
  619. showZW.includes('20') &&
  620. showZW.includes('21') &&
  621. showZW.includes('22')
  622. "
  623. >
  624. <van-field
  625. v-model="faction"
  626. center
  627. label-width="6.5em"
  628. label="派别:"
  629. placeholder="请填写派别"
  630. input-align="right"
  631. />
  632. </van-cell-group>
  633. <van-cell-group v-if="showZW.includes('7')">
  634. <van-field
  635. v-model="cityOutaddress"
  636. center
  637. label-width="6.5em"
  638. label="市外来源地:"
  639. placeholder="请填写市外来源地"
  640. input-align="right"
  641. />
  642. </van-cell-group>
  643. <!-- 教别2 -->
  644. <van-cell-group v-if="showZW.includes('8')">
  645. <van-field
  646. v-model="religiousName2"
  647. readonly
  648. label="教别:"
  649. name="validator"
  650. placeholder="请选择教别"
  651. input-align="right"
  652. right-icon="arrow-down"
  653. @click="hs_religious2 = true"
  654. />
  655. <van-popup v-model:show="hs_religious2" round position="bottom">
  656. <van-picker
  657. title="教别"
  658. :columns="religious2"
  659. @cancel="hs_religious2 = false"
  660. @confirm="getreligious2"
  661. />
  662. </van-popup>
  663. </van-cell-group>
  664. </div>
  665. <div class="subbtn">
  666. <van-button type="primary" @click="submit">提交</van-button>
  667. <van-button @click="onClickLeft" type="default" hairline>取消</van-button>
  668. </div>
  669. </div>
  670. </template>
  671. <script>
  672. import { onBeforeUpdate, onMounted, ref } from "vue";
  673. import placePerson from "@/api/placePerson/placePerson";
  674. import PlaceRegister from "@/api/placeRegister/placeRegister";
  675. import { useRouter } from "vue-router";
  676. import tools from "@/api/sys/tools";
  677. export default {
  678. setup() {
  679. const onClickLeft = () => {
  680. history.back();
  681. };
  682. // 导航栏颜色
  683. const selectColor = ref(window.localStorage.getItem("MZ_COLOR"));
  684. //人员添加
  685. const inputForm = ref({
  686. id: "",
  687. userManagenmetDetailsDTOList: [],
  688. name: "",
  689. sex: "",
  690. idType: "",
  691. idcard: "",
  692. phone: "",
  693. location: {
  694. id: "",
  695. },
  696. typeOfEmployees: "",
  697. workPicture: "",
  698. nativePlace: "",
  699. currentResidence: "",
  700. currentResidenceDetail: "",
  701. personnelType: "",
  702. currentResidenceId: "100000/320000/320900",
  703. currentResidenceLevel1: "100000",
  704. currentResidenceLevel2: "320000",
  705. currentResidenceLevel3: "320900",
  706. currentResidenceLevel4: "",
  707. currentResidenceLevel5: "",
  708. currentResidenceLevel6: "",
  709. beforeUsedName: "",
  710. nation: "",
  711. religion: "",
  712. religiousAppellation: "",
  713. nationalEducationLevel: "",
  714. graduatedFrom: "",
  715. zjzzJob: "",
  716. zjzz: {
  717. id: "",
  718. },
  719. bkcheck: "",
  720. });
  721. // 职务
  722. const job = ref("");
  723. //教职身份
  724. const teachType = ref("");
  725. //宗教教育程度
  726. const religiousType = ref("");
  727. // 宗教毕业院校
  728. const religiousScool = ref("");
  729. //教职证书号
  730. const certificateNumber = ref("");
  731. //证书颁发单位
  732. const certificateUnit = ref("");
  733. //备案机关名称
  734. const authorityName = ref("");
  735. // 宗教毕业院校
  736. const finishschoolName = ref("");
  737. //宗教院校名称
  738. const schoolName = ref("");
  739. //院校任职情况
  740. const takeoffice = ref("");
  741. //境外来源地
  742. const overseas = ref("");
  743. //派别
  744. const faction = ref("");
  745. //市外来源地
  746. const cityOutaddress = ref("");
  747. const locationName = ref("");
  748. onMounted(() => {
  749. //籍贯接口
  750. new placePerson().nativePlace().then((res) => {
  751. nativePlace.value.push(...res);
  752. options.value.push(...res);
  753. });
  754. });
  755. // 证件类型
  756. const places = [
  757. { text: "身份证", value: " 1" },
  758. { text: "护照", value: "2" },
  759. { text: "港澳通行证", value: "3" },
  760. { text: "其他", value: "4" },
  761. ];
  762. const idTypeName = ref("");
  763. let showPicker = ref(false);
  764. const getPlace = ({ selectedOptions }) => {
  765. showPicker.value = false;
  766. const json = Object.assign(inputForm.value, {
  767. idType: selectedOptions[0].value,
  768. });
  769. inputForm.value = json;
  770. idTypeName.value = selectedOptions[0].text;
  771. };
  772. // 民族
  773. const nationName = ref("");
  774. const nation = [
  775. { text: "汉族", value: " 1" },
  776. { text: "阿昌族", value: "2" },
  777. { text: "白族", value: "3" },
  778. { text: "保安族", value: "4" },
  779. { text: "布朗族", value: "5" },
  780. { text: "布依族", value: " 6" },
  781. { text: "朝鲜族", value: "7" },
  782. { text: "达斡尔族", value: "8" },
  783. { text: "傣族", value: "9" },
  784. { text: "德昂族", value: "10" },
  785. { text: "东乡族", value: " 11" },
  786. { text: "侗族", value: "12" },
  787. { text: "独龙族", value: "13" },
  788. { text: "俄罗斯族", value: "14" },
  789. { text: "鄂伦春族", value: "15" },
  790. { text: "鄂温克族", value: " 16" },
  791. { text: "高山族", value: "17" },
  792. { text: "仡佬族", value: "18" },
  793. { text: "哈尼族", value: "19" },
  794. { text: "哈萨克族", value: "20" },
  795. { text: "赫哲族", value: " 21" },
  796. { text: "回族", value: "22" },
  797. { text: "基诺族", value: "23" },
  798. { text: "京族", value: "24" },
  799. { text: "景颇族", value: "25" },
  800. { text: "柯尔克孜族", value: " 26" },
  801. { text: "拉祜族", value: "27" },
  802. { text: "黎族", value: "28" },
  803. { text: "傈僳族", value: "29" },
  804. { text: "珞巴族", value: "30" },
  805. { text: "满族", value: " 31" },
  806. { text: "毛南族", value: "32" },
  807. { text: "门巴族", value: "33" },
  808. { text: "蒙古族", value: "34" },
  809. { text: "苗族", value: "35" },
  810. { text: "仫佬族", value: " 36" },
  811. { text: "纳西族", value: "37" },
  812. { text: "怒族", value: "38" },
  813. { text: "普米族", value: "39" },
  814. { text: "羌族", value: "40" },
  815. { text: "撒拉族", value: " 41" },
  816. { text: "畲族", value: "42" },
  817. { text: "水族", value: "43" },
  818. { text: "塔吉克族", value: "44" },
  819. { text: "塔塔尔族", value: "45" },
  820. { text: "土家族", value: " 46" },
  821. { text: "土族", value: "47" },
  822. { text: "佤族", value: "48" },
  823. { text: "维吾尔族", value: "49" },
  824. { text: "乌孜别克族", value: "50" },
  825. { text: "锡伯族", value: " 51" },
  826. { text: "瑶族", value: "52" },
  827. { text: "彝族", value: "53" },
  828. { text: "裕固族", value: "54" },
  829. { text: "藏族", value: "55" },
  830. { text: "壮族", value: "56" },
  831. { text: "其他", value: "57" },
  832. ]
  833. let hs_nation = ref(false);
  834. const getnation = ({ selectedOptions }) => {
  835. hs_nation.value = false;
  836. const json = Object.assign(inputForm.value, {
  837. nation: selectedOptions[0].value,
  838. });
  839. inputForm.value = json;
  840. nationName.value = selectedOptions[0].text;
  841. };
  842. // 性别
  843. const sexName = ref("");
  844. const sex = [
  845. { text: "男", value: "1" },
  846. { text: "女", value: "2" },
  847. ];
  848. let hs_sex = ref(false);
  849. const getsex = ({ selectedOptions }) => {
  850. hs_sex.value = false;
  851. const json = Object.assign(inputForm.value, {
  852. sex: selectedOptions[0].value,
  853. });
  854. inputForm.value = json;
  855. sexName.value = selectedOptions[0].text;
  856. };
  857. // 教育程度
  858. const educationName = ref("");
  859. const education = [
  860. { text: "小学", value: "1" },
  861. { text: "初中", value: "2" },
  862. { text: "中专", value: "3" },
  863. { text: "高中", value: "4" },
  864. { text: "大专", value: "5" },
  865. { text: "本科", value: "6" },
  866. { text: "硕士研究生", value: "7" },
  867. { text: "博士研究生", value: "8" },
  868. { text: "其他", value: "9" },
  869. ];
  870. let hs_education = ref(false);
  871. const geteducation = ({ selectedOptions }) => {
  872. hs_education.value = false;
  873. const json = Object.assign(inputForm.value, {
  874. nationalEducationLevel: selectedOptions[0].value,
  875. });
  876. inputForm.value = json;
  877. educationName.value = selectedOptions[0].text;
  878. };
  879. // 宗教类别
  880. const religiousName = ref("");
  881. const religious = [
  882. { text: "伊斯兰教", value: "1" },
  883. { text: "基督教", value: "2" },
  884. { text: "天主教", value: "3" },
  885. { text: "佛教", value: "4" },
  886. { text: "道教", value: "5" },
  887. ];
  888. let hs_religious = ref(false);
  889. const getreligious = ({ selectedOptions }) => {
  890. hs_religious.value = false;
  891. const json = Object.assign(inputForm.value, {
  892. religion: selectedOptions[0].value,
  893. });
  894. inputForm.value = json;
  895. religiousName.value = selectedOptions[0].text;
  896. };
  897. // 宗教类别2
  898. const religiousName2 = ref("");
  899. const religioustype2 = ref("");
  900. const religious2 = [
  901. { text: "伊斯兰教", value: "1" },
  902. { text: "基督教", value: "2" },
  903. { text: "天主教", value: "3" },
  904. { text: "佛教", value: "4" },
  905. { text: "道教", value: "5" },
  906. ];
  907. let hs_religious2 = ref(false);
  908. const getreligious2 = ({ selectedOptions }) => {
  909. hs_religious2.value = false;
  910. religioustype2.value = selectedOptions[0].value;
  911. religiousName2.value = selectedOptions[0].text;
  912. };
  913. // 所属场所
  914. const checked = ref("");
  915. const sitelist = ref([]);
  916. let hs_site = ref(false);
  917. const getsite = (val) => {
  918. console.log(val);
  919. let id = '';
  920. id = val.id;
  921. locationName.value = val.name;
  922. const json = Object.assign(inputForm.value, { location: { id: id } });
  923. inputForm.value = json;
  924. checked.value = val.id;
  925. };
  926. const loading = ref(false);
  927. const finished = ref(false);
  928. const refreshing = ref(false);
  929. let index = 0;
  930. const onLoad = () => {
  931. loading.value = true;
  932. finished.value = false;
  933. // 异步更新数据
  934. new PlaceRegister()
  935. .religiousList({
  936. current: index + 1,
  937. size: 10,
  938. })
  939. .then(({ records, pages }) => {
  940. sitelist.value = sitelist.value.concat(records);
  941. // 加载状态结束
  942. loading.value = false;
  943. if (index + 1 >= pages) {
  944. finished.value = true;
  945. }
  946. index++;
  947. });
  948. };
  949. // 场所任职情况
  950. const typeOfEmployeesName = ref("");
  951. const typeOfEmployees = [
  952. { text: "场所负责人", value: "1" },
  953. { text: "堂委", value: "2" },
  954. { text: "主要教职人员", value: "3" },
  955. { text: "财会", value: "4" },
  956. { text: "传道(已退休)", value: "5" },
  957. { text: "保安", value: "6" },
  958. { text: "信息审核员", value: "7" },
  959. { text: "常住", value: "8" },
  960. { text: "传道", value: "9" },
  961. { text: "道士", value: "10" },
  962. { text: "法人", value: "11" },
  963. { text: "法务", value: "12" },
  964. { text: "副主任", value: "13" },
  965. { text: "副组长", value: "14" },
  966. { text: "监院", value: "15" },
  967. { text: "清众", value: "16" },
  968. { text: "僧职", value: "17" },
  969. { text: "僧值", value: "18" },
  970. { text: "退居", value: "19" },
  971. { text: "维那", value: "20" },
  972. { text: "长老", value: "21" },
  973. { text: "知客", value: "22" },
  974. { text: "住持", value: "23" },
  975. { text: "组长", value: "24" },
  976. { text: "组长及讲道", value: "25" },
  977. ];
  978. let hs_typeOfEmployees = ref(false);
  979. const gettypeOfEmployees = ({ selectedOptions }) => {
  980. hs_typeOfEmployees.value = false;
  981. // inputForm.typeOfEmployees = selectedOptions[0].value;
  982. const json = Object.assign(inputForm.value, {
  983. typeOfEmployees: selectedOptions[0].value,
  984. });
  985. inputForm.value = json;
  986. typeOfEmployeesName.value = selectedOptions[0].text;
  987. };
  988. //籍贯
  989. const nativePlace = ref([]);
  990. let hs_nativePlace = ref(false);
  991. const getnativePlace = ({ selectedOptions }) => {
  992. hs_nativePlace.value = false;
  993. let str = "";
  994. selectedOptions.forEach((item) => {
  995. if (inputForm.nativePlace) {
  996. str = inputForm.nativePlace;
  997. }
  998. str += item.name + "/";
  999. });
  1000. inputForm.nativePlace = str;
  1001. const json = Object.assign(inputForm.value, { nativePlace: str });
  1002. inputForm.value = json;
  1003. };
  1004. //图片上传
  1005. let fileList = ref([]);
  1006. let fileImg = ref([]);
  1007. let workpic = ref("");
  1008. const afterRead1 = (file) => {
  1009. new tools()
  1010. .uploadFile(file, `sys/file/webupload/upload`)
  1011. .then(({ data }) => {
  1012. data.name = decodeURIComponent(
  1013. data.url.substring(data.url.lastIndexOf("/") + 1)
  1014. );
  1015. workpic.value += "" + data.url;
  1016. const json = Object.assign(inputForm.value, {
  1017. workPicture: workpic.value,
  1018. });
  1019. inputForm.value = json;
  1020. fileImg.value.push(data);
  1021. });
  1022. };
  1023. const fjdelete = (file) => {
  1024. //删除文件操作
  1025. for (let index = 0; index < fileList.value.length; index++) {
  1026. if (file.file == fileList.value[index].file) {
  1027. let delurl = fileImg.value[index].url;
  1028. new tools().uploadFiledelete("", delurl).then(({ data }) => {});
  1029. fileImg.value.splice(index, 1);
  1030. fileList.value.splice(index, 1);
  1031. }
  1032. }
  1033. };
  1034. //详细地址定位
  1035. const getLocation = () => {
  1036. xm.getLocation().then((data) => {
  1037. inputForm.currentResidenceDetail = data.POIName;
  1038. });
  1039. };
  1040. // 地区选择
  1041. let placeAddress = ref("");
  1042. const customFieldName = {
  1043. text: "name",
  1044. value: "id",
  1045. };
  1046. const options = ref([]);
  1047. let showPlace1 = ref(false);
  1048. const getPlace1 = ({ selectedOptions }) => {
  1049. showPlace1.value = false;
  1050. let str1 = "";
  1051. let str2 = "";
  1052. selectedOptions.forEach((item) => {
  1053. if (inputForm.currentResidence) {
  1054. str1 = inputForm.currentResidence;
  1055. str2 = inputForm.currentResidenceId;
  1056. }
  1057. str1 += item.name + "/";
  1058. str2 += item.code + "/";
  1059. });
  1060. const json = Object.assign(inputForm.value, {
  1061. currentResidence: str1,
  1062. currentResidenceId: str2,
  1063. });
  1064. inputForm.value = json;
  1065. };
  1066. //宗教组织
  1067. const tissueName = ref("");
  1068. const checked1 = ref("");
  1069. const tissuelist = ref([]);
  1070. let hs_tissue = ref(false);
  1071. const gettissue = (val) => {
  1072. tissueName.value = val.organizationName;
  1073. const json = Object.assign(inputForm.value, { zjzz: { id: val.id } });
  1074. inputForm.value = json;
  1075. checked1.value = val.id;
  1076. };
  1077. const loading1 = ref(false);
  1078. const finished1 = ref(false);
  1079. const refreshing1 = ref(false);
  1080. let index1 = 0;
  1081. const onLoad1 = () => {
  1082. loading1.value = true;
  1083. finished1.value = false;
  1084. // 异步更新数据
  1085. new placePerson()
  1086. .zjzz({
  1087. current: index1 + 1,
  1088. size: 10,
  1089. })
  1090. .then(({ records, pages }) => {
  1091. tissuelist.value = tissuelist.value.concat(records);
  1092. // 加载状态结束
  1093. loading1.value = false;
  1094. if (index1 + 1 >= pages) {
  1095. finished1.value = true;
  1096. }
  1097. index1++;
  1098. });
  1099. };
  1100. //人员类型
  1101. const personnalType = ref("");
  1102. const checked2 = ref([]);
  1103. const persontype = [
  1104. { text: "宗教从业人员", value: "1" },
  1105. { text: "民族场所从业人员", value: "2" },
  1106. { text: "教职人员", value: "3" },
  1107. { text: "固定信徒", value: "4" },
  1108. { text: "场所居住人员", value: "5" },
  1109. { text: "境外人员", value: "6" },
  1110. { text: "非本市人员", value: "7" },
  1111. { text: "非本教人员", value: "8" },
  1112. { text: "临时人员", value: "9" },
  1113. { text: "异常人员", value: "10" },
  1114. { text: "邪教人员", value: "12" },
  1115. { text: "管理人员", value: "13" },
  1116. { text: "全能神离家人员", value: "14" },
  1117. { text: "全能神骨干人员", value: "15" },
  1118. { text: "网络运营人员", value: "16" },
  1119. { text: "涉政有害活动人员", value: "17" },
  1120. { text: "境内外记者", value: "18" },
  1121. { text: "境外法轮功骨干人员", value: "19" },
  1122. { text: "其他邪教骨干人员", value: "20" },
  1123. { text: "心灵法门骨干人员", value: "21" },
  1124. { text: "“精神控制”有害培训骨干人员", value: "22" },
  1125. { text: "重点人员", value: "23" },
  1126. ];
  1127. const showZW = ref("");
  1128. const checkboxRefs = ref([]);
  1129. let hs_persontype = ref(false);
  1130. const toggle = (index) => {
  1131. checkboxRefs.value[index].toggle();
  1132. let str = "";
  1133. str = checked2.value.join();
  1134. const json = Object.assign(
  1135. { ...inputForm.value },
  1136. { personnelType: str }
  1137. );
  1138. inputForm.value = json;
  1139. personnalType.value = getValue(checked2.value).join();
  1140. showZW.value = str;
  1141. };
  1142. onBeforeUpdate(() => {
  1143. checkboxRefs.value = [];
  1144. });
  1145. const getValue = (item) => {
  1146. const type = {
  1147. 1: "宗教从业人员",
  1148. 2: "民族场所从业人员",
  1149. 3: "教职人员",
  1150. 4: "固定信徒",
  1151. 5: "场所居住人员",
  1152. 6: "境外人员",
  1153. 7: "非本市人员",
  1154. 8: "非本教人员",
  1155. 9: "临时人员",
  1156. 10: "异常人员",
  1157. 12: "邪教人员",
  1158. 13: "管理人员",
  1159. 14: "全能神离家人员",
  1160. 15: "全能神骨干人员",
  1161. 16: "网络运营人员",
  1162. 17: "涉政有害活动人员",
  1163. 18: "境内外记者",
  1164. 19: "境外法轮功骨干人员",
  1165. 20: "其他邪教骨干人员",
  1166. 21: "心灵法门骨干人员",
  1167. 22: "“精神控制”有害培训骨干人员",
  1168. 23: "重点人员",
  1169. };
  1170. let Array = [];
  1171. item.forEach((chilr) => {
  1172. Array.push(type[chilr]);
  1173. });
  1174. return Array;
  1175. };
  1176. // 是否参加非法活动
  1177. const activitytext = ref("");
  1178. const activity = [
  1179. { text: "是", value: "0" },
  1180. { text: "否", value: "1" },
  1181. ];
  1182. let hs_activity = ref(false);
  1183. const getactivity = ({ selectedOptions }) => {
  1184. hs_activity.value = false;
  1185. const json = Object.assign(inputForm.value, {
  1186. bkcheck: selectedOptions[0].value,
  1187. });
  1188. inputForm.value = json;
  1189. activitytext.value = selectedOptions[0].text;
  1190. };
  1191. // 教职身份
  1192. const teachPosition = ref("");
  1193. const teach = [
  1194. { text: "阿訇", value: "1" },
  1195. { text: "牧师", value: "2" },
  1196. { text: "长老", value: "3" },
  1197. { text: "传道员", value: "4" },
  1198. { text: "神学生", value: "5" },
  1199. { text: "道士(正一)", value: "6" },
  1200. { text: "比丘", value: "7" },
  1201. { text: "教师(副牧师)", value: "8" },
  1202. { text: "比丘尼", value: "9" },
  1203. ];
  1204. let hs_teach = ref(false);
  1205. const getteach = ({ selectedOptions }) => {
  1206. hs_teach.value = false;
  1207. teachType.value = selectedOptions[0].value;
  1208. teachPosition.value = selectedOptions[0].text;
  1209. };
  1210. // 宗教教育程度
  1211. const Religiouseducation = ref("");
  1212. const Reducation = [
  1213. { text: "小学", value: "1" },
  1214. { text: "初中", value: "2" },
  1215. { text: "中专", value: "3" },
  1216. { text: "高中", value: "4" },
  1217. { text: "大专", value: "5" },
  1218. { text: "本科", value: "6" },
  1219. { text: "硕士研究生", value: "7" },
  1220. { text: "博士研究生", value: "8" },
  1221. { text: "其他", value: "9" },
  1222. ];
  1223. let hs_Reducation = ref(false);
  1224. const getReducation = ({ selectedOptions }) => {
  1225. hs_Reducation.value = false;
  1226. religiousType.value = selectedOptions[0].value;
  1227. Religiouseducation.value = selectedOptions[0].text;
  1228. };
  1229. // 证书颁发时间
  1230. const issueDate = ref("");
  1231. let hs_issueDate = ref(false);
  1232. const getissueDate = ({ selectedOptions }) => {
  1233. hs_issueDate.value = false;
  1234. issueDate.value =
  1235. selectedOptions[0].text +
  1236. "-" +
  1237. selectedOptions[1].text +
  1238. "-" +
  1239. selectedOptions[2].text;
  1240. };
  1241. // 备案时间
  1242. const recordDate = ref("");
  1243. let hs_recordDate = ref(false);
  1244. const getrecordDate = ({ selectedOptions }) => {
  1245. hs_recordDate.value = false;
  1246. recordDate.value =
  1247. selectedOptions[0].text +
  1248. "-" +
  1249. selectedOptions[1].text +
  1250. "-" +
  1251. selectedOptions[2].text;
  1252. };
  1253. //记者类型
  1254. const journalistName = ref("");
  1255. const journalistName2 = ref("");
  1256. const journalistn = [
  1257. { text: "境内", value: "1" },
  1258. { text: "境外", value: "2" },
  1259. ];
  1260. let hs_journalistn = ref(false);
  1261. const getjournalistn = ({ selectedOptions }) => {
  1262. hs_journalistn.value = false;
  1263. journalistName2.value = selectedOptions[0].value;
  1264. journalistName.value = selectedOptions[0].text;
  1265. };
  1266. //网络运营类型
  1267. const operateName = ref("");
  1268. const operateName2 = ref("");
  1269. const operate = [
  1270. { text: "网络主播", value: "1" },
  1271. { text: "微博", value: "2" },
  1272. { text: "微信", value: "3" },
  1273. { text: "抖音", value: "4" },
  1274. { text: "快手", value: "5" },
  1275. { text: "淘宝", value: "6" },
  1276. { text: "QQ", value: "7" },
  1277. ];
  1278. let hs_operate = ref(false);
  1279. const getoperate = ({ selectedOptions }) => {
  1280. hs_operate.value = false;
  1281. operateName2.value = selectedOptions[0].value;
  1282. operateName.value = selectedOptions[0].text;
  1283. };
  1284. //跳转
  1285. let router = useRouter();
  1286. //数据提交
  1287. const submit = () => {
  1288. const list = [
  1289. { chineseName: "职务", value: job.value },
  1290. { chineseName: "教职身份", value: teachType.value },
  1291. { chineseName: "宗教教育程度", value: religiousType.value },
  1292. { chineseName: "宗教毕业院校", value: finishschoolName.value },
  1293. { chineseName: "教职证书号", value: certificateNumber.value },
  1294. { chineseName: "证书颁发时间", value: issueDate.value },
  1295. { chineseName: "证书颁发单位", value: certificateUnit.value },
  1296. { chineseName: "备案时间", value: recordDate.value },
  1297. { chineseName: "备案机关名称", value: authorityName.value },
  1298. { chineseName: "宗教院校名称", value: schoolName.value },
  1299. { chineseName: "院校任职情况", value: takeoffice.value },
  1300. { chineseName: "网络运营类型", value: operateName2.value },
  1301. { chineseName: "记者类型", value: journalistName2.value },
  1302. { chineseName: "境外来源地", value: overseas.value },
  1303. { chineseName: "派别", value: faction.value },
  1304. { chineseName: "市外来源地", value: cityOutaddress.value },
  1305. { chineseName: "教别", value: religioustype2.value },
  1306. ];
  1307. let newList = [];
  1308. newList = list.filter((item) => {
  1309. return item.value != "";
  1310. });
  1311. const json = Object.assign(inputForm.value, {
  1312. userManagenmetDetailsDTOList: newList,
  1313. });
  1314. inputForm.value = json;
  1315. new placePerson().save(inputForm.value).then((res) => {
  1316. console.log(res);
  1317. if (res.status == 200) {
  1318. xm.showToast({
  1319. message: "人员添加成功",
  1320. });
  1321. router.push({
  1322. path: "/placePerson",
  1323. });
  1324. }else{
  1325. xm.showToast({
  1326. message: "人员添加失败",
  1327. });
  1328. console.log(res);
  1329. }
  1330. });
  1331. };
  1332. return {
  1333. //人员添加
  1334. inputForm,
  1335. // 证件类型
  1336. idTypeName,
  1337. showPicker,
  1338. places,
  1339. getPlace,
  1340. //民族
  1341. nationName,
  1342. hs_nation,
  1343. nation,
  1344. getnation,
  1345. //性别
  1346. sexName,
  1347. hs_sex,
  1348. sex,
  1349. getsex,
  1350. // 教育程度
  1351. educationName,
  1352. hs_education,
  1353. education,
  1354. geteducation,
  1355. // 宗教类别
  1356. religiousName,
  1357. hs_religious,
  1358. religious,
  1359. getreligious,
  1360. // 宗教类别2
  1361. religiousName2,
  1362. religioustype2,
  1363. hs_religious2,
  1364. religious2,
  1365. getreligious2,
  1366. //所属场所
  1367. locationName,
  1368. checked,
  1369. hs_site,
  1370. getsite,
  1371. sitelist,
  1372. loading,
  1373. finished,
  1374. onLoad,
  1375. refreshing,
  1376. //场所任职情况
  1377. typeOfEmployeesName,
  1378. hs_typeOfEmployees,
  1379. typeOfEmployees,
  1380. gettypeOfEmployees,
  1381. //籍贯
  1382. nativePlace,
  1383. hs_nativePlace,
  1384. getnativePlace,
  1385. //宗教组织
  1386. tissueName,
  1387. checked1,
  1388. hs_tissue,
  1389. gettissue,
  1390. tissuelist,
  1391. loading1,
  1392. finished1,
  1393. onLoad1,
  1394. refreshing1,
  1395. //人员类型
  1396. checked2,
  1397. personnalType,
  1398. persontype,
  1399. hs_persontype,
  1400. toggle,
  1401. checkboxRefs,
  1402. showZW,
  1403. // 是否参加非法活动
  1404. activity,
  1405. hs_activity,
  1406. getactivity,
  1407. activitytext,
  1408. //教职身份
  1409. teachPosition,
  1410. teach,
  1411. hs_teach,
  1412. getteach,
  1413. //宗教教育程度
  1414. Religiouseducation,
  1415. Reducation,
  1416. hs_Reducation,
  1417. getReducation,
  1418. //证书颁发时间
  1419. hs_issueDate,
  1420. issueDate,
  1421. getissueDate,
  1422. //备案时间
  1423. hs_recordDate,
  1424. recordDate,
  1425. getrecordDate,
  1426. //记者类型
  1427. journalistName,
  1428. journalistn,
  1429. hs_journalistn,
  1430. getjournalistn,
  1431. //网络运营类型
  1432. operate,
  1433. operateName,
  1434. operateName2,
  1435. hs_operate,
  1436. getoperate,
  1437. //图片上传
  1438. fileList,
  1439. afterRead1,
  1440. //图片删除
  1441. fjdelete,
  1442. // 返回
  1443. onClickLeft,
  1444. // 详细地址定位
  1445. getLocation,
  1446. // 地区选择
  1447. placeAddress,
  1448. customFieldName,
  1449. showPlace1,
  1450. getPlace1,
  1451. options,
  1452. //userList数组
  1453. job,
  1454. religiousScool,
  1455. certificateNumber,
  1456. certificateUnit,
  1457. authorityName,
  1458. schoolName,
  1459. takeoffice,
  1460. overseas,
  1461. faction,
  1462. cityOutaddress,
  1463. finishschoolName,
  1464. //数据提交
  1465. submit,
  1466. selectColor,
  1467. };
  1468. },
  1469. };
  1470. </script>
  1471. <style lang="less">
  1472. .subbtn {
  1473. margin: 20px;
  1474. text-align: center;
  1475. }
  1476. .subbtn .van-button {
  1477. width: 40%;
  1478. margin: 5px;
  1479. }
  1480. .van-uploader .van-button {
  1481. border: none;
  1482. color: #36a7f3;
  1483. top: -4px;
  1484. }
  1485. .van-radio {
  1486. margin-right: 10px;
  1487. }
  1488. .dialog {
  1489. width: 100%;
  1490. height: 400px;
  1491. overflow: auto;
  1492. }
  1493. </style>