From b3d1a4789d95f569c46e37cfd3a7a5b95166dfcf Mon Sep 17 00:00:00 2001 From: lq <121091329@qq.com> Date: Fri, 12 Sep 2025 17:46:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=9A=84=E5=88=86=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common-select/index.vue | 48 +++++-- src/components/filter-popup/index.vue | 90 +++++++++++++ .../components/colorTip.vue | 38 ++++++ .../components/filter-popup.vue | 119 ++++++++++++++++++ .../assignment-management/index.vue | 102 +++------------ yarn.lock | 5 + 6 files changed, 312 insertions(+), 90 deletions(-) create mode 100644 src/components/filter-popup/index.vue create mode 100644 src/views/property-marketing/assignment-management/components/colorTip.vue create mode 100644 src/views/property-marketing/assignment-management/components/filter-popup.vue 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" > - + + \ 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 @@ + + + + + + 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 @@
- - - - - - - + --> + +
@@ -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"