1
This commit is contained in:
@@ -64,6 +64,7 @@
|
||||
<el-button type="warning" size="small" icon="el-icon-download" @click="handleExport" v-hasPermi="['system:jdorder:export']">导出</el-button>
|
||||
<el-button type="success" size="small" icon="el-icon-setting" @click="showAutoWriteConfig = true" title="配置H-TF订单自动写入腾讯文档">腾峰文档配置</el-button>
|
||||
<el-button type="info" size="small" icon="el-icon-monitor" @click="showPushMonitor = true" title="查看推送监控和历史记录">推送监控</el-button>
|
||||
<el-button type="warning" size="small" icon="el-icon-user" @click="showTouserConfig = true" title="配置分销标识对应的企业微信接收人">接收人配置</el-button>
|
||||
<el-button type="primary" size="small" icon="el-icon-refresh-right" @click="handleBatchSyncLogistics" :loading="batchSyncLoading" title="批量同步物流链接到腾讯文档">
|
||||
<i v-if="!batchSyncLoading"></i>
|
||||
一键发货到腾峰
|
||||
@@ -440,6 +441,9 @@
|
||||
|
||||
<!-- 腾讯文档推送监控 -->
|
||||
<tencent-doc-push-monitor v-model="showPushMonitor" />
|
||||
|
||||
<!-- 分销标识接收人配置 -->
|
||||
<distribution-mark-touser-config v-model="showTouserConfig" @config-updated="handleTouserConfigUpdated" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -449,13 +453,15 @@ import { fillLogisticsByOrderNo, getTokenStatus, getTencentDocAuthUrl, testUserI
|
||||
import ListLayout from '@/components/ListLayout'
|
||||
import TencentDocAutoWriteConfig from './components/TencentDocAutoWriteConfig'
|
||||
import TencentDocPushMonitor from './components/TencentDocPushMonitor'
|
||||
import DistributionMarkTouserConfig from './components/DistributionMarkTouserConfig'
|
||||
|
||||
export default {
|
||||
name: 'JDOrderList',
|
||||
components: {
|
||||
ListLayout,
|
||||
TencentDocAutoWriteConfig,
|
||||
TencentDocPushMonitor
|
||||
TencentDocPushMonitor,
|
||||
DistributionMarkTouserConfig
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -499,6 +505,7 @@ export default {
|
||||
// H-TF订单自动写入配置
|
||||
showAutoWriteConfig: false,
|
||||
showPushMonitor: false,
|
||||
showTouserConfig: false,
|
||||
// 批量同步loading状态
|
||||
batchSyncLoading: false,
|
||||
// 批量标记后返到账loading状态
|
||||
@@ -1165,6 +1172,11 @@ export default {
|
||||
this.$message.success('H-TF订单自动写入配置已更新')
|
||||
},
|
||||
|
||||
/** 分销标识接收人配置更新后的回调 */
|
||||
handleTouserConfigUpdated() {
|
||||
this.$message.success('分销标识接收人配置已更新')
|
||||
},
|
||||
|
||||
/** 批量标记后返到账(赔付金额>0的订单) */
|
||||
async handleBatchMarkRebateReceived() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user