This commit is contained in:
2025-11-07 14:40:47 +08:00
parent a411e42094
commit 9672e191e1
4 changed files with 1199 additions and 169 deletions

View File

@@ -45,6 +45,7 @@
<el-button size="small" icon="el-icon-refresh" @click="resetQuery">重置</el-button>
<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="primary" size="small" icon="el-icon-refresh-right" @click="handleBatchSyncLogistics" :loading="batchSyncLoading" title="批量同步物流链接到腾讯文档">
<i v-if="!batchSyncLoading"></i>
一键发货到腾峰
@@ -351,6 +352,9 @@
<!-- H-TF订单自动写入配置 -->
<tencent-doc-auto-write-config v-model="showAutoWriteConfig" @config-updated="handleAutoConfigUpdated" />
<!-- 腾讯文档推送监控 -->
<tencent-doc-push-monitor v-model="showPushMonitor" />
</div>
</template>
@@ -359,12 +363,14 @@ import { listJDOrders, updateJDOrder, delJDOrder, fetchLogisticsManually } from
import { fillLogisticsByOrderNo, getTokenStatus, getTencentDocAuthUrl, testUserInfo, getAutoWriteConfig } from '@/api/jarvis/tendoc'
import ListLayout from '@/components/ListLayout'
import TencentDocAutoWriteConfig from './components/TencentDocAutoWriteConfig'
import TencentDocPushMonitor from './components/TencentDocPushMonitor'
export default {
name: 'JDOrderList',
components: {
ListLayout,
TencentDocAutoWriteConfig
TencentDocAutoWriteConfig,
TencentDocPushMonitor
},
data() {
return {
@@ -404,6 +410,7 @@ export default {
tokenStatusChecked: false,
// H-TF订单自动写入配置
showAutoWriteConfig: false,
showPushMonitor: false,
// 批量同步loading状态
batchSyncLoading: false,
// 获取物流信息对话框