| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605 |
- <template>
- <view class="container">
- <view class="status-bar" :style="{ height: statusBarHeight + 'px' }"></view>
- <view class="top">
- <image class="return" @click="goBack"
- src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/back_white.png"></image>
- <text>任务详情</text>
- </view>
- <scroll-view class="content" scroll-y>
- <!-- 任务卡片 -->
- <view class="task-card" v-if="auditData">
- <view class="card-header">
- <view class="card-title">
- {{ auditData.audit && auditData.audit.auditName ? auditData.audit.auditName : '-' }}</view>
- <view class="card-lable" :class="'pending'" v-if="auditData.audit && auditData.audit.status==1">待审核
- </view>
- <view class="card-lable" :class="'pass'" v-if="auditData.audit && auditData.audit.status==2">审核通过
- </view>
- <view class="card-lable" :class="'reject'" v-if="auditData.audit && auditData.audit.status==3">已驳回
- </view>
- </view>
- <view class="card-meta">
- <view class="item">
- <image src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_user.png"></image>
- {{ auditData.audit.initiatorId||'-' }}
- </view>
- <view class="item">
- <image src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_time.png"></image>
- {{ auditData.audit.createTime||'-' }}
- </view>
- </view>
- </view>
- <!-- 讲者审核详情 -->
- <view class="info-section" v-if="auditData.audit && auditData.audit.auditType=='ADUIT_JZSH'">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">基础信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">账户身份(医生/药剂师)</text>
- <text class="info-value">{{ auditData.businessData.doctorName||'-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">账户身份</text>
- <text class="info-value">{{ auditData.businessData.accountType=='0'?'医生':'药剂师' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">手机号码</text>
- <text class="info-value">{{ auditData.businessData.mobile||'-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">身份证号</text>
- <text class="info-value">{{ auditData.businessData.idCard||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">机构名称</text>
- <text class="info-value">{{ auditData.businessData.institution||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">注册时间</text>
- <text class="info-value">{{ auditData.businessData. registerTime||'-'}}</text>
- </view>
- </view>
- </view>
- <view class="info-section" v-if="auditData.audit && auditData.audit.auditType=='ADUIT_JZSH'">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">执业信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">地址(省市区)</text>
- <text class="info-value">{{ auditData.businessData.provinceName||'-' }}
- {{ auditData.businessData.cityName||'-' }}
- {{ auditData.businessData.districtName||'-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">公司名称</text>
- <text class="info-value">{{ auditData.businessData.companyName||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">科室</text>
- <text class="info-value">{{ auditData.businessData.department||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">职称</text>
- <text class="info-value">{{ auditData.businessData.jobTitle||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">第三方业务编码</text>
- <text class="info-value">{{ auditData.businessData.thirdPartyCode||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">签约协议状态</text>
- <text class="info-value">{{ auditData.businessData.contractStatus=='0'?'未签约':'已签约'}}</text>
- </view>
- </view>
- </view>
- <view class="info-section" v-if="auditData.audit && auditData.audit.auditType=='ADUIT_JZSH'">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">资质信息</text>
- </view>
- <view class="qualification-list">
- <view class="qualification-item">
- <text class="qualification-label">执业证图片</text>
- <view class="image-grid" v-if="imageList('licenseImage').length">
- <image v-for="(url, idx) in imageList('licenseImage')" :key="idx"
- class="qualification-image" :src="url" @click="showImagePreview(url)"></image>
- </view>
- </view>
- <view class="qualification-item">
- <text class="qualification-label">职称证/工牌图片</text>
- <view class="image-grid" v-if="imageList('titleCertImage').length">
- <image v-for="(url, idx) in imageList('titleCertImage')" :key="idx"
- class="qualification-image" :src="url" @click="showImagePreview(url)"></image>
- </view>
- </view>
- </view>
- </view>
- <!-- 提现审核详情 -->
- <view class="info-section" v-if="auditData.audit && auditData.audit.auditType=='ADUIT_TXSH'">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">基础信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">公司名称</text>
- <text class="info-value">{{ auditData.businessData.companyName ||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">医生姓名</text>
- <text class="info-value">{{auditData.businessData.doctorName||'-'}}</text>
- </view>
- </view>
- </view>
- <view class="info-section" v-if="auditData.audit && auditData.audit.auditType=='ADUIT_TXSH'">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">提现信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">提现积分数量</text>
- <text class="info-value">{{ auditData.businessData.pointsAmount||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">提现金额(积分折算)</text>
- <text class="info-value">{{ auditData.businessData.readConverterExp||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">提现申请时间</text>
- <text class="info-value">{{ auditData.businessData.applyTime||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">审核状态</text>
- <text class="info-value">
- {{auditData.businessData.auditStatus == '0' ? '待审核' :
- auditData.businessData.auditStatus == '1' ? '审核通过' :
- auditData.businessData.auditStatus == '2' ? '审核驳回' : ''
- }}
- </text>
- </view>
- <view class="info-item">
- <text class="info-label"> 审核时间</text>
- <text class="info-value">{{ auditData.businessData.auditTime||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label"> 审核备注(驳回原因等)</text>
- <text class="info-value">{{ auditData.businessData.auditRemark||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label"> 打款状态</text>
- <text class="info-value">{{ auditData.businessData.paymentStatus=='0'?'待打款':'已打款'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label"> 打款时间</text>
- <text class="info-value">{{ auditData.businessData.paymentTime||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label"> 银行回执编号</text>
- <text class="info-value">{{ auditData.businessData.bankReceiptNo||'-'}}</text>
- </view>
- <view class="qualification-list">
- <view class="qualification-item">
- <text class="qualification-label">银行回执图片URL</text>
- <view class="image-grid" v-if="auditData.businessData.bankReceiptUrl||''">
- <image class="qualification-image" :src=" auditData.businessData.bankReceiptUrl||''"
- @click="showImagePreview(auditData.businessData.bankReceiptUrl||'')"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 创建任务审核详情和完成任务审核-->
- <view class="info-section"
- v-if="auditData.audit && (auditData.audit.auditType=='ADUIT_WCRWSH'||auditData.audit.auditType=='ADUIT_CJRW')">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">基础信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">公司名称</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskNo ||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">任务名称</text>
- <text class="info-value">{{auditData.businessData.auditTaskInfoVO.taskName||'-'}}</text>
- </view>
- </view>
- </view>
- <view class="info-section"
- v-if="auditData.audit && (auditData.audit.auditType=='ADUIT_WCRWSH'||auditData.audit.auditType=='ADUIT_CJRW')">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">任务信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">费用分摊名字</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.costShareName||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">任务积分</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskIntegral||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">任务数量</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskCount||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">任务单位名称</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.taskUnitName||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">归属名字</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.belongTypeName||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">计划开始时间</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.planStartTime||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">计划结束时间</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.planEndTime||'-'}}</text>
- </view>
- <!-- <view class="info-item">
- <text class="info-label">归属项目ID</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.projectId||'-'}}</text>
- </view> -->
- <view class="info-item">
- <text class="info-label">项目名称</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.projectName||'-'}}</text>
- </view>
- <!-- <view class="info-item">
- <text class="info-label">医生id</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.doctorId||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">归属部门ID</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.deptId||'-'}}</text>
- </view> -->
- <view class="info-item">
- <text class="info-label">部门名称</text>
- <text class="info-value">{{ auditData.businessData.auditTaskInfoVO.deptName||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">交付物审核时间</text>
- <text
- class="info-value">{{ auditData.businessData.auditTaskInfoVO.deliveryAuditTime||'-'}}</text>
- </view>
- </view>
- </view>
- <!-- 长视频信息 -->
- <view class="info-section"
- v-if="auditData.audit && auditData.audit.auditType=='ADUIT_WCRWSH' && auditData.businessData && auditData.businessData.auditTaskInfoVO && auditData.businessData.auditTaskInfoVO.taskType==6">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">长视频信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">项目名称/视频标题</text>
- <text class="info-value">{{ auditData.businessData.ctLongVideo.title ||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">是否原创</text>
- <text
- class="info-value">{{auditData.businessData.ctLongVideo.isOriginal==0?'否':'是'||'-'}}</text>
- </view>
- <view class="qualification-list">
- <view class="qualification-item">
- <text class="qualification-label">封面图URL</text>
- <view class="image-grid" v-if="auditData.businessData.ctLongVideo.coverUrl||''">
- <image class="qualification-image"
- :src="auditData.businessData.ctLongVideo.coverUrl||''"
- @click="showImagePreview(auditData.businessData.ctLongVideo.coverUrl||'')"></image>
- </view>
- </view>
- </view>
- <view class="info-item">
- <text class="info-label">摘要</text>
- <text class="info-value">{{ auditData.businessData.ctLongVideo.summary ||'-'}}</text>
- </view>
- <!-- <view class="info-item">
- <video class="info-value" :src="auditData.businessData.ctLongVideo.videoUrl||''" controls></video>
- </view> -->
- <view class="info-item">
- <text class="info-label">视频附件URL</text>
- <text class="info-value link"
- v-if="auditData.businessData.ctLongVideo && auditData.businessData.ctLongVideo.videoUrl"
- @click="openUrl(auditData.businessData.ctLongVideo.videoUrl)">{{ auditData.businessData.ctLongVideo.videoUrl }}</text>
- <text class="info-value" v-else>-</text>
- </view>
- <!-- <view class="qualification-list">
- <view class="qualification-item">
- <text class="qualification-label">视频附件URL</text>
- <view class="image-grid" v-if="auditData.businessData.ctLongVideo.videoUrl||''">
- <image class="qualification-image" :src=" auditData.businessData.ctLongVideo.videoUrl||''"
- @click="showImagePreview(auditData.businessData.ctLongVideo.videoUrl||'')"></image>
- </view>
- </view>
- </view> -->
- </view>
- </view>
- <!-- 短视频 -->
- <view class="info-section"
- v-if="auditData.audit && auditData.audit.auditType=='ADUIT_WCRWSH' && auditData.businessData && auditData.businessData.auditTaskInfoVO && auditData.businessData.auditTaskInfoVO.taskType==5">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">短视频信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">项目名称/视频标题</text>
- <text class="info-value">{{ auditData.businessData.ctShortVideo.title ||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">是否原创</text>
- <text
- class="info-value">{{auditData.businessData.ctShortVideo.isOriginal==0?'否':'是'||'-'}}</text>
- </view>
- <view class="qualification-list">
- <view class="qualification-item">
- <text class="qualification-label">封面图URL</text>
- <view class="image-grid" v-if="auditData.businessData.ctShortVideo.coverUrl||''">
- <image class="qualification-image"
- :src=" auditData.businessData.ctShortVideo.coverUrl||''"
- @click="showImagePreview(auditData.businessData.ctShortVideo.coverUrl||'')"></image>
- </view>
- </view>
- </view>
- <view class="info-item">
- <text class="info-label">摘要</text>
- <text class="info-value">{{auditData.businessData.ctShortVideo.summary||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">视频附件URL</text>
- <text class="info-value link"
- v-if="auditData.businessData.ctShortVideo && auditData.businessData.ctShortVideo.videoUrl"
- @click="openUrl(auditData.businessData.ctShortVideo.videoUrl)">{{ auditData.businessData.ctShortVideo.videoUrl }}</text>
- <text class="info-value" v-else>-</text>
- </view>
- <!-- <view class="qualification-list">
- <view class="qualification-item">
- <text class="qualification-label">视频附件URL</text>
- <view class="image-grid" v-if="auditData.businessData.ctShortVideo.videoUrl||''">
- <image class="qualification-image" :src=" auditData.businessData.ctShortVideo.videoUrl||''"
- @click="showImagePreview(auditData.businessData.ctShortVideo.videoUrl||'')"></image>
- </view>
- </view>
- </view> -->
- <view class="info-item">
- <text class="info-label">上下架状态</text>
- <text class="info-value">{{auditData.businessData.ctShortVideo.status==0?'上架':'下架'||'-'}}</text>
- </view>
- </view>
- </view>
- <!-- 文章 -->
- <view class="info-section"
- v-if="auditData.audit && auditData.audit.auditType=='ADUIT_WCRWSH' && auditData.businessData && auditData.businessData.auditTaskInfoVO && auditData.businessData.auditTaskInfoVO.taskType==4">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">文章信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">项目名称/视频标题</text>
- <text class="info-value">{{ auditData.businessData.ctArticle.title ||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">是否原创</text>
- <text class="info-value">{{auditData.businessData.ctArticle.isOriginal==0?'否':'是'||'-'}}</text>
- </view>
- <view class="qualification-list">
- <view class="qualification-item">
- <text class="qualification-label">封面图URL</text>
- <view class="image-grid" v-if="auditData.businessData.ctArticle.coverImage||''">
- <image class="qualification-image"
- :src=" auditData.businessData.ctArticle.coverImage||''"
- @click="showImagePreview(auditData.businessData.ctArticle.coverImage||'')"></image>
- </view>
- </view>
- </view>
- <view class="info-item">
- <text class="info-label">富文本</text>
- <text class="info-value">{{auditData.businessData.ctArticle.content||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">摘要</text>
- <text class="info-value">{{auditData.businessData.ctArticle.summary||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">附件URL</text>
- <text class="info-value link"
- v-if="auditData.businessData.ctArticle && auditData.businessData.ctArticle.attachmentUrl"
- @click="openUrl(auditData.businessData.ctArticle.attachmentUrl)">{{ auditData.businessData.ctArticle.attachmentUrl }}</text>
- <text class="info-value" v-else>-</text>
- </view>
- <!-- <view class="qualification-list">
- <view class="qualification-item">
- <text class="qualification-label">附件URL</text>
- <view class="image-grid" v-if="auditData.businessData.ctArticle.attachmentUrl||''">
- <image class="qualification-image" :src=" auditData.businessData.ctArticle.attachmentUrl||''"
- @click="showImagePreview(auditData.businessData.ctArticle.attachmentUrl||'')"></image>
- </view>
- </view>
- </view> -->
- <view class="info-item">
- <text class="info-label">上下架状态</text>
- <text class="info-value">{{auditData.businessData.ctArticle.status==0?'上架':'下架'||'-'}}</text>
- </view>
- </view>
- </view>
- <!-- 定级审核-->
- <view class="info-section" v-if="auditData.audit && auditData.audit.auditType=='ADUIT_DJSH'">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">定级信息</text>
- </view>
- <view class="info-list">
- <view class="info-item" v-if="getFieldDisplay('学术头衔', true)">
- <text class="info-label">学术头衔</text>
- <text class="info-value">{{ getFieldDisplay('学术头衔', true)}}</text>
- </view>
- <view class="info-item" v-if="getFieldDisplay('学位', true)">
- <text class="info-label">学位</text>
- <text class="info-value">{{ getFieldDisplay('学位', true)}}</text>
- </view>
- <view class="info-item" v-if="getFieldDisplay('学术研究', true)">
- <text class="info-label">学术研究</text>
- <text class="info-value">{{ getFieldDisplay('学术研究', true)}}</text>
- </view>
- <view class="info-item" v-if="getFieldDisplay('学术任职', true)">
- <text class="info-label">学术任职</text>
- <text class="info-value">{{ getFieldDisplay('学术任职', true)}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">申请级别</text>
- <text
- class="info-value">{{ auditData.businessData.doctorLevelApplyVO.applyLevelName ||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">国际性期刊论文/著作数</text>
- <text
- class="info-value">{{auditData.businessData.doctorLevelApplyVO.internationalPapers ||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">全国性期刊论文/著作数</text>
- <text
- class="info-value">{{auditData.businessData.doctorLevelApplyVO.nationalPapers ||'-'}}</text>
- </view>
- <view class="info-item">
- <text class="info-label">临床工作经验年数</text>
- <text
- class="info-value">{{auditData.businessData.doctorLevelApplyVO.clinicalExperienceYears ||'-'}}</text>
- </view>
- </view>
- </view>
- <!-- 项目信息 -->
- <view class="info-section" v-if="auditData.projectVO">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">项目信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">项目名称</text>
- <text class="info-value">{{ auditData.projectVO.projectName }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">项目活动ID</text>
- <text class="info-value">{{ auditData.projectVO.projectTypeId }}</text>
- </view>
- </view>
- </view>
- <!-- 客户信息 -->
- <view class="info-section" v-if="auditData.docterVO">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">客户信息</text>
- </view>
- <view class="client-list">
- <view class="client-item">
- <view class="client-info">
- <image class="avatar"
- src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/my_heads_icon.png">
- </image>
- <view class="client-txt">
- <view class="client-name">
- {{ auditData.docterVO.doctorName }}
- <text class="client-level">一级</text>
- </view>
- <view class="client-hospital">
- <text>{{ auditData.docterVO.institution }} </text>
- <view class="line"></view>
- <text>{{ auditData.docterVO.department || '-' }}</text>
- </view>
- </view>
- </view>
- <view class="client-stats">
- <view class="stat-item"><text class="num">{{ auditData.auditTaskInfoVO.taskCount }}
- </text>任务</view>
- <view class="stat-item"><text class="num">{{ auditData.auditTaskInfoVO.taskIntegral }}
- </text>积分</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 审批信息 -->
- <view class="info-section" v-if="auditData">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">审批流程</text>
- </view>
- <view class="approval-list">
- <view class="approval-item" v-for="(item, index) in auditData.auditFlows" :key="index">
- <view class="left">
- <view class="avatar-box">
- <image class="avatar"
- src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/my_heads_icon.png">
- </image>
- <image class="icon" v-if="item.status==1"
- src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_wait.png">
- </image>
- <image class="icon" v-if="item.status==2|| item.status ===0"
- src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_pass.png">
- </image>
- <image class="icon" v-if="item.status==3"
- src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_refuse.png">
- </image>
- </view>
- <view class="approval-user">
- <view class="user-name">{{ item.auditUserName }}</view>
- <view class="user-status"
- :style="{ color: item.status ===2|| item.status ===0 ? '#4CAF50' : item.status === 1 ? '#FF9800' : '#F44336' }">
- {{ item.statusName||'-' }}
- </view>
- <view class="approval-comment" v-if="item.comment">{{item.comment||'-'}}</view>
- </view>
- </view>
- <text class="approval-time">{{ item.auditTime || '-' }}</text>
- <view class="approval-line" v-if="index < auditData.auditFlows.length - 1"></view>
- </view>
- </view>
- </view>
- </scroll-view>
- <!-- 自定义图片预览模态框 -->
- <view class="image-preview-modal" v-if="imagePreview.show" @click="closeImagePreview">
- <view class="image-preview-content" @click.stop>
- <image class="preview-image" :src="imagePreview.urls[imagePreview.current]" mode="widthFix"></image>
- </view>
- </view>
- <view class="bottom-bar" v-if="auditData.audit && auditData.audit.status === 1 && isUserInLatestAuditUsers()">
- <view class="action-buttons">
- <view class="btn btn-cancel" @click="openRejectPopup">
- <image class="icon"
- src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_approval_no.png"></image>
- <text>驳回</text>
- </view>
- <view class="btn btn-submit" @click="handleNext">
- <image class="icon"
- src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_approval_yes.png"></image>
- <text>通过</text>
- </view>
- </view>
- </view>
- <!-- 驳回弹窗 -->
- <u-popup :show="showRejectPopup" mode="bottom" round="24" z-index="9999999">
- <view class="reject-popup-content">
- <view class="popup-header">
- <text class="popup-title">驳回</text>
- <image @click="showRejectPopup = false;" class="close"
- src="https://ysrw-1395926010.cos.ap-chengdu.myqcloud.com/image/icon_close.png"></image>
- </view>
- <view class="input-area">
- <textarea v-model="rejectReason" placeholder="请输入驳回意见" class="reason-input" :auto-height="true"
- maxlength="200" />
- </view>
- <view class="btn-group">
- <view class="button reject" @click="showRejectPopup = false">取消</view>
- <view class="button confirm" @click="handleConfirmReject ">确认驳回</view>
- </view>
- </view>
- </u-popup>
- </view>
- </template>
- <script>
- import {
- doAudit,
- doCreateAudit,
- getAuditFlows,
- getTaskFinishAuditInfo,
- detail
- } from '@/api/audit.js'
- import image from 'uview-ui/libs/config/props/image';
- export default {
- data() {
- return {
- userInfo: uni.getStorageSync('userInfo'),
- // 弹窗默认隐藏
- showRejectPopup: false,
- // 驳回意见
- rejectReason: '',
- // 状态栏高度
- statusBarHeight: (uni.getWindowInfo ? uni.getWindowInfo().statusBarHeight : (typeof wx !== 'undefined' &&
- wx.getWindowInfo ? wx.getWindowInfo().statusBarHeight : (uni.getSystemInfoSync && uni
- .getSystemInfoSync().statusBarHeight) || 0)),
- // 任务ID
- taskId: '',
- // 接口返回的原始数据(初始化为安全空对象,避免渲染期空指针)
- auditData: {
- audit: {},
- businessData: {},
- auditFlows: [],
- projectVO: null,
- docterVO: null
- },
- // 审批信息
- approvalInfo: [],
- // 图片预览
- imagePreview: {
- show: false,
- urls: [],
- current: 0
- }
- }
- },
- computed: {
- },
- onLoad(options) {
- if (options.taskId) {
- this.taskId = options.taskId
- this.loadData()
- }
- },
- methods: {
- getStatusBarHeight() {
- if (uni.getWindowInfo) return uni.getWindowInfo().statusBarHeight || 0
- if (typeof wx !== 'undefined' && wx.getWindowInfo) return wx.getWindowInfo().statusBarHeight || 0
- const info = uni.getSystemInfoSync && uni.getSystemInfoSync()
- return (info && info.statusBarHeight) || 0
- },
- imageList(field) {
- const b = (this.auditData && this.auditData.businessData) || {}
- const v = b[field]
- if (!v) return []
- if (Array.isArray(v)) return v.filter(Boolean)
- return String(v).split(',').map(s => String(s).trim().replace(/`/g, '')).filter(Boolean)
- },
- // 打开驳回弹窗
- openRejectPopup() {
- // 直接打开驳回弹窗
- this.showRejectPopup = true
- },
- //动态表单
- getFieldDisplay(label, isMultiple = false) {
- const apply = this.auditData.businessData.doctorLevelApplyVO;
- console.log(this.auditData, 'apply')
- if (!apply || !apply.formJson || !apply.dynamicFormData) return '-';
- let formJson = apply.formJson;
- if (typeof formJson === 'string') {
- try {
- formJson = JSON.parse(formJson);
- } catch (e) {
- return '-';
- }
- }
- const fields = formJson.fields || [];
- const field = fields.find(f => f.__config__.label === label);
- if (!field) return '-';
- const vModel = field.__vModel__;
- let value = apply.dynamicFormData[vModel];
- if (value === null || value === undefined || value === '') return '-';
- const options = field.__slot__?.options || [];
- const optionMap = new Map(options.map(opt => [String(opt.value), opt.label]));
- if (isMultiple) {
- const values = String(value).split(',').filter(Boolean);
- return values.map(v => optionMap.get(v) || v).join('、');
- } else {
- return optionMap.get(String(value)) || value;
- }
- },
- // 确认驳回
- async handleConfirmReject() {
- if (!this.rejectReason.trim()) {
- uni.showToast({
- title: '请输入驳回意见',
- icon: 'none'
- })
- return
- }
- try {
- uni.showLoading({
- title: '提交中...'
- })
- // 调用审核接口,传递action=2表示驳回
- const res = await doAudit({
- auditId: this.taskId,
- userId: this.userInfo.userId,
- businessType: this.auditData.audit.businessType,
- userType: 0,
- action: 2,
- comment: this.rejectReason,
- companyId: this.userInfo.companyId,
- businessId: this.auditData.audit.businessId
- })
- uni.hideLoading()
- if (res.code === 200) {
- uni.showToast({
- title: res.msg||res.message || '操作成功',
- icon: 'none',
- duration: 2000,
- mask: true
- })
- // 关闭弹窗
- this.showRejectPopup = false
- // 重置输入
- this.rejectReason = ''
- // 重新加载数据
- setTimeout(() => {
- this.loadData()
- }, 2000)
- this.goBack()
- } else {
- uni.showToast({
- title: res.message || res.msg || '操作失败',
- icon: 'none'
- })
- }
- } catch (e) {
- uni.hideLoading()
- console.error('驳回失败', e)
- }
- },
- // 返回上一页
- goBack() {
- uni.navigateBack()
- },
- // 加载数据
- async loadData() {
- try {
- uni.showLoading({
- title: '加载中...'
- })
- // 获取任务完成审核信息
- const res = await detail({
- auditId: this.taskId
- })
- if (res.code === 200) {
- this.auditData = res.data || {
- audit: {},
- businessData: {},
- auditFlows: []
- }
- }
- uni.hideLoading()
- } catch (e) {
- uni.hideLoading()
- console.error('加载数据失败', e)
- }
- },
- // 复制到剪贴板
- copyToClipboard(text) {
- uni.setClipboardData({
- data: text,
- success() {
- uni.showToast({
- title: '复制成功',
- icon: 'success'
- })
- }
- })
- },
- // 下载附件
- downloadAttachment() {
- uni.showToast({
- title: '开始下载附件',
- icon: 'none'
- })
- // 实际项目中添加下载逻辑:uni.downloadFile + uni.saveFile
- },
- // 解析formJson数据
- parseFormJson(formJson) {
- try {
- if (!formJson) return {};
- // 解析JSON字符串
- const parsed = typeof formJson === 'string' ? JSON.parse(formJson) : formJson;
- const fields = parsed.fields || [];
- const result = {};
- // 遍历所有字段,提取label和value
- fields.forEach(field => {
- const config = field.__config__;
- const label = config.label;
- const vModel = field.__vModel__;
- const value = field[vModel];
- // 对于select类型的字段,可能需要根据value找到对应的label
- if (field.options && Array.isArray(field.options)) {
- const option = field.options.find(opt => opt.value === value);
- result[label] = option ? option.label : value;
- } else {
- result[label] = value;
- }
- });
- return result;
- } catch (e) {
- console.error('解析formJson失败:', e);
- return {};
- }
- },
- // 备用方法(实际用openRejectPopup)
- handlePrev() {
- this.openRejectPopup()
- },
- // 审批通过
- async handleNext() {
- try {
- uni.showLoading({
- title: '提交中...'
- })
- // 调用审核接口,传递action=1表示通过
- const res = await doAudit({
- auditId: this.taskId,
- userId: this.userInfo.userId,
- businessType: this.auditData.audit.businessType,
- userType: 0,
- action: 1,
- comment: "",
- companyId: this.userInfo.companyId,
- businessId: this.auditData.audit.businessId
- })
- uni.hideLoading()
- if (res.code === 200) {
- uni.showToast({
- title: res.message || res.msg || '操作成功',
- icon: 'none',
- duration: 2000,
- mask: true
- })
- // 重新加载数据
- setTimeout(() => {
- this.loadData()
- }, 2000)
- this.goBack()
- } else {
- uni.showToast({
- title: res.message || res.msg || '操作失败',
- icon: 'none'
- })
- }
- } catch (e) {
- }
- },
- // 自定义图片预览
- showImagePreview(url) {
- if (url) {
- this.imagePreview.show = true;
- this.imagePreview.urls = [url];
- this.imagePreview.current = 0;
- }
- },
- // 关闭图片预览
- closeImagePreview() {
- this.imagePreview.show = false;
- },
- openUrl(url) {
- if (!url) {
- return
- }
- // #ifdef H5
- window.open(url, '_blank')
- // #endif
- // #ifdef APP-PLUS
- plus.runtime.openURL(url)
- // #endif
- // #ifdef MP-WEIXIN
- this.copyToClipboard(url)
- uni.showToast({
- title: '链接已复制,可在浏览器打开',
- icon: 'none'
- })
- // #endif
- },
- // 判断用户是否在最新的审核人中
- isUserInLatestAuditUsers() {
- try {
- // 获取用户信息
- const userInfo = uni.getStorageSync('userInfo');
- if (!userInfo || !userInfo.userId) {
- console.log('用户信息不存在或没有 userId');
- return false;
- }
- const userId = userInfo.userId.toString();
- console.log('当前用户 userId:', userId);
- // 检查 auditData 和 auditFlows 是否存在且不为空
- if (!this.auditData || !this.auditData.auditFlows || this.auditData.auditFlows.length === 0) {
- console.log('auditData 或 auditFlows 不存在或为空');
- return false;
- }
- // 获取 auditFlows 数组的最后一个项作为最新的审核步骤
- const latestFlow = this.auditData.auditFlows[this.auditData.auditFlows.length - 1];
- console.log('最新的审核步骤:', latestFlow);
- // 检查最新步骤的审核人
- if (latestFlow && latestFlow.auditUserIds) {
- console.log('最新步骤的 auditUserIds:', latestFlow.auditUserIds);
- // 解析 auditUserIds 字符串为数组
- try {
- const auditUserIds = JSON.parse(latestFlow.auditUserIds);
- console.log('解析后的 auditUserIds:', auditUserIds);
- if (Array.isArray(auditUserIds)) {
- // 检查 userId 是否在最新的审核人中,转换类型以确保匹配
- const result = auditUserIds.some(id => id.toString() === userId);
- console.log('用户是否在最新审核人中:', result);
- return result;
- }
- } catch (error) {
- console.error('解析 auditUserIds 失败:', error);
- }
- }
- console.log('用户不在最新审核人中');
- return false;
- } catch (error) {
- console.error('判断用户是否在最新审核人中失败:', error);
- return false;
- }
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- // 弹窗样式
- .reject-popup-content {
- padding: 32rpx;
- box-sizing: border-box;
- overflow: hidden;
- border-radius: 24rpx 24rpx 0 0;
- .popup-header {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-bottom: 32rpx;
- position: relative;
- .popup-title {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- }
- .close {
- position: absolute;
- right: 0;
- width: 44rpx;
- height: 44rpx;
- }
- }
- .input-area {
- margin-bottom: 40rpx;
- .reason-input {
- min-height: 120rpx;
- padding: 20rpx;
- background: #F7F8FA;
- border-radius: 12rpx;
- font-size: 28rpx;
- color: #333;
- width: 100%; // 新增:确保输入框宽度100%
- box-sizing: border-box;
- }
- }
- .btn-group {
- display: flex;
- gap: 24rpx;
- .button {
- width: 332rpx;
- height: 80rpx;
- flex: 1;
- border-radius: 200rpx;
- font-size: 28rpx;
- text-align: center;
- line-height: 80rpx;
- }
- .reject {
- color: #388BFF;
- background: #FFFFFF;
- border-radius: 200rpx 200rpx 200rpx 200rpx;
- border: 2rpx solid #388BFF;
- }
- .confirm {
- background: #388BFF;
- color: #FFFFFF;
- }
- }
- }
- // 原有样式
- .container {
- min-height: 100vh;
- background: #f5f5f5;
- display: flex;
- flex-direction: column;
- height: auto;
- &::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- width: 100%;
- height: 532rpx;
- background: linear-gradient(180deg, rgba(56, 139, 255, 0.79) 0%, rgba(56, 139, 255, 0) 100%);
- }
- }
- .top {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 88rpx;
- position: relative;
- font-weight: 600;
- font-size: 36rpx;
- color: #FFFFFF;
- .return {
- position: absolute;
- left: 32rpx;
- width: 40rpx;
- height: 40rpx;
- }
- }
- .content {
- flex: 1;
- padding: 24rpx;
- box-sizing: border-box;
- padding-bottom: 200rpx;
- }
- /* 任务卡片样式 */
- .task-card {
- background: #fff;
- border-radius: 16rpx;
- padding: 24rpx;
- margin-bottom: 24rpx;
- .card-header {
- display: flex;
- justify-content: space-between;
- .card-title {
- font-weight: 500;
- font-size: 36rpx;
- color: #333333;
- margin-bottom: 24rpx;
- }
- .card-lable {
- height: 40rpx;
- box-sizing: border-box;
- padding: 4rpx 12rpx;
- font-size: 24rpx;
- border-radius: 8rpx;
- &.pending {
- background: #FEF8E3;
- color: #DE9B14;
- }
- &.reject {
- background: #FFF4F5;
- color: #CF3546;
- }
- &.pass {
- color: #07C160;
- background: #E6FAEF;
- }
- }
- }
- .card-meta {
- display: flex;
- align-items: center;
- gap: 16rpx;
- font-size: 24rpx;
- color: #666;
- .item {
- display: flex;
- align-items: center;
- image {
- width: 32rpx;
- height: 32rpx;
- margin-right: 16rpx;
- }
- }
- }
- }
- /* 通用信息区块样式 */
- .info-section {
- background: #fff;
- border-radius: 16rpx;
- padding: 24rpx;
- margin-bottom: 24rpx;
- .section-header {
- display: flex;
- align-items: center;
- margin-bottom: 24rpx;
- .section-indicator {
- width: 6rpx;
- height: 32rpx;
- background: #388BFF;
- border-radius: 3rpx;
- margin-right: 16rpx;
- }
- .section-title {
- font-weight: 600;
- font-size: 32rpx;
- color: #333333;
- }
- }
- .info-list {
- .info-item {
- display: flex;
- margin-bottom: 24rpx;
- &:last-child {
- margin-bottom: 0;
- }
- .info-label {
- width: 50%;
- font-size: 28rpx;
- color: #666;
- flex-shrink: 0;
- }
- .info-value {
- flex: 1;
- text-align: end;
- font-size: 28rpx;
- color: #333;
- }
- .copy-btn {
- margin-left: 16rpx;
- color: #2196F3;
- font-size: 24rpx;
- cursor: pointer;
- }
- .column {
- flex-direction: column;
- }
- .attachment-item {
- margin-top: 24rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 16rpx;
- background: #F7F8FA;
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- .left {
- display: flex;
- align-items: center;
- .img {
- width: 72rpx;
- height: 72rpx;
- margin-right: 24rpx;
- }
- .txt-item {
- .attachment-name {
- font-size: 28rpx;
- color: #333;
- }
- .attachment-size {
- font-size: 24rpx;
- color: #999;
- }
- }
- }
- .download-btn {
- width: 32rpx;
- height: 32rpx;
- }
- }
- }
- }
- }
- /* 客户信息样式 */
- .client-list {
- .client-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 16rpx 0;
- &:last-child {
- border-bottom: none;
- }
- .client-info {
- display: flex;
- align-items: center;
- .avatar {
- width: 88rpx;
- height: 88rpx;
- margin-right: 24rpx;
- }
- .client-txt {
- .client-name {
- font-size: 28rpx;
- font-weight: 500;
- color: #333;
- .client-level {
- margin-left: 8rpx;
- padding: 2rpx 8rpx;
- background: #FFF6E5;
- color: #C89743;
- font-size: 22rpx;
- border-radius: 8rpx;
- }
- }
- }
- .client-hospital {
- font-size: 24rpx;
- color: #666;
- margin-top: 4rpx;
- display: flex;
- align-items: center;
- .line {
- width: 2rpx;
- height: 28rpx;
- background: #EAEBEE;
- margin: 0 24rpx;
- }
- }
- }
- .client-stats {
- display: flex;
- gap: 24rpx;
- font-size: 24rpx;
- color: #999999;
- .stat-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- .num {
- font-weight: 500;
- font-size: 28rpx;
- color: #333333;
- }
- }
- }
- }
- }
- /* 资质信息样式 */
- .qualification-list {
- .qualification-item {
- margin-bottom: 32rpx;
- &:last-child {
- margin-bottom: 0;
- }
- .qualification-label {
- display: block;
- font-size: 28rpx;
- color: #666666;
- margin-bottom: 16rpx;
- }
- .image-grid {
- display: flex;
- flex-wrap: wrap;
- gap: 16rpx;
- .qualification-image {
- width: calc((100% - 32rpx) / 2);
- height: 240rpx;
- border-radius: 8rpx;
- object-fit: cover;
- }
- }
- }
- }
- /* 审批信息样式 */
- .approval-list {
- .approval-item {
- position: relative;
- padding-left: 24rpx;
- margin-bottom: 68rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- &:last-child {
- margin-bottom: 0;
- }
- .left {
- display: flex;
- // align-items: center;
- .avatar-box {
- width: 80rpx;
- height: 80rpx;
- margin-right: 32rpx;
- position: relative;
- .avatar {
- width: 100%;
- height: 100%;
- }
- .icon {
- position: absolute;
- bottom: 0;
- right: 0;
- width: 32rpx;
- height: 32rpx;
- }
- }
- .approval-user {
- gap: 12rpx;
- .user-name {
- font-weight: 500;
- font-size: 28rpx;
- color: #333;
- }
- .user-status {
- font-size: 24rpx;
- }
- }
- }
- .approval-time {
- font-size: 24rpx;
- color: #999;
- margin-top: 4rpx;
- }
- .approval-comment{
- margin-top: 14rpx;
- width: 100%;
- padding: 20rpx;
- font-size: 28rpx;
- background: #F7F8FA;
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- }
- }
- .approval-line {
- position: absolute;
- left: 64rpx;
- bottom: -64rpx;
- width: 1rpx;
- height: 56rpx;
- background: #BFD8FF;
- }
- }
- .reason {
- font-size: 28rpx;
- color: #666666;
- line-height: 40rpx;
- margin-left: 136rpx;
- background: #F7F8FA;
- border-radius: 16rpx;
- line-height: 40rpx;
- padding: 20rpx;
- }
- .bottom-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- background: #fff;
- padding: 24rpx 32rpx;
- border-top: 1rpx solid #F2F3F5;
- z-index: 100;
- display: flex;
- align-items: center;
- .action-buttons {
- display: flex;
- flex: 1;
- justify-content: space-between;
- .btn {
- width: 292rpx;
- height: 88rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 32rpx;
- font-weight: 500;
- border-radius: 200rpx 200rpx 200rpx 200rpx;
- cursor: pointer;
- display: flex;
- align-items: center;
- &.btn-cancel {
- background: #fff;
- border: 2rpx solid #CF3546;
- color: #CF3546;
- }
- &.btn-submit {
- background: #388BFF;
- color: #fff;
- }
- .icon {
- width: 32rpx;
- height: 32rpx;
- margin-right: 16rpx;
- }
- }
- }
- }
- /* 自定义图片预览样式 */
- .image-preview-modal {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.8);
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 9999;
- }
- .image-preview-content {
- position: relative;
- width: 100%;
- max-height: 90vh;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .preview-image {
- width: 100%;
- max-height: 80vh;
- object-fit: contain;
- }
- .link {
- color: #388BFF;
- text-decoration: underline;
- display: block;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- max-width: 100%;
- }
- .close-button {
- position: absolute;
- top: -60rpx;
- right: 0;
- width: 60rpx;
- height: 60rpx;
- background-color: rgba(0, 0, 0, 0.5);
- color: #ffffff;
- border-radius: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 40rpx;
- font-weight: bold;
- cursor: pointer;
- }
- </style>
|