index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. <template>
  2. <view class="uni-column" style="height: 100%; background-color: #f5f5f5;">
  3. <view class="box-bg uni-row">
  4. <view class="input-view uni-row">
  5. <uni-icons class="input-uni-icon" type="search" size="18" color="#999" />
  6. <input class="nav-bar-input" type="text" v-model="keywords" placeholder="请输入批次号" />
  7. </view>
  8. <view class="search" @click="handleSearch">
  9. 搜索
  10. </view>
  11. </view>
  12. <view class="list-title uni-row">
  13. <!-- <div class="list-title uni-row"> -->
  14. <text class="label">是否正常批次</text>
  15. <text>{{ normalStatus ? '是' : '否' }}</text>
  16. <switch class="switch" :checked="normalStatus" @change="switchChange" color="rgba(255,85,85,1)" />
  17. <!-- <text>{{ }}</text> -->
  18. <!-- </div> -->
  19. <!-- <text class="label">是否正常批次</text><text>是</text>
  20. <switch class="switch" @change="switchChange" color="rgba(255,85,85,1)" />
  21. <text>否</text> -->
  22. </view>
  23. <view class="scroll-container" style="padding-bottom: 150rpx">
  24. <view v-if="listData.length == 0" style="color: #999;margin: 50% auto;">
  25. <text>暂无批次</text>
  26. </view>
  27. <!-- 批次列表 -->
  28. <view v-else v-for="(item, index) in listData" :key="index" class="list-item"
  29. @click="handleToreportingForWork(item)">
  30. <view class="title-container uni-row" style="justify-content: flex-start;">
  31. <view class="title uni-row">
  32. <text class="label">批次号:</text>
  33. <text class="label code">{{ item['lotCode'] }}</text>
  34. </view>
  35. <view class=" uni-row" style="margin-left: 16rpx;">
  36. <view v-if="item['status'] == 1" class="tag"><text class="label">进行中</text></view>
  37. <view v-else-if="item['status'] == 3" class="tag turnover "><text class="label">周转中</text>
  38. </view>
  39. <view v-else-if="item['status'] == 2" class="tag turnover "><text class="label">待周转</text>
  40. </view>
  41. <view v-else-if="item['status'] == 0" class="tag finished "><text class="label">未开始</text>
  42. </view>
  43. <view v-else-if="item['status'] == 4" type="default finished" class="tag finished"><text
  44. class="label">已完成</text></view>
  45. </view>
  46. </view>
  47. <view class="item-info uni-row">
  48. <text class="label">产品描述</text>
  49. <text class="label right">{{ curPlan['productDescription'] }}</text>
  50. </view>
  51. <view class="item-info uni-row">
  52. <text class="label">材质</text>
  53. <text
  54. class="label right">{{ item['furnaceNoInfo'] && item['furnaceNoInfo'].firstTechnicalRequirement != '' ? item['furnaceNoInfo'].firstTechnicalRequirement + ";" + item['furnaceNoInfo'].secondTechnicalRequirement : '-' }}</text>
  55. </view>
  56. <view class="item-info uni-row">
  57. <text class="label">箱号</text>
  58. <text class="label right">{{ item['carrierName'] ? item['carrierName'] : '-' }}</text>
  59. </view>
  60. <!-- <view class="item-info uni-row">
  61. <text class="label">总工时</text>
  62. <text class="label right">{{ item['totalWorkingHours']}}</text>
  63. </view> -->
  64. <view class="item-info uni-row">
  65. <text class="label">投入数</text>
  66. <text
  67. class="label right">{{item['processQualifiedNum'] == 0 ? item['productionQuantity'] : item['processQualifiedNum']}}</text>
  68. </view>
  69. <view class="item-info uni-row">
  70. <text class="label">上道工序</text>
  71. <text class="label right">{{ item.prevProcess ? item['prevProcess'].processAlias : '-'}}</text>
  72. </view>
  73. <view class="item-info uni-row">
  74. <text class="label">当前工序</text>
  75. <text
  76. class="label right">{{ item.currentProcess ? item.prevProcess && item['currentProcess'].processAlias == item['prevProcess'].processAlias ? '-' : item['currentProcess'].processAlias : '-'}}</text>
  77. </view>
  78. <view class="item-info uni-row">
  79. <text class="label">下道工序</text>
  80. <view class="label right uni-row">
  81. {{ item.nextProcess ? item['nextProcess'].processAlias : '-' }}
  82. (<view style="color: #1684fc;" @click.stop="handleClickProcessList(item)">&nbsp;工艺列表&nbsp;
  83. </view>)
  84. </view>
  85. </view>
  86. <!-- <view class="item-info uni-row">
  87. <text class="label">设备</text>
  88. <text class="label right">{{ curPlan['equipmentName'] }}</text>
  89. </view> -->
  90. <view v-if="notPreProcess" class="item-info uni-row">
  91. <text class="label">所在区域</text>
  92. <text class="label right">{{ item['place'] ? item['place'] : '-' }}</text>
  93. </view>
  94. <view class="status-btn uni-row">
  95. <view v-if="item['status'] == 2" class=" uni-row">
  96. <button class="turnover-tag" size="mini"
  97. @click.stop="handleShowTurnoverApplication(item)">周转申请</button>
  98. <!-- <button class="reporting-tag" size="mini" @click="handleToreportingForWork">去报工</button> -->
  99. </view>
  100. <view v-else-if="item['status'] == 3" class=" uni-row">
  101. <button class="turnover-tag" size="mini" @click.stop="handleCancelTurnover(item)"
  102. style="background-color: rgba(255, 85, 85, 1);">取消周转</button>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <!-- 抽屉 -->
  108. <uni-drawer ref="showRight" mode="right" :mask-click="true">
  109. <view style="text-align: center; font-size: 48rpx; padding: 48rpx 0 24rpx 0;">工艺列表</view>
  110. <view style="font-size: 24rpx;text-align: center;color: red; margin-bottom: 16rpx;">
  111. 仅显示当前工序后面工艺
  112. </view>
  113. <scroll-view scroll-y="true" style="height: 82%;" @touchmove.stop>
  114. <view v-for="(item,index) in curProcessAfte" :key="index"
  115. style="padding: 8rpx 5% 8rpx 14%; border-top: 1px solid #cccccc">
  116. <text>{{ index + 1 }}.{{item.processAlias}}</text>
  117. </view>
  118. </scroll-view>
  119. </uni-drawer>
  120. <!-- <view v-if="bottomStatus" class="bottom uni-row">
  121. <button class="start-batch-btn" type="primary" @click="handleStartNewBatch">开始新批次</button>
  122. </view>
  123. <view v-if="!bottomStatus" class="bottom uni-row">
  124. <button class="start-batch-btn" type="primary" @click="handleScanCode">扫一扫开始新批次</button>
  125. </view> -->
  126. <view class="bottom uni-row">
  127. <button v-if="bottomStatus" class="start-batch-btn" style="margin-right: 10rpx;" type="primary"
  128. @click="handleStartNewBatch">开始新批次</button>
  129. <button class="start-batch-btn" style="margin-right: 10rpx;" type="primary"
  130. @click="handleScanCode">扫码开始批次</button>
  131. <button class="start-batch-btn" type="primary" @click="handleSearchCode">查箱号</button>
  132. </view>
  133. <dialog-lot ref="lotDialog" @submit="handleDoIt" />
  134. <dialog-turnoverApplication ref="turnoverApplicationDialog" @reflushDaywork="handleDoTurnoverAfter" />
  135. <dialog-selectProduction ref="selectProduction"></dialog-selectProduction>
  136. </view>
  137. </template>
  138. <script setup>
  139. import {
  140. normalizeProps,
  141. reactive,
  142. onMounted,
  143. ref
  144. } from 'vue'
  145. import {
  146. onLoad,
  147. onReady,
  148. onUnload,
  149. onShow
  150. } from '@dcloudio/uni-app'
  151. import {
  152. getDayWorkList,
  153. showDaywork,
  154. showDayworkSave,
  155. turnoverDelete
  156. } from '@/api/business/dayWork.js'
  157. import {
  158. getAbnormalityLot
  159. } from '@/api/business/lot.js'
  160. import {
  161. carrierFinishedCheck
  162. } from '@/api/business/carrier.js'
  163. import {
  164. store
  165. } from '@/store/index.js'
  166. import {
  167. toHHmmss
  168. } from '@/utils/common.js'
  169. import {
  170. onPullDownRefresh
  171. } from "@dcloudio/uni-app"
  172. const turnoverApplicationDialog = ref(null)
  173. const selectProduction = ref(null)
  174. const lotDialog = ref(null)
  175. const listData = ref([])
  176. const curPlan = ref(null)
  177. const bizDayworkObj = ref({})
  178. const bottomStatus = ref(false) // 底部按钮显示
  179. const paging = ref();
  180. const reqParam = ref(null);
  181. const normalStatus = ref(true)
  182. const curDayworkItem = ref({}) // 当前报工记录,回显是否显示取消周转的状态
  183. const keywords = ref(null)
  184. const tempList = ref([])
  185. const wasteRecyclingList = ref([]) //废品回用批次
  186. const notPreProcess = ref(true)
  187. const curProcessAfte = ref([])
  188. const showRight = ref(null) // 抽屉
  189. onLoad(() => {
  190. curPlan.value = store.planDetails;
  191. normalStatus.value = true;
  192. console.log(curPlan.value)
  193. //废品回用的领料部门如果是当前工段,也要可以开始新批次
  194. //查找当前计划单下的批次废品回用是当前工段
  195. getAbnormalityLot({
  196. productionPlanDetailId: store.planDetails.id,
  197. requisitionDepartmentId: store.curDeptDetails.deptId
  198. }).then(res => {
  199. wasteRecyclingList.value = res.rows
  200. if (store.planDetails.requisitionDepartmentId == store.curDeptDetails.deptId ||
  201. wasteRecyclingList.value.length > 0) {
  202. bottomStatus.value = true;
  203. store.isPreProcess = true;
  204. } else {
  205. bottomStatus.value = false;
  206. store.isPreProcess = false;
  207. }
  208. })
  209. console.log(wasteRecyclingList.value.length)
  210. })
  211. // 页面下拉刷新操作
  212. onPullDownRefresh(() => {
  213. let reqData = {
  214. productionPlanDetailId: store.planDetails.id,
  215. deptId: store.curDeptDetails.deptId,
  216. keywords: keywords.value
  217. };
  218. // console.log(normalStatus.value)
  219. getDayWorkList(reqData).then(res => {
  220. if (res.code == 200) {
  221. tempList.value = res.data
  222. if (normalStatus.value) {
  223. listData.value = res.data.filter(item => {
  224. return item.isWasteRecycling == 0 && item.isAmend == 0;
  225. });
  226. } else {
  227. listData.value = res.data.filter(item => {
  228. return item.isWasteRecycling == 1 || item.isAmend == 1;
  229. })
  230. }
  231. for (let i = 0; i < listData.value.length; i++) {
  232. if (listData.value[i].prevProcess) {
  233. let sum = 0;
  234. for (let j = 0; j < listData.value[i].dayworkItemList.length; j++) {
  235. if (listData.value[i].dayworkItemList[j].processId == listData.value[i]
  236. .prevProcess
  237. .id && (listData.value[i].dayworkItemList[j].status == 2 || listData.value[
  238. i]
  239. .dayworkItemList[j].status == 3)) {
  240. sum += listData.value[i].dayworkItemList[j].qualifiedNum;
  241. }
  242. }
  243. listData.value[i].processQualifiedNum = sum;
  244. }
  245. }
  246. uni.stopPullDownRefresh();
  247. }
  248. })
  249. })
  250. onShow(() => {
  251. reflush();
  252. })
  253. ;
  254. function reflush() {
  255. init(store.planDetails.id);
  256. }
  257. function handleShowTurnoverApplication(data) {
  258. console.log(data)
  259. //如果这批废了,则不能周转申请
  260. if (data.isWaste == 1) {
  261. uni.showToast({
  262. icon: 'none',
  263. title: '此批已废,不能申请周转',
  264. duration: 2000
  265. })
  266. } else {
  267. let _data = data ?? {}
  268. carrierFinishedCheck(data).then(res => {
  269. if (res.code === 200) {
  270. // 调用子组件中的方法
  271. turnoverApplicationDialog.value.open(_data)
  272. } else {
  273. uni.showToast({
  274. icon: 'none',
  275. title: res.msg
  276. })
  277. }
  278. })
  279. }
  280. }
  281. function handleStartNewBatch() {
  282. store.normalStatus = normalStatus.value;
  283. // console.log(normalStatus.value)
  284. uni.navigateTo({
  285. url: "/pages/addNewBatch/index"
  286. })
  287. }
  288. function init(id) {
  289. uni.showLoading({
  290. title: '加载中'
  291. });
  292. let reqData = {
  293. productionPlanDetailId: id,
  294. deptId: store.curDeptDetails.deptId,
  295. keywords: keywords.value
  296. };
  297. // console.log(normalStatus.value)
  298. getDayWorkList(reqData).then(res => {
  299. if (res.code == 200) {
  300. tempList.value = res.data
  301. if (normalStatus.value) {
  302. listData.value = res.data.filter(item => {
  303. return item.isWasteRecycling == 0 && item.isAmend == 0;
  304. });
  305. } else {
  306. listData.value = res.data.filter(item => {
  307. return item.isWasteRecycling == 1 || item.isAmend == 1;
  308. })
  309. }
  310. for (let i = 0; i < listData.value.length; i++) {
  311. if (listData.value[i].prevProcess) {
  312. let sum = 0;
  313. for (let j = 0; j < listData.value[i].dayworkItemList.length; j++) {
  314. if (listData.value[i].dayworkItemList[j].processId == listData.value[i]
  315. .prevProcess
  316. .id && (listData.value[i].dayworkItemList[j].status == 2 || listData
  317. .value[i]
  318. .dayworkItemList[j].status == 3)) {
  319. sum += listData.value[i].dayworkItemList[j].qualifiedNum;
  320. }
  321. }
  322. listData.value[i].processQualifiedNum = sum;
  323. }
  324. }
  325. }
  326. uni.hideLoading();
  327. })
  328. }
  329. function handleSearch() {
  330. init(store.planDetails.id);
  331. }
  332. function handleToreportingForWork(item) {
  333. store.dayworkInfo = item
  334. uni.navigateTo({
  335. url: "/pages/reportingForWork/index"
  336. })
  337. }
  338. function handleClickProcessList(item) {
  339. let curProcessAfterList = [];
  340. console.log("工序列表", item)
  341. let nextIndex = 0;
  342. for (let i = 0; i < item.processSequence.length; i++) {
  343. if (item.nextProcess.id == item.processSequence[i].id) {
  344. nextIndex = i;
  345. }
  346. }
  347. for (let i = 0; i < item.processSequence.length; i++) {
  348. if (i >= nextIndex) {
  349. curProcessAfterList.push(item.processSequence[i]);
  350. }
  351. }
  352. if (item.status == 3) {
  353. curProcessAfterList.splice(0, 1)
  354. }
  355. console.log(curProcessAfterList)
  356. curProcessAfte.value = curProcessAfterList;
  357. showRight.value.open();
  358. }
  359. function handleSearchCode() {
  360. // console.log(normalStatus.value)
  361. selectProduction.value.open(normalStatus.value);
  362. }
  363. function switchChange(event) {
  364. console.log(event)
  365. //异常批
  366. if (normalStatus.value) {
  367. listData.value = tempList.value.filter(item => {
  368. return item.isWasteRecycling == 1 || item.isAmend == 1;
  369. });
  370. normalStatus.value = false
  371. } else {
  372. listData.value = tempList.value.filter(item => {
  373. return item.isWasteRecycling == 0 && item.isAmend == 0;
  374. });
  375. normalStatus.value = true
  376. }
  377. }
  378. function handleScanCode() {
  379. // 引入原生插件
  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 = JSON.parse(ret.resp_result);
  393. if (!vehicleObj.carrierId || vehicleObj.carrierId == "") {
  394. uni.showToast({
  395. icon: "none",
  396. title: "请扫载具码",
  397. duration: 1000
  398. })
  399. return;
  400. }
  401. showDaywork({
  402. carrierId: vehicleObj.carrierId,
  403. status: 7
  404. }).then(response => {
  405. if (response.code == 200) {
  406. console.log(response)
  407. console.log(response.data[0].productionPlanDetailId)
  408. console.log(store.planDetails.id)
  409. if (response.data[0].productionPlanDetailId == store.planDetails.id) {
  410. console.log(response.data)
  411. lotDialog.value.open(response.data);
  412. } else {
  413. uni.showToast({
  414. icon: 'none',
  415. title: '该批次不在此计划单内',
  416. duration: 2000
  417. })
  418. }
  419. } else {
  420. uni.showToast({
  421. icon: 'none',
  422. title: response.msg,
  423. duration: 2000
  424. })
  425. }
  426. })
  427. }
  428. );
  429. } else {
  430. // 测试时用
  431. showDaywork({
  432. carrierId: '1747500987705667596',
  433. status: 7
  434. }).then(response => {
  435. if (response.code == 200) {
  436. console.log(response)
  437. console.log(response.data[0].productionPlanDetailId)
  438. console.log(store.planDetails.id)
  439. if (response.data[0].productionPlanDetailId == store.planDetails.id) {
  440. console.log(response.data)
  441. lotDialog.value.open(response.data);
  442. } else {
  443. uni.showToast({
  444. icon: 'none',
  445. title: '该批次不在此计划单内',
  446. duration: 2000
  447. })
  448. }
  449. } else {
  450. uni.showToast({
  451. icon: 'none',
  452. title: response.msg,
  453. duration: 2000
  454. })
  455. }
  456. })
  457. }
  458. }
  459. // function handleScanCode() {
  460. // uni.scanCode({
  461. // onlyFromCamera: true,
  462. // success: function (res) {
  463. // if (res.scanType !== 'QR_CODE') {
  464. // uni.showToast({
  465. // icon: 'none',
  466. // title: '二维码未识别成功',
  467. // duration: 2000
  468. // })
  469. // }
  470. // console.log('条码类型:' + res.scanType);
  471. // console.log('条码内容:' + res.result);
  472. // }
  473. // });
  474. // }
  475. function handleAddDaywork(data) {
  476. console.log(data)
  477. let reqParam = [];
  478. for (var i = 0; i < data.length; i++) {
  479. reqParam.push(data[i].daywork)
  480. }
  481. console.log(data)
  482. showDayworkSave(data).then(res => {
  483. console.log(res)
  484. init(store.planDetails.id);
  485. })
  486. }
  487. function handleDoIt(data) {
  488. handleAddDaywork(data);
  489. }
  490. function handleDoTurnoverAfter() {
  491. reflush();
  492. }
  493. function handleCancelTurnover(data) {
  494. turnoverDelete(data).then(res => {
  495. if (res.code == 200) {
  496. uni.showToast({
  497. icon: "success",
  498. title: "取消成功",
  499. duration: 2000
  500. })
  501. init(store.planDetails.id);
  502. } else {
  503. uni.showToast({
  504. icon: "none",
  505. title: "取消失败",
  506. duration: 2000
  507. })
  508. }
  509. })
  510. }
  511. </script>
  512. <style lang="scss">
  513. $nav-height: 60rpx;
  514. .box-bg {
  515. width: 94%;
  516. background-color: #F5F5F5;
  517. padding: 5rpx 16rpx;
  518. justify-content: space-around;
  519. align-items: center;
  520. margin: 24rpx auto 0;
  521. .input-view {
  522. width: 100%;
  523. flex: 4;
  524. background-color: #f8f8f8;
  525. height: $nav-height;
  526. border: 1rpx solid #999;
  527. border-radius: 15rpx;
  528. padding: 0 15rpx;
  529. flex-wrap: nowrap;
  530. margin: 0 10rpx 0;
  531. line-height: $nav-height;
  532. .input-uni-icon {
  533. line-height: $nav-height;
  534. }
  535. .nav-bar-input {
  536. width: 80%;
  537. height: $nav-height;
  538. line-height: $nav-height;
  539. padding: 0 5rpx;
  540. background-color: #f8f8f8;
  541. }
  542. }
  543. .search {
  544. width: 20%;
  545. text-align: center;
  546. color: #808080;
  547. }
  548. }
  549. .list-title {
  550. width: 100%;
  551. margin-top: 16rpx;
  552. height: 64rpx;
  553. line-height: 64rpx;
  554. align-items: center;
  555. margin-left: 32rpx;
  556. .label {
  557. font-size: 32rpx;
  558. margin-right: 24rpx;
  559. }
  560. .icon-gear {
  561. font-size: 56rpx;
  562. }
  563. }
  564. .switch {
  565. margin-top: -8rpx;
  566. transform: scale(0.7);
  567. }
  568. .scroll-container {
  569. width: 92%;
  570. margin: 24rpx auto 0 auto;
  571. height: calc(90% - 100rpx);
  572. overflow: auto;
  573. }
  574. .list-item {
  575. background-color: #fff;
  576. position: relative;
  577. padding: 16rpx;
  578. padding-bottom: 24rpx;
  579. margin-bottom: 24rpx;
  580. border-radius: 24rpx;
  581. .title-container {
  582. margin-top: 8rpx;
  583. margin-bottom: 16rpx;
  584. .title {
  585. height: 48rpx;
  586. align-items: center;
  587. .label {
  588. font-size: 32rpx;
  589. font-weight: bold;
  590. &.code {
  591. margin-left: 8rpx;
  592. }
  593. }
  594. }
  595. .tag {
  596. border: 1px solid #1CE5B0;
  597. background-color: #F6FFFD;
  598. padding: 8rpx;
  599. border-radius: 8rpx;
  600. .label {
  601. color: #1CE5B0;
  602. font-size: 24rpx;
  603. }
  604. &.finished {
  605. border: 1px solid #BBBBBB;
  606. background-color: #F5F5F5;
  607. .label {
  608. color: #BBBBBB;
  609. }
  610. }
  611. &.turnover {
  612. border: 1px solid #FF7901;
  613. background-color: #F6FFFD;
  614. .label {
  615. color: #FF7901;
  616. }
  617. }
  618. }
  619. }
  620. .item-info {
  621. margin-bottom: 8rpx;
  622. .label {
  623. font-size: 28rpx;
  624. width: 220rpx;
  625. color: #808080;
  626. &.right {
  627. flex: 1;
  628. color: #000000;
  629. }
  630. }
  631. }
  632. .status-btn {
  633. justify-content: flex-end;
  634. align-items: center;
  635. .turnover-tag {
  636. padding-right: 12rpx;
  637. padding-left: 12rpx;
  638. border-radius: 8rpx;
  639. border: 1rpx solid #FF7901;
  640. background-color: #FF7901;
  641. font-size: 28rpx;
  642. color: #FFFFFF;
  643. }
  644. .reporting-tag {
  645. padding-right: 12rpx;
  646. padding-left: 12rpx;
  647. border-radius: 8rpx;
  648. margin-left: 16rpx;
  649. border: 1rpx solid #1684fc;
  650. background-color: #1684fc;
  651. font-size: 28rpx;
  652. color: #FFFFFF;
  653. }
  654. }
  655. }
  656. .bottom {
  657. height: 10%;
  658. position: fixed;
  659. right: 0;
  660. bottom: 0;
  661. left: 0;
  662. height: 100rpx;
  663. border-top: 1px solid #999999;
  664. padding: 16rpx 32rpx;
  665. align-items: center;
  666. background-color: #fff;
  667. justify-content: space-evenly;
  668. .start-batch-btn {
  669. flex: 1;
  670. height: 80rpx;
  671. line-height: 80rpx;
  672. border-radius: 8rpx;
  673. color: #FFFFFF;
  674. font-size: 28rpx;
  675. }
  676. }
  677. </style>