approvalTaskDetail.vue 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477
  1. <template>
  2. <view class="container">
  3. <view class="status-bar" :style="{ height: statusBarHeight + 'px' }"></view>
  4. <view class="top">
  5. <image class="return" @click="goBack"
  6. src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/back_white.png"></image>
  7. <text>任务详情</text>
  8. </view>
  9. <scroll-view class="content" scroll-y>
  10. <!-- 任务卡片 -->
  11. <view class="task-card" v-if="auditData">
  12. <view class="card-header">
  13. <view class="card-title">{{ auditData.audit.auditName||'-' }}</view>
  14. <view class="card-lable" :class="'pending'">待审核</view>
  15. </view>
  16. <view class="card-meta">
  17. <view class="item">
  18. <image src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_user.png"></image>
  19. {{ auditData.audit.initiatorId||'-' }}
  20. </view>
  21. <view class="item">
  22. <image src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_time.png"></image>
  23. {{ auditData.audit.createTime||'-' }}
  24. </view>
  25. </view>
  26. </view>
  27. <!-- 讲者审核详情 -->
  28. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_JZSH'">
  29. <view class="section-header">
  30. <view class="section-indicator"></view>
  31. <text class="section-title">基础信息</text>
  32. </view>
  33. <view class="info-list">
  34. <view class="info-item">
  35. <text class="info-label">账户身份(医生/药剂师)</text>
  36. <text class="info-value">{{ auditData.businessData.doctorName||'-' }}</text>
  37. </view>
  38. <view class="info-item">
  39. <text class="info-label">账户身份</text>
  40. <text class="info-value">{{ auditData.businessData.accountType=='0'?'医生':'药剂师' }}</text>
  41. </view>
  42. <view class="info-item">
  43. <text class="info-label">手机号码</text>
  44. <text class="info-value">{{ auditData.businessData.mobile||'-' }}</text>
  45. </view>
  46. <view class="info-item">
  47. <text class="info-label">身份证号</text>
  48. <text class="info-value">{{ auditData.businessData.idCard||'-'}}</text>
  49. </view>
  50. <view class="info-item">
  51. <text class="info-label">机构名称</text>
  52. <text class="info-value">{{ auditData.businessData.institution||'-'}}</text>
  53. </view>
  54. <view class="info-item">
  55. <text class="info-label">注册时间</text>
  56. <text class="info-value">{{ auditData.businessData. registerTime||'-'}}</text>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_JZSH'">
  61. <view class="section-header">
  62. <view class="section-indicator"></view>
  63. <text class="section-title">执业信息</text>
  64. </view>
  65. <view class="info-list">
  66. <view class="info-item">
  67. <text class="info-label">地址(省市区)</text>
  68. <text
  69. class="info-value">{{ auditData.businessData.province||'-' }} {{ auditData.businessData.city||'-' }} {{ auditData.businessData.district||'-' }}</text>
  70. </view>
  71. <view class="info-item">
  72. <view class="info-item">
  73. <text class="info-label">公司名称</text>
  74. <text class="info-value">{{ auditData.businessData.companyName||'-'}}</text>
  75. </view>
  76. <text class="info-label">科室</text>
  77. <text class="info-value">{{ auditData.businessData.department||'-'}}</text>
  78. </view>
  79. <view class="info-item">
  80. <text class="info-label">职称</text>
  81. <text class="info-value">{{ auditData.businessData.jobTitle||'-'}}</text>
  82. </view>
  83. <view class="info-item">
  84. <text class="info-label">第三方业务编码</text>
  85. <text class="info-value">{{ auditData.businessData.thirdPartyCode||'-'}}</text>
  86. </view>
  87. <view class="info-item">
  88. <text class="info-label">签约协议状态</text>
  89. <text class="info-value">{{ auditData.businessData.contractStatus=='0'?'未签约':'已签约'}}</text>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_JZSH'">
  94. <view class="section-header">
  95. <view class="section-indicator"></view>
  96. <text class="section-title">资质信息</text>
  97. </view>
  98. <view class="qualification-list">
  99. <view class="qualification-item" v-if="auditData.businessData.licenseImage||''">
  100. <text class="qualification-label">执业证图片</text>
  101. <view class="image-grid">
  102. <image class="qualification-image" :src=" auditData.businessData.licenseImage"
  103. @click="showImagePreview(auditData.businessData.licenseImage)"></image>
  104. </view>
  105. </view>
  106. <view class="qualification-item" v-if="auditData.businessData.titleCertImage||''">
  107. <text class="qualification-label">职称证/工牌图片</text>
  108. <view class="image-grid">
  109. <image class="qualification-image" :src="auditData.businessData.titleCertImage||''"
  110. @click="showImagePreview(auditData.businessData.titleCertImage||'')"></image>
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. <!-- 提现审核详情 -->
  116. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_TXSH'">
  117. <view class="section-header">
  118. <view class="section-indicator"></view>
  119. <text class="section-title">基础信息</text>
  120. </view>
  121. <view class="info-list">
  122. <view class="info-item">
  123. <text class="info-label">公司名称</text>
  124. <text class="info-value">{{ auditData.businessData.companyName ||'-'}}</text>
  125. </view>
  126. <view class="info-item">
  127. <text class="info-label">医生姓名</text>
  128. <text class="info-value">{{auditData.businessData.doctorName||'-'}}</text>
  129. </view>
  130. </view>
  131. </view>
  132. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_TXSH'">
  133. <view class="section-header">
  134. <view class="section-indicator"></view>
  135. <text class="section-title">提现信息</text>
  136. </view>
  137. <view class="info-list">
  138. <view class="info-item">
  139. <text class="info-label">提现积分数量</text>
  140. <text class="info-value">{{ auditData.businessData.pointsAmount||'-'}}</text>
  141. </view>
  142. <view class="info-item">
  143. <text class="info-label">提现金额(积分折算)</text>
  144. <text class="info-value">{{ auditData.businessData.readConverterExp||'-'}}</text>
  145. </view>
  146. <view class="info-item">
  147. <text class="info-label">提现申请时间</text>
  148. <text class="info-value">{{ auditData.businessData.applyTime||'-'}}</text>
  149. </view>
  150. <view class="info-item">
  151. <text class="info-label">审核状态</text>
  152. <text class="info-value">
  153. {{auditData.businessData.auditStatus == '0' ? '待审核' :
  154. auditData.businessData.auditStatus == '1' ? '审核通过' :
  155. auditData.businessData.auditStatus == '2' ? '审核驳回' : ''
  156. }}
  157. </text>
  158. </view>
  159. <view class="info-item">
  160. <text class="info-label"> 审核时间</text>
  161. <text class="info-value">{{ auditData.businessData.auditTime||'-'}}</text>
  162. </view>
  163. <view class="info-item">
  164. <text class="info-label"> 审核备注(驳回原因等)</text>
  165. <text class="info-value">{{ auditData.businessData.auditRemark||'-'}}</text>
  166. </view>
  167. <view class="info-item">
  168. <text class="info-label"> 打款状态</text>
  169. <text class="info-value">{{ auditData.businessData.paymentStatus=='0'?'待打款':'已打款'}}</text>
  170. </view>
  171. <view class="info-item">
  172. <text class="info-label"> 打款时间</text>
  173. <text class="info-value">{{ auditData.businessData.paymentTime||'-'}}</text>
  174. </view>
  175. <view class="info-item">
  176. <text class="info-label"> 银行回执编号</text>
  177. <text class="info-value">{{ auditData.businessData.bankReceiptNo||'-'}}</text>
  178. </view>
  179. <view class="qualification-list">
  180. <view class="qualification-item">
  181. <text class="qualification-label">银行回执图片URL</text>
  182. <view class="image-grid" v-if="auditData.businessData.bankReceiptUrl||''">
  183. <image class="qualification-image" :src=" auditData.businessData.bankReceiptUrl||''"
  184. @click="showImagePreview(auditData.businessData.bankReceiptUrl||'')"></image>
  185. </view>
  186. </view>
  187. </view>
  188. </view>
  189. </view>
  190. <!-- 创建任务审核详情和完成任务审核-->
  191. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_WCRWS'||auditData.audit.auditType=='ADUIT_CJRW'">
  192. <view class="section-header">
  193. <view class="section-indicator"></view>
  194. <text class="section-title">基础信息</text>
  195. </view>
  196. <view class="info-list">
  197. <view class="info-item">
  198. <text class="info-label">公司名称</text>
  199. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskNo ||'-'}}</text>
  200. </view>
  201. <view class="info-item">
  202. <text class="info-label">任务名称</text>
  203. <text class="info-value">{{auditData.businessData.auditTaskInfoVO.taskName||'-'}}</text>
  204. </view>
  205. </view>
  206. </view>
  207. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_WCRWS'||auditData.audit.auditType=='ADUIT_CJRW'">
  208. <view class="section-header">
  209. <view class="section-indicator"></view>
  210. <text class="section-title">任务信息</text>
  211. </view>
  212. <view class="info-list">
  213. <!-- <view class="info-item">
  214. <text class="info-label">费用分摊ID</text>
  215. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.costShareId||'-'}}</text>
  216. </view> -->
  217. <view class="info-item">
  218. <text class="info-label">费用分摊名字</text>
  219. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.costShareName||'-'}}</text>
  220. </view>
  221. <view class="info-item">
  222. <text class="info-label">任务积分</text>
  223. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskIntegral||'-'}}</text>
  224. </view>
  225. <view class="info-item">
  226. <text class="info-label">任务数量</text>
  227. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskCount||'-'}}</text>
  228. </view>
  229. <!-- <view class="info-item">
  230. <text class="info-label">任务单位(字典ID)</text>
  231. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskUnit||'-'}}</text>
  232. </view> -->
  233. <view class="info-item">
  234. <text class="info-label">任务单位名称</text>
  235. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskUnitName||'-'}}</text>
  236. </view>
  237. <!-- <view class="info-item">
  238. <text class="info-label">归属类型(字典ID)</text>
  239. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.belongType||'-'}}</text>
  240. </view> -->
  241. <view class="info-item">
  242. <text class="info-label">归属名字</text>
  243. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.belongTypeName||'-'}}</text>
  244. </view>
  245. <view class="info-item">
  246. <text class="info-label">计划开始时间</text>
  247. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.planStartTime||'-'}}</text>
  248. </view>
  249. <view class="info-item">
  250. <text class="info-label">计划结束时间</text>
  251. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.planEndTime||'-'}}</text>
  252. </view>
  253. <!-- <view class="info-item">
  254. <text class="info-label">归属项目ID</text>
  255. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.projectId||'-'}}</text>
  256. </view> -->
  257. <view class="info-item">
  258. <text class="info-label">项目名称</text>
  259. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.projectName||'-'}}</text>
  260. </view>
  261. <!-- <view class="info-item">
  262. <text class="info-label">医生id</text>
  263. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.doctorId||'-'}}</text>
  264. </view>
  265. <view class="info-item">
  266. <text class="info-label">归属部门ID</text>
  267. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.deptId||'-'}}</text>
  268. </view> -->
  269. <view class="info-item">
  270. <text class="info-label">部门名称</text>
  271. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.deptName||'-'}}</text>
  272. </view>
  273. <view class="info-item">
  274. <text class="info-label">交付物审核时间</text>
  275. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.deliveryAuditTime||'-'}}</text>
  276. </view>
  277. </view>
  278. </view>
  279. <!-- 长视频信息 -->
  280. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_WCRWS'||auditData.audit.auditType=='ADUIT_CJRW'">
  281. <view class="section-header">
  282. <view class="section-indicator"></view>
  283. <text class="section-title">长视频信息</text>
  284. </view>
  285. <view class="info-list">
  286. <view class="info-item">
  287. <text class="info-label">项目名称/视频标题</text>
  288. <text class="info-value">{{ auditData.businessData.projectVO.title ||'-'}}</text>
  289. </view>
  290. <view class="info-item">
  291. <text class="info-label">是否原创</text>
  292. <text class="info-value">{{auditData.businessData.projectVO.isOriginal==0?'否':'是'||'-'}}</text>
  293. </view>
  294. <view class="qualification-list">
  295. <view class="qualification-item">
  296. <text class="qualification-label">封面图URL</text>
  297. <view class="image-grid" v-if="auditData.businessData.projectVO.coverUrl||''">
  298. <image class="qualification-image" :src=" auditData.businessData.projectVO.coverUrl||''"
  299. @click="showImagePreview(auditData.businessData.projectVO.coverUrl||'')"></image>
  300. </view>
  301. </view>
  302. </view>
  303. <view class="info-item">
  304. <text class="info-label">摘要</text>
  305. <text class="info-value">{{auditData.businessData.projectVO.summary||'-'}}</text>
  306. </view>
  307. <view class="qualification-list">
  308. <view class="qualification-item">
  309. <text class="qualification-label">视频附件URL</text>
  310. <view class="image-grid" v-if="auditData.businessData.projectVO.videoUrl||''">
  311. <image class="qualification-image" :src=" auditData.businessData.projectVO.videoUrl||''"
  312. @click="showImagePreview(auditData.businessData.projectVO.videoUrl||'')"></image>
  313. </view>
  314. </view>
  315. </view>
  316. </view>
  317. </view>
  318. <!-- 短视频 -->
  319. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_WCRWS'||auditData.audit.auditType=='ADUIT_CJRW'">
  320. <view class="section-header">
  321. <view class="section-indicator"></view>
  322. <text class="section-title">短视频信息</text>
  323. </view>
  324. <view class="info-list">
  325. <view class="info-item">
  326. <text class="info-label">项目名称/视频标题</text>
  327. <text class="info-value">{{ auditData.businessData.projectVO.title ||'-'}}</text>
  328. </view>
  329. <view class="info-item">
  330. <text class="info-label">是否原创</text>
  331. <text class="info-value">{{auditData.businessData.projectVO.isOriginal==0?'否':'是'||'-'}}</text>
  332. </view>
  333. <view class="qualification-list">
  334. <view class="qualification-item">
  335. <text class="qualification-label">封面图URL</text>
  336. <view class="image-grid" v-if="auditData.businessData.projectVO.coverUrl||''">
  337. <image class="qualification-image" :src=" auditData.businessData.projectVO.coverUrl||''"
  338. @click="showImagePreview(auditData.businessData.projectVO.coverUrl||'')"></image>
  339. </view>
  340. </view>
  341. </view>
  342. <view class="info-item">
  343. <text class="info-label">摘要</text>
  344. <text class="info-value">{{auditData.businessData.projectVO.summary||'-'}}</text>
  345. </view>
  346. <view class="qualification-list">
  347. <view class="qualification-item">
  348. <text class="qualification-label">视频附件URL</text>
  349. <view class="image-grid" v-if="auditData.businessData.projectVO.videoUrl||''">
  350. <image class="qualification-image" :src=" auditData.businessData.projectVO.videoUrl||''"
  351. @click="showImagePreview(auditData.businessData.projectVO.videoUrl||'')"></image>
  352. </view>
  353. </view>
  354. </view>
  355. <view class="info-item">
  356. <text class="info-label">上下架状态</text>
  357. <text class="info-value">{{auditData.businessData.projectVO.status==0?'上架':'下架'||'-'}}</text>
  358. </view>
  359. </view>
  360. </view>
  361. <!-- 定级审核-->
  362. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_WCRWS'||auditData.audit.auditType=='ADUIT_CJRW'">
  363. <view class="section-header">
  364. <view class="section-indicator"></view>
  365. <text class="section-title">基础信息</text>
  366. </view>
  367. <view class="info-list">
  368. <view class="info-item">
  369. <text class="info-label">讲者姓名</text>
  370. <text class="info-value">{{ auditData.businessData.doctorVO.doctorName ||'-'}}</text>
  371. </view>
  372. <view class="info-item">
  373. <text class="info-label">账户身份</text>
  374. <text class="info-value">{{auditData.businessData.doctorVO.taskName=='1'?'医生':'药剂师'||'-'}}</text>
  375. </view>
  376. <view class="info-item">
  377. <text class="info-label">身份证号</text>
  378. <text class="info-value">{{auditData.businessData.doctorVO.idCard||'-'}}</text>
  379. </view>
  380. <view class="info-item">
  381. <text class="info-label">机构</text>
  382. <text class="info-value">{{auditData.businessData.doctorVO.institution||'-'}}</text>
  383. </view>
  384. <view class="info-item">
  385. <text class="info-label">地址</text>
  386. <text class="info-value">{{auditData.businessData.doctorVO.provinceName||'-'}}{{auditData.businessData.doctorVO.cityName||'-'}}{{auditData.businessData.doctorVO.districtName||'-'}}</text>
  387. </view>
  388. <view class="info-item">
  389. <text class="info-label">科室</text>
  390. <text class="info-value">{{auditData.businessData.doctorVO.department||'-'}}</text>
  391. </view>
  392. <view class="info-item">
  393. <text class="info-label">职称</text>
  394. <text class="info-value">{{auditData.businessData.doctorVO.jobTitle||'-'}}</text>
  395. </view>
  396. <view class="info-item">
  397. <text class="info-label">公司</text>
  398. <text class="info-value">{{auditData.businessData.doctorVO.companyName||'-'}}</text>
  399. </view>
  400. </view>
  401. </view>
  402. <view class="info-section" v-if="auditData.audit.auditType=='ADUIT_WCRWS'||auditData.audit.auditType=='ADUIT_CJRW'">
  403. <view class="section-header">
  404. <view class="section-indicator"></view>
  405. <text class="section-title">任务信息</text>
  406. </view>
  407. <view class="info-list">
  408. <view class="info-item">
  409. <text class="info-label">费用分摊名字</text>
  410. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.costShareName||'-'}}</text>
  411. </view>
  412. <view class="info-item">
  413. <text class="info-label">任务积分</text>
  414. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskIntegral||'-'}}</text>
  415. </view>
  416. <view class="info-item">
  417. <text class="info-label">任务数量</text>
  418. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskCount||'-'}}</text>
  419. </view>
  420. <!-- <view class="info-item">
  421. <text class="info-label">任务单位(字典ID)</text>
  422. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskUnit||'-'}}</text>
  423. </view> -->
  424. <view class="info-item">
  425. <text class="info-label">任务单位名称</text>
  426. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskUnitName||'-'}}</text>
  427. </view>
  428. <!-- <view class="info-item">
  429. <text class="info-label">归属类型(字典ID)</text>
  430. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.belongType||'-'}}</text>
  431. </view> -->
  432. <view class="info-item">
  433. <text class="info-label">归属名字</text>
  434. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.belongTypeName||'-'}}</text>
  435. </view>
  436. <view class="info-item">
  437. <text class="info-label">计划开始时间</text>
  438. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.planStartTime||'-'}}</text>
  439. </view>
  440. <view class="info-item">
  441. <text class="info-label">计划结束时间</text>
  442. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.planEndTime||'-'}}</text>
  443. </view>
  444. <!-- <view class="info-item">
  445. <text class="info-label">归属项目ID</text>
  446. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.projectId||'-'}}</text>
  447. </view> -->
  448. <view class="info-item">
  449. <text class="info-label">项目名称</text>
  450. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.projectName||'-'}}</text>
  451. </view>
  452. <!-- <view class="info-item">
  453. <text class="info-label">医生id</text>
  454. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.doctorId||'-'}}</text>
  455. </view>
  456. <view class="info-item">
  457. <text class="info-label">归属部门ID</text>
  458. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.deptId||'-'}}</text>
  459. </view> -->
  460. <view class="info-item">
  461. <text class="info-label">部门名称</text>
  462. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.deptName||'-'}}</text>
  463. </view>
  464. <view class="info-item">
  465. <text class="info-label">交付物审核时间</text>
  466. <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.deliveryAuditTime||'-'}}</text>
  467. </view>
  468. </view>
  469. </view>
  470. <!-- 任务信息 -->
  471. <!-- <view class="info-section" v-if="auditData">
  472. <view class="section-header">
  473. <view class="section-indicator"></view>
  474. <text class="section-title">任务信息</text>
  475. </view>
  476. <view class="info-list">
  477. <view class="info-item">
  478. <text class="info-label">任务名称</text>
  479. <text class="info-value">{{ auditData.audit.auditName }}</text>
  480. </view>
  481. <view class="info-item">
  482. <text class="info-label">任务类型</text>
  483. <text class="info-value">{{ auditData.audit.auditType }}</text>
  484. </view>
  485. <view class="info-item">
  486. <text class="info-label">归属部门</text>
  487. <text class="info-value">{{ auditData.audit.deptName }}</text>
  488. </view>
  489. </view>
  490. </view> -->
  491. <!-- 项目信息 -->
  492. <view class="info-section" v-if="auditData.projectVO">
  493. <view class="section-header">
  494. <view class="section-indicator"></view>
  495. <text class="section-title">项目信息</text>
  496. </view>
  497. <view class="info-list">
  498. <view class="info-item">
  499. <text class="info-label">项目名称</text>
  500. <text class="info-value">{{ auditData.projectVO.projectName }}</text>
  501. </view>
  502. <view class="info-item">
  503. <text class="info-label">项目活动ID</text>
  504. <text class="info-value">{{ auditData.projectVO.projectTypeId }}</text>
  505. </view>
  506. </view>
  507. </view>
  508. <!-- 客户信息 -->
  509. <view class="info-section" v-if="auditData.docterVO">
  510. <view class="section-header">
  511. <view class="section-indicator"></view>
  512. <text class="section-title">客户信息</text>
  513. </view>
  514. <view class="client-list">
  515. <view class="client-item">
  516. <view class="client-info">
  517. <image class="avatar"
  518. src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/my_heads_icon.png">
  519. </image>
  520. <view class="client-txt">
  521. <view class="client-name">
  522. {{ auditData.docterVO.doctorName }}
  523. <text class="client-level">一级</text>
  524. </view>
  525. <view class="client-hospital">
  526. <text>{{ auditData.docterVO.institution }} </text>
  527. <view class="line"></view>
  528. <text>{{ auditData.docterVO.department || '-' }}</text>
  529. </view>
  530. </view>
  531. </view>
  532. <view class="client-stats">
  533. <view class="stat-item"><text class="num">{{ auditData.auditTaskInfoVO.taskCount }}
  534. </text>任务</view>
  535. <view class="stat-item"><text class="num">{{ auditData.auditTaskInfoVO.taskIntegral }}
  536. </text>积分</view>
  537. </view>
  538. </view>
  539. </view>
  540. </view>
  541. <!-- 审批信息 -->
  542. <view class="info-section" v-if="auditData">
  543. <view class="section-header">
  544. <view class="section-indicator"></view>
  545. <text class="section-title">审批流程</text>
  546. </view>
  547. <view class="approval-list">
  548. <view class="approval-item" v-for="(item, index) in auditData.auditFlows" :key="index">
  549. <view class="left">
  550. <view class="avatar-box">
  551. <image class="avatar"
  552. src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/my_heads_icon.png">
  553. </image>
  554. <image class="icon" v-if="item.status==1"
  555. src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_wait.png">
  556. </image>
  557. <image class="icon" v-if="item.status==2|| item.status ===0"
  558. src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_pass.png">
  559. </image>
  560. <image class="icon" v-if="item.status==3"
  561. src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_refuse.png">
  562. </image>
  563. </view>
  564. <view class="approval-user">
  565. <view class="user-name">{{ item.auditUserName }}</view>
  566. <view class="user-status"
  567. :style="{ color: item.status ===2|| item.status ===0 ? '#4CAF50' : item.status === 1 ? '#FF9800' : '#F44336' }">
  568. {{ item.statusName }}</view>
  569. </view>
  570. </view>
  571. <text class="approval-time">{{ item.auditTime || '' }}</text>
  572. <view class="approval-line" v-if="index < auditData.auditFlows.length - 1"></view>
  573. </view>
  574. </view>
  575. </view>
  576. </scroll-view>
  577. <!-- 自定义图片预览模态框 -->
  578. <view class="image-preview-modal" v-if="imagePreview.show" @click="closeImagePreview">
  579. <view class="image-preview-content" @click.stop>
  580. <image class="preview-image" :src="imagePreview.urls[imagePreview.current]" mode="widthFix"></image>
  581. </view>
  582. </view>
  583. <view class="bottom-bar" v-if="auditData.audit.status != 2">
  584. <view class="action-buttons">
  585. <view class="btn btn-cancel" @click="openRejectPopup">
  586. <image class="icon"
  587. src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_approval_no.png"></image>
  588. <text>驳回</text>
  589. </view>
  590. <view class="btn btn-submit" @click="handleNext">
  591. <image class="icon"
  592. src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_approval_yes.png"></image>
  593. <text>通过</text>
  594. </view>
  595. </view>
  596. </view>
  597. <!-- 驳回弹窗 -->
  598. <u-popup :show="showRejectPopup" mode="bottom" round="24" z-index="9999999">
  599. <view class="reject-popup-content">
  600. <view class="popup-header">
  601. <text class="popup-title">驳回</text>
  602. <image @click="showRejectPopup = false;" class="close"
  603. src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_close.png"></image>
  604. </view>
  605. <view class="input-area">
  606. <textarea v-model="rejectReason" placeholder="请输入驳回意见" class="reason-input" :auto-height="true"
  607. maxlength="200" />
  608. </view>
  609. <view class="btn-group">
  610. <view class="button reject" @click="showRejectPopup = false">取消</view>
  611. <view class="button confirm" @click="handleConfirmReject ">确认驳回</view>
  612. </view>
  613. </view>
  614. </u-popup>
  615. </view>
  616. </template>
  617. <script>
  618. import {
  619. doAudit,
  620. doCreateAudit,
  621. getAuditFlows,
  622. getTaskFinishAuditInfo,
  623. detail
  624. } from '@/api/audit.js'
  625. import image from 'uview-ui/libs/config/props/image';
  626. export default {
  627. data() {
  628. return {
  629. userInfo: uni.getStorageSync('userInfo'),
  630. // 弹窗默认隐藏
  631. showRejectPopup: false,
  632. // 驳回意见
  633. rejectReason: '',
  634. // 状态栏高度
  635. statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
  636. // 任务ID
  637. taskId: '',
  638. // 接口返回的原始数据
  639. auditData: null,
  640. // 审批信息
  641. approvalInfo: [],
  642. // 图片预览
  643. imagePreview: {
  644. show: false,
  645. urls: [],
  646. current: 0
  647. }
  648. }
  649. },
  650. onLoad(options) {
  651. if (options.taskId) {
  652. this.taskId = options.taskId
  653. this.loadData()
  654. }
  655. },
  656. methods: {
  657. // 打开驳回弹窗
  658. openRejectPopup() {
  659. // 直接打开驳回弹窗
  660. this.showRejectPopup = true
  661. },
  662. // 确认驳回
  663. async handleConfirmReject() {
  664. if (!this.rejectReason.trim()) {
  665. uni.showToast({
  666. title: '请输入驳回意见',
  667. icon: 'none'
  668. })
  669. return
  670. }
  671. try {
  672. uni.showLoading({
  673. title: '提交中...'
  674. })
  675. // 调用审核接口,传递action=2表示驳回
  676. const res = await doAudit({
  677. auditId: this.taskId,
  678. userId: this.userInfo.userId,
  679. userType: 0,
  680. action: 2,
  681. comment: this.rejectReason,
  682. companyId: this.userInfo.companyId
  683. })
  684. uni.hideLoading()
  685. if (res.code === 200) {
  686. uni.showToast({
  687. title: res.data.message,
  688. icon: none
  689. })
  690. // 关闭弹窗
  691. this.showRejectPopup = false
  692. // 重置输入
  693. this.rejectReason = ''
  694. // 重新加载数据
  695. this.loadData()
  696. } else {
  697. uni.showToast({
  698. title: res.msg || '驳回失败',
  699. icon: 'none'
  700. })
  701. }
  702. } catch (e) {
  703. uni.hideLoading()
  704. console.error('驳回失败', e)
  705. uni.showToast({
  706. title: '驳回失败,请稍后重试',
  707. icon: 'none'
  708. })
  709. }
  710. },
  711. // 返回上一页
  712. goBack() {
  713. uni.navigateBack()
  714. },
  715. // 加载数据
  716. async loadData() {
  717. try {
  718. uni.showLoading({
  719. title: '加载中...'
  720. })
  721. // 获取审批流程信息
  722. // const auditFlowsRes = await getAuditFlows({
  723. // auditId: this.taskId,
  724. // userId: this.userInfo.userId,
  725. // userType: this.userInfo.userType,
  726. // action: 0,
  727. // comment: "comment_3498cb3111a7",
  728. // companyId: this.userInfo.companyId
  729. // })
  730. // if (auditFlowsRes.code === 200) {
  731. // console.log('审批流程信息:', auditFlowsRes.data)
  732. // this.approvalInfo = auditFlowsRes.data || []
  733. // }
  734. // 获取任务完成审核信息
  735. const taskFinishAuditRes = await detail({
  736. auditId: this.taskId
  737. })
  738. if (taskFinishAuditRes.code === 200) {
  739. // 直接保存接口返回的原始数据
  740. console.log('任务完成审核信息:', taskFinishAuditRes.data)
  741. this.auditData = taskFinishAuditRes.data
  742. }
  743. // 实际项目中替换为接口请求:const res = await getTaskDetail({ id: this.taskId })
  744. // 这里模拟接口赋值
  745. uni.hideLoading()
  746. } catch (e) {
  747. uni.hideLoading()
  748. console.error('加载数据失败', e)
  749. }
  750. },
  751. // 复制到剪贴板
  752. copyToClipboard(text) {
  753. uni.setClipboardData({
  754. data: text,
  755. success() {
  756. uni.showToast({
  757. title: '复制成功',
  758. icon: 'success'
  759. })
  760. }
  761. })
  762. },
  763. // 下载附件
  764. downloadAttachment() {
  765. uni.showToast({
  766. title: '开始下载附件',
  767. icon: 'none'
  768. })
  769. // 实际项目中添加下载逻辑:uni.downloadFile + uni.saveFile
  770. },
  771. // 解析formJson数据
  772. parseFormJson(formJson) {
  773. try {
  774. if (!formJson) return {};
  775. // 解析JSON字符串
  776. const parsed = typeof formJson === 'string' ? JSON.parse(formJson) : formJson;
  777. const fields = parsed.fields || [];
  778. const result = {};
  779. // 遍历所有字段,提取label和value
  780. fields.forEach(field => {
  781. const config = field.__config__;
  782. const label = config.label;
  783. const vModel = field.__vModel__;
  784. const value = field[vModel];
  785. // 对于select类型的字段,可能需要根据value找到对应的label
  786. if (field.options && Array.isArray(field.options)) {
  787. const option = field.options.find(opt => opt.value === value);
  788. result[label] = option ? option.label : value;
  789. } else {
  790. result[label] = value;
  791. }
  792. });
  793. return result;
  794. } catch (e) {
  795. console.error('解析formJson失败:', e);
  796. return {};
  797. }
  798. },
  799. // 备用方法(实际用openRejectPopup)
  800. handlePrev() {
  801. this.openRejectPopup()
  802. },
  803. // 审批通过
  804. async handleNext() {
  805. try {
  806. uni.showLoading({
  807. title: '提交中...'
  808. })
  809. // 调用审核接口,传递action=1表示通过
  810. const res = await doAudit({
  811. auditId: this.taskId,
  812. userId: this.userInfo.userId,
  813. userType: 0,
  814. action: 1,
  815. comment: "",
  816. companyId: this.userInfo.companyId
  817. })
  818. uni.hideLoading()
  819. if (res.code === 200) {
  820. uni.showToast({
  821. title: res.data.message,
  822. icon: none
  823. })
  824. // 重新加载数据
  825. this.loadData()
  826. } else {
  827. uni.showToast({
  828. title: res.msg || '审批通过失败',
  829. icon: 'none'
  830. })
  831. }
  832. } catch (e) {
  833. uni.hideLoading()
  834. console.error('审批通过失败', e)
  835. uni.showToast({
  836. title: '审批通过失败,请稍后重试',
  837. icon: 'none'
  838. })
  839. }
  840. },
  841. // 自定义图片预览
  842. showImagePreview(url) {
  843. if (url) {
  844. this.imagePreview.show = true;
  845. this.imagePreview.urls = [url];
  846. this.imagePreview.current = 0;
  847. }
  848. },
  849. // 关闭图片预览
  850. closeImagePreview() {
  851. this.imagePreview.show = false;
  852. }
  853. }
  854. }
  855. </script>
  856. <style lang="scss" scoped>
  857. // 弹窗样式
  858. .reject-popup-content {
  859. padding: 32rpx;
  860. box-sizing: border-box;
  861. overflow: hidden;
  862. border-radius: 24rpx 24rpx 0 0;
  863. .popup-header {
  864. display: flex;
  865. justify-content: center;
  866. align-items: center;
  867. margin-bottom: 32rpx;
  868. position: relative;
  869. .popup-title {
  870. font-size: 32rpx;
  871. font-weight: bold;
  872. color: #333;
  873. }
  874. .close {
  875. position: absolute;
  876. right: 0;
  877. width: 44rpx;
  878. height: 44rpx;
  879. }
  880. }
  881. .input-area {
  882. margin-bottom: 40rpx;
  883. .reason-input {
  884. min-height: 120rpx;
  885. padding: 20rpx;
  886. background: #F7F8FA;
  887. border-radius: 12rpx;
  888. font-size: 28rpx;
  889. color: #333;
  890. width: 100%; // 新增:确保输入框宽度100%
  891. box-sizing: border-box;
  892. }
  893. }
  894. .btn-group {
  895. display: flex;
  896. gap: 24rpx;
  897. .button {
  898. width: 332rpx;
  899. height: 80rpx;
  900. flex: 1;
  901. border-radius: 200rpx;
  902. font-size: 28rpx;
  903. text-align: center;
  904. line-height: 80rpx;
  905. }
  906. .reject {
  907. color: #388BFF;
  908. background: #FFFFFF;
  909. border-radius: 200rpx 200rpx 200rpx 200rpx;
  910. border: 2rpx solid #388BFF;
  911. }
  912. .confirm {
  913. background: #388BFF;
  914. color: #FFFFFF;
  915. }
  916. }
  917. }
  918. // 原有样式
  919. .container {
  920. min-height: 100vh;
  921. background: #f5f5f5;
  922. display: flex;
  923. flex-direction: column;
  924. height: auto;
  925. &::before {
  926. content: '';
  927. position: absolute;
  928. top: 0;
  929. left: 0;
  930. right: 0;
  931. width: 100%;
  932. height: 532rpx;
  933. background: linear-gradient(180deg, rgba(56, 139, 255, 0.79) 0%, rgba(56, 139, 255, 0) 100%);
  934. }
  935. }
  936. .top {
  937. display: flex;
  938. justify-content: center;
  939. align-items: center;
  940. height: 88rpx;
  941. position: relative;
  942. font-weight: 600;
  943. font-size: 36rpx;
  944. color: #FFFFFF;
  945. .return {
  946. position: absolute;
  947. left: 32rpx;
  948. width: 40rpx;
  949. height: 40rpx;
  950. }
  951. }
  952. .content {
  953. flex: 1;
  954. padding: 24rpx;
  955. box-sizing: border-box;
  956. padding-bottom: 200rpx;
  957. }
  958. /* 任务卡片样式 */
  959. .task-card {
  960. background: #fff;
  961. border-radius: 16rpx;
  962. padding: 24rpx;
  963. margin-bottom: 24rpx;
  964. .card-header {
  965. display: flex;
  966. justify-content: space-between;
  967. .card-title {
  968. font-weight: 500;
  969. font-size: 36rpx;
  970. color: #333333;
  971. margin-bottom: 24rpx;
  972. }
  973. .card-lable {
  974. height: 40rpx;
  975. box-sizing: border-box;
  976. padding: 4rpx 12rpx;
  977. font-size: 24rpx;
  978. border-radius: 8rpx;
  979. &.pending {
  980. background: #FEF8E3;
  981. color: #DE9B14;
  982. }
  983. &.reject {
  984. background: #FFF4F5;
  985. color: #CF3546;
  986. }
  987. &.pass {
  988. color: #07C160;
  989. background: #E6FAEF;
  990. }
  991. }
  992. }
  993. .card-meta {
  994. display: flex;
  995. align-items: center;
  996. gap: 16rpx;
  997. font-size: 24rpx;
  998. color: #666;
  999. .item {
  1000. display: flex;
  1001. align-items: center;
  1002. image {
  1003. width: 32rpx;
  1004. height: 32rpx;
  1005. margin-right: 16rpx;
  1006. }
  1007. }
  1008. }
  1009. }
  1010. /* 通用信息区块样式 */
  1011. .info-section {
  1012. background: #fff;
  1013. border-radius: 16rpx;
  1014. padding: 24rpx;
  1015. margin-bottom: 24rpx;
  1016. .section-header {
  1017. display: flex;
  1018. align-items: center;
  1019. margin-bottom: 24rpx;
  1020. .section-indicator {
  1021. width: 6rpx;
  1022. height: 32rpx;
  1023. background: #388BFF;
  1024. border-radius: 3rpx;
  1025. margin-right: 16rpx;
  1026. }
  1027. .section-title {
  1028. font-weight: 600;
  1029. font-size: 32rpx;
  1030. color: #333333;
  1031. }
  1032. }
  1033. .info-list {
  1034. .info-item {
  1035. display: flex;
  1036. margin-bottom: 24rpx;
  1037. &:last-child {
  1038. margin-bottom: 0;
  1039. }
  1040. .info-label {
  1041. width: 50%;
  1042. font-size: 28rpx;
  1043. color: #666;
  1044. flex-shrink: 0;
  1045. }
  1046. .info-value {
  1047. flex: 1;
  1048. text-align: end;
  1049. font-size: 28rpx;
  1050. color: #333;
  1051. }
  1052. .copy-btn {
  1053. margin-left: 16rpx;
  1054. color: #2196F3;
  1055. font-size: 24rpx;
  1056. cursor: pointer;
  1057. }
  1058. .column {
  1059. flex-direction: column;
  1060. }
  1061. .attachment-item {
  1062. margin-top: 24rpx;
  1063. display: flex;
  1064. justify-content: space-between;
  1065. align-items: center;
  1066. gap: 16rpx;
  1067. background: #F7F8FA;
  1068. border-radius: 16rpx 16rpx 16rpx 16rpx;
  1069. .left {
  1070. display: flex;
  1071. align-items: center;
  1072. .img {
  1073. width: 72rpx;
  1074. height: 72rpx;
  1075. margin-right: 24rpx;
  1076. }
  1077. .txt-item {
  1078. .attachment-name {
  1079. font-size: 28rpx;
  1080. color: #333;
  1081. }
  1082. .attachment-size {
  1083. font-size: 24rpx;
  1084. color: #999;
  1085. }
  1086. }
  1087. }
  1088. .download-btn {
  1089. width: 32rpx;
  1090. height: 32rpx;
  1091. }
  1092. }
  1093. }
  1094. }
  1095. }
  1096. /* 客户信息样式 */
  1097. .client-list {
  1098. .client-item {
  1099. display: flex;
  1100. justify-content: space-between;
  1101. align-items: center;
  1102. padding: 16rpx 0;
  1103. &:last-child {
  1104. border-bottom: none;
  1105. }
  1106. .client-info {
  1107. display: flex;
  1108. align-items: center;
  1109. .avatar {
  1110. width: 88rpx;
  1111. height: 88rpx;
  1112. margin-right: 24rpx;
  1113. }
  1114. .client-txt {
  1115. .client-name {
  1116. font-size: 28rpx;
  1117. font-weight: 500;
  1118. color: #333;
  1119. .client-level {
  1120. margin-left: 8rpx;
  1121. padding: 2rpx 8rpx;
  1122. background: #FFF6E5;
  1123. color: #C89743;
  1124. font-size: 22rpx;
  1125. border-radius: 8rpx;
  1126. }
  1127. }
  1128. }
  1129. .client-hospital {
  1130. font-size: 24rpx;
  1131. color: #666;
  1132. margin-top: 4rpx;
  1133. display: flex;
  1134. align-items: center;
  1135. .line {
  1136. width: 2rpx;
  1137. height: 28rpx;
  1138. background: #EAEBEE;
  1139. margin: 0 24rpx;
  1140. }
  1141. }
  1142. }
  1143. .client-stats {
  1144. display: flex;
  1145. gap: 24rpx;
  1146. font-size: 24rpx;
  1147. color: #999999;
  1148. .stat-item {
  1149. display: flex;
  1150. flex-direction: column;
  1151. align-items: center;
  1152. .num {
  1153. font-weight: 500;
  1154. font-size: 28rpx;
  1155. color: #333333;
  1156. }
  1157. }
  1158. }
  1159. }
  1160. }
  1161. /* 资质信息样式 */
  1162. .qualification-list {
  1163. .qualification-item {
  1164. margin-bottom: 32rpx;
  1165. &:last-child {
  1166. margin-bottom: 0;
  1167. }
  1168. .qualification-label {
  1169. display: block;
  1170. font-size: 28rpx;
  1171. color: #666666;
  1172. margin-bottom: 16rpx;
  1173. }
  1174. .image-grid {
  1175. display: flex;
  1176. flex-wrap: wrap;
  1177. gap: 16rpx;
  1178. .qualification-image {
  1179. width: calc((100% - 32rpx) / 2);
  1180. height: 240rpx;
  1181. border-radius: 8rpx;
  1182. object-fit: cover;
  1183. }
  1184. }
  1185. }
  1186. }
  1187. /* 审批信息样式 */
  1188. .approval-list {
  1189. .approval-item {
  1190. position: relative;
  1191. padding-left: 24rpx;
  1192. margin-bottom: 68rpx;
  1193. display: flex;
  1194. align-items: center;
  1195. justify-content: space-between;
  1196. &:last-child {
  1197. margin-bottom: 0;
  1198. }
  1199. .left {
  1200. display: flex;
  1201. align-items: center;
  1202. .avatar-box {
  1203. width: 80rpx;
  1204. height: 80rpx;
  1205. margin-right: 32rpx;
  1206. position: relative;
  1207. .avatar {
  1208. width: 100%;
  1209. height: 100%;
  1210. }
  1211. .icon {
  1212. position: absolute;
  1213. bottom: 0;
  1214. right: 0;
  1215. width: 32rpx;
  1216. height: 32rpx;
  1217. }
  1218. }
  1219. .approval-user {
  1220. gap: 12rpx;
  1221. .user-name {
  1222. font-weight: 500;
  1223. font-size: 28rpx;
  1224. color: #333;
  1225. }
  1226. .user-status {
  1227. font-size: 24rpx;
  1228. }
  1229. }
  1230. }
  1231. .approval-time {
  1232. font-size: 24rpx;
  1233. color: #999;
  1234. margin-top: 4rpx;
  1235. }
  1236. }
  1237. .approval-line {
  1238. position: absolute;
  1239. left: 64rpx;
  1240. bottom: -64rpx;
  1241. width: 1rpx;
  1242. height: 56rpx;
  1243. background: #BFD8FF;
  1244. }
  1245. }
  1246. .reason {
  1247. font-size: 28rpx;
  1248. color: #666666;
  1249. line-height: 40rpx;
  1250. margin-left: 136rpx;
  1251. background: #F7F8FA;
  1252. border-radius: 16rpx;
  1253. line-height: 40rpx;
  1254. padding: 20rpx;
  1255. }
  1256. .bottom-bar {
  1257. position: fixed;
  1258. bottom: 0;
  1259. left: 0;
  1260. right: 0;
  1261. background: #fff;
  1262. padding: 24rpx 32rpx;
  1263. border-top: 1rpx solid #F2F3F5;
  1264. z-index: 100;
  1265. display: flex;
  1266. align-items: center;
  1267. .action-buttons {
  1268. display: flex;
  1269. flex: 1;
  1270. justify-content: space-between;
  1271. .btn {
  1272. width: 292rpx;
  1273. height: 88rpx;
  1274. display: flex;
  1275. align-items: center;
  1276. justify-content: center;
  1277. font-size: 32rpx;
  1278. font-weight: 500;
  1279. border-radius: 200rpx 200rpx 200rpx 200rpx;
  1280. cursor: pointer;
  1281. display: flex;
  1282. align-items: center;
  1283. &.btn-cancel {
  1284. background: #fff;
  1285. border: 2rpx solid #CF3546;
  1286. color: #CF3546;
  1287. }
  1288. &.btn-submit {
  1289. background: #388BFF;
  1290. color: #fff;
  1291. }
  1292. .icon {
  1293. width: 32rpx;
  1294. height: 32rpx;
  1295. margin-right: 16rpx;
  1296. }
  1297. }
  1298. }
  1299. }
  1300. /* 自定义图片预览样式 */
  1301. .image-preview-modal {
  1302. position: fixed;
  1303. top: 0;
  1304. left: 0;
  1305. right: 0;
  1306. bottom: 0;
  1307. background-color: rgba(0, 0, 0, 0.8);
  1308. display: flex;
  1309. justify-content: center;
  1310. align-items: center;
  1311. z-index: 9999;
  1312. }
  1313. .image-preview-content {
  1314. position: relative;
  1315. width: 100%;
  1316. max-height: 90vh;
  1317. display: flex;
  1318. flex-direction: column;
  1319. align-items: center;
  1320. }
  1321. .preview-image {
  1322. width: 100%;
  1323. max-height: 80vh;
  1324. object-fit: contain;
  1325. }
  1326. .close-button {
  1327. position: absolute;
  1328. top: -60rpx;
  1329. right: 0;
  1330. width: 60rpx;
  1331. height: 60rpx;
  1332. background-color: rgba(0, 0, 0, 0.5);
  1333. color: #ffffff;
  1334. border-radius: 50%;
  1335. display: flex;
  1336. justify-content: center;
  1337. align-items: center;
  1338. font-size: 40rpx;
  1339. font-weight: bold;
  1340. cursor: pointer;
  1341. }
  1342. </style>