management.vue 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487
  1. <template>
  2. <scroll-view class="container" :scroll-y="scrollY" @scrolltolower="scrolltolower">
  3. <view class="top_bg"></view>
  4. <!-- 状态统计区域 管理者端 -->
  5. <view class="top_types2" v-if="btns.includes('工单管理分段器')">
  6. <view class="top">
  7. <uni-segmented-control :current="current" :values="items" @clickItem="onClickItem" styleType="text" activeColor="#6FB6B8"></uni-segmented-control>
  8. </view>
  9. <view class="bottom">
  10. <view class="bottom_box" :class="{ active: state === 1 }" @click="handleFilter(1)">
  11. <view class="box_num">{{ receivingCount }}</view>
  12. <view class="box_info">待接单</view>
  13. </view>
  14. <view class="bottom_box" :class="{ active: state === 2 }" @click="handleFilter(2)">
  15. <view class="box_num">{{ maintenanceCount }}</view>
  16. <view class="box_info">维修中</view>
  17. </view>
  18. <view class="bottom_box" :class="{ active: state === 3 }" @click="handleFilter(3)">
  19. <view class="box_num">{{ timeoutCount }}</view>
  20. <view class="box_info">已超时</view>
  21. </view>
  22. <view class="bottom_box" :class="{ active: state === 4 }" @click="handleFilter(4)">
  23. <view class="box_num">{{ examineCount }}</view>
  24. <view class="box_info">待审核</view>
  25. </view>
  26. <view class="bottom_box" :class="{ active: state === 8 }" v-if="current === 0" @click="handleFilter(8)">
  27. <view class="box_num">{{ offlineCount }}</view>
  28. <view class="box_info">转线下</view>
  29. </view>
  30. <view class="bottom_box" :class="{ active: state === 5 }" v-if="current === 0" @click="handleFilter(5)">
  31. <view class="box_num">{{ finishedCount }}</view>
  32. <view class="box_info">已完成</view>
  33. </view>
  34. <view class="bottom_box" :class="{ active: state === 7 }" v-if="current === 0" @click="handleFilter(7)">
  35. <view class="box_num">{{ closedCount }}</view>
  36. <view class="box_info">已关单</view>
  37. </view>
  38. </view>
  39. </view>
  40. <!-- 状态统计区域 维修师傅 后勤端 -->
  41. <view class="top_types" v-else>
  42. <view class="types_box" :class="{ active: state === 1 }" @click="handleFilter(1)">
  43. <view class="box_num">{{ receivingCount }}</view>
  44. <view class="box_info">待接单</view>
  45. </view>
  46. <view class="types_box" :class="{ active: state === 2 }" @click="handleFilter(2)">
  47. <view class="box_num">{{ maintenanceCount }}</view>
  48. <view class="box_info">维修中</view>
  49. </view>
  50. <view class="types_box" :class="{ active: state === 3 }" @click="handleFilter(3)">
  51. <view class="box_num">{{ timeoutCount }}</view>
  52. <view class="box_info">已超时</view>
  53. </view>
  54. <view class="types_box" :class="{ active: state === 4 }" @click="handleFilter(4)">
  55. <view class="box_num">{{ examineCount }}</view>
  56. <view class="box_info">待审核</view>
  57. </view>
  58. <view class="types_box" v-if="btns.includes('分段器按钮')" :class="{ active: state === 6 }" @click="handleFilter(6)">
  59. <view class="box_num">{{ logisticsCount }}</view>
  60. <view class="box_info">待处理</view>
  61. </view>
  62. <view class="types_box" v-if="btns.includes('分段器按钮')" :class="{ active: state === 8 }" @click="handleFilter(8)">
  63. <view class="box_num">{{ offlineCount }}</view>
  64. <view class="box_info">转线下</view>
  65. </view>
  66. <view class="types_box" v-if="btns.includes('分段器按钮')" :class="{ active: state === 5 }" @click="handleFilter(5)">
  67. <view class="box_num">{{ finishedCount }}</view>
  68. <view class="box_info">已完成</view>
  69. </view>
  70. <view class="types_box" v-if="btns.includes('分段器按钮')" :class="{ active: state === 7 }" @click="handleFilter(7)">
  71. <view class="box_num">{{ closedCount }}</view>
  72. <view class="box_info">已关单</view>
  73. </view>
  74. </view>
  75. <!-- 订单列表区域 -->
  76. <view class="body">
  77. <!-- 每一个订单区域 -->
  78. <view class="body_item" v-for="item in dataList" :key="item.id" @click="handleGoDetail(item)">
  79. <!-- 工单编号 -->
  80. <view class="item_title">
  81. <img src="../../static/images/repairsImg/order.png" />
  82. <view class="title_info">工单编号:{{ item.recordNo }}</view>
  83. </view>
  84. <!-- 报修时间 -->
  85. <view class="item_time">
  86. <view class="time_msg">
  87. 报修时间:
  88. <text>{{ item.reportTime }}</text>
  89. </view>
  90. <view class="time_type" v-if="item.state === '待接单'">待接单</view>
  91. <view class="time_type" v-if="item.state === '待处理'">待处理</view>
  92. <view class="time_type color_type" v-if="item.state === '维修中'">维修中</view>
  93. <view class="time_type color_type" v-if="item.state === '协作待审核'">协作待审核</view>
  94. <view class="time_type color_type" v-if="item.state === '转单待审核'">转单待审核</view>
  95. <view class="time_type color_type" v-if="item.state === '转线下待审核'">转线下待审核</view>
  96. <view class="time_type color_type2" v-if="item.state === '待审核'">待审核</view>
  97. <view class="time_type color_type3" v-if="item.state === '已完成'">已完成</view>
  98. <view class="time_type" v-if="item.state === '待确认'">待确认</view>
  99. <view class="time_type color_type4" v-if="item.state === '已关单'">已关单</view>
  100. <view class="time_type color_type4" v-if="item.state === '已取消'">已取消</view>
  101. <view class="time_type color_type" v-if="item.state === '转线下'">转线下</view>
  102. </view>
  103. <!-- 报修姓名 -->
  104. <view class="item_box">
  105. <view class="box_key">报修姓名:</view>
  106. <view class="box_value">{{ item.userName }}</view>
  107. <view class="box_type" v-if="item.timeoutStr">超时未接</view>
  108. <view class="box_type" v-if="item.maintenanceTimeout">维修超时</view>
  109. </view>
  110. <!-- 部门 -->
  111. <view class="item_box" v-if="item.userClass">
  112. <view class="box_key">部门:</view>
  113. <view class="box_value">{{ item.userClass }}</view>
  114. </view>
  115. <!-- 报修电话 -->
  116. <view class="item_box">
  117. <view class="box_key">报修电话:</view>
  118. <view class="box_value phone" @click.stop="handleCallPhone(item.userPhone)">
  119. {{ item.userPhone }}
  120. <img src="../../static/images/repairsImg/phone.png" />
  121. </view>
  122. </view>
  123. <!-- 报修区域 -->
  124. <view class="item_box">
  125. <view class="box_key">报修区域:</view>
  126. <view class="box_value">{{ item.areaName }}</view>
  127. </view>
  128. <!-- 详细地址 -->
  129. <view class="item_box">
  130. <view class="box_key">详细地址:</view>
  131. <view class="box_value">{{ item.address }}</view>
  132. </view>
  133. <!-- 报修物品 -->
  134. <view class="item_box">
  135. <view class="box_key">报修物品:</view>
  136. <view class="box_value">{{ item.articleName }}</view>
  137. </view>
  138. <!-- 故障描述 -->
  139. <view class="item_box" v-if="item.description">
  140. <view class="box_key">故障描述:</view>
  141. <view class="box_value">{{ item.description }}</view>
  142. </view>
  143. <!-- 报修录音 -->
  144. <view class="item_box" v-if="item.voice">
  145. <view class="box_key">报修录音:</view>
  146. <view class="box_value">
  147. <view class="recording" @click.stop="handlePlayRecording(item)">
  148. <img class="voiceImg" :src="item.status ? '../../static/images/repairsImg/play_active.png' : '../../static/images/repairsImg/play.png'" />
  149. {{ item.voiceLength }}″
  150. </view>
  151. </view>
  152. </view>
  153. <!-- 上传图片 -->
  154. <view class="item_img">
  155. <view class="img_key">上传图片:</view>
  156. <img class="img_value" mode="aspectFill" :src="item.images[0]" @click.stop="handleLookImgs(item.images)" />
  157. </view>
  158. <!-- 维修师傅 -->
  159. <view class="item_time" v-if="item.maintenancerName">
  160. <view class="time_msg">
  161. 维修师傅:
  162. <text>{{ item.maintenancerName }}</text>
  163. </view>
  164. </view>
  165. <!-- 师傅电话 -->
  166. <view class="item_box" v-if="item.maintenancerPhone">
  167. <view class="box_key">师傅电话:</view>
  168. <view class="box_value phone" @click.stop="handleCallPhone(item.maintenancerPhone)">
  169. {{ item.maintenancerPhone }}
  170. <img src="../../static/images/repairsImg/phone.png" />
  171. </view>
  172. </view>
  173. <!-- 维修费用 -->
  174. <view class="item_box" v-if="item.price">
  175. <view class="box_key">维修费用:</view>
  176. <view class="box_value2 phone" @click.stop="checkFeeDetail(item)">
  177. {{ item.price }}元
  178. <img src="../../static/images/repairsImg/eye.png" />
  179. </view>
  180. </view>
  181. <!-- 按钮区域 -->
  182. <view class="item_btn">
  183. <!-- 关闭按钮 -->
  184. <img v-if="item.state === '待接单'" src="../../static/images/repairsImg/close.png" @click.stop="handleClose(item)" />
  185. <!-- 协作按钮 -->
  186. <img
  187. class="img"
  188. src="../../static/images/repairsImg/help.png"
  189. v-if="item.state === '待接单' && btns.includes('协作') && (!btns.includes('首页分段器') || current === 1)"
  190. @click.stop="handleHelp(item)"
  191. />
  192. <!-- 延时按钮 -->
  193. <view
  194. class="btn_box type"
  195. v-if="(item.state === '待接单' || item.state === '维修中') && btns.includes('延时') && current === 0"
  196. @click.stop="handleDelay(item)"
  197. >
  198. 延时
  199. </view>
  200. <!-- 接单按钮 -->
  201. <view
  202. class="btn_box type"
  203. v-if="item.state === '待接单' && btns.includes('接单') && (!btns.includes('首页分段器') || current === 1)"
  204. @click.stop="handleOrderReceiving(item)"
  205. >
  206. 接单
  207. </view>
  208. <!-- 转单操作按钮 -->
  209. <view
  210. class="btn_box type2"
  211. v-if="(item.state === '待接单' || item.state === '维修中') && btns.includes('转单') && (!btns.includes('首页分段器') || current === 1)"
  212. @click.stop="handleTransferOrder(item)"
  213. >
  214. 转单操作
  215. </view>
  216. <!-- 派单按钮 -->
  217. <view class="btn_box type2" v-if="item.state === '待接单' && btns.includes('派单') && current === 0" @click.stop="handleSendOrder(item)">派单</view>
  218. <!-- 报价按钮 -->
  219. <view class="btn_box type" v-if="!item.price && item.state === '维修中' && btns.includes('报价')" @click.stop="handleOffer(item)">报价</view>
  220. <!-- 维修完成按钮 -->
  221. <view class="btn_box type2" v-if="item.state === '维修中' && btns.includes('维修完成')" @click.stop="handleFinish(item)">维修完成</view>
  222. <!-- 审核按钮 -->
  223. <view
  224. class="btn_box type"
  225. v-if="(item.state === '协作待审核' || item.state === '转单待审核' || item.state === '转线下待审核') && btns.includes('审核')"
  226. @click.stop="handleAudit(item)"
  227. >
  228. 审核
  229. </view>
  230. <!-- 改价按钮 -->
  231. <view class="btn_box type" v-if="item.state === '待处理'" @click.stop="handleChangeOffer(item)">改价</view>
  232. <!-- 留言按钮 -->
  233. <view class="btn_box type2" v-if="item.state === '待处理'" @click.stop="handleLeaveWords(item)">留言</view>
  234. </view>
  235. </view>
  236. <!-- 关闭按钮弹窗 -->
  237. <uni-popup ref="popup_close" :is-mask-click="false">
  238. <view class="popup_close">
  239. <view class="close_reason">
  240. 关单原因:
  241. <picker @change="bindPickerChange" :value="activeIndex" :range="closeList" range-key="name">
  242. <view class="picker_input">
  243. {{ closeList[activeIndex].name }}
  244. <img src="../../static/images/repairsImg/bottom.png" />
  245. </view>
  246. </picker>
  247. </view>
  248. <view class="close_note">备注(二选一):</view>
  249. <view class="close_voice">
  250. <view class="voice_box" v-if="!recordingPath" @click="handleRecording">
  251. <img src="../../static/images/repairsImg/voice.png" />
  252. </view>
  253. <view v-if="!recordingPath" @click="handleRecording">点击录音</view>
  254. <view class="item_recording" v-if="recordingPath" @click="handlePlayRecordingPop">
  255. <img :src="recordingImg" />
  256. {{ recordingTime }}″
  257. </view>
  258. <view class="recording_icon" v-if="recordingPath" @click="handleDeleteRecording">×</view>
  259. </view>
  260. <textarea class="close_input" placeholder-style="color:#CCCCCC" placeholder="请输入备注" v-model="closeNote"></textarea>
  261. <view class="close_btn">
  262. <view class="btn_box cancel" @click="handleCloseCancel">取消</view>
  263. <view class="btn_box confirm" @click="handleCloseConfirm">确定</view>
  264. </view>
  265. </view>
  266. </uni-popup>
  267. <!-- 留言弹窗 -->
  268. <uni-popup ref="popup_leaveWords" :is-mask-click="false">
  269. <view class="pop_leaveWords">
  270. <view class="leaveWords_title">留言</view>
  271. <view class="leaveWords_body">
  272. <textarea placeholder-style="color:#CCCCCC" placeholder="请输入您宝贵的留言" v-model="leaveWords"></textarea>
  273. </view>
  274. <view class="leaveWords_btn">
  275. <view class="btn_box cancel" @click="$refs.popup_leaveWords.close()">取消</view>
  276. <view class="btn_box confirm" @click="handleLeaveWordsConfirm">确定</view>
  277. </view>
  278. </view>
  279. </uni-popup>
  280. <!-- 维修费用弹窗 -->
  281. <uni-popup :is-mask-click="false" ref="popup_fee">
  282. <view class="pop_fee">
  283. <view class="fee_title">
  284. 维修费用
  285. <text @click="$refs.popup_fee.close()">×</text>
  286. </view>
  287. <view class="fee_content">
  288. <view class="fee_item" v-for="(element, index2) in goodsList" :key="index2">
  289. <view class="fee_box">
  290. 耗材:
  291. <text>{{ element.consumeName }}</text>
  292. </view>
  293. <view class="fee_box">
  294. 耗材单价:
  295. <text>{{ element.price }}元</text>
  296. </view>
  297. <view class="fee_box">
  298. 耗材数量:
  299. <text>{{ element.number }}</text>
  300. </view>
  301. <view class="fee_box">
  302. 耗材费用:
  303. <text>{{ element.totalPrice }}元</text>
  304. </view>
  305. </view>
  306. </view>
  307. </view>
  308. </uni-popup>
  309. <!-- 录音弹窗区域 -->
  310. <uni-popup :safe-area="true" background-color="#fff" ref="popup_recording">
  311. <view class="popup_recording">
  312. <recording @getTempFilePath="getTempFilePath" />
  313. </view>
  314. </uni-popup>
  315. </view>
  316. <!-- 没有数据时展示的图片 -->
  317. <view class="no_data" v-if="dataList.length === 0">
  318. <img src="../../pagesClockIn/static/imgs/nodata.png" />
  319. <view>暂无数据</view>
  320. </view>
  321. </scroll-view>
  322. </template>
  323. <script>
  324. import recording from '../components/recording.vue'
  325. const innerAudioContext = uni.createInnerAudioContext()
  326. export default {
  327. components: {
  328. recording
  329. },
  330. data() {
  331. return {
  332. scrollY: true,
  333. // 按钮权限
  334. btns: [],
  335. // 留言弹窗输入框绑定数据
  336. leaveWords: '',
  337. // 顶部分段器数组
  338. items: ['团队工单', '个人工单'],
  339. // 顶部分段器数组当前索引
  340. current: 0,
  341. // 关闭按钮弹窗当前索引
  342. activeIndex: 0,
  343. // 关闭按钮弹窗选项数组
  344. closeList: [],
  345. // 订单列表
  346. dataList: [],
  347. // 维修费用弹窗数组
  348. goodsList: [],
  349. // 校区id
  350. schoolId: '',
  351. // 用户ID
  352. userId: '',
  353. // 待处理
  354. logisticsCount: '',
  355. // 待审核
  356. examineCount: '',
  357. // 待接单
  358. receivingCount: '',
  359. // 维修中
  360. maintenanceCount: '',
  361. // 已完成
  362. finishedCount: '',
  363. // 已超时
  364. timeoutCount: '',
  365. // 已关单
  366. closedCount: '',
  367. // 转线下单
  368. offlineCount: '',
  369. // 当前页
  370. currentPage: 1,
  371. // 每页多少条
  372. pageCount: 2,
  373. // 总条数 团队
  374. total: null,
  375. // 总条数 个人
  376. total2: null,
  377. // 订单状态参数
  378. state: 1,
  379. // 订单id
  380. orderId: '',
  381. // 关闭订单备注
  382. closeNote: '',
  383. // 录音文件路径
  384. recordingPath: '',
  385. // 录音时长
  386. recordingTime: 0,
  387. // 录音图片地址
  388. recordingImg: '../../static/images/repairsImg/recording.jpg',
  389. // 播放状态
  390. playStatus: false,
  391. // 定时器标识
  392. timer: null
  393. }
  394. },
  395. mounted() {
  396. const repairsUserInfo = uni.getStorageSync('repairsUserInfo')
  397. this.schoolId = repairsUserInfo.schoolId
  398. this.userId = repairsUserInfo.userId
  399. this.btns = repairsUserInfo.btns
  400. if (this.btns.includes('工单管理分段器') || this.btns.includes('分段器按钮')) {
  401. // 管理员身份或者后勤
  402. this.getTeamCount()
  403. this.getTeamData()
  404. } else {
  405. // 维修师傅
  406. this.getCount()
  407. this.getData()
  408. }
  409. this.getCloseList()
  410. },
  411. methods: {
  412. // 滚动到底部触发回调
  413. scrolltolower() {
  414. if ((this.btns.includes('工单管理分段器') || this.btns.includes('分段器按钮')) && this.current === 0) {
  415. // 团队工单
  416. if (this.total > this.dataList.length) {
  417. this.currentPage++
  418. this.getTeamData()
  419. } else {
  420. uni.showToast({
  421. title: '没有更多数据了',
  422. icon: 'none'
  423. })
  424. }
  425. } else {
  426. // 个人工单
  427. if (this.total2 > this.dataList.length) {
  428. this.currentPage++
  429. this.getData()
  430. } else {
  431. uni.showToast({
  432. title: '没有更多数据了',
  433. icon: 'none'
  434. })
  435. }
  436. }
  437. },
  438. async getCloseList() {
  439. const res = await this.$myRequest_repairs({
  440. url: '/repairClose/queryRepairCloses'
  441. })
  442. // console.log(res)
  443. if (res.code === '200') {
  444. this.closeList = res.data
  445. }
  446. },
  447. handleFilter(state) {
  448. this.state = state
  449. this.dataList = []
  450. this.currentPage = 1
  451. this.handleResetData()
  452. },
  453. async getCount() {
  454. const res = await this.$myRequest_repairs({
  455. url: '/repairRecord/getTechnicianCountByUserId',
  456. data: {
  457. userId: this.userId
  458. }
  459. })
  460. // console.log(res)
  461. if (res.code === '200') {
  462. this.examineCount = res.data.examineCount
  463. this.maintenanceCount = res.data.maintenanceCount
  464. this.receivingCount = res.data.receivingCount
  465. this.timeoutCount = res.data.timeoutCount
  466. }
  467. },
  468. // 获取个人订单数据
  469. async getData() {
  470. const res = await this.$myRequest_repairs({
  471. url: '/repairRecord/getTechniciansByUserId',
  472. data: {
  473. currentPage: this.currentPage,
  474. pageCount: this.pageCount,
  475. state: this.state,
  476. userId: this.userId
  477. }
  478. })
  479. // console.log(res)
  480. if (res.code === '200') {
  481. this.total2 = res.data.totalCount
  482. res.data.list.forEach((ele) => {
  483. return (ele.status = false)
  484. })
  485. this.dataList = [...this.dataList, ...res.data.list]
  486. }
  487. },
  488. async getTeamCount() {
  489. const res = await this.$myRequest_repairs({
  490. url: '/repairRecord/queryTeamWorkCount',
  491. data: {
  492. schoolId: this.schoolId
  493. }
  494. })
  495. // console.log(res)
  496. if (res.code === '200') {
  497. this.examineCount = res.data.examineCount
  498. this.receivingCount = res.data.receivingCount
  499. this.maintenanceCount = res.data.maintenanceCount
  500. this.finishedCount = res.data.finishedCount
  501. this.timeoutCount = res.data.timeoutCount
  502. this.closedCount = res.data.closedCount
  503. this.logisticsCount = res.data.logisticsCount
  504. this.offlineCount = res.data.offlineCount
  505. }
  506. },
  507. // 获取团队订单数据
  508. async getTeamData() {
  509. const res = await this.$myRequest_repairs({
  510. url: '/repairRecord/queryTeamWorkPage',
  511. data: {
  512. currentPage: this.currentPage,
  513. pageCount: this.pageCount,
  514. state: this.state,
  515. schoolId: this.schoolId
  516. }
  517. })
  518. // console.log(res)
  519. if (res.code === '200') {
  520. this.total = res.data.totalCount
  521. res.data.list.forEach((ele) => {
  522. return (ele.status = false)
  523. })
  524. this.dataList = [...this.dataList, ...res.data.list]
  525. }
  526. },
  527. // 留言弹窗确定按钮回调
  528. async handleLeaveWordsConfirm() {
  529. if (this.leaveWords) {
  530. const res = await this.$myRequest_repairs({
  531. url: '/repairRecord/mobileReply',
  532. method: 'post',
  533. data: {
  534. recordId: this.orderId,
  535. userId: this.userId,
  536. content: this.leaveWords
  537. }
  538. })
  539. // console.log(res)
  540. if (res.code === '200') {
  541. uni.showToast({
  542. title: '留言成功',
  543. icon: 'success',
  544. mask: true
  545. })
  546. this.$refs.popup_leaveWords.close()
  547. }
  548. } else {
  549. uni.showToast({
  550. title: '请输入留言内容',
  551. icon: 'none',
  552. mask: true
  553. })
  554. }
  555. },
  556. // 关闭弹窗取消按钮回调
  557. handleCloseCancel() {
  558. this.activeIndex = 0
  559. this.recordingPath = ''
  560. this.recordingTime = 0
  561. this.closeNote = ''
  562. this.$refs.popup_close.close()
  563. },
  564. // 关闭弹窗确定按钮回调
  565. handleCloseConfirm() {
  566. if (this.closeNote && this.recordingPath) {
  567. uni.showToast({
  568. title: '录音和备注二选一,不能同时选择',
  569. icon: 'none',
  570. mask: true
  571. })
  572. return
  573. }
  574. if (!this.closeNote && !this.recordingPath) {
  575. uni.showToast({
  576. title: '请录音或者输入备注,二选一',
  577. icon: 'none',
  578. mask: true
  579. })
  580. return
  581. }
  582. uni.showModal({
  583. title: '提示',
  584. content: '确定关闭订单吗?',
  585. success: async (res) => {
  586. if (res.confirm) {
  587. const res = await this.$myRequest_repairs({
  588. url: '/repairRecord/closeOrder',
  589. data: {
  590. recordId: this.orderId,
  591. userId: this.userId,
  592. reason: this.closeList[this.activeIndex].name,
  593. remark: this.recordingPath ? this.recordingPath : this.closeNote,
  594. voiceLength: this.recordingPath ? this.recordingTime : ''
  595. }
  596. })
  597. // console.log(res)
  598. if (res.code === '200') {
  599. uni.showToast({
  600. title: '关单成功',
  601. icon: 'success',
  602. mask: true
  603. })
  604. this.handleCloseCancel()
  605. setTimeout(() => {
  606. this.handleResetData()
  607. }, 1500)
  608. }
  609. }
  610. }
  611. })
  612. },
  613. // 重置当前页面获取最新数据
  614. handleResetData() {
  615. this.dataList = []
  616. this.currentPage = 1
  617. if ((this.btns.includes('工单管理分段器') || this.btns.includes('分段器按钮')) && this.current === 0) {
  618. // 管理员身份或者后勤
  619. this.getTeamCount()
  620. this.getTeamData()
  621. } else {
  622. // 维修师傅
  623. this.getCount()
  624. this.getData()
  625. }
  626. },
  627. // 接单按钮回调
  628. handleOrderReceiving(item) {
  629. uni.showModal({
  630. content: '确定接单吗?',
  631. title: '提示',
  632. success: async (res) => {
  633. if (res.confirm) {
  634. const res = await this.$myRequest_repairs({
  635. url: '/repairRecord/receiveOwnOrders',
  636. data: {
  637. recordId: item.id,
  638. userId: this.userId
  639. }
  640. })
  641. // console.log(res)
  642. if (res.code === '200') {
  643. uni.showToast({
  644. title: '接单成功',
  645. icon: 'success',
  646. mask: true
  647. })
  648. setTimeout(() => {
  649. this.handleResetData()
  650. }, 1500)
  651. }
  652. }
  653. }
  654. })
  655. },
  656. // 关闭图标点击回调
  657. handleClose(item) {
  658. this.orderId = item.id
  659. this.$refs.popup_close.open('center')
  660. },
  661. // 关闭按钮弹窗选中按钮时回调
  662. bindPickerChange(e) {
  663. this.activeIndex = e.detail.value
  664. },
  665. // 报价按钮回调
  666. handleOffer(item) {
  667. let info = encodeURIComponent(JSON.stringify(item))
  668. uni.navigateTo({
  669. url: `/pagesRepairs/offer/offer?info=${info}`
  670. })
  671. },
  672. // 改价按钮回调
  673. handleChangeOffer(item) {
  674. let info = encodeURIComponent(JSON.stringify(item))
  675. uni.navigateTo({
  676. url: `/pagesRepairs/offer/offer?info=${info}&type=1`
  677. })
  678. },
  679. // 维修完成按钮回调
  680. handleFinish(item) {
  681. const info = JSON.stringify(item)
  682. uni.navigateTo({
  683. url: `/pagesRepairs/repairRecord/repairRecord?info=${info}`
  684. })
  685. },
  686. // 转单按钮回调
  687. handleTransferOrder(item) {
  688. uni.showActionSheet({
  689. itemList: ['转线上', '转线下'],
  690. success: (res) => {
  691. if (res.tapIndex === 0) {
  692. uni.navigateTo({
  693. url: `/pagesRepairs/transferOrder/transferOrder?id=${item.id}`
  694. })
  695. } else if (res.tapIndex === 1) {
  696. uni.navigateTo({
  697. url: `/pagesRepairs/transferOrder/transferOrder?id=${item.id}&mode=1`
  698. })
  699. }
  700. }
  701. })
  702. },
  703. // 协作图标点击回调
  704. handleHelp(item) {
  705. uni.navigateTo({
  706. url: `/pagesRepairs/help/help?id=${item.id}`
  707. })
  708. },
  709. // 分段器切换回调
  710. onClickItem(e) {
  711. if (this.current != e.currentIndex) {
  712. this.current = e.currentIndex
  713. this.state = 1
  714. this.dataList = []
  715. this.currentPage = 1
  716. if (this.current === 0) {
  717. // 团队工单
  718. this.getTeamCount()
  719. this.getTeamData()
  720. } else {
  721. // 个人工单
  722. this.getCount()
  723. this.getData()
  724. }
  725. }
  726. },
  727. // 留言按钮回调
  728. handleLeaveWords(item) {
  729. this.orderId = item.id
  730. this.$refs.popup_leaveWords.open('center')
  731. },
  732. // 延时按钮回调
  733. handleDelay(item) {
  734. uni.navigateTo({
  735. url: `/pagesRepairs/delay/delay?id=${item.id}`
  736. })
  737. },
  738. // 派单按钮回调
  739. handleSendOrder(item) {
  740. uni.navigateTo({
  741. url: `/pagesRepairs/helpPeople/helpPeople?type=1&id=${item.id}`
  742. })
  743. },
  744. // 审核按钮回调
  745. handleAudit(item) {
  746. if (item.state === '转单待审核') {
  747. uni.navigateTo({
  748. url: `/pagesRepairs/transferOrder/transferOrder?type=1&id=${item.id}`
  749. })
  750. } else if (item.state === '转线下待审核') {
  751. uni.navigateTo({
  752. url: `/pagesRepairs/transferOrder/transferOrder?type=2&id=${item.id}`
  753. })
  754. } else if (item.state === '协作待审核') {
  755. uni.navigateTo({
  756. url: `/pagesRepairs/help/help?type=1&id=${item.id}`
  757. })
  758. }
  759. },
  760. // 查看维修费用回调
  761. checkFeeDetail(item) {
  762. // console.log(item)
  763. this.goodsList = item.goodsList
  764. this.$refs.popup_fee.open('center')
  765. },
  766. // 点击电话号码回调
  767. handleCallPhone(phone) {
  768. uni.makePhoneCall({
  769. phoneNumber: phone
  770. })
  771. },
  772. // 点击图片回调
  773. handleLookImgs(img) {
  774. // console.log(img)
  775. uni.previewImage({
  776. urls: img
  777. })
  778. },
  779. // 点击录音播放回调
  780. handlePlayRecording(item) {
  781. this.dataList.forEach((ele) => {
  782. if (ele.id !== item.id) {
  783. ele.status = false
  784. }
  785. })
  786. innerAudioContext.src = item.voice
  787. if (!item.status) {
  788. item.status = true
  789. innerAudioContext.play()
  790. //播放结束
  791. innerAudioContext.onEnded(() => {
  792. item.status = false
  793. })
  794. } else {
  795. item.status = false
  796. innerAudioContext.stop()
  797. }
  798. },
  799. handleGoDetail(item) {
  800. uni.navigateTo({
  801. url: `/pagesRepairs/repairDetails/repairDetails?id=${item.id}`
  802. })
  803. },
  804. // 点击录音按钮回调
  805. handleRecording() {
  806. uni.getSetting({
  807. success: (res) => {
  808. if (!res.authSetting['scope.record']) {
  809. uni.authorize({
  810. scope: 'scope.record',
  811. success(res) {
  812. // 授权成功
  813. uni.showToast({
  814. title: '授权成功',
  815. icon: 'none'
  816. })
  817. },
  818. fail() {
  819. uni.showModal({
  820. content: '检测到您没打开麦克风权限,是否去设置打开?',
  821. confirmText: '确认',
  822. cancelText: '取消',
  823. success: (res) => {
  824. if (res.confirm) {
  825. uni.openSetting({
  826. success: (res) => {}
  827. })
  828. } else {
  829. uni.showToast({
  830. title: '获取麦克风权限失败',
  831. icon: 'none'
  832. })
  833. }
  834. }
  835. })
  836. }
  837. })
  838. } else {
  839. this.$refs.popup_recording.open('bottom')
  840. }
  841. },
  842. fail() {
  843. uni.showToast({
  844. title: '获取麦克风权限失败',
  845. icon: 'none'
  846. })
  847. }
  848. })
  849. },
  850. // 自定义事件回调,获取录音文件路径
  851. getTempFilePath(path, time) {
  852. this.recordingPath = path
  853. this.recordingTime = time
  854. this.$refs.popup_recording.close()
  855. },
  856. // 点击录音播放回调
  857. handlePlayRecordingPop() {
  858. innerAudioContext.src = this.recordingPath
  859. if (!this.playStatus) {
  860. this.playStatus = true
  861. innerAudioContext.play()
  862. this.timer = setInterval(() => {
  863. if (this.recordingImg == '../../static/images/repairsImg/recording.jpg') {
  864. this.recordingImg = '../../static/images/repairsImg/recording2.jpg'
  865. } else if (this.recordingImg == '../../static/images/repairsImg/recording2.jpg') {
  866. this.recordingImg = '../../static/images/repairsImg/recording3.jpg'
  867. } else if (this.recordingImg == '../../static/images/repairsImg/recording3.jpg') {
  868. this.recordingImg = '../../static/images/repairsImg/recording.jpg'
  869. }
  870. }, 300)
  871. //播放结束
  872. innerAudioContext.onEnded(() => {
  873. clearInterval(this.timer)
  874. this.timer = null
  875. this.recordingImg = '../../static/images/repairsImg/recording.jpg'
  876. this.playStatus = false
  877. })
  878. } else {
  879. clearInterval(this.timer)
  880. this.recordingImg = '../../static/images/repairsImg/recording.jpg'
  881. this.playStatus = false
  882. innerAudioContext.stop()
  883. }
  884. },
  885. // 删除录音回调
  886. handleDeleteRecording() {
  887. if (this.playStatus) {
  888. uni.showToast({
  889. title: '播放中不能删除',
  890. icon: 'none',
  891. mask: true
  892. })
  893. } else {
  894. uni.showModal({
  895. title: '提示',
  896. content: '确定删除录音吗?',
  897. success: (res) => {
  898. if (res.confirm) {
  899. this.recordingPath = ''
  900. this.recordingTime = 0
  901. }
  902. }
  903. })
  904. }
  905. }
  906. }
  907. }
  908. </script>
  909. <style lang="scss" scoped>
  910. .container {
  911. width: 100vw;
  912. height: calc(100vh - 152rpx);
  913. font-size: 32rpx;
  914. overflow-y: auto;
  915. .top_bg {
  916. height: 165rpx;
  917. background-color: #6fb6b8;
  918. }
  919. .top_types {
  920. display: flex;
  921. flex-wrap: wrap;
  922. justify-content: space-evenly;
  923. margin: auto;
  924. margin-top: -100rpx;
  925. width: 690rpx;
  926. border-radius: 10rpx;
  927. box-shadow: 0px 0px 4rpx rgba(0, 0, 0, 0.25);
  928. background-color: #fff;
  929. .types_box {
  930. width: 25%;
  931. height: 188rpx;
  932. display: flex;
  933. flex-direction: column;
  934. justify-content: center;
  935. align-items: center;
  936. .box_num {
  937. font-size: 46rpx;
  938. color: #ff5733;
  939. }
  940. .box_info {
  941. margin-top: 10rpx;
  942. font-size: 34rpx;
  943. }
  944. }
  945. .active {
  946. color: #fff;
  947. background-color: #6fb6b8;
  948. }
  949. }
  950. .top_types2 {
  951. box-sizing: border-box;
  952. margin: auto;
  953. margin-top: -100rpx;
  954. padding: 0 30rpx;
  955. width: 690rpx;
  956. // height: 402rpx;
  957. border-radius: 10rpx;
  958. box-shadow: 0px 0px 4rpx rgba(0, 0, 0, 0.25);
  959. background-color: #fff;
  960. .top {
  961. height: 112rpx;
  962. border-bottom: 1rpx solid #e6e6e6;
  963. }
  964. .bottom {
  965. display: flex;
  966. flex-wrap: wrap;
  967. justify-content: space-evenly;
  968. .bottom_box {
  969. width: 25%;
  970. height: 145rpx;
  971. display: flex;
  972. flex-direction: column;
  973. justify-content: center;
  974. align-items: center;
  975. .box_num {
  976. font-size: 46rpx;
  977. color: #ff5733;
  978. }
  979. .box_info {
  980. // margin-top: 10rpx;
  981. font-size: 34rpx;
  982. }
  983. }
  984. .active {
  985. color: #fff;
  986. background-color: #6fb6b8;
  987. }
  988. }
  989. }
  990. .body {
  991. box-sizing: border-box;
  992. padding: 0 30rpx 30rpx 30rpx;
  993. .body_item {
  994. margin-top: 20rpx;
  995. padding-bottom: 35rpx;
  996. border-radius: 11rpx;
  997. box-shadow: 0 0 8rpx #d9d9d9;
  998. .item_title {
  999. display: flex;
  1000. align-items: center;
  1001. padding: 0 30rpx;
  1002. height: 87rpx;
  1003. border-bottom: 1rpx solid #e6e6e6;
  1004. img {
  1005. width: 30rpx;
  1006. height: 30rpx;
  1007. }
  1008. .title_info {
  1009. margin-left: 16rpx;
  1010. font-size: 32rpx;
  1011. }
  1012. }
  1013. .item_time {
  1014. display: flex;
  1015. justify-content: space-between;
  1016. align-items: center;
  1017. padding: 0 30rpx;
  1018. .time_msg {
  1019. width: 500rpx;
  1020. color: #808080;
  1021. text {
  1022. color: #000000;
  1023. }
  1024. }
  1025. .time_type {
  1026. flex: 1;
  1027. box-sizing: border-box;
  1028. padding-left: 10rpx;
  1029. font-size: 32rpx;
  1030. color: #ff5733;
  1031. line-height: 60rpx;
  1032. }
  1033. .color_type {
  1034. color: #1e7dfb;
  1035. }
  1036. .color_type2 {
  1037. color: #d43030;
  1038. }
  1039. .color_type3 {
  1040. color: #6fb6b8;
  1041. }
  1042. .color_type4 {
  1043. color: #a6a6a6;
  1044. }
  1045. }
  1046. .item_box {
  1047. display: flex;
  1048. padding: 0 30rpx;
  1049. line-height: 60rpx;
  1050. .box_key {
  1051. width: 160rpx;
  1052. color: #808080;
  1053. text-align-last: justify;
  1054. }
  1055. .box_value {
  1056. flex: 1;
  1057. display: flex;
  1058. align-items: center;
  1059. margin-right: auto;
  1060. min-width: calc(100% - width: 160rpx;);
  1061. img {
  1062. margin-left: 10rpx;
  1063. width: 45rpx;
  1064. height: 45rpx;
  1065. }
  1066. .recording {
  1067. display: flex;
  1068. align-items: center;
  1069. margin: 15rpx 0;
  1070. width: 130rpx;
  1071. height: 40rpx;
  1072. color: #000;
  1073. border-radius: 100rpx;
  1074. border: 1rpx solid #cccccc;
  1075. .voiceImg {
  1076. margin: 0 12rpx;
  1077. width: 30rpx;
  1078. height: 30rpx;
  1079. }
  1080. }
  1081. }
  1082. .box_type {
  1083. margin-left: 10rpx;
  1084. width: 137rpx;
  1085. height: 47rpx;
  1086. line-height: 47rpx;
  1087. text-align: center;
  1088. border-radius: 136rpx;
  1089. color: #ff5733;
  1090. font-size: 24rpx;
  1091. border: 1rpx solid #ff5733;
  1092. }
  1093. .box_value2 {
  1094. display: flex;
  1095. align-items: center;
  1096. img {
  1097. margin-top: -2rpx;
  1098. margin-left: 14rpx;
  1099. width: 46rpx;
  1100. height: 46rpx;
  1101. }
  1102. }
  1103. .phone {
  1104. color: #6fb6b8;
  1105. }
  1106. }
  1107. .item_img {
  1108. display: flex;
  1109. align-items: center;
  1110. padding: 0 30rpx;
  1111. margin: 10rpx 0;
  1112. height: 120rpx;
  1113. color: #808080;
  1114. .img_key {
  1115. }
  1116. .img_value {
  1117. width: 120rpx;
  1118. height: 120rpx;
  1119. border-radius: 14rpx;
  1120. }
  1121. }
  1122. .item_btn {
  1123. display: flex;
  1124. align-items: center;
  1125. justify-content: flex-end;
  1126. padding: 0 30rpx;
  1127. line-height: 153rpx;
  1128. img {
  1129. margin-right: auto;
  1130. margin-top: 45rpx;
  1131. width: 56rpx;
  1132. height: 56rpx;
  1133. }
  1134. .img {
  1135. margin-right: auto;
  1136. margin-left: -55rpx;
  1137. margin-top: 45rpx;
  1138. width: 62rpx;
  1139. height: 62rpx;
  1140. }
  1141. .btn_box {
  1142. display: flex;
  1143. justify-content: center;
  1144. align-items: center;
  1145. margin-left: 16rpx;
  1146. margin-top: 45rpx;
  1147. width: 174rpx;
  1148. height: 68rpx;
  1149. border-radius: 11rpx;
  1150. }
  1151. .type {
  1152. color: #fff;
  1153. background-color: #6fb6b8;
  1154. }
  1155. .type2 {
  1156. color: #6fb6b8;
  1157. background-color: #fff;
  1158. border: 1rpx solid #6fb6b8;
  1159. }
  1160. }
  1161. }
  1162. .popup_close {
  1163. width: 690rpx;
  1164. border-radius: 19rpx;
  1165. background-color: #fff;
  1166. .close_reason {
  1167. padding-top: 50rpx;
  1168. margin-left: 80rpx;
  1169. display: flex;
  1170. align-items: center;
  1171. .picker_input {
  1172. display: flex;
  1173. justify-content: space-between;
  1174. align-items: center;
  1175. padding: 10rpx 20rpx;
  1176. width: 300rpx;
  1177. border-radius: 14rpx;
  1178. border: 1rpx solid #e6e6e6;
  1179. img {
  1180. width: 40rpx;
  1181. height: 40rpx;
  1182. }
  1183. }
  1184. }
  1185. .close_note {
  1186. margin: 20rpx 0 20rpx 80rpx;
  1187. }
  1188. .close_voice {
  1189. display: flex;
  1190. align-items: center;
  1191. margin-top: 30rpx;
  1192. margin-left: 80rpx;
  1193. width: 500rpx;
  1194. height: 94rpx;
  1195. font-size: 32rpx;
  1196. color: #cccccc;
  1197. border-radius: 10rpx;
  1198. border: 1rpx solid #cccccc;
  1199. .voice_box {
  1200. display: flex;
  1201. justify-content: center;
  1202. align-items: center;
  1203. margin: 0 38rpx 0 33rpx;
  1204. width: 101rpx;
  1205. height: 47rpx;
  1206. border-radius: 33rpx;
  1207. box-shadow: 0px 0px 4rpx rgba(0, 0, 0, 0.25);
  1208. img {
  1209. width: 33rpx;
  1210. height: 33rpx;
  1211. }
  1212. }
  1213. .item_recording {
  1214. margin-left: 35rpx;
  1215. display: flex;
  1216. align-items: center;
  1217. width: 230rpx;
  1218. height: 65rpx;
  1219. color: #000;
  1220. border-radius: 100rpx;
  1221. border: 1rpx solid #cccccc;
  1222. img {
  1223. margin: 0 12rpx;
  1224. width: 40rpx;
  1225. height: 40rpx;
  1226. }
  1227. }
  1228. .recording_icon {
  1229. margin-left: auto;
  1230. margin-right: 35rpx;
  1231. font-size: 40rpx;
  1232. }
  1233. }
  1234. .close_input {
  1235. box-sizing: border-box;
  1236. margin: 35rpx 40rpx 35rpx 80rpx;
  1237. padding: 20rpx;
  1238. width: 520rpx;
  1239. height: 312rpx;
  1240. border-radius: 14rpx;
  1241. border: 1rpx solid #e6e6e6;
  1242. }
  1243. .close_btn {
  1244. display: flex;
  1245. align-items: center;
  1246. justify-content: space-evenly;
  1247. margin-top: 100rpx;
  1248. height: 121rpx;
  1249. .btn_box {
  1250. display: flex;
  1251. justify-content: center;
  1252. align-items: center;
  1253. width: 203rpx;
  1254. height: 72rpx;
  1255. border-radius: 9rpx;
  1256. font-size: 32rpx;
  1257. }
  1258. .cancel {
  1259. background-color: #e5e5e5;
  1260. color: #6fb6b8;
  1261. }
  1262. .confirm {
  1263. background-color: #6fb6b8;
  1264. color: #fff;
  1265. }
  1266. }
  1267. }
  1268. .pop_leaveWords {
  1269. border-radius: 19rpx;
  1270. background-color: #fff;
  1271. .leaveWords_title {
  1272. display: flex;
  1273. justify-content: center;
  1274. align-items: center;
  1275. width: 690rpx;
  1276. height: 110rpx;
  1277. font-size: 32rpx;
  1278. font-weight: bold;
  1279. border-radius: 19rpx 19rpx 0 0;
  1280. border-bottom: 1rpx solid #e6e6e6;
  1281. }
  1282. .leaveWords_body {
  1283. height: 320rpx;
  1284. textarea {
  1285. box-sizing: border-box;
  1286. margin: 35rpx 40rpx;
  1287. padding: 20rpx;
  1288. width: 610rpx;
  1289. height: 312rpx;
  1290. // font-size: 28rpx;
  1291. border-radius: 14rpx;
  1292. border: 1rpx solid #e6e6e6;
  1293. }
  1294. }
  1295. .leaveWords_btn {
  1296. display: flex;
  1297. align-items: center;
  1298. justify-content: space-evenly;
  1299. height: 121rpx;
  1300. .btn_box {
  1301. display: flex;
  1302. justify-content: center;
  1303. align-items: center;
  1304. width: 203rpx;
  1305. height: 72rpx;
  1306. border-radius: 9rpx;
  1307. font-size: 32rpx;
  1308. }
  1309. .cancel {
  1310. background-color: #e5e5e5;
  1311. color: #6fb6b8;
  1312. }
  1313. .confirm {
  1314. background-color: #6fb6b8;
  1315. color: #fff;
  1316. }
  1317. }
  1318. }
  1319. .pop_fee {
  1320. padding-bottom: 50rpx;
  1321. border-radius: 19rpx;
  1322. background-color: #fff;
  1323. .fee_title {
  1324. display: flex;
  1325. justify-content: space-between;
  1326. align-items: center;
  1327. box-sizing: border-box;
  1328. padding: 0 31rpx 0 42rpx;
  1329. width: 690rpx;
  1330. height: 110rpx;
  1331. font-size: 32rpx;
  1332. font-weight: bold;
  1333. border-radius: 19rpx 19rpx 0 0;
  1334. border-bottom: 1rpx solid #e6e6e6;
  1335. text {
  1336. font-size: 45rpx;
  1337. font-weight: 400;
  1338. color: #808080;
  1339. }
  1340. }
  1341. .fee_content {
  1342. max-height: 50vh;
  1343. overflow-y: auto;
  1344. .fee_item {
  1345. border-bottom: 1rpx solid #e6e6e6;
  1346. .fee_box {
  1347. display: flex;
  1348. align-items: center;
  1349. padding-left: 42rpx;
  1350. height: 80rpx;
  1351. // font-size: 28rpx;
  1352. color: #808080;
  1353. text {
  1354. color: #000000;
  1355. }
  1356. }
  1357. }
  1358. }
  1359. }
  1360. .popup_recording {
  1361. width: 100%;
  1362. height: 460rpx;
  1363. background-color: #fff;
  1364. }
  1365. }
  1366. .no_data {
  1367. text-align: center;
  1368. color: #b3b3b3;
  1369. font-size: 24rpx;
  1370. img {
  1371. margin: 42rpx auto 0;
  1372. width: 432rpx;
  1373. height: 456rpx;
  1374. }
  1375. }
  1376. }
  1377. </style>