approveIndex.uvue 24 KB

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