ts_aimz/pages/copyright/applyRepair/applyRepair.wxml
2025-05-09 17:11:32 +08:00

120 lines
7.0 KiB
Plaintext

<!--pages/copyright/applyRepair/applyRepair.wxml-->
<view class="page-container">
<swiper indicator-dots style="height: 120rpx;" autoplay indicator-active-color="#fff">
<swiper-item>
<image src="{{imgAssets}}/banner_1.png" style="width: 100vw;height: 120rpx;"></image>
</swiper-item>
<swiper-item>
<image src="{{imgAssets}}/banner_2.png" style="width: 100vw;height: 120rpx;"></image>
</swiper-item>
</swiper>
<view class="apply-box">
<text class="label">补正信息</text>
<view class="apply-item-row mt-20 ml-10">
<view class="apply-title star" style="align-self: center;">补正软著</view>
<view class="apply-content" bind:tap="showSelProDialog">
<view class="{{selPro == null? 'text-hint':'text-sel'}}">{{selPro==null? '选择需要补正的软著' :selPro.projName}}</view>
<view class="icon-arrow-down-line" style="width: 24rpx;height: 24rpx;margin:0rpx 20rpx;"></view>
</view>
</view>
<view class="apply-item-row mt-20 ml-10">
<view class="apply-title star" style="align-self: center;">补正种类</view>
<view class="apply-content" bind:tap="showSelTypeDialog">
<view class="{{selType==null?'text-hint':'text-sel'}}">{{selType==null?'选择种类':selType.title}}</view>
<view class="icon-arrow-down-line" style="width: 24rpx;height: 24rpx;margin:0rpx 20rpx;"></view>
</view>
</view>
<view class="apply-item-column mt-20 ml-10">
<view class="apply-title star">补正原因</view>
<textarea bindinput="inputRemark" value="{{remark}}" placeholder="请输入补正原因" placeholder-style="font-size:28rpx;color:var(--text-gray-hint-color)" class="reason-content mt-10"></textarea>
</view>
<view class="apply-item-column mt-20 ml-10">
<view class="apply-title star">补正凭证</view>
<view>
<mp-uploader max-count="4" delete="true" select="{{selectFile}}" upload="{{uploadFile}}" bind:delete="deleteImage" files="{{files}}" title=""></mp-uploader>
</view>
<view class="hint">
*上传完整的补正通知书或者完整的补正通知书的截图,要求右上方的流水号和右下方的补正通知书的日期都得完整显示
</view>
</view>
</view>
<view class="bottom-fixed-footer">
<view class="bottom-btn-green" bind:tap="doApply">提交</view>
</view>
</view>
<!-- 补正软著列表 -->
<mp-half-screen-dialog show="{{showSelPro}}" bindclose="closeDialog" closabled="{{false}}">
<view slot="title">
<view style="display: flex;flex-direction: row;align-items: center;">
<view class="search-container">
<input class="search-input" value="{{proKeywords}}" bindinput="inputKeywords" bindconfirm="doSearchKeyWord" placeholder-style="font-size:28rpx;" type="text" confirm-type="search" placeholder="请输入项目名称" />
<view wx:if="{{proKeywords !=''}}" bind:tap="clearSearch" class="icon-clear" style="width: 20px;height: 20px;"></view>
</view>
<icon bind:tap="closeDialog" type="clear" size="25"></icon>
</view>
</view>
<view slot="desc">
<view style="height: 600rpx;">
<container-loading loadingState="{{loadingState}}" style="height: 600rpx;" bindrefresh="doRefreshList">
<scroll-view scroll-y="{{true}}" style="height: 600rpx;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='50'>
<view class="pro-list-box">
<radio-group>
<block wx:for="{{proList}}" wx:key="index">
<view class="pro-list-item" bind:tap="" data-value="{{item}}">
<radio class="custom-radio" style="margin-left: 5px;" checked="{{tempSelPro.projId==item.projId}}"></radio>
<view class="pro-list-item-left" bind:tap="choosePro" data-value="{{item}}">
<view class="pro-list-item-left-title">
<view class="pro-list-name">{{item.projName}}</view>
<rich-text class="pro-list-item-left-count" nodes="已通过补正<span style='color:red;font-size:28rpx;font-weight:bold;'>{{item.approvedCount}}</span>次"></rich-text>
</view>
<view class="pro-list-item-left-footer">
<view class="pro-list-item-left-tag">{{item.applyContactName}}</view>
<view class="pro-list-item-left-tag">{{item.projContext}}</view>
<view class="pro-list-item-left-tag">{{item.gmtCreate}}</view>
</view>
</view>
</view>
</block>
</radio-group>
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
<view wx:if="{{!hasMore}}" class="no-more">
<view class="no-more-dot"></view>
</view>
</view>
</scroll-view>
</container-loading>
</view>
</view>
<view slot="footer">
<view class="bottom-btn-green" bind:tap="confirmSelPro">确定</view>
</view>
</mp-half-screen-dialog>
<!-- 种类 -->
<mp-half-screen-dialog show="{{showSelType}}" bindclose="closeDialog" closabled="{{false}}">
<view slot="title">补正种类</view>
<view slot="desc">
<scroll-view scroll-y style="height: 500rpx;">
<view class="pro-list-box">
<radio-group>
<block wx:for="{{typeList}}" wx:key="index">
<view class="pro-list-item" bind:tap="" data-value="{{item}}">
<radio class="custom-radio" style="margin-left: 5px;" checked="{{tempSelType.value==item.value}}"></radio>
<view class="pro-list-item-left" bind:tap="chooseType" data-value="{{item}}">
<view class="pro-list-item-left-title">
<view class="pro-list-name">{{item.title}}</view>
</view>
</view>
</view>
</block>
</radio-group>
</view>
</scroll-view>
</view>
<view slot="footer">
<view class="bottom-btn-green" bind:tap="confirmSelType">确定</view>
</view>
</mp-half-screen-dialog>
<mp-toptips msg="{{msgHint}}" type="{{msgType}}" show="{{msgShow}}" :delay="2000"></mp-toptips>