diff --git a/src/components/common-select/index.vue b/src/components/common-select/index.vue
index c2f7569..7b4fcfe 100644
--- a/src/components/common-select/index.vue
+++ b/src/components/common-select/index.vue
@@ -14,19 +14,30 @@
:maxTagCount="maxTagCount"
@change="handleChange"
>
-
+
-
- {{ item.name }}
+
+
{{ item.label }}
+
+
+
+
{{ label }}
+
+
+
+
+ {{ placeholder || '暂无数据' }}
+
+
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/src/components/filter-popup/index.vue b/src/components/filter-popup/index.vue
new file mode 100644
index 0000000..ad0f85d
--- /dev/null
+++ b/src/components/filter-popup/index.vue
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+ 筛选
+
+
+
+
+
+
运营人员
+
+ handleChange('operator_id', val)"
+ class="!w-200px"
+ />
+
+
+
+
+
发布平台
+
+ handleChange('platform', val)"
+ class="!w-200px"
+ placeholder="请选择发布平台"
+ />
+
+
+
+
+
账号名称
+
+ handleChange('account_id', val)"
+ class="!w-200px"
+ placeholder="请选择账号名称"
+ />
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/property-marketing/assignment-management/components/colorTip.vue b/src/views/property-marketing/assignment-management/components/colorTip.vue
new file mode 100644
index 0000000..0449ae9
--- /dev/null
+++ b/src/views/property-marketing/assignment-management/components/colorTip.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+ 颜色示意
+
+
+
+
+
+
+
+
+
diff --git a/src/views/property-marketing/assignment-management/components/filter-popup.vue b/src/views/property-marketing/assignment-management/components/filter-popup.vue
new file mode 100644
index 0000000..b47133e
--- /dev/null
+++ b/src/views/property-marketing/assignment-management/components/filter-popup.vue
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+ 筛选
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/property-marketing/assignment-management/index.vue b/src/views/property-marketing/assignment-management/index.vue
index 5746a4b..82f4a35 100644
--- a/src/views/property-marketing/assignment-management/index.vue
+++ b/src/views/property-marketing/assignment-management/index.vue
@@ -53,7 +53,7 @@
-
-
-
-
-
- 筛选
-
-
-
-
-
运营人员
-
- {
- handleFilterChange('operator_id', val, operators);
- }
- "
- class="!w-200px"
- />
-
-
-
-
发布平台
-
- {
- handleFilterChange('platform', val, platformOptions);
- }
- "
- class="!w-200px"
- placeholder="请选择发布平台"
- />
-
-
-
-
账号名称
-
- {
- handleFilterChange('account_id', val, accountList);
- }
- "
- class="!w-200px"
- placeholder="请选择账号名称"
- />
-
-
-
-
-
+ -->
+
+
@@ -345,6 +277,8 @@ import TaskDetail from './components/TaskDetail.vue';
import { useTableSelectionWithPagination } from '@/hooks/useTableSelectionWithPagination';
import emptyIcon from '@/assets/img/media-account/icon-empty.png';
import router from '@/router';
+import colorTip from './components/colorTip.vue';
+import FilterPopup from './components/filter-popup.vue';
const {
dataSource,
@@ -359,13 +293,13 @@ const {
DEFAULT_PAGE_INFO,
} = useTableSelectionWithPagination({
onPageChange: () => {
- query.page = pageInfo.page;
- query.page_size = pageInfo.page_size;
+ query.page = pageInfo.value.page;
+ query.page_size = pageInfo.value.page_size;
handleSearch();
},
onPageSizeChange: () => {
- query.page = pageInfo.page;
- query.page_size = pageInfo.page_size;
+ query.page = pageInfo.value.page;
+ query.page_size = pageInfo.value.page_size;
handleSearch();
},
});
@@ -867,8 +801,8 @@ const handleFilterChange = (field: string, value: any, options?: any[]) => {
// 获取数据
const handleSearch = () => {
console.log('handleSearch查询参数:', query);
- query.page = pageInfo.page;
- query.page_size = pageInfo.page_size;
+ query.page = pageInfo.value.page;
+ query.page_size = pageInfo.value.page_size;
getTaskSchedules(query)
.then((response) => {
if (response.data) {
@@ -892,6 +826,7 @@ const getOperators = async () => {
value: op.id,
name: op.name,
}));
+ console.log('获取运营人员数据成功:', operatorsData, operators.value);
}
} catch (error) {
console.error('获取运营人员数据失败:', error);
@@ -919,6 +854,7 @@ const getAccountList = async () => {
platform: account.platform,
icon: getPlatformIcon(account.platform),
}));
+ console.log('获取账号数据成功:', accountData, accountList.value);
}
} catch (error) {}
};
diff --git a/yarn.lock b/yarn.lock
index 1f3617c..aec5f68 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -8936,6 +8936,11 @@ vue-eslint-parser@^9.0.0, vue-eslint-parser@^9.0.1, vue-eslint-parser@^9.1.0, vu
lodash "^4.17.21"
semver "^7.3.6"
+vue-lazyload@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.npmmirror.com/vue-lazyload/-/vue-lazyload-3.0.0.tgz"
+ integrity sha512-h2keL/Rj550dLgesgOtXJS9qOiSMmuJNeVlfNAYV1/IYwOQYaWk5mFJlwRxmZDK9YC5gECcFLYYj7z1lKSf9ug==
+
vue-router@^4.4.0:
version "4.5.1"
resolved "https://registry.npmmirror.com/vue-router/-/vue-router-4.5.1.tgz"