|
@@ -9,25 +9,6 @@
|
|
|
<select-site @set-site-info="changeSite" select-width="100%"/>
|
|
|
</div>
|
|
|
</a-col>
|
|
|
- <!-- <a-col span="8">-->
|
|
|
- <!-- <span class="t1">套餐:</span>-->
|
|
|
- <!-- <a-select-->
|
|
|
- <!-- placeholder="请选择套餐"-->
|
|
|
- <!-- @change="changeSeoPlans"-->
|
|
|
- <!-- v-model="queryParam.historyId">-->
|
|
|
- <!-- <a-select-option-->
|
|
|
- <!-- v-for="(data,index) in planList"-->
|
|
|
- <!-- :key="index"-->
|
|
|
- <!-- :value="data.subscriptionId"-->
|
|
|
- <!-- >-->
|
|
|
- <!-- {{ data.planName }}-->
|
|
|
- <!-- </a-select-option>-->
|
|
|
- <!-- </a-select>-->
|
|
|
- <!-- </a-col>-->
|
|
|
- <!-- <a-col span="8" v-if=" marketPlanInfo.domain !== null">-->
|
|
|
- <!-- <span class="t1">域名:</span>-->
|
|
|
- <!-- {{ marketPlanInfo.domain }}-->
|
|
|
- <!-- </a-col>-->
|
|
|
</a-row>
|
|
|
</div>
|
|
|
<!-- 查询区域-END -->
|
|
@@ -115,7 +96,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" name="serp-seoKeywords" setup>
|
|
|
-import { ref, reactive, computed, unref } from "vue";
|
|
|
+import { ref, reactive, computed, unref, onBeforeMount } from "vue";
|
|
|
import { BasicTable, useTable, TableAction } from "/@/components/Table";
|
|
|
import { useModal } from "/@/components/Modal";
|
|
|
import { useListPage } from "/@/hooks/system/useListPage";
|
|
@@ -123,6 +104,7 @@ import SeoKeywordsModal from "./components/SeoKeywordsModal.vue";
|
|
|
import { columns, searchFormSchema, superQuerySchema } from "./SeoKeywords.data";
|
|
|
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from "./SeoKeywords.api";
|
|
|
import SelectSite from "@/components/Adweb/selectSite.vue";
|
|
|
+import { downloadFile } from "@/utils/common/renderUtils";
|
|
|
|
|
|
const queryParam = reactive<any>({});
|
|
|
queryParam.siteCode = localStorage.getItem('siteCode')!;
|
|
@@ -148,6 +130,7 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
|
|
|
fixed: "right"
|
|
|
},
|
|
|
beforeFetch: (params) => {
|
|
|
+ params.siteCode = localStorage.getItem('siteCode')!;
|
|
|
return Object.assign(params, queryParam);
|
|
|
}
|
|
|
},
|
|
@@ -280,7 +263,7 @@ function changeSite(selectedSiteInfo: any) {
|
|
|
|
|
|
//下载模板
|
|
|
function downloadTemplate() {
|
|
|
- return window.open("/adwebv21/uploadDemo/关键词导入模版表.xlsx", "_self");
|
|
|
+ downloadFile('关键词导入模版表.xlsx')
|
|
|
}
|
|
|
</script>
|
|
|
|