management.vue 37 KB

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