You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
6.2 KiB

<!--pages/customDetails/customDetails.wxml-->
<!-- 用户信息 -->
<userInfo detail="{{detail}}" type='{{type}}' wx:if="{{detail.id && type !='1' && type!='2' && type!='4' && type!='5'}}"></userInfo>
<!-- 勘测详情 -->
<view class="content" wx:if="{{type =='3' || type =='6' || type =='17' || type =='18'}}">
<view class="detail-tab">
<view data-index="1" bind:tap="changeTab">
勘测信息
<view wx:if="{{tabIndex =='1'}}" class="actived"></view>
</view>
<view data-index="2" bind:tap="changeTab">
客户信息
<view wx:if="{{tabIndex =='2'}}" class="actived"></view>
</view>
</view>
</view>
<!-- 安装详情 -->
<view class="content" wx:if="{{type =='8' || type =='9'}}">
<view class="detail-tab">
<view data-index="1" bind:tap="changeTab">
勘测信息
<view wx:if="{{tabIndex =='1'}}" class="actived"></view>
</view>
<view data-index="2" bind:tap="changeTab">
客户信息
<view wx:if="{{tabIndex =='2'}}" class="actived"></view>
</view>
<view data-index="3" bind:tap="changeTab">
完工信息
<view wx:if="{{tabIndex =='3'}}" class="actived"></view>
</view>
</view>
<!-- 二级分类TAB -->
<view wx:if="{{tabIndex=='3'}}">
<view class="detail-sec-tab">
<view class="{{tabSecIndex =='1'?'actived':''}}" data-index="1" bind:tap="changeSecTab">安装物料</view>
<view class="{{tabSecIndex =='2'?'actived':''}}" data-index="2" bind:tap="changeSecTab">完工资料</view>
</view>
</view>
</view>
<!-- 并网详情 -->
<view class="content" wx:if="{{type =='16'}}">
<view class="detail-tab">
<view class="{{tabIndex =='1'?'active':''}}" data-index="1" bind:tap="changeTab">
勘测信息
<view wx:if="{{tabIndex =='1'}}" class="actived"></view>
</view>
<view class="{{tabIndex =='2'?'active':''}}" data-index="2" bind:tap="changeTab">
客户信息
<view wx:if="{{tabIndex =='2'}}" class="actived"></view>
</view>
<view class="{{tabIndex =='3'?'active':''}}" data-index="3" bind:tap="changeTab">
完工信息
<view wx:if="{{tabIndex =='3'}}" class="actived"></view>
</view>
<view class="{{tabIndex =='4'?'active':''}}" data-index="4" bind:tap="changeTab">
并网信息
<view wx:if="{{tabIndex =='4'}}" class="actived"></view>
</view>
</view>
<!-- 二级分类TAB -->
<view wx:if="{{tabIndex=='3'}}">
<view class="detail-sec-tab">
<view class="{{tabSecIndex =='1'?'actived':''}}" data-index="1" bind:tap="changeSecTab">安装物料</view>
<view class="{{tabSecIndex =='2'?'actived':''}}" data-index="2" bind:tap="changeSecTab">完工资料</view>
</view>
</view>
</view>
<!-- 并网验收详情 -->
<view class="content" wx:if="{{type =='12' || type =='14'}}">
<view class="detail-tab">
<view class="{{tabIndex =='1'?'active':''}}" data-index="1" bind:tap="changeTab">
勘测信息
<view wx:if="{{tabIndex =='1'}}" class="actived"></view>
</view>
<view class="{{tabIndex =='2'?'active':''}}" data-index="2" bind:tap="changeTab">
客户信息
<view wx:if="{{tabIndex =='2'}}" class="actived"></view>
</view>
<view class="{{tabIndex =='3'?'active':''}}" data-index="3" bind:tap="changeTab">
完工信息
<view wx:if="{{tabIndex =='3'}}" class="actived"></view>
</view>
<view class="{{tabIndex =='4'?'active':''}}" data-index="4" bind:tap="changeTab">
并网信息
<view wx:if="{{tabIndex =='4'}}" class="actived"></view>
</view>
</view>
<!-- 二级分类TAB -->
<view wx:if="{{tabIndex=='3'}}">
<view class="detail-sec-tab">
<view class="{{tabSecIndex =='1'?'actived':''}}" data-index="1" bind:tap="changeSecTab">安装物料</view>
<view class="{{tabSecIndex =='2'?'actived':''}}" data-index="2" bind:tap="changeSecTab">完工资料</view>
</view>
</view>
</view>
<!-- 内容区 -->
<!-- 勘测信息 -->
<survey wx:if="{{ (detail.id && type!='1' && type!='2' && type!='4' && type!='5' && tabIndex=='1') && detail.management != '04'}}" entryId="{{detail.entry_id}}" childObj="{{detail}}"></survey>
<surveyHR wx:if="{{ (detail.id && type!='1' && type!='2' && type!='4' && type!='5' && tabIndex=='1') && detail.management == '04'}}" entryId="{{detail.entry_id}}" childObj="{{detail}}"></surveyHR>
<!-- 客户基本信息 -->
<infor photo="{{photoList}}" detailObj="{{detailObj}}" type='{{type}}' wx:if="{{detail.id && (tabIndex=='2' || type=='1' || type=='2' || type=='4' || type=='5')}}"></infor>
<!-- 安装信息 -->
<install type="{{type}}" cagesList="{{cagesList}}" nbqList="{{nbqList}}" zjMap="{{zjMap}}" detailObj="{{detail}}" supportList="{{supportList}}" converterList="{{converterList}}" componentList="{{componentList}}" wx:if="{{tabIndex=='3' && tabSecIndex=='1' && detail.management != '04'}}"></install>
<!-- 华融安装信息 -->
<installHR type="{{type}}" cagesList="{{cagesList}}" nbqList="{{nbqList}}" zjMap="{{zjMap}}" detailObj="{{detail}}" supportList="{{supportList}}" converterList="{{converterList}}" componentList="{{componentList}}" productList="{{productList}}" wx:if="{{tabIndex=='3' && tabSecIndex=='1' && detail.management == '04'}}"></installHR>
<!-- 完工信息 -->
<finish type="{{type}}" detailObj="{{detailObj}}" otherFiles="{{otherFiles}}" detail="{{detail}}" wx:if="{{detail.id && tabIndex=='3' && tabSecIndex=='2' && detail.management != '04'}}"></finish>
<!-- 华融完工信息 -->
<finishHR type="{{type}}" detailObj="{{detailObj}}" otherFiles="{{otherFiles}}" productList="{{productList}}" detail="{{detail}}" wx:if="{{detail.id && tabIndex=='3' && tabSecIndex=='2' && detail.management == '04'}}"></finishHR>
<!-- 并网信息 -->
<onGrid photo="{{photoList}}" type="{{type}}" detailObj="{{detailObj}}" detail="{{detail}}" wx:if="{{detail.id && tabIndex=='4' && (type=='12' || type=='14' || type=='16') && detail.id}}"></onGrid>
<view style="height: 50rpx;"></view>
<block wx:if="{{(userType != 'PLATFORM_EMP' && createTraderId == traderId)}}">
<block wx:if="{{(userType != 'TRADER_EMP' || permission['XXDJ_DELETE_B']) && type==1}}">
<view class="buttom-margin"></view>
<view class="from-submit-buttom">
<view class="from-submit-buttom-delete" bindtap="delete" data-perm="XXDJ_DELETE_B">删除</view>
</view>
</block>
</block>