|
@@ -3,6 +3,7 @@
|
|
|
<!-- <Banner /> -->
|
|
|
<div class="content">
|
|
|
<byTable
|
|
|
+ ref="table"
|
|
|
:source="sourceList.data"
|
|
|
:pagination="sourceList.pagination"
|
|
|
:config="config"
|
|
@@ -289,6 +290,7 @@ const sourceList = ref({
|
|
|
total: 3,
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
+ businessType: "1",
|
|
|
},
|
|
|
});
|
|
|
let dialogVisible = ref(false);
|
|
@@ -380,6 +382,7 @@ const businessType = ref([
|
|
|
const deptData = ref([]);
|
|
|
const selectConfig = computed(() => [
|
|
|
{
|
|
|
+ isShowAll: false,
|
|
|
label: "数据来源",
|
|
|
prop: "businessType",
|
|
|
data: businessType.value,
|
|
@@ -824,13 +827,22 @@ getDict();
|
|
|
if (route.query && route.query.keyword) {
|
|
|
sourceList.value.pagination.keyword = route.query.keyword;
|
|
|
}
|
|
|
-getList();
|
|
|
+const table = ref(null);
|
|
|
+const searchItemSelct = () => {
|
|
|
+ // 默认选中的方法
|
|
|
+ table.value.searchItemSelct(
|
|
|
+ selectConfig.value[0].data[0],
|
|
|
+ selectConfig.value[0]
|
|
|
+ );
|
|
|
+};
|
|
|
+
|
|
|
getLogisticsData();
|
|
|
onMounted(() => {
|
|
|
formConfig[0].data = businessType.value.map((x) => ({
|
|
|
label: x.label,
|
|
|
value: x.value,
|
|
|
}));
|
|
|
+ searchItemSelct();
|
|
|
});
|
|
|
</script>
|
|
|
|