index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743
  1. <template>
  2. <view class="page-container uni-column">
  3. <view class="logo-container uni-row">
  4. <image class="logo" src="../../static/images/logo.png" />
  5. </view>
  6. <view class="title"><text class="label">德迈仕数字生产线管理平台</text></view>
  7. <view class="user-info-container uni-row">
  8. <view class="icon"><text class="label">{{ userInfo.nickName.charAt(0) }}</text></view>
  9. <view class="user-info uni-column">
  10. <view class="nickname uni-row"><text class="label">用户名: {{ userInfo.userName }}</text></view>
  11. <view class="nickname uni-row"><text class="label">ID:{{ userInfo.userId }}</text></view>
  12. <!-- <view class="process uni-row"><text class="label">当前工段:</text><text class="label">{{ deptName }}</text> -->
  13. <!-- </view> -->
  14. </view>
  15. </view>
  16. <view class="user-info uni-column" style="margin: 0 20rpx 20rpx 20rpx;width: 94%;">
  17. <uni-section title="当前厂别" type="square">
  18. <uni-data-select v-model="curSelectedTenantId" :localdata="tenantList" :clear="false"
  19. @change="handleTenantChange"></uni-data-select>
  20. </uni-section>
  21. <uni-section title="当前工段" type="square">
  22. <uni-data-select v-model="curSelectedDeptId" :localdata="userDeptsByTenantId" :clear="false"
  23. @change="handleDeptChange"></uni-data-select>
  24. </uni-section>
  25. </view>
  26. <!-- <view class="business-btn uni-row" v-if="showOther" @click="handleRecerptSfprod"><text class="label">半成品接收</text></view> -->
  27. <view class="business-btn uni-row" v-if="showOther" @click="handeleToReportHistory">
  28. <text class="label">我的报工</text>
  29. </view>
  30. <view v-if="showQuick" class="business-btn uni-row" @click="handleFastToProductionPlan">
  31. <text class="label">快速报工</text>
  32. </view>
  33. <view class="business-btn uni-row" v-if="showTakeStock" @click="handleToTakeStock">
  34. <text class="label">盘点</text>
  35. </view>
  36. <view class="business-btn uni-row" v-if="showOther && !showSizing" @click="handleToProductionPlan">
  37. <text class="label">报工</text>
  38. </view>
  39. <view class="business-btn uni-row" v-if="showInnerTurnover" @click="handleInnerTurnover">
  40. <text class="label">内部周转</text>
  41. </view>
  42. <view class="business-btn uni-row" v-if="showSizing" @click="handleToSorting">
  43. <text class="label">分选报工</text>
  44. </view>
  45. <view class="business-btn uni-row" v-if="showAuxiliary" @click="handleToAuxiliary">
  46. <text class="label">辅助工序报工</text>
  47. </view>
  48. <view class="business-btn uni-row" @click="handleToGetLotInfo">
  49. <text class="label">扫码查询批次信息</text>
  50. </view>
  51. <!-- <view class="business-btn uni-row" v-if="showInspector" @click="handleToProcessInspection">
  52. <text class="label">序检</text>
  53. </view> -->
  54. <view class="business-btn uni-row" @click="handleToInspectionDetails">
  55. <text class="label">检查列表</text>
  56. </view>
  57. <view class="business-btn uni-row" v-if="showOutsourcedInspector" @click="handleToOutsourcedInspection">
  58. <text class="label">外协检查</text>
  59. </view>
  60. <!-- <view class="business-btn uni-row" v-if="showDeliveryInspection" @click="handleToDeliveryInspection">
  61. <text class="label">交检</text>
  62. </view> -->
  63. <!-- <view class="business-btn uni-row" v-if="showInspector" @click="handleToFirstInspection">
  64. <text class="label">首件检</text>
  65. </view> -->
  66. <view class="business-btn uni-row" v-if="showOnSiteInspector" @click="handleToOnSiteInspection">
  67. <text class="label">巡检</text>
  68. </view>
  69. <view class="business-btn uni-row" v-if="showInstrumentRoomInspection" @click="handleToInstrumentInspection">
  70. <text class="label">仪器室</text>
  71. </view>
  72. <!-- <view class="business-btn uni-row" v-if="showInspector" @click="handleToFactoryInspection">
  73. <text class="label">出厂检</text>
  74. </view> -->
  75. <!-- <view class="business-btn uni-row" v-if="showAdjust" @click="handleToAdjust">
  76. <text class="label">交检审核</text>
  77. </view> -->
  78. <!-- v-hasRoles="['porter']" 可通过v-Roles自定义指令进行显隐 -->
  79. <view class="business-btn uni-row" v-if="showTurn" @click="handleToHandlingList">
  80. <text class="label">周转</text>
  81. </view>
  82. <view class="business-btn uni-row" v-if="showOutSourceList" @click="handleOutsourceList">
  83. <text class="label">外协验箱</text>
  84. </view>
  85. <view class="business-btn uni-row" v-if="showChangeTurnover" @click="handleChangeTurnover">
  86. <text class="label">更换工段加工</text>
  87. </view>
  88. <view class="bottom-btn-container">
  89. <!-- <view class="start-batch-btn uni-row" @click="handleToEquiPmentList"><text class="label">绑定设备</text></view> -->
  90. <view class="start-batch-btn uni-row" @click="handleSwitchOrQuit">
  91. <text class="label">切换 / 退出账号</text>
  92. </view>
  93. </view>
  94. </view>
  95. <dialog-confirm ref="confirm" @submit="logout"></dialog-confirm>
  96. <dialog-inspectionChamber ref="inspectionChanberRef"
  97. @handleSelectInspectionChamber='handleSelectInspectionChamber'></dialog-inspectionChamber>
  98. </template>
  99. <script setup>
  100. import {
  101. ref
  102. } from 'vue'
  103. import {
  104. onLoad,
  105. onReady
  106. } from '@dcloudio/uni-app'
  107. import {
  108. getSubPlanDetailsList
  109. } from '../../api/business/subPlanDetails'
  110. import {
  111. checkCarrier
  112. } from '../../api/business/processInspection'
  113. import {
  114. getTenantList,
  115. } from '@/api/login/index.js'
  116. import {
  117. getUserDeptList
  118. } from '@/api/dept/dept.js'
  119. import {
  120. listInnerTurnover
  121. } from '../../api/business/innerTurnover'
  122. import {
  123. store
  124. } from '@/store/index.js'
  125. const userName = ref('') // 用户名
  126. const curSelectedDeptId = ref(null) // 用户当前选择的工段
  127. const curSelectedTenantId = ref(null) // 用户当前选择的厂别
  128. const userInfo = ref({}) // 用户信息
  129. const tenantList = ref([]) // 厂别列表
  130. const userDeptList = ref([]) // 用户所在所有工段列表
  131. const userDeptsByTenantId = ref([])
  132. const confirm = ref(null) // 确认组件
  133. const inspectionChanberRef = ref(null)
  134. const showTurn = ref(false)
  135. const showOther = ref(false)
  136. const showInspector = ref(false);
  137. const showOnSiteInspector = ref(false)
  138. const showInstrumentRoomInspection = ref(false)
  139. const showAdjust = ref(false)
  140. const showQuick = ref(false)
  141. const showSizing = ref(false)
  142. const showTakeStock = ref(false)
  143. const showInnerTurnover = ref(false)
  144. const showOutsourcedInspector = ref(false)
  145. const showDeliveryInspection = ref(false)
  146. const showOutSourceList = ref(false)
  147. const showChangeTurnover = ref(false)
  148. const showAuxiliary = ref(false)
  149. onLoad(() => {
  150. console.log(store.userInfo)
  151. userInfo.value = store.userInfo || {
  152. nickName: ""
  153. };
  154. store.tenantId = userInfo.value.tenantId;
  155. // console.log("-----------", store.userInfo.roles)
  156. // console.log("-----permissions-----", store.userInfo)
  157. if (store.userInfo.roles.some(item => item.roleId == 124) && store.userInfo.roles.length > 1) {
  158. showTurn.value = true;
  159. showOther.value = true;
  160. } else if (store.userInfo.roles.some(item => item.roleId == 124) && store.userInfo.roles.length == 1) {
  161. showTurn.value = true;
  162. showOther.value = false;
  163. } else if (store.userInfo.roles.some(item => item.roleId == 128)) {
  164. showInspector.value = true
  165. } else {
  166. showTurn.value = false;
  167. showOther.value = true;
  168. }
  169. //盘点状态
  170. if (store.userInfo.takeStock) {
  171. showTakeStock.value = true
  172. } else {
  173. showTakeStock.value = false
  174. }
  175. //巡检
  176. if (store.userInfo.roles.some(item => item.roleKey == 'patrolInspection')) {
  177. showOnSiteInspector.value = true
  178. } else {
  179. showOnSiteInspector.value = false
  180. }
  181. //交检
  182. if (store.userInfo.roles.some(item => item.roleKey == 'deliveryInspection')) {
  183. showDeliveryInspection.value = true
  184. } else {
  185. showDeliveryInspection.value = false
  186. }
  187. //仪器室
  188. if (store.userInfo.roles.some(item => item.roleKey == 'instrumentRoomInspection')) {
  189. showInstrumentRoomInspection.value = true
  190. } else {
  191. showInstrumentRoomInspection.value = false
  192. }
  193. //交检审核
  194. if (store.userInfo.roles.some(item => item.roleKey == 'adjuster')) {
  195. showAdjust.value = true
  196. } else {
  197. showAdjust.value = false
  198. }
  199. if (store.userInfo.permissions.some(item => item === 'business:outsource:checkBox') || store.userInfo
  200. .permissions.some(item => item === "*:*:*")) {
  201. showOutSourceList.value = true;
  202. } else {
  203. showOutSourceList.value = false;
  204. }
  205. if (store.userInfo.permissions.some(item => item === 'business:switchDept:change') || store.userInfo
  206. .permissions.some(item => item === "*:*:*")) {
  207. showChangeTurnover.value = true;
  208. } else {
  209. showChangeTurnover.value = false;
  210. }
  211. if (store.userInfo.roles.some(item => item.roleId == 129)) {
  212. showOutsourcedInspector.value = true
  213. // showOther.value = true;
  214. }
  215. showAuxiliary.value = true
  216. init();
  217. })
  218. /******************************** 定义一些方法 ********************************/
  219. function init() {
  220. getTenant();
  221. getUserDepts(store.userInfo.userId, store.tenantId);
  222. //getUserDeptsByTenantId(store.tenantId);
  223. }
  224. // 获取租户列表
  225. function getTenant() {
  226. getTenantList().then((res) => {
  227. if (res.code == 200) {
  228. for (var i = 0; i < res.rows.length; i++) {
  229. tenantList.value[i] = {
  230. text: res.rows[i].orgName,
  231. value: res.rows[i].id
  232. }
  233. }
  234. curSelectedTenantId.value = store.userInfo.tenantId;
  235. }
  236. })
  237. }
  238. // 获取人员工段
  239. function getUserDepts(userId, tenantId) {
  240. userDeptsByTenantId.value = []
  241. getUserDeptList(userId).then((res) => {
  242. if (res.code == 200) {
  243. userDeptList.value = res.data;
  244. for (let i = 0; i < res.data.length; i++) {
  245. if (res.data[i].tenantId == tenantId) {
  246. userDeptsByTenantId.value[i] = {
  247. text: res.data[i].deptName,
  248. value: res.data[i].deptId
  249. }
  250. }
  251. }
  252. if (res.data.some(v => v.hasQuick === 1)) {
  253. showQuick.value = true
  254. } else {
  255. showQuick.value = false
  256. }
  257. }
  258. })
  259. }
  260. // 根据租户id获取到工段
  261. function getUserDeptsByTenantId(tenantId) {
  262. userDeptsByTenantId.value = [];
  263. let newArr = userDeptList.value.filter((item, index, arrs) => item.tenantId == tenantId);
  264. for (var i = 0; i < newArr.length; i++) {
  265. userDeptsByTenantId.value[i] = {
  266. text: newArr[i].deptName,
  267. value: newArr[i].deptId
  268. }
  269. }
  270. }
  271. /*
  272. // 半成品接收
  273. function handleRecerptSfprod() {
  274. if (curSelectedDeptId.value) {
  275. uni.navigateTo({
  276. url: '/pages/recerptSfprod/index'
  277. })
  278. } else {
  279. uni.showToast({
  280. icon: "none",
  281. title: "请选择工段"
  282. })
  283. }
  284. }
  285. */
  286. function handeleToReportHistory() {
  287. uni.navigateTo({
  288. url: '/pages/reportHistory/index'
  289. })
  290. }
  291. function handleToGetLotInfo() {
  292. uni.navigateTo({
  293. url: '/pages/queryLotInfo/index'
  294. })
  295. }
  296. function handleInnerTurnover() {
  297. uni.navigateTo({
  298. url: '/pages/innerTurnover/index'
  299. })
  300. }
  301. function handleFastToProductionPlan() {
  302. if (curSelectedDeptId.value) {
  303. uni.navigateTo({
  304. url: '/pages/fastProductionPlan/index'
  305. })
  306. } else {
  307. uni.showToast({
  308. icon: "none",
  309. title: "请选择工段"
  310. })
  311. }
  312. }
  313. function handleToProductionPlan() {
  314. if (curSelectedDeptId.value) {
  315. uni.navigateTo({
  316. url: '/pages/productionPlan/index'
  317. })
  318. } else {
  319. uni.showToast({
  320. icon: "none",
  321. title: "请选择工段"
  322. })
  323. }
  324. }
  325. //盘点
  326. function handleToTakeStock() {
  327. if (curSelectedDeptId.value) {
  328. uni.navigateTo({
  329. url: '/pages/takeStock/index'
  330. })
  331. } else {
  332. uni.showToast({
  333. icon: "none",
  334. title: "请选择工段"
  335. })
  336. }
  337. }
  338. //交检审核
  339. function handleToAdjust() {
  340. if (curSelectedDeptId.value) {
  341. uni.navigateTo({
  342. url: '/pages/deliveryExamine/index'
  343. })
  344. } else {
  345. uni.showToast({
  346. icon: "none",
  347. title: "请选择工段"
  348. })
  349. }
  350. }
  351. // 分选
  352. function handleToSorting() {
  353. if (curSelectedDeptId.value) {
  354. uni.navigateTo({
  355. url: '/pages/sortProductionPlan/index'
  356. })
  357. } else {
  358. uni.showToast({
  359. icon: "none",
  360. title: "请选择工段"
  361. })
  362. }
  363. }
  364. //检查列表
  365. function handleToInspectionDetails() {
  366. const mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module");
  367. if (mpaasScanModule) {
  368. // 调用插件的 mpaasScan 方法
  369. mpaasScanModule.mpaasScan({
  370. // 扫码识别类型,参数可多选,qrCode、barCode,
  371. // 如不设置,默认识别所有扫码类型,可能有些许影响识别效率
  372. scanType: ["qrCode", "barCode"],
  373. // 是否隐藏相册,默认false不隐藏
  374. hideAlbum: false,
  375. },
  376. (ret) => {
  377. console.log(ret);
  378. let vehicleObj = {
  379. carrierCode: ret.resp_result
  380. };
  381. if (!vehicleObj.carrierCode || vehicleObj.carrierCode == "") {
  382. uni.showToast({
  383. icon: "none",
  384. title: "请扫载具码",
  385. duration: 1000
  386. })
  387. return;
  388. }
  389. checkCarrier({
  390. carrierCode: vehicleObj.carrierCode,
  391. }).then(response => {
  392. if (response.code == 200) {
  393. uni.navigateTo({
  394. url: "/pages/processInspectionReceive/form",
  395. success: (res) => {
  396. // 通过eventChannel向被打开页面传送数据
  397. res.eventChannel.emit("inspecionCarrierCode", {
  398. carrierCode: vehicleObj.carrierCode
  399. })
  400. }
  401. })
  402. } else {
  403. uni.showToast({
  404. icon: 'none',
  405. title: response.msg,
  406. duration: 2000
  407. })
  408. }
  409. })
  410. }
  411. );
  412. } else {
  413. // 测试时用
  414. checkCarrier({
  415. carrierCode: "300088",
  416. }).then(response => {
  417. if (response.code == 200) {
  418. uni.navigateTo({
  419. url: "/pages/processInspectionReceive/form",
  420. success: (res) => {
  421. // 通过eventChannel向被打开页面传送数据
  422. res.eventChannel.emit("inspecionCarrierCode", {
  423. carrierCode: "300088"
  424. })
  425. }
  426. })
  427. } else {
  428. uni.showToast({
  429. icon: 'none',
  430. title: response.msg,
  431. duration: 2000
  432. })
  433. }
  434. })
  435. }
  436. }
  437. // 外协检查
  438. function handleToOutsourcedInspection() {
  439. uni.navigateTo({
  440. url: '/pages/outsourcedInspection/index'
  441. })
  442. }
  443. // 工序检查
  444. function handleToProcessInspection() {
  445. uni.navigateTo({
  446. url: '/pages/processInspection/index'
  447. })
  448. }
  449. //检查
  450. function handleToInspection() {
  451. inspectionTypeDialog.value.open()
  452. }
  453. function handleToHandlingList() {
  454. console.log(store)
  455. uni.navigateTo({
  456. url: '/pages/handlingList/index'
  457. })
  458. }
  459. function handleOutsourceList() {
  460. uni.navigateTo({
  461. url: '/pages/outsourcedReturnCheck/index'
  462. })
  463. }
  464. //
  465. function handleChangeTurnover() {
  466. if (curSelectedDeptId.value) {
  467. uni.navigateTo({
  468. url: '/pages/switchDept/index'
  469. })
  470. } else {
  471. uni.showToast({
  472. icon: "none",
  473. title: "请选择工段"
  474. })
  475. }
  476. }
  477. //交检
  478. function handleToDeliveryInspection() {
  479. if (curSelectedDeptId.value) {
  480. uni.navigateTo({
  481. url: '/pages/deliveryInspection/index'
  482. })
  483. } else {
  484. uni.showToast({
  485. icon: "none",
  486. title: "请选择工段"
  487. })
  488. }
  489. }
  490. //首件检
  491. function handleToFirstInspection() {
  492. if (curSelectedDeptId.value) {
  493. uni.navigateTo({
  494. url: '/pages/switchDept/index'
  495. })
  496. } else {
  497. uni.showToast({
  498. icon: "none",
  499. title: "请选择工段"
  500. })
  501. }
  502. }
  503. //巡检
  504. function handleToOnSiteInspection() {
  505. if (curSelectedDeptId.value) {
  506. uni.navigateTo({
  507. url: '/pages/onSiteInspection/index'
  508. })
  509. } else {
  510. uni.showToast({
  511. icon: "none",
  512. title: "请选择工段"
  513. })
  514. }
  515. }
  516. //仪器室
  517. function handleToInstrumentInspection() {
  518. if (curSelectedDeptId.value) {
  519. //选择仪器室
  520. inspectionChanberRef.value.open()
  521. } else {
  522. uni.showToast({
  523. icon: "none",
  524. title: "请选择工段"
  525. })
  526. }
  527. }
  528. function handleSelectInspectionChamber(data) {
  529. uni.navigateTo({
  530. url: "/pages/instrumentRoomInspection/index",
  531. success: (res) => {
  532. // 通过eventChannel向被打开页面传送数据
  533. res.eventChannel.emit("inspectionChamberInfo", {
  534. data: data
  535. })
  536. }
  537. })
  538. }
  539. //出厂检
  540. function handleToFactoryInspection() {
  541. }
  542. function logout() {
  543. uni.reLaunch({
  544. url: '/pages/index/index'
  545. })
  546. }
  547. function handleSwitchOrQuit() {
  548. let msg = "确认退出登录吗?"
  549. confirm.value.open(msg);
  550. }
  551. /*
  552. // 绑定设备
  553. function handleToEquiPmentList() {
  554. uni.navigateTo({
  555. url: "/pages/equipmentList/index"
  556. })
  557. }
  558. */
  559. function handleTenantChange() {
  560. console.log(curSelectedTenantId)
  561. store.tenantId = curSelectedTenantId.value
  562. curSelectedDeptId.value = null
  563. getUserDeptsByTenantId(store.tenantId)
  564. }
  565. function handleDeptChange() {
  566. let curDept = userDeptList.value.find(item => item.deptId === curSelectedDeptId.value)
  567. store.curDeptDetails = curDept
  568. if (curDept.deptName === '分选' || store.userInfo.roles.some(item => item.roleKey == 'sortingInspector')) {
  569. showSizing.value = true
  570. } else {
  571. showSizing.value = false
  572. }
  573. console.log(store)
  574. handleSelectInnerTurnover()
  575. }
  576. //查询当前工段当前操作者是否能看见内部周转按钮
  577. function handleSelectInnerTurnover() {
  578. listInnerTurnover({
  579. deptId: store.curDeptDetails.deptId,
  580. userId: store.userInfo.userId
  581. }).then(res => {
  582. if (res.code == 200) {
  583. showInnerTurnover.value = res.rows.length > 0 ? true : false
  584. }
  585. })
  586. }
  587. function handleToAuxiliary() {
  588. if (curSelectedDeptId.value) {
  589. uni.navigateTo({
  590. url: '/pages/auxiliaryDaywork/index'
  591. })
  592. } else {
  593. uni.showToast({
  594. icon: "none",
  595. title: "请选择工段"
  596. })
  597. }
  598. }
  599. </script>
  600. <style lang="scss">
  601. .page-container {
  602. height: calc(100% - 208rpx);
  603. overflow: auto;
  604. }
  605. .logo-container {
  606. justify-content: center;
  607. .logo {
  608. width: 120rpx;
  609. height: 120rpx;
  610. }
  611. }
  612. .title {
  613. align-items: center;
  614. .label {
  615. font-size: 40rpx;
  616. font-weight: bold;
  617. }
  618. }
  619. .user-info-container {
  620. margin: 16rpx 0 20rpx 20rpx;
  621. align-items: center;
  622. .icon {
  623. width: 120rpx;
  624. height: 120rpx;
  625. justify-content: center;
  626. align-items: center;
  627. border-radius: 60rpx;
  628. border: 1px solid #e1e1e1;
  629. .label {
  630. font-size: 64rpx;
  631. }
  632. }
  633. .user-info {
  634. box-sizing: border-box;
  635. padding-top: 8rpx;
  636. margin-left: 24rpx;
  637. justify-content: center;
  638. // font-size: 20rpx;
  639. .nickname {
  640. margin-bottom: 16rpx;
  641. .label {
  642. font-weight: bold;
  643. font-size: 32rpx;
  644. }
  645. }
  646. .process {
  647. .label {
  648. font-size: 32rpx;
  649. }
  650. }
  651. }
  652. .data-select {
  653. flex: 3;
  654. width: 100%;
  655. height: 50rpx;
  656. border-radius: 18rpx;
  657. background-color: #FFF;
  658. .data-select-options {
  659. width: 200rpx;
  660. }
  661. }
  662. }
  663. .business-btn {
  664. margin: 0 20rpx 20rpx 20rpx;
  665. background-color: #fff;
  666. min-height: 100rpx;
  667. width: 94%;
  668. align-items: center;
  669. justify-content: center;
  670. border: 1rpx solid #e1e1e1;
  671. border-radius: 8rpx;
  672. .label {
  673. font-size: 35rpx;
  674. }
  675. }
  676. .bottom-btn-container {
  677. position: fixed;
  678. right: 20rpx;
  679. bottom: 0;
  680. left: 20rpx;
  681. .start-batch-btn {
  682. // background-color: grey;
  683. background-color: #1684fc;
  684. margin-bottom: 24rpx;
  685. border-radius: 8rpx;
  686. justify-content: center;
  687. align-items: center;
  688. height: 80rpx;
  689. .label {
  690. font-size: 32rpx;
  691. color: #ffffff;
  692. }
  693. }
  694. }
  695. </style>