任务管理
This commit is contained in:
@ -96,7 +96,7 @@
|
|||||||
<div class="flex items-center justify-between w-384px">
|
<div class="flex items-center justify-between w-384px">
|
||||||
<div class="section-title">发布计划</div>
|
<div class="section-title">发布计划</div>
|
||||||
<CommonSelect
|
<CommonSelect
|
||||||
v-model="localQuery.accounts"
|
v-model="publishQuery"
|
||||||
:options="accountList || []"
|
:options="accountList || []"
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
@change="(val) => handleChange('accounts', val)"
|
@change="(val) => handleChange('accounts', val)"
|
||||||
@ -158,6 +158,13 @@ const props = defineProps({
|
|||||||
query: Object,
|
query: Object,
|
||||||
});
|
});
|
||||||
const isActive = ref('ai');
|
const isActive = ref('ai');
|
||||||
|
const publishQuery = ref([{
|
||||||
|
id: 1,
|
||||||
|
name:"立即发布"
|
||||||
|
},{
|
||||||
|
id: 2,
|
||||||
|
name:"定时发布"
|
||||||
|
}]);
|
||||||
// 本地筛选状态(保持上次选择)
|
// 本地筛选状态(保持上次选择)
|
||||||
const localQuery = ref({
|
const localQuery = ref({
|
||||||
accounts: props.query?.ids || [],
|
accounts: props.query?.ids || [],
|
||||||
|
|||||||
@ -1,4 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="task-item">
|
<div class="task-item">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.task-item {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@ -123,6 +123,7 @@ import DateSelector from './components/date-selector.vue';
|
|||||||
import colorTip from './components/colorTip.vue';
|
import colorTip from './components/colorTip.vue';
|
||||||
import FilterPopup from './components/filter-popup.vue';
|
import FilterPopup from './components/filter-popup.vue';
|
||||||
import DrowPopup from './components/draw-popup.vue';
|
import DrowPopup from './components/draw-popup.vue';
|
||||||
|
import TaskItem from './components/task-item.vue';
|
||||||
// API引入
|
// API引入
|
||||||
import { getTaskSchedules, delTaskSchedules, editTaskSchedules } from '@/api/all/assignment-management';
|
import { getTaskSchedules, delTaskSchedules, editTaskSchedules } from '@/api/all/assignment-management';
|
||||||
import { fetchAccountOperators, getMediaAccountList } from '@/api/all/propertyMarketing';
|
import { fetchAccountOperators, getMediaAccountList } from '@/api/all/propertyMarketing';
|
||||||
|
|||||||
Reference in New Issue
Block a user