index.vue 19 KB

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