management.vue 38 KB

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