fix: 🧩 修复bug
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
<el-radio :value="0" :label="0">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否推荐" style="width: 440px">
|
||||
<el-form-item label="热门" style="width: 440px">
|
||||
<el-radio-group v-model="_ruleFormParam.is_hot">
|
||||
<el-radio :value="1" :label="1">是</el-radio>
|
||||
<el-radio :value="0" :label="0">否</el-radio>
|
||||
@@ -63,7 +63,7 @@
|
||||
<el-form-item label="SEO标题">
|
||||
<el-input v-model="_ruleFormParam.seo_title" style="width: 440px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="SEO关键字">
|
||||
<el-form-item label="SEO关键词">
|
||||
<el-input v-model="_ruleFormParam.seo_keywords" style="width: 440px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="SEO描述">
|
||||
|
||||
@@ -118,7 +118,7 @@ export const BASIC_INFO_FORM_DATA: FormItem[] = [
|
||||
prop: "seo_keyword",
|
||||
placeholder: "请输入",
|
||||
type: "input",
|
||||
label: "SEO关键字: "
|
||||
label: "SEO关键词: "
|
||||
},
|
||||
{
|
||||
prop: "seo_desc",
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
<el-tab-pane label="图片信息" name="imgInfo">
|
||||
<imgInfo :imgInfoData="dataStore.imgInfoData" ref="imgInfoRef" :attrList="dataStore.attrList" />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="详细内容" name="third">
|
||||
<el-tab-pane label="产品详情" name="third">
|
||||
<div style="width: 1280px; margin: 0 auto">
|
||||
<WangEditor v-model:value="dataStore.detail" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="相关信息及下载" name="related">
|
||||
<el-tab-pane label="相关信息" name="related">
|
||||
<!-- <related ref="relatedRef" :data="dataStore.related" /> -->
|
||||
<div style="margin-bottom: 16px">
|
||||
<el-button type="primary" size="small" @click="handleRelatedAdd()">添加行</el-button>
|
||||
|
||||
@@ -52,7 +52,7 @@ import ProTable from "@/components/ProTable/index.vue";
|
||||
import { integerRexg } from "@/utils/regexp/index";
|
||||
import { useMsg } from "@/hooks/useMsg";
|
||||
import { useExport } from "@/hooks/useExport";
|
||||
const h = import.meta.env.VITE_APP_API_BASE_UPLOAD_URL;
|
||||
import { h } from "@/utils/url";
|
||||
//列表接口
|
||||
//getProductDelApi
|
||||
import {
|
||||
@@ -85,7 +85,10 @@ const handleExport = () => {
|
||||
};
|
||||
//导出接口
|
||||
const getProductListExport = async () => {
|
||||
const result = await getProductListExportApi(dataStore.ruleForm);
|
||||
const result = await getProductListExportApi({
|
||||
...proTableRef?.value?.searchParam,
|
||||
...proTableRef?.value?.pageable
|
||||
});
|
||||
await useExport(result);
|
||||
};
|
||||
//上下架
|
||||
@@ -128,9 +131,6 @@ const handleInput = (row: any) => {
|
||||
|
||||
//按钮点击事件
|
||||
const handleBtnClick = (type: any, row: any) => {
|
||||
// if (type === "删除") {
|
||||
// // getProductDel(row.id);
|
||||
// }
|
||||
//添加SUK和删除暂时无法操作
|
||||
if (type == "添加SUK" || type === "删除") {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user