approveIndex.uvue 24 KB

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