management.vue 40 KB

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