Merge remote-tracking branch 'origin/feature/v1.3_营销资产中台' into feature/v1.3_营销资产中台

This commit is contained in:
林志军
2025-07-09 14:27:32 +08:00
4 changed files with 21 additions and 8 deletions

View File

@ -7,7 +7,8 @@
border-color: #d7d7d9;
background-color: #fff;
&:focus-within,
&.arco-input-focus {
&.arco-input-focus,
&.arco-textarea-focus {
background-color: var(--color-bg-2);
border-color: rgb(var(--primary-6));
box-shadow: 0 0 0 0 var(--color-primary-light-2);

View File

@ -115,6 +115,21 @@
<a-form-item label="选择标签">
<TagSelect v-model="form.tag_ids" :options="tagOptions" placeholder="请选择…" size="large" />
</a-form-item>
<a-form-item label="笔记链接" field="end_work_link">
<template #label>
<span class="label">笔记链接</span>
<a-tooltip content="平台将从该笔记“之后”的内容开始同步,该笔记及更早的数据均不采集">
<icon-question-circle size="14" class="ml-4px color-#737478" />
</a-tooltip>
</template>
<a-textarea
v-model="form.end_work_link"
placeholder="请输入..."
size="large"
max-length="72"
:auto-size="{ minRows: 3, maxRows: 5 }"
/>
</a-form-item>
</template>
</a-form>
<template #footer>
@ -166,6 +181,7 @@ const INITIAL_FORM = {
platform: 0,
group_id: undefined,
tag_ids: [],
end_work_link: '',
};
const groupOptions = ref([]);
@ -318,10 +334,8 @@ async function onSubmit() {
if (code === 200) {
isEdit.value && AMessage.success('修改成功');
emits('update');
if (isEdit.value) {
onClose();
} else {
onClose();
if (!isEdit.value) {
startAuthorized(data?.id, data?.platform);
}
}

View File

@ -191,7 +191,6 @@ const getHealthData = async () => {
const { code, data } = await getMediaAccountsHealth();
if (code === 200) {
healthData.value = data;
console.log(healthData.value);
}
};
const getAccountData = async () => {

View File

@ -164,10 +164,9 @@ const getData = () => {
};
const getHealthData = async () => {
const { code, data } = await getMediaAccountsHealth();
const { code, data } = await getPlacementAccountsHealth();
if (code === 200) {
healthData.value = data;
console.log(healthData.value);
}
};
const getAccountData = async () => {