approvalTaskDetail.vue 46 KB

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