select.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803
  1. <template>
  2. <view>
  3. <u-navbar title="选择人员">
  4. <view class="slot-wrap" @click="submit()">
  5. 发布
  6. </view>
  7. </u-navbar>
  8. <view class="mui-content">
  9. <view class="vongi-bread">
  10. <template v-for="(item,index) in navList">
  11. <a :class="navCanClick(item,index)?'color4fc5f7':''" @click="reloadItem(item,index)" :key="index"
  12. v-text="item.name"></a>
  13. <u-icon name="arrow-right" :key="index" v-if="index!=navList.length-1"></u-icon>
  14. </template>
  15. </view>
  16. <view class="mui-table-view">
  17. <view v-for="(item,index) in arrangeShiftCompanyList" :key="index"
  18. class="mui-table-view-cell ">
  19. <view class="mui-ellipsis">
  20. {{item.name}}
  21. </view>
  22. <a href="" class=" mui-ellipsis-a " @click="reloadNext(item)">
  23. <img src="@/assets/img/oawork/select.png">
  24. 下级</a>
  25. <!--灰色状态-->
  26. <!--<a href="" class="color999 iconfont icon-xiaji">下级</a>-->
  27. </view>
  28. </view>
  29. <view class="vongi-fplist" :style="'margin-bottom:'+(clientHeight+100)+'px'">
  30. <view class="mui-content-padded">
  31. 人员列表
  32. </view>
  33. <view class="mui-input-group" style="background-color: #fff; padding-bottom: 90px;">
  34. <view class="mui-input-row " v-for="(item,index) in arrangeShiftPersonList" :key="index"
  35. @click="checkboxBtn(item)">
  36. <label :class="{
  37. selectcheckboxBtn:selectId.indexOf(item.personId)!=-1
  38. }">{{item.auditorName}}</label>
  39. <!-- mui-checkbox
  40. <input name="checkbox1" :value="item.id" v-model="selectId" type="checkbox"> -->
  41. </view>
  42. <view class="mui-input-row " v-if="!arrangeShiftPersonList.length">
  43. --无--
  44. <!-- mui-checkbox
  45. <input name="checkbox1" :value="item.id" v-model="selectId" type="checkbox"> -->
  46. </view>
  47. </view>
  48. <view class=" vongi-footer " >
  49. <view class="margin10">已选择人员:<span style="float: right;">已选{{selectPerson.length}}人</span></view>
  50. <view class="vongi-yjbtn flew" :style="'height:'+clientHeight+'px'">
  51. <span style="height: 24px;" v-for="(item,i) in selectPerson" :key="i">{{item.auditorName}}
  52. <a class="iconfont icon-guanbi1" v-show="item.status==0"
  53. @click="checkboxBtn(item)">
  54. <u-icon name="close"></u-icon>
  55. </a></span>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. </template>
  62. <script>
  63. export default {
  64. data() {
  65. return {
  66. clientHeight: 37,
  67. companyId: '',
  68. arrangeShiftCompanyList: [
  69. ],
  70. arrangeShiftPersonList: [],
  71. nowLevel: 0,
  72. navList: [{
  73. name: '地方铁路地方铁路公司',
  74. id: ''
  75. },{
  76. name: '项目部门',
  77. id: ''
  78. },{
  79. name: 'xxxx小组',
  80. id: ''
  81. }],
  82. selectId: [],
  83. selectPerson: [],
  84. selectIdOld: [],
  85. selectPersonOld: [],
  86. selectObj: {},
  87. }
  88. },
  89. onReady() {
  90. this.getArrangeShiftCompanyList();
  91. },
  92. methods: {
  93. submit() {},
  94. checkboxBtn(obj) {
  95. //selectId.push(item.id)
  96. //(this.selectId)
  97. //(this.selectPerson)
  98. if (this.selectId.includes(obj.personId)) {
  99. var i = -1;
  100. var person = {};
  101. for (var j in this.selectPerson) {
  102. if (this.selectPerson[j].personId == obj.personId) {
  103. i = j
  104. person = this.selectPerson[j];
  105. }
  106. }
  107. if (i != -1) {
  108. if (person.status != 0) {
  109. mui.toast("已审批人员不可调整")
  110. return;
  111. }
  112. this.selectPerson.splice(i, 1);
  113. this.selectId.splice(i, 1);
  114. }
  115. } else {
  116. if (this.selectType == 'single' && this.selectPerson.length > 0) {
  117. mui.toast("单人审批只能选择一人")
  118. return;
  119. }
  120. this.selectPerson.push(obj);
  121. this.selectId.push(obj.personId)
  122. }
  123. this.setHeight()
  124. },
  125. setHeight() {
  126. //spanLast
  127. this.$nextTick(() => {
  128. var top = document.getElementById("spanLast").scrollHeight;
  129. if (top < 500) {
  130. this.clientHeight = top;
  131. } else {
  132. this.clientHeight = 500;
  133. }
  134. //(top)
  135. })
  136. },
  137. reloadItem(item, index) {
  138. if (index == this.nowLevel) {
  139. return false;
  140. }
  141. this.navList = this.navList.slice(0, index + 1);
  142. this.nowLevel = index;
  143. this.companyId = item.id;
  144. this.getArrangeShiftCompanyList();
  145. },
  146. //加载下级
  147. reloadNext(item) {
  148. this.navList.push(item)
  149. this.nowLevel++;
  150. this.companyId = item.id;
  151. this.getArrangeShiftCompanyList();
  152. },
  153. //判断面包屑是否可点击
  154. navCanClick(item, index) {
  155. if (index == this.nowLevel) {
  156. return false;
  157. } else {
  158. return true;
  159. }
  160. },
  161. back() {
  162. this.selectId = this.selectIdOld;
  163. this.selectPerson = this.selectPersonOld;
  164. this.$emit("confirm", {
  165. status: 0
  166. })
  167. },
  168. ok() {
  169. if (this.selectPerson.length || this.selectType == "view") {
  170. var k = 0;
  171. for (var i in this.selectPerson) {
  172. var obj = this.selectPerson[i];
  173. if (obj.status == 0) {
  174. k++;
  175. }
  176. }
  177. if (k == 0 && this.selectType != "view") {
  178. mui.toast("请保留最少一人审批");
  179. return
  180. }
  181. if (this.selectType == 'single' && this.selectPerson.length > 1) {
  182. mui.toast("单人审批只能选择一人")
  183. return;
  184. }
  185. this.selectIdOld = this.selectId;
  186. this.selectPersonOld = this.selectPerson;
  187. if (this.selectType == "view") {
  188. this.selectObj.examineStep.stepType = "2"
  189. this.selectObj.examineStep.examineType = "view"
  190. } else {
  191. this.selectObj.examineStep.examineType = this.selectType
  192. this.selectObj.examineStep.stepType = "1"
  193. }
  194. this.selectObj.stepPersonList = this.selectPerson
  195. this.$emit("confirm", {
  196. status: 1,
  197. selectObj: this.selectObj
  198. })
  199. } else {
  200. mui.toast("请保留最少一人审批");
  201. }
  202. },
  203. getArrangeShiftCompanyList() {
  204. var response = {
  205. "personList": [{
  206. "id": 19640,
  207. "companyId": "b1855f3b-c26b-4345-9920-4dc6b1527548",
  208. "companyName": null,
  209. "name": "杨洋LA",
  210. "phone": "19945188896",
  211. "idCard": null,
  212. "openId": "oHjCawo-Twp2YRfuIT2Z9X4ayAtQ",
  213. "faceEnabled": null,
  214. "faceBound": null,
  215. "cardEnabled": null,
  216. "appEnabled": null,
  217. "passwordEnabled": null,
  218. "guestEnabled": null,
  219. "position1": null,
  220. "position2": null,
  221. "position3": null,
  222. "position4": null,
  223. "position5": null,
  224. "delFlag": false,
  225. "createBy": "9e304351-a0d2-4b9a-9a94-141edcbaeb74",
  226. "createTime": "2022-12-08 14:01",
  227. "updateBy": "72dc480e-6816-4be3-918d-da2436f39627",
  228. "updateTime": "2023-01-05 12:14",
  229. "faceImageUrl": "http://oss.xiaoxinda.com/smart/person/2022/12/8/9edfdd0f-e3a1-4a2c-9771-8e4f750d6bc8/1.jpg",
  230. "popedom": "ad5601de-fe86-4c4d-a354-1eae0cb30530",
  231. "popedomName": null,
  232. "lastTemperatureLog": null,
  233. "isNormal": null,
  234. "personCompany": null,
  235. "wechatNoticeEnabled": false,
  236. "allowViewLocal": false,
  237. "companyType": null,
  238. "healthErtificateUrl": null,
  239. "isSync": null,
  240. "sex": null,
  241. "parkId": null,
  242. "parkName": null,
  243. "healthyCode": null,
  244. "updateHealthyTime": null,
  245. "healthyReason": null,
  246. "companyStructName": null,
  247. "roleName": null,
  248. "personRoleId": null,
  249. "workStatus": "1",
  250. "checkinInfoId": null,
  251. "contractType": null,
  252. "hkPersonId": null,
  253. "isTemporary": false,
  254. "temporaryEffectiveDate": null,
  255. "workStatusN": "工作"
  256. },
  257. {
  258. "id": 19728,
  259. "companyId": "b1855f3b-c26b-4345-9920-4dc6b1527548",
  260. "companyName": null,
  261. "name": "高进权",
  262. "phone": "15671357878",
  263. "idCard": null,
  264. "openId": "oN5ep6FvodStV8A2gXSQAUum8LKM",
  265. "faceEnabled": null,
  266. "faceBound": false,
  267. "cardEnabled": null,
  268. "appEnabled": null,
  269. "passwordEnabled": null,
  270. "guestEnabled": null,
  271. "position1": null,
  272. "position2": null,
  273. "position3": null,
  274. "position4": null,
  275. "position5": null,
  276. "delFlag": false,
  277. "createBy": "31ea2b4f-20a1-4be5-901f-7a927c729d1a",
  278. "createTime": "2022-12-15 11:05",
  279. "updateBy": "72dc480e-6816-4be3-918d-da2436f39627",
  280. "updateTime": "2023-01-05 12:40",
  281. "faceImageUrl": "http://oss.xiaoxinda.com/smart/person/2022/12/24/d0751ba1-48f2-4515-ba23-19efb297f9e1/1.jpg",
  282. "popedom": "3a85ff78-7f9d-47dd-af10-6f39b466812b",
  283. "popedomName": null,
  284. "lastTemperatureLog": null,
  285. "isNormal": null,
  286. "personCompany": null,
  287. "wechatNoticeEnabled": false,
  288. "allowViewLocal": false,
  289. "companyType": null,
  290. "healthErtificateUrl": null,
  291. "isSync": null,
  292. "sex": null,
  293. "parkId": null,
  294. "parkName": null,
  295. "healthyCode": null,
  296. "updateHealthyTime": null,
  297. "healthyReason": null,
  298. "companyStructName": null,
  299. "roleName": null,
  300. "personRoleId": null,
  301. "workStatus": "1",
  302. "checkinInfoId": null,
  303. "contractType": null,
  304. "hkPersonId": null,
  305. "isTemporary": false,
  306. "temporaryEffectiveDate": null,
  307. "workStatusN": "工作"
  308. },
  309. {
  310. "id": 19729,
  311. "companyId": "b1855f3b-c26b-4345-9920-4dc6b1527548",
  312. "companyName": null,
  313. "name": "郑开鑫",
  314. "phone": "17602144315",
  315. "idCard": null,
  316. "openId": "oN5ep6Os2nExGLOW5k1cZHGwVFHE",
  317. "faceEnabled": null,
  318. "faceBound": true,
  319. "cardEnabled": null,
  320. "appEnabled": null,
  321. "passwordEnabled": null,
  322. "guestEnabled": null,
  323. "position1": null,
  324. "position2": null,
  325. "position3": null,
  326. "position4": null,
  327. "position5": null,
  328. "delFlag": false,
  329. "createBy": "31ea2b4f-20a1-4be5-901f-7a927c729d1a",
  330. "createTime": "2022-12-15 11:06",
  331. "updateBy": "72dc480e-6816-4be3-918d-da2436f39627",
  332. "updateTime": "2023-01-05 13:00",
  333. "faceImageUrl": "http://oss.xiaoxinda.com/smart/person/2022/12/21/ae5ec908-8757-4d00-bcb9-eff6f901fec8/1.jpg",
  334. "popedom": "b73f2316-90ba-4357-982d-d06763f5af41",
  335. "popedomName": null,
  336. "lastTemperatureLog": null,
  337. "isNormal": null,
  338. "personCompany": null,
  339. "wechatNoticeEnabled": false,
  340. "allowViewLocal": false,
  341. "companyType": null,
  342. "healthErtificateUrl": null,
  343. "isSync": null,
  344. "sex": null,
  345. "parkId": null,
  346. "parkName": null,
  347. "healthyCode": null,
  348. "updateHealthyTime": null,
  349. "healthyReason": null,
  350. "companyStructName": null,
  351. "roleName": null,
  352. "personRoleId": null,
  353. "workStatus": "1",
  354. "checkinInfoId": null,
  355. "contractType": null,
  356. "hkPersonId": null,
  357. "isTemporary": false,
  358. "temporaryEffectiveDate": null,
  359. "workStatusN": "工作"
  360. },
  361. {
  362. "id": 19730,
  363. "companyId": "b1855f3b-c26b-4345-9920-4dc6b1527548",
  364. "companyName": null,
  365. "name": "陈文",
  366. "phone": "18986656325",
  367. "idCard": null,
  368. "openId": "oN5ep6AHmKcgbiOKH0mtilwK77po",
  369. "faceEnabled": null,
  370. "faceBound": false,
  371. "cardEnabled": null,
  372. "appEnabled": null,
  373. "passwordEnabled": null,
  374. "guestEnabled": null,
  375. "position1": null,
  376. "position2": null,
  377. "position3": null,
  378. "position4": null,
  379. "position5": null,
  380. "delFlag": false,
  381. "createBy": "31ea2b4f-20a1-4be5-901f-7a927c729d1a",
  382. "createTime": "2022-12-15 11:06",
  383. "updateBy": null,
  384. "updateTime": "2022-12-29 00:00",
  385. "faceImageUrl": "http://oss.xiaoxinda.com/smart/person/2022/12/22/a3ce263c-4886-4124-aefb-a8f226455b22/1.jpg",
  386. "popedom": "6da4d6d3-06fc-4f1e-9bc2-c623fc8ef630",
  387. "popedomName": null,
  388. "lastTemperatureLog": null,
  389. "isNormal": null,
  390. "personCompany": null,
  391. "wechatNoticeEnabled": false,
  392. "allowViewLocal": false,
  393. "companyType": null,
  394. "healthErtificateUrl": null,
  395. "isSync": null,
  396. "sex": null,
  397. "parkId": null,
  398. "parkName": null,
  399. "healthyCode": null,
  400. "updateHealthyTime": null,
  401. "healthyReason": null,
  402. "companyStructName": null,
  403. "roleName": null,
  404. "personRoleId": null,
  405. "workStatus": "1",
  406. "checkinInfoId": null,
  407. "contractType": null,
  408. "hkPersonId": null,
  409. "isTemporary": false,
  410. "temporaryEffectiveDate": null,
  411. "workStatusN": "工作"
  412. },
  413. {
  414. "id": 19731,
  415. "companyId": "b1855f3b-c26b-4345-9920-4dc6b1527548",
  416. "companyName": null,
  417. "name": "舒展",
  418. "phone": "13437120102",
  419. "idCard": null,
  420. "openId": "oHjCawgwCGen5k1-hAsimdEX5lZo",
  421. "faceEnabled": null,
  422. "faceBound": null,
  423. "cardEnabled": null,
  424. "appEnabled": null,
  425. "passwordEnabled": null,
  426. "guestEnabled": null,
  427. "position1": null,
  428. "position2": null,
  429. "position3": null,
  430. "position4": null,
  431. "position5": null,
  432. "delFlag": false,
  433. "createBy": "31ea2b4f-20a1-4be5-901f-7a927c729d1a",
  434. "createTime": "2022-12-15 11:07",
  435. "updateBy": "72dc480e-6816-4be3-918d-da2436f39627",
  436. "updateTime": "2023-01-30 09:07",
  437. "faceImageUrl": null,
  438. "popedom": "ffe91fed-46e3-4547-a593-0979b58f1228",
  439. "popedomName": null,
  440. "lastTemperatureLog": null,
  441. "isNormal": null,
  442. "personCompany": null,
  443. "wechatNoticeEnabled": false,
  444. "allowViewLocal": false,
  445. "companyType": null,
  446. "healthErtificateUrl": null,
  447. "isSync": null,
  448. "sex": null,
  449. "parkId": null,
  450. "parkName": null,
  451. "healthyCode": null,
  452. "updateHealthyTime": null,
  453. "healthyReason": null,
  454. "companyStructName": null,
  455. "roleName": null,
  456. "personRoleId": null,
  457. "workStatus": "1",
  458. "checkinInfoId": null,
  459. "contractType": null,
  460. "hkPersonId": null,
  461. "isTemporary": false,
  462. "temporaryEffectiveDate": null,
  463. "workStatusN": "工作"
  464. },
  465. {
  466. "id": 19733,
  467. "companyId": "b1855f3b-c26b-4345-9920-4dc6b1527548",
  468. "companyName": null,
  469. "name": "杨所",
  470. "phone": "15207211859",
  471. "idCard": null,
  472. "openId": "oN5ep6J256zHjlbVU6HXEfQLkhvs",
  473. "faceEnabled": null,
  474. "faceBound": null,
  475. "cardEnabled": null,
  476. "appEnabled": null,
  477. "passwordEnabled": null,
  478. "guestEnabled": null,
  479. "position1": null,
  480. "position2": null,
  481. "position3": null,
  482. "position4": null,
  483. "position5": null,
  484. "delFlag": false,
  485. "createBy": "72dc480e-6816-4be3-918d-da2436f39627",
  486. "createTime": "2022-12-22 16:08",
  487. "updateBy": "72dc480e-6816-4be3-918d-da2436f39627",
  488. "updateTime": "2023-04-10 11:37",
  489. "faceImageUrl": "http://oss.xiaoxinda.com/smart/person/2022/12/26/fb90da2c-89df-48a6-b1ca-6d2d9c9f2d94/1.jpg",
  490. "popedom": "f2b89b01-92e8-431a-bab1-f2feb9026d82",
  491. "popedomName": null,
  492. "lastTemperatureLog": null,
  493. "isNormal": null,
  494. "personCompany": null,
  495. "wechatNoticeEnabled": true,
  496. "allowViewLocal": false,
  497. "companyType": null,
  498. "healthErtificateUrl": null,
  499. "isSync": null,
  500. "sex": null,
  501. "parkId": null,
  502. "parkName": null,
  503. "healthyCode": null,
  504. "updateHealthyTime": null,
  505. "healthyReason": null,
  506. "companyStructName": null,
  507. "roleName": null,
  508. "personRoleId": null,
  509. "workStatus": "1",
  510. "checkinInfoId": null,
  511. "contractType": null,
  512. "hkPersonId": null,
  513. "isTemporary": false,
  514. "temporaryEffectiveDate": null,
  515. "workStatusN": "工作"
  516. }
  517. ],
  518. "companyInfoList": [{
  519. "id": "b1855f3b-c26b-4345-9920-4dc6b1527548",
  520. "logo": null,
  521. "level": 2,
  522. "sortNo": 20,
  523. "name": "测试组",
  524. "fullName": null,
  525. "remark": null,
  526. "createBy": "31ea2b4f-20a1-4be5-901f-7a927c729d1a",
  527. "createTime": "2022-12-15 11:04",
  528. "updateBy": "72dc480e-6816-4be3-918d-da2436f39627",
  529. "updateTime": "2022-12-25 12:31",
  530. "delFlag": false,
  531. "parentId": "78486e1d-4100-45e9-8073-5d7a9814391b",
  532. "code": "78486e1d-4100-45e9-8073-5d7a9814391b,b1855f3b-c26b-4345-9920-4dc6b1527548",
  533. "parentName": "目录",
  534. "type": "1",
  535. "typeName": null,
  536. "wallUrl": null,
  537. "sceneId": "1",
  538. "regionId": "1",
  539. "sceneName": null,
  540. "regionName": null,
  541. "relationCompanyId": null,
  542. "enableRegister": null,
  543. "unitType": "1",
  544. "hasNext": null,
  545. "isMobilePayment": null,
  546. "healthyReportNoticeEnable": null,
  547. "healthyReportNoticeTime": null,
  548. "healthyReportSubmitTime": null,
  549. "source": null,
  550. "provinceCode": null,
  551. "addressDetail": null,
  552. "screenRefreshInterval": null,
  553. "wechatMesssageUrl": "ga-oa/#/"
  554. },{
  555. "id": "b1855f3b-c26b-4345-9920-4dc6b1527548",
  556. "logo": null,
  557. "level": 2,
  558. "sortNo": 20,
  559. "name": "测试组",
  560. "fullName": null,
  561. "remark": null,
  562. "createBy": "31ea2b4f-20a1-4be5-901f-7a927c729d1a",
  563. "createTime": "2022-12-15 11:04",
  564. "updateBy": "72dc480e-6816-4be3-918d-da2436f39627",
  565. "updateTime": "2022-12-25 12:31",
  566. "delFlag": false,
  567. "parentId": "78486e1d-4100-45e9-8073-5d7a9814391b",
  568. "code": "78486e1d-4100-45e9-8073-5d7a9814391b,b1855f3b-c26b-4345-9920-4dc6b1527548",
  569. "parentName": "目录",
  570. "type": "1",
  571. "typeName": null,
  572. "wallUrl": null,
  573. "sceneId": "1",
  574. "regionId": "1",
  575. "sceneName": null,
  576. "regionName": null,
  577. "relationCompanyId": null,
  578. "enableRegister": null,
  579. "unitType": "1",
  580. "hasNext": null,
  581. "isMobilePayment": null,
  582. "healthyReportNoticeEnable": null,
  583. "healthyReportNoticeTime": null,
  584. "healthyReportSubmitTime": null,
  585. "source": null,
  586. "provinceCode": null,
  587. "addressDetail": null,
  588. "screenRefreshInterval": null,
  589. "wechatMesssageUrl": "ga-oa/#/"
  590. },{
  591. "id": "b1855f3b-c26b-4345-9920-4dc6b1527548",
  592. "logo": null,
  593. "level": 2,
  594. "sortNo": 20,
  595. "name": "测试组",
  596. "fullName": null,
  597. "remark": null,
  598. "createBy": "31ea2b4f-20a1-4be5-901f-7a927c729d1a",
  599. "createTime": "2022-12-15 11:04",
  600. "updateBy": "72dc480e-6816-4be3-918d-da2436f39627",
  601. "updateTime": "2022-12-25 12:31",
  602. "delFlag": false,
  603. "parentId": "78486e1d-4100-45e9-8073-5d7a9814391b",
  604. "code": "78486e1d-4100-45e9-8073-5d7a9814391b,b1855f3b-c26b-4345-9920-4dc6b1527548",
  605. "parentName": "目录",
  606. "type": "1",
  607. "typeName": null,
  608. "wallUrl": null,
  609. "sceneId": "1",
  610. "regionId": "1",
  611. "sceneName": null,
  612. "regionName": null,
  613. "relationCompanyId": null,
  614. "enableRegister": null,
  615. "unitType": "1",
  616. "hasNext": null,
  617. "isMobilePayment": null,
  618. "healthyReportNoticeEnable": null,
  619. "healthyReportNoticeTime": null,
  620. "healthyReportSubmitTime": null,
  621. "source": null,
  622. "provinceCode": null,
  623. "addressDetail": null,
  624. "screenRefreshInterval": null,
  625. "wechatMesssageUrl": "ga-oa/#/"
  626. }]
  627. }
  628. this.arrangeShiftCompanyList = response.companyInfoList;
  629. var list = [];
  630. for (var i in response.personList) {
  631. var obj = response.personList[i];
  632. list.push({
  633. personId: obj.id,
  634. auditorImage: obj.faceImageUrl,
  635. auditorName: obj.name,
  636. status: 0,
  637. })
  638. }
  639. this.arrangeShiftPersonList = list;
  640. return
  641. this.isLoading = true;
  642. API.findDepartmentAndPerson(this.companyId).then(response => {
  643. this.isLoading = false;
  644. }).catch(error => {
  645. this.isLoading = false;
  646. mui.toast(error);
  647. })
  648. }, //下拉事件
  649. init(selectObj) {
  650. document.body.scrollTop = 0;
  651. document.documentElement.scrollTop = 0;
  652. //this.initbl=false
  653. this.selectObj = selectObj
  654. if (this.selectObj) {
  655. this.selectType = this.selectObj.examineStep.examineType;
  656. this.selectId = [];
  657. this.selectPerson = [];
  658. var list = this.selectObj.stepPersonList;
  659. for (var i in list) {
  660. var obj = list[i]
  661. this.selectId.push(obj.personId)
  662. this.selectPerson.push(obj)
  663. }
  664. this.setHeight()
  665. //(this.selectPerson)
  666. }
  667. },
  668. }
  669. }
  670. </script>
  671. <style scoped lang="scss">
  672. .slot-wrap {
  673. //background-color: rgba(204, 204, 204, 1);
  674. background-color: #03a9f4;
  675. width: 104rpx;
  676. height: 56rpx;
  677. line-height: 56rpx;
  678. border-radius: 8px;
  679. color: #fff;
  680. text-align: center;
  681. position: absolute;
  682. top: 50%;
  683. right: 32rpx;
  684. transform: translateY(-50%);
  685. }
  686. .vongi-bread{
  687. font-size: 14px;
  688. padding: 10px;
  689. display: -webkit-box;
  690. overflow-x: scroll;
  691. .color4fc5f7{
  692. color: #3385FF/*蓝*/;
  693. }
  694. a{
  695. padding: 0 5px;
  696. display: block;
  697. }
  698. }
  699. .mui-table-view{
  700. background-color: rgba(255, 255, 255, 1);
  701. .mui-table-view-cell {
  702. display: flex;
  703. padding: 11px 15px;
  704. justify-content: space-between;
  705. .mui-ellipsis{
  706. flex: 1;
  707. border-right: 1px solid #BBBBBB;
  708. padding-right: 15px;
  709. margin-right: 15px;
  710. }
  711. .mui-ellipsis-a{
  712. color: #3385FF;
  713. img{
  714. width: 24rpx;
  715. height: 24rpx;
  716. }
  717. }
  718. }
  719. }
  720. .vongi-fplist{
  721. .mui-content-padded{
  722. font-size: 14px;
  723. padding: 10px;
  724. }
  725. .mui-input-group{
  726. background-color: rgba(255, 255, 255, 1);
  727. .mui-input-row{
  728. padding: 10px;
  729. }
  730. }
  731. }
  732. .vongi-footer{
  733. position: fixed;
  734. bottom: 0;
  735. width: 100%;
  736. padding: 10px 0;
  737. background-color: #f3f4f4;
  738. .margin10,.vongi-yjbtn{
  739. padding: 0px 20px;
  740. background-color: rgba(255, 255, 255, 1);
  741. }
  742. .vongi-yjbtn{
  743. display: flex;
  744. flex-wrap: wrap;
  745. height: 112px;
  746. overflow-y: scroll;
  747. width: 100%;
  748. span{
  749. color: #3385FF;
  750. border: 1px solid #3385FF;
  751. border-radius: 18px;
  752. padding: 2px 10px;
  753. display: flex;
  754. align-items: center;
  755. margin: 5px;
  756. }
  757. a{
  758. font-size: 14px;
  759. margin-left: 5px;
  760. color: #3385FF;
  761. }
  762. }
  763. }
  764. .selectcheckboxBtn{
  765. color: #3385FF;
  766. }
  767. </style>