|
@@ -48,8 +48,8 @@
|
48
|
48
|
<text class="date">{{formatDate(data.acceptDate, 'MM-dd HH:mm')}}</text>
|
49
|
49
|
</view>
|
50
|
50
|
<view class="btns">
|
51
|
|
- <button @click.stop="handler('changeUser', data.id)" type="default" class="primaryButton btn" v-if="data.state.value === 'pending' || data.state.value === 'handler' || (data.state.value === 'reassign' && assignFlag)">换人处理</button>
|
52
|
|
- <button @click.stop="handler('handler', data.id)" type="default" class="primaryButton btn" v-if="data.state.value === 'handler' && data.handlingPersonnelUser && data.handlingPersonnelUser.id == loginUserStore.loginUser.user.id">处理</button>
|
|
51
|
+ <button @click.stop="handler('changeUser', data, data.id)" type="default" class="primaryButton btn" v-if="data.state.value === 'pending' || data.state.value === 'handler' || (data.state.value === 'reassign' && assignFlag)">换人处理</button>
|
|
52
|
+ <button @click.stop="handler('handler', data, data.id)" type="default" class="primaryButton btn" v-if="data.state.value === 'handler' && data.handlingPersonnelUser && data.handlingPersonnelUser.id == loginUserStore.loginUser.user.id">处理</button>
|
53
|
53
|
<button @click.stop="receive(data)" type="default" class="primaryButton btn" v-if="computedReceive(data)">接单</button>
|
54
|
54
|
</view>
|
55
|
55
|
</view>
|
|
@@ -206,11 +206,11 @@
|
206
|
206
|
}
|
207
|
207
|
|
208
|
208
|
// 处理按钮
|
209
|
|
- function handler(type, incidentId){
|
|
209
|
+ function handler(type, data, incidentId){
|
210
|
210
|
handlerStore.clearHandlerData();
|
211
|
|
- uni.navigateTo({
|
212
|
|
- url: `/pages/${type}/${type}?incidentId=${incidentId}`
|
213
|
|
- })
|
|
211
|
+ uni.navigateTo({
|
|
212
|
+ url: `/pages/${type}/${type}?incidentId=${incidentId}`
|
|
213
|
+ })
|
214
|
214
|
}
|
215
|
215
|
|
216
|
216
|
// 接单调用方案
|