approvalTaskDetail.vue 44 KB

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