|
@@ -76,6 +76,8 @@
|
|
|
<t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs">
|
|
|
<t-tab-panel label="关联工单" value="0">
|
|
|
<t-cell wx:for="{{linkWorkOrders}}" wx:key="sa_serviceorderid" title="工单编号" note="{{item.billno}}" data-item="{{item}}" bind:click="tolinkWorkOrder" hover arrow />
|
|
|
+ <t-empty wx:if="{{linkWorkOrders.length === 0}}" icon="root-list" t-class="empty-cls" t-class-image="t-empty__image" description="暂无工单" />
|
|
|
+
|
|
|
</t-tab-panel>
|
|
|
<t-tab-panel wx:if="{{orderMainData.servicetype !== '售前' && orderMainData.servicetype !== '历史售后'}}" label="售后商品" value="1">
|
|
|
<view style="padding:10px" wx:if="{{list.length === 0}}">
|
|
@@ -123,16 +125,42 @@
|
|
|
</view>
|
|
|
<view style="margin-bottom:10px">
|
|
|
<block wx:for="{{templist}}" wx:key="rowindex">
|
|
|
- <t-tag class="mr-5" variant="{{actTemp.sa_workorder_templateid === item.sa_workorder_templateid?'dark':'outline'}}" theme="primary" data-item="{{item}}" bindtap="selectTemp">{{ item.name }}</t-tag>
|
|
|
+ <t-tag class="mr-5 mt-5" variant="{{actTemp.sa_workorder_templateid === item.sa_workorder_templateid?'dark':'outline'}}" theme="primary" data-item="{{item}}" bindtap="selectTemp">{{ item.name }}</t-tag>
|
|
|
</block>
|
|
|
</view>
|
|
|
<view class="d-title">
|
|
|
选择负责人:
|
|
|
</view>
|
|
|
- <view>
|
|
|
+ <view class="mt-5">
|
|
|
<block wx:for="{{workers}}" wx:key="rowindex">
|
|
|
- <t-tag class="mr-10" variant="{{actLeader.userid === item.userid?'dark':'outline'}}" theme="primary" data-item="{{item}}" bindtap="selectLeader">{{ item.position?item.position + '-':'' }}{{ item.name }}</t-tag>
|
|
|
+ <t-tag class="mr-5 mt-5" variant="{{actLeader.userid === item.userid?'dark':'outline'}}" theme="primary" data-item="{{item}}" bindtap="selectLeader">{{ item.position?item.position + '-':'' }}{{ item.name }}</t-tag>
|
|
|
</block>
|
|
|
</view>
|
|
|
+
|
|
|
+ <t-button bind:tap="showProgressDialog" variant="primary" size="extra-small">查看人员进度</t-button>
|
|
|
+ </view>
|
|
|
+</t-dialog>
|
|
|
+
|
|
|
+<t-dialog
|
|
|
+ visible="{{showProgress}}"
|
|
|
+ title="进度"
|
|
|
+ confirm-btn="确定"
|
|
|
+ bind:confirm="showProgressDialog"
|
|
|
+ external-classes="['t-class']"
|
|
|
+ show-overlay="{{false}}"
|
|
|
+>
|
|
|
+ <view slot="content">
|
|
|
+ <scroll-view style="display: inline-block;width: 100%;height: 300px;" scroll-y>
|
|
|
+ <view wx:for="{{progress}}" wx:key="rowindex">
|
|
|
+ <view class="small"><text class="label">姓名:</text>{{item.projectleader}}</view>
|
|
|
+ <view class="small"><text class="label">地址:</text>{{item.province}}{{item.city}}{{item.county}}{{item.address}}</view>
|
|
|
+ <view class="small"><text class="label">创建时间:</text>{{item.createdate}}</view>
|
|
|
+ <t-divider align="left" />
|
|
|
+ </view>
|
|
|
+ <t-empty wx:if="{{progress.length === 0}}" icon="root-list" t-class="empty-cls" t-class-image="t-empty__image" description="暂无进行中的人员" />
|
|
|
+
|
|
|
+ </scroll-view>
|
|
|
+
|
|
|
+
|
|
|
</view>
|
|
|
</t-dialog>
|