|
@@ -163,6 +163,7 @@
|
163
|
163
|
<span v-if="scope.row.is_active == 1" class="c-00B38A pointer ml-3" @click="onClickTransfer(scope.row)">转移许可</span>
|
164
|
164
|
<span v-else class="c-00B38A pointer ml-3" @click="onClickAssign(scope.row)">分配许可</span>
|
165
|
165
|
</template>
|
|
166
|
+ <span class="c-00B38A pointer ml-3" @click="resetReceiveStatus(scope.row)">客户消息接收状态重置</span>
|
166
|
167
|
</template>
|
167
|
168
|
</el-table-column>
|
168
|
169
|
|
|
@@ -256,6 +257,15 @@
|
256
|
257
|
@confirm="handleAssignResultConfirm"
|
257
|
258
|
/>
|
258
|
259
|
<!-- E 批量分配许可结果 - 弹框 -->
|
|
260
|
+
|
|
261
|
+ <!-- S 重置客户送达状态 - 弹框 -->
|
|
262
|
+ <resetReceiveDialog
|
|
263
|
+ :dialogVisible="resetReceiveDialogViwible"
|
|
264
|
+ :userInfo="currentTransferInfo"
|
|
265
|
+ @cancel="handleResetCancel"
|
|
266
|
+ @confirm="handleResetConfirm"
|
|
267
|
+ />
|
|
268
|
+ <!-- E 重置客户送达状态 - 弹框 -->
|
259
|
269
|
</div>
|
260
|
270
|
</template>
|
261
|
271
|
|
|
@@ -269,6 +279,7 @@ import batchAssign from './memberComp/batchAssign.vue'
|
269
|
279
|
import assignDialog from './memberComp/assignDialog.vue'
|
270
|
280
|
import transferDialog from './memberComp/transferDialog.vue'
|
271
|
281
|
import assignResult from './memberComp/assignResult.vue'
|
|
282
|
+import resetReceiveDialog from './memberComp/resetReceiveDialog.vue'
|
272
|
283
|
import { orderTypeOptions } from '@/assets/js/staticTypes'
|
273
|
284
|
|
274
|
285
|
const orderTypeDesc = new Map([
|
|
@@ -288,6 +299,7 @@ export default {
|
288
|
299
|
assignDialog,
|
289
|
300
|
transferDialog,
|
290
|
301
|
assignResult,
|
|
302
|
+ resetReceiveDialog,
|
291
|
303
|
},
|
292
|
304
|
data () {
|
293
|
305
|
return {
|
|
@@ -324,6 +336,7 @@ export default {
|
324
|
336
|
assignDialogVisible: false, // 控制“分配许可”弹框显示
|
325
|
337
|
currentAssignInfo: {}, // 当前需要分配许可的成员信息
|
326
|
338
|
transferDialogVisible: false, // 控制“转移许可”弹框显示
|
|
339
|
+ resetReceiveDialogViwible: false, // 控制“重置客服接收状态”弹框显示
|
327
|
340
|
currentTransferInfo: {}, // 当前需要转移许可的成员信息
|
328
|
341
|
assignResultVisible: false, // 控制“批量分配许可结果”弹框显示
|
329
|
342
|
currentAssignResult: {}, // 当前分配结果信息
|
|
@@ -528,6 +541,10 @@ export default {
|
528
|
541
|
console.log(error)
|
529
|
542
|
}
|
530
|
543
|
},
|
|
544
|
+ resetReceiveStatus(current) {
|
|
545
|
+ this.currentTransferInfo = {...current}
|
|
546
|
+ this.resetReceiveDialogViwible = true
|
|
547
|
+ },
|
531
|
548
|
// 执行信息绑定 => 取消
|
532
|
549
|
handleInfoBindCancel() {
|
533
|
550
|
this.currentBindInfo = {}
|
|
@@ -635,6 +652,17 @@ export default {
|
635
|
652
|
this.init(undefined, this.keyword)
|
636
|
653
|
this.handleGetWaitForAssignNum()
|
637
|
654
|
},
|
|
655
|
+ // 执行重置客户消息接收状态 => 取消
|
|
656
|
+ handleResetCancel() {
|
|
657
|
+ this.currentAssignInfo = {}
|
|
658
|
+ this.resetReceiveDialogViwible = false
|
|
659
|
+ },
|
|
660
|
+ // 执行重置客户消息接收状态 => 确定
|
|
661
|
+ handleResetConfirm() {
|
|
662
|
+ this.resetReceiveDialogViwible = false
|
|
663
|
+ this.init(undefined, this.keyword)
|
|
664
|
+ this.handleGetWaitForAssignNum()
|
|
665
|
+ },
|
638
|
666
|
|
639
|
667
|
// 监听点击“转移许可”
|
640
|
668
|
onClickTransfer(current) {
|