|
@@ -5,9 +5,9 @@
|
|
<a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
|
<a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
|
<a-row :gutter="24">
|
|
<a-row :gutter="24">
|
|
<a-col :lg="6">
|
|
<a-col :lg="6">
|
|
- <a-form-item name="marketType">
|
|
|
|
|
|
+ <a-form-item name="planType">
|
|
<template #label><span title="套餐类型">套餐类型</span></template>
|
|
<template #label><span title="套餐类型">套餐类型</span></template>
|
|
- <j-dict-select-tag v-model:value="queryParam.marketType" dictCode="dict_plan_type" placeholder="请选择套餐类型" allow-clear />
|
|
|
|
|
|
+ <j-dict-select-tag v-model:value="queryParam.planType" dictCode="dict_plan_type" placeholder="请选择套餐类型" allow-clear />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :lg="6">
|
|
<a-col :lg="6">
|
|
@@ -60,13 +60,13 @@
|
|
<template #bodyCell="{ column, record, index, text }">
|
|
<template #bodyCell="{ column, record, index, text }">
|
|
|
|
|
|
<!-- 自定义列 -->
|
|
<!-- 自定义列 -->
|
|
- <template v-if="column.key == 'marketType_dictText'">
|
|
|
|
- <template v-if="record.marketType == 'SEO'">
|
|
|
|
|
|
+ <template v-if="column.key == 'planType_dictText'">
|
|
|
|
+ <template v-if="record.planType == 'SEO'">
|
|
<a-tag color="green">
|
|
<a-tag color="green">
|
|
{{ text }}
|
|
{{ text }}
|
|
</a-tag>
|
|
</a-tag>
|
|
</template>
|
|
</template>
|
|
- <template v-else-if="record.marketType == 'PSEUDOORIGINAL'">
|
|
|
|
|
|
+ <template v-else-if="record.planType == 'PSEUDOORIGINAL'">
|
|
<a-tag color="cyan">
|
|
<a-tag color="cyan">
|
|
{{ text }}
|
|
{{ text }}
|
|
</a-tag>
|
|
</a-tag>
|
|
@@ -86,18 +86,18 @@
|
|
</template>
|
|
</template>
|
|
</BasicTable>
|
|
</BasicTable>
|
|
<!-- 表单区域 -->
|
|
<!-- 表单区域 -->
|
|
- <SeoMarketPlanModal ref="registerModal" @success="handleSuccess" />
|
|
|
|
|
|
+ <SubscribePlanModal ref="registerModal" @success="handleSuccess" />
|
|
<!-- <IntegrityCheckingDrawer ref="integrityCheckingDrawer" />-->
|
|
<!-- <IntegrityCheckingDrawer ref="integrityCheckingDrawer" />-->
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
-<script lang="ts" name="adweb-seoMarketPlan" setup>
|
|
|
|
|
|
+<script lang="ts" name="adweb-subscribePlan" setup>
|
|
import { reactive, ref } from 'vue';
|
|
import { reactive, ref } from 'vue';
|
|
import { BasicTable, TableAction } from '/src/components/Table';
|
|
import { BasicTable, TableAction } from '/src/components/Table';
|
|
import { useListPage } from '/src/hooks/system/useListPage';
|
|
import { useListPage } from '/src/hooks/system/useListPage';
|
|
import { columns, superQuerySchema } from './SubscribePlan.data';
|
|
import { columns, superQuerySchema } from './SubscribePlan.data';
|
|
import { batchDelete, deleteOne, getExportUrl, getImportUrl, list } from './SubscribePlan.api';
|
|
import { batchDelete, deleteOne, getExportUrl, getImportUrl, list } from './SubscribePlan.api';
|
|
- import SeoMarketPlanModal from './components/SubscribePlanModal.vue';
|
|
|
|
|
|
+ import SubscribePlanModal from './components/SubscribePlanModal.vue';
|
|
// import IntegrityCheckingDrawer from './components/IntegrityCheckingDrawer.vue';
|
|
// import IntegrityCheckingDrawer from './components/IntegrityCheckingDrawer.vue';
|
|
|
|
|
|
import { useUserStore } from '/src/store/modules/user';
|
|
import { useUserStore } from '/src/store/modules/user';
|