resumeIndex.uvue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  1. <template>
  2. <view class="detail-page">
  3. <scroll-view class="detail-content" :scroll-y="true">
  4. <!-- 工单信息 -->
  5. <view class="info-section">
  6. <view class="section-title">
  7. <text class="section-title-text">工单信息</text>
  8. </view>
  9. <view class="info-card">
  10. <view class="info-item">
  11. <text class="info-label">工单编码</text>
  12. <text class="info-value">{{ detailData.workOrderProjectNo ?? '' }}</text>
  13. </view>
  14. <view class="info-item">
  15. <text class="info-label">工单类型</text>
  16. <text class="info-value">{{ detailData.orderType == 1 ? '维修工单' : '维保工单' }}</text>
  17. </view>
  18. <view class="info-item">
  19. <text class="info-label">风机编号</text>
  20. <text class="info-value">{{ detailData.pcsDeviceName ?? '' }}</text>
  21. </view>
  22. <view class="info-item">
  23. <text class="info-label">维保中心</text>
  24. <text class="info-value">{{ detailData.gxtCenter ?? '' }}</text>
  25. </view>
  26. <view class="info-item">
  27. <text class="info-label">场站</text>
  28. <text class="info-value">{{ detailData.pcsStationName ?? '' }}</text>
  29. </view>
  30. <!-- <view class="info-item">
  31. <text class="info-label">品牌</text>
  32. <text class="info-value">{{ detailData.model ?? '' }}</text>
  33. </view> -->
  34. <view class="info-item">
  35. <text class="info-label">机型</text>
  36. <text class="info-value">{{ detailData.brand ?? '' }} {{ detailData.model ?? '' }}</text>
  37. </view>
  38. <view class="info-item" v-if="detailData.workOrderStatus == 'suspended'">
  39. <text class="info-label">审批通过时间</text>
  40. <text class="info-value">{{ formatDate(detailData.updateTime ?? '') }}</text>
  41. </view>
  42. </view>
  43. </view>
  44. <!-- <view class="info-section">
  45. <view class="section-title">
  46. <text class="section-title-text">工作负责人</text>
  47. </view>
  48. <view class="info-card">
  49. <view class="info-item">
  50. <input class="input" type="text" placeholder="请输入工作负责人" v-model="teamLeaderName" />
  51. </view>
  52. </view>
  53. </view> -->
  54. <!-- 工单流转 -->
  55. <!-- <view class="info-section">
  56. <view class="section-title">
  57. <text class="section-title-text">工单流转</text>
  58. </view>
  59. <view class="info-card" v-if="detailData.workOrderFlowList != null && detailData.workOrderFlowList.length > 0">
  60. <view class="flow-item" v-for="(flow, index) in detailData.workOrderFlowList" :key="index">
  61. <view class="flow-header">
  62. <text class="flow-operator">{{ flow.operatorName ?? '未知操作人' }}</text>
  63. <text class="flow-time">{{ flow.actionTime ?? '' }}</text>
  64. </view>
  65. <view class="flow-content">
  66. <text class="flow-action">{{ getActionTypeName(flow.actionType) }}</text>
  67. <text class="flow-remark" v-if="flow.actionRemark">{{ flow.actionRemark }}</text>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="info-card" v-else>
  72. <view class="no-data">暂无流转记录</view>
  73. </view>
  74. </view> -->
  75. </scroll-view>
  76. <!-- 接单按钮 -->
  77. <view class="accept-button-container" v-if="checkPermi(detailData.orderType == 2 ? ['gxt:maintenance:order:resume'] : ['gxt:repairOrder:resume'])">
  78. <button class="accept-button" @click="handleResumeOrder">{{ isDealing ? '恢复中...' : '恢 复' }}</button>
  79. </view>
  80. <!-- 加载中状态 -->
  81. <view v-if="loading" class="loading-mask">
  82. <text class="loading-text">加载中...</text>
  83. </view>
  84. </view>
  85. </template>
  86. <script setup lang="uts">
  87. import { ref } from 'vue'
  88. import type { acceptOrderInfo } from '../../../types/order'
  89. import type { WorkOrderFlow } from '../../../types/flow'
  90. import { getOrderInfoById, getRepairOrderInfoById, resumeOrder } from '../../../api/order/detail'
  91. import type { SysDictData } from '../../../types/dict'
  92. import { getDictDataByType } from '../../../api/dict/index'
  93. import { getLeaderList } from '../../../api/user/list'
  94. import type { UserInfo } from '../../../types/user'
  95. import {checkPermi} from '../../../utils/storage'
  96. const teamLeaderName = ref<string>("")
  97. const statusDictList = ref<SysDictData[]>([]) // 工单状态字典列表
  98. // 添加字典加载状态
  99. const dictLoaded = ref<boolean>(false)
  100. // 详情数据
  101. const detailData = ref<acceptOrderInfo>({
  102. orderType: 0,
  103. id: 0,
  104. teamLeaderId: 0,
  105. acceptUserId: 0,
  106. teamLeaderName: null,
  107. acceptUserName: null,
  108. acceptTime: null,
  109. assignTime: null,
  110. assignUserName: null,
  111. status: 0,
  112. workOrderProjectNo: null,
  113. workOrderStatus: null,
  114. gxtCenterId: 0,
  115. gxtCenter: null,
  116. pcsStationId: 0,
  117. pcsStationName: null,
  118. pcsDeviceId: 0,
  119. pcsDeviceName: null,
  120. brand: null,
  121. model: null,
  122. createTime: null,
  123. workOrderFlowList: null,
  124. suspendReason: null,
  125. rejectionReason: null,
  126. updateTime: null, // 新增字段
  127. workEndTime: null // 新增字段
  128. })
  129. // 选择器选项类型
  130. type PickerOption = {
  131. label: string
  132. value: string
  133. }
  134. // 选中的负责人信息
  135. const selectedTeamLeaderId = ref<string>('')
  136. const rejectReason = ref<string>('')
  137. const selectedTeamLeaderIndex = ref<number>(-1)
  138. const teamLeaderNameOptions = ref<PickerOption[]>([])
  139. const showLeaderPicker = ref<boolean>(false)
  140. const formatDate = (dateString: string): string => {
  141. if (dateString != null && dateString.length >= 3) {
  142. dateString = dateString.slice(0, -3);
  143. } else {
  144. dateString = dateString
  145. }
  146. return dateString
  147. // if (dateString == '' || dateString == null) return ''
  148. // const date = new Date(dateString)
  149. // const year = date.getFullYear()
  150. // const month = (date.getMonth() + 1).toString().padStart(2, '0')
  151. // const day = date.getDate().toString().padStart(2, '0')
  152. // const hours = date.getHours().toString().padStart(2, '0')
  153. // const minutes = date.getMinutes().toString().padStart(2, '0')
  154. // return `${year}-${month}-${day} ${hours}:${minutes}`
  155. }
  156. // 获取负责人列表(使用用户列表接口)
  157. const loadTeamLeaderList = async (): Promise<void> => {
  158. try {
  159. const deptId = detailData.value.gxtCenterId
  160. const result = await getLeaderList(deptId)
  161. const resultObj = result as UTSJSONObject
  162. if (resultObj['code'] == 200) {
  163. const data = resultObj['data'] as any[]
  164. const leaders: UserInfo[] = []
  165. const options: PickerOption[] = []
  166. if (data.length > 0) {
  167. for (let i = 0; i < data.length; i++) {
  168. const item = data[i] as UTSJSONObject
  169. let leader: UserInfo = {
  170. userName: item['userName'] as string,
  171. nickName: item['nickName'] as string,
  172. userId: new Int32Array([item['userId'] != null ? (item['userId'] as number) : 0]),
  173. phone: item['phonenumber'] as string,
  174. deptName : item['deptName'] != null ? (item['deptName'] as string) : ''
  175. }
  176. leaders.push(leader)
  177. // 构建选择器选项(只使用用户名)
  178. options.push({
  179. label: leader.nickName,
  180. value: leader.userId.toString()
  181. })
  182. }
  183. }
  184. // teamLeaderList.value = leaders
  185. teamLeaderNameOptions.value = options
  186. }
  187. } catch (e: any) {
  188. console.error('获取负责人列表失败:', e.message)
  189. }
  190. }
  191. // 获取工单状态字典列表
  192. const loadStatusDictList = async (): Promise<void> => {
  193. try {
  194. const result = await getDictDataByType('gxt_repair_order_flow_action_type')
  195. const resultObj = result as UTSJSONObject
  196. if (resultObj['code'] == 200) {
  197. const data = resultObj['data'] as any[]
  198. const dictData: SysDictData[] = []
  199. if (data.length > 0) {
  200. for (let i = 0; i < data.length; i++) {
  201. const item = data[i] as UTSJSONObject
  202. // 只提取需要的字段
  203. const dictItem: SysDictData = {
  204. dictValue: item['dictValue'] as string | null,
  205. dictLabel: item['dictLabel'] as string | null,
  206. dictCode: null,
  207. dictSort: null,
  208. dictType: null,
  209. cssClass: null,
  210. listClass: null,
  211. isDefault: null,
  212. status: null,
  213. default: null,
  214. createTime: null,
  215. remark: null
  216. }
  217. dictData.push(dictItem)
  218. }
  219. }
  220. statusDictList.value = dictData
  221. dictLoaded.value = true
  222. }
  223. } catch (e: any) {
  224. console.error('获取工单状态字典失败:', e.message)
  225. dictLoaded.value = true
  226. }
  227. }
  228. const isDealing = ref(false)
  229. const hasDealed = ref(false)
  230. // 处理恢复操作
  231. const handleResumeOrder = async (): Promise<void> => {
  232. if (isDealing.value || hasDealed.value) return // 双重保险
  233. isDealing.value = true
  234. // detailData.value.rejectionReason = rejectReason.value
  235. // const oldWorkOrderStatus = detailData.value.workOrderStatus
  236. detailData.value.workOrderStatus = detailData.value.workOrderStatus == 'auto_suspend'? 'assigned' : 'to_finish'
  237. // detailData.value.workOrderStatus = 'to_finish'
  238. try {
  239. const result = await resumeOrder(detailData.value)
  240. const resultObj = result as UTSJSONObject
  241. const code = resultObj['code'] as number
  242. if (code == 200) {
  243. uni.showToast({
  244. title: '恢复成功',
  245. icon: 'success'
  246. })
  247. hasDealed.value = true
  248. // 使用事件总线通知列表页面刷新
  249. uni.$emit('refreshOrderList', {})
  250. uni.$emit('refreshAssignedCount')
  251. uni.$emit('refreshOverdueCount')
  252. // 接单成功后返回上一页
  253. setTimeout(() => {
  254. uni.navigateBack()
  255. }, 800)
  256. } else {
  257. // 处理业务错误
  258. uni.showToast({
  259. title: resultObj['msg'] as string,
  260. icon: 'none'
  261. })
  262. }
  263. } catch (error: any) {
  264. console.error('请求失败:', error);
  265. uni.showToast({
  266. title: error.message ?? '恢复失败',
  267. icon: 'none'
  268. })
  269. } finally {
  270. isDealing.value = false // 无论成功失败都解锁
  271. }
  272. }
  273. const loading = ref<boolean>(false)
  274. // 获取操作类型名称
  275. const getActionTypeName = (item: string | null): string | null => {
  276. if (item == null) return ''
  277. // const orderInfoItem = item as orderInfo
  278. const rawStatus = item
  279. if (rawStatus==null) return ''
  280. // 如果字典尚未加载,返回原始值
  281. if (!dictLoaded.value) {
  282. return rawStatus
  283. }
  284. // 查找字典中对应的标签
  285. const dictItem = statusDictList.value.find(dict => dict.dictValue == rawStatus)
  286. return dictItem!=null ? dictItem.dictLabel : rawStatus
  287. }
  288. // 加载详情数据
  289. const loadDetail = async (id: string, orderType?: number): Promise<void> => {
  290. try {
  291. loading.value = true
  292. let result: any;
  293. // 根据orderType决定调用哪个API
  294. if (orderType == 1) {
  295. // 维修工单
  296. result = await getRepairOrderInfoById(id)
  297. } else {
  298. // 维保工单
  299. result = await getOrderInfoById(id)
  300. }
  301. // 提取响应数据
  302. const resultObj = result as UTSJSONObject
  303. const code = resultObj['code'] as number
  304. const data = resultObj['data'] as UTSJSONObject | null
  305. if (code == 200 && data != null) {
  306. // 处理工单流转列表
  307. let workOrderFlowList: WorkOrderFlow[] | null = null
  308. let flowList: UTSJSONObject[] = []
  309. if (orderType == 1) {
  310. // 维修工单
  311. flowList = data['repairOrderFlowList'] as UTSJSONObject[]
  312. } else {
  313. // 维保工单
  314. flowList = data['workOrderFlowList'] as UTSJSONObject[]
  315. }
  316. if (flowList.length > 0) {
  317. workOrderFlowList = []
  318. for (let i = 0; i < flowList.length; i++) {
  319. const flowItem = flowList[i]
  320. const flow: WorkOrderFlow = {
  321. id: flowItem['id'] as Number,
  322. orderId: flowItem['orderId'] as Number,
  323. orderCode: flowItem['orderCode'] as string,
  324. actionType: flowItem['actionType'] as string,
  325. fromStatus: flowItem['fromStatus'] as string | null,
  326. toStatus: flowItem['toStatus'] as string,
  327. operatorId: flowItem['operatorId'] as Number | null,
  328. operatorName: flowItem['operatorName'] as string | null,
  329. actionTime: flowItem['actionTime'] as string,
  330. actionRemark: flowItem['actionRemark'] as string | null,
  331. createBy: flowItem['createBy'] as string | null,
  332. createTime: flowItem['createTime'] as string | null
  333. }
  334. workOrderFlowList.push(flow)
  335. }
  336. }
  337. // 转换数据
  338. const orderDtail: acceptOrderInfo = {
  339. orderType: data['orderType'] as Number,
  340. id: data['id'] as Number,
  341. teamLeaderId: data['teamLeaderId'] != null ? (data['teamLeaderId'] as Number) : 0,
  342. acceptUserId: data['acceptUserId'] != null ? (data['acceptUserId'] as Number) : 0,
  343. teamLeaderName: data['teamLeaderName'] as string | null,
  344. acceptUserName: data['acceptUserName'] as string | null,
  345. acceptTime: data['acceptTime'] as string | null,
  346. assignTime: data['assignTime'] as string | null,
  347. assignUserName: data['assignUserName'] as string | null,
  348. status: (data['status']==null)?0:data['status'] as Number,
  349. workOrderProjectNo: data['workOrderProjectNo'] as string | null,
  350. workOrderStatus: data['workOrderStatus'] as string | null,
  351. gxtCenterId: data['gxtCenterId'] as Number | 0,
  352. gxtCenter: data['gxtCenter'] as string | null,
  353. pcsStationId: data['pcsStationId'] as Number | 0,
  354. pcsStationName: data['pcsStationName'] as string | null,
  355. pcsDeviceId: data['pcsDeviceId'] as Number | 0,
  356. pcsDeviceName: data['pcsDeviceName'] as string | null,
  357. brand: data['brand'] as string | null,
  358. model: data['model'] as string | null,
  359. createTime: data['createTime'] as string | null,
  360. workOrderFlowList: workOrderFlowList,
  361. suspendReason: data['suspendReason'] as string | null,
  362. rejectionReason: data['rejectionReason'] as string | null,
  363. updateTime: data['updateTime'] as string | null, // 新增字段
  364. workEndTime: data['workEndTime'] as string | null // 新增字段
  365. }
  366. detailData.value = orderDtail
  367. // 如果工单数据中已有负责人信息,设置到输入框中
  368. if (orderDtail.teamLeaderName != null && orderDtail.teamLeaderName.length > 0) {
  369. teamLeaderName.value = orderDtail.teamLeaderName as string
  370. }
  371. loadTeamLeaderList()
  372. } else {
  373. const msg = resultObj['msg'] as string | null
  374. uni.showToast({
  375. title: msg ?? '加载失败',
  376. icon: 'none'
  377. })
  378. }
  379. } catch (e: any) {
  380. uni.showToast({
  381. title: e.message ?? '加载失败',
  382. icon: 'none'
  383. })
  384. } finally {
  385. loading.value = false
  386. }
  387. }
  388. // 页面加载
  389. onLoad((options: any) => {
  390. const params = options as UTSJSONObject
  391. const id = params['id'] as string | null
  392. const orderTypeParam = params['orderType'] as string | null
  393. if (id != null && orderTypeParam != null) {
  394. orderType.value = orderTypeParam
  395. // 先尝试从参数中获取orderType
  396. const orderTypeNumber = parseInt(orderTypeParam)
  397. loadDetail(id, orderTypeNumber)
  398. }
  399. })
  400. // 初始化
  401. onMounted(() => {
  402. loadStatusDictList()
  403. })
  404. </script>
  405. <style lang="scss">
  406. .detail-page {
  407. flex: 1;
  408. background-color: #e8f0f9;
  409. }
  410. .detail-content {
  411. flex: 1;
  412. padding: 20rpx 0;
  413. }
  414. .info-section {
  415. margin: 0 30rpx 24rpx;
  416. .section-title {
  417. position: relative;
  418. padding-left: 20rpx;
  419. margin-bottom: 20rpx;
  420. &::before {
  421. // content: '';
  422. position: absolute;
  423. left: 0;
  424. top: 50%;
  425. transform: translateY(-50%);
  426. width: 8rpx;
  427. height: 32rpx;
  428. background-color: #007aff;
  429. border-radius: 4rpx;
  430. }
  431. &-text {
  432. font-size: 32rpx;
  433. font-weight: bold;
  434. color: #333333;
  435. }
  436. }
  437. .info-card {
  438. background-color: #ffffff;
  439. border-radius: 16rpx;
  440. padding: 30rpx;
  441. .info-item {
  442. flex-direction: row;
  443. padding: 20rpx 0;
  444. border-bottom: 1rpx solid #f0f0f0;
  445. &:last-child {
  446. border-bottom: none;
  447. }
  448. &.full-width {
  449. flex-direction: column;
  450. .info-label {
  451. margin-bottom: 12rpx;
  452. }
  453. .info-value {
  454. line-height: 44rpx;
  455. }
  456. }
  457. .info-label {
  458. width: 240rpx;
  459. font-size: 28rpx;
  460. color: #666666;
  461. white-space: nowrap;
  462. }
  463. .info-value {
  464. flex: 1;
  465. font-size: 28rpx;
  466. color: #333333;
  467. text-align: left;
  468. &.highlight {
  469. color: #007aff;
  470. font-weight: bold;
  471. }
  472. &.input {
  473. text-align: left;
  474. border: 1rpx solid #e0e0e0;
  475. border-radius: 8rpx;
  476. padding: 10rpx;
  477. }
  478. }
  479. }
  480. .flow-item {
  481. padding: 20rpx 0;
  482. border-bottom: 1rpx solid #f0f0f0;
  483. &:last-child {
  484. border-bottom: none;
  485. }
  486. .flow-header {
  487. flex-direction: row;
  488. justify-content: space-between;
  489. margin-bottom: 10rpx;
  490. .flow-operator {
  491. font-size: 28rpx;
  492. color: #333333;
  493. font-weight: bold;
  494. }
  495. .flow-time {
  496. font-size: 24rpx;
  497. color: #999999;
  498. }
  499. }
  500. .flow-content {
  501. flex-direction: column;
  502. .flow-action {
  503. font-size: 26rpx;
  504. color: #666666;
  505. margin-bottom: 8rpx;
  506. }
  507. .flow-remark {
  508. font-size: 24rpx;
  509. color: #999999;
  510. background-color: #f5f5f5;
  511. padding: 10rpx;
  512. border-radius: 8rpx;
  513. }
  514. }
  515. }
  516. .no-data {
  517. text-align: center;
  518. padding: 40rpx 0;
  519. font-size: 28rpx;
  520. color: #999999;
  521. }
  522. }
  523. }
  524. .accept-button-container {
  525. padding: 30rpx 30rpx 50rpx;
  526. background-color: #ffffff;
  527. display: flex;
  528. flex-direction: row;
  529. justify-content: space-between;
  530. align-items: center;
  531. .accept-button {
  532. width: 100%;
  533. height: 80rpx;
  534. background-color: #007aff;
  535. color: #ffffff;
  536. font-size: 32rpx;
  537. border-radius: 16rpx;
  538. border: none;
  539. &:active {
  540. background-color: #0062cc;
  541. }
  542. }
  543. .reject-btn {
  544. width: 45%;
  545. height: 80rpx;
  546. background-color: #ff4d4f;
  547. color: #ffffff;
  548. font-size: 32rpx;
  549. border-radius: 16rpx;
  550. border: none;
  551. &:active {
  552. background-color: #d9363e;
  553. }
  554. }
  555. }
  556. .loading-mask {
  557. position: absolute;
  558. top: 0;
  559. left: 0;
  560. right: 0;
  561. bottom: 0;
  562. justify-content: center;
  563. align-items: center;
  564. background-color: rgba(0, 0, 0, 0.3);
  565. .loading-text {
  566. padding: 30rpx 60rpx;
  567. background-color: rgba(0, 0, 0, 0.7);
  568. color: #ffffff;
  569. font-size: 28rpx;
  570. border-radius: 12rpx;
  571. }
  572. }
  573. .picker-modal {
  574. position: fixed;
  575. top: 0;
  576. left: 0;
  577. right: 0;
  578. bottom: 0;
  579. z-index: 1000;
  580. }
  581. .modal-mask {
  582. position: absolute;
  583. top: 0;
  584. left: 0;
  585. right: 0;
  586. bottom: 0;
  587. background-color: rgba(0, 0, 0, 0.5);
  588. }
  589. .modal-content {
  590. position: absolute;
  591. bottom: 0;
  592. left: 0;
  593. right: 0;
  594. background-color: #ffffff;
  595. border-top-left-radius: 16rpx;
  596. border-top-right-radius: 16rpx;
  597. max-height: 700rpx;
  598. }
  599. .modal-header {
  600. flex-direction: row;
  601. justify-content: space-between;
  602. align-items: center;
  603. padding: 30rpx;
  604. border-bottom: 1rpx solid #f0f0f0;
  605. }
  606. .modal-title {
  607. font-size: 32rpx;
  608. font-weight: bold;
  609. color: #333333;
  610. }
  611. .modal-close {
  612. font-size: 28rpx;
  613. color: #007aff;
  614. }
  615. .modal-body {
  616. max-height: 600rpx;
  617. }
  618. .picker-option {
  619. flex-direction: row;
  620. justify-content: space-between;
  621. align-items: center;
  622. padding: 24rpx 30rpx;
  623. border-bottom: 1rpx solid #f0f0f0;
  624. }
  625. .picker-option.selected {
  626. background-color: #f8f9fa;
  627. }
  628. .option-text {
  629. font-size: 28rpx;
  630. color: #333333;
  631. }
  632. .option-check {
  633. font-size: 28rpx;
  634. color: #007aff;
  635. }
  636. .form-picker {
  637. flex: 1;
  638. }
  639. .picker-display {
  640. flex-direction: row;
  641. justify-content: space-between;
  642. align-items: center;
  643. min-height: 40rpx;
  644. }
  645. .selected-value {
  646. font-size: 28rpx;
  647. color: #333333;
  648. }
  649. .placeholder {
  650. font-size: 28rpx;
  651. color: #999999;
  652. }
  653. .arrow {
  654. font-size: 24rpx;
  655. color: #999999;
  656. margin-left: 12rpx;
  657. }
  658. .reject-reason-textarea {
  659. width: 100%;
  660. min-height: 100rpx;
  661. line-height: 1.5;
  662. }
  663. </style>