index.vue 19 KB

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