From aeaf68307fde1f897609f0a953c6fac644cce94f Mon Sep 17 00:00:00 2001 From: yangchunlong <292345300@qq.com> Date: Mon, 31 Mar 2025 10:36:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=A7=A9=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=97=A0=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 8 -- .../articleManagement/remark/constant/edit.ts | 136 ------------------ .../remark/constant/index.ts | 3 +- src/views/articleManagement/remark/index.vue | 6 +- src/views/productManagement/link/index.vue | 3 - 5 files changed, 4 insertions(+), 152 deletions(-) delete mode 100644 src/views/articleManagement/remark/constant/edit.ts diff --git a/src/components.d.ts b/src/components.d.ts index b03dfa2..f86285d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -16,11 +16,6 @@ declare module "vue" { ElBreadcrumb: typeof import("element-plus/es")["ElBreadcrumb"]; ElBreadcrumbItem: typeof import("element-plus/es")["ElBreadcrumbItem"]; ElButton: typeof import("element-plus/es")["ElButton"]; - ElCarousel: typeof import("element-plus/es")["ElCarousel"]; - ElCarouselItem: typeof import("element-plus/es")["ElCarouselItem"]; - ElCheckbox: typeof import("element-plus/es")["ElCheckbox"]; - ElCheckboxGroup: typeof import("element-plus/es")["ElCheckboxGroup"]; - ElColorPicker: typeof import("element-plus/es")["ElColorPicker"]; ElContainer: typeof import("element-plus/es")["ElContainer"]; ElDatePicker: typeof import("element-plus/es")["ElDatePicker"]; ElDialog: typeof import("element-plus/es")["ElDialog"]; @@ -42,7 +37,6 @@ declare module "vue" { ElOption: typeof import("element-plus/es")["ElOption"]; ElPagination: typeof import("element-plus/es")["ElPagination"]; ElRadio: typeof import("element-plus/es")["ElRadio"]; - ElRadioButton: typeof import("element-plus/es")["ElRadioButton"]; ElRadioGroup: typeof import("element-plus/es")["ElRadioGroup"]; ElScrollbar: typeof import("element-plus/es")["ElScrollbar"]; ElSelect: typeof import("element-plus/es")["ElSelect"]; @@ -53,8 +47,6 @@ declare module "vue" { ElTabPane: typeof import("element-plus/es")["ElTabPane"]; ElTabs: typeof import("element-plus/es")["ElTabs"]; ElTag: typeof import("element-plus/es")["ElTag"]; - ElTooltip: typeof import("element-plus/es")["ElTooltip"]; - ElTree: typeof import("element-plus/es")["ElTree"]; ElTreeSelect: typeof import("element-plus/es")["ElTreeSelect"]; ElUpload: typeof import("element-plus/es")["ElUpload"]; Empty: typeof import("./components/ProTable/components/Empty.vue")["default"]; diff --git a/src/views/articleManagement/remark/constant/edit.ts b/src/views/articleManagement/remark/constant/edit.ts deleted file mode 100644 index 1180771..0000000 --- a/src/views/articleManagement/remark/constant/edit.ts +++ /dev/null @@ -1,136 +0,0 @@ -interface FormItem { - prop: string; - label?: string; - placeholder?: string; - type: string; - isCopy?: boolean; - optionProps?: any; - startPlaceholder?: string; - endPlaceholder?: string; - options?: any; - isArray?: boolean; - startDate?: string; //开始时间(传入后台需要的参数) - endDate?: string; //结束时间(传入后台需要的参数) - startProp?: string; - endProp?: string; - isInteger?: boolean; - disabled?: boolean; - fileList?: any; - prompt?: any; -} -export const EDIT_FORM_DATA: FormItem[] = [ - { - prop: "videoName", - placeholder: "请输入", - type: "input", - label: "下载名称: " - }, - - { - prop: "videoType", - placeholder: "请选择", - type: "treeSelect", - label: "下载分类: ", - options: [ - { - value: "1", - label: "Level one 1", - children: [ - { - value: "1-1", - label: "Level two 1-1", - children: [ - { - value: "1-1-1", - label: "Level three 1-1-1" - } - ] - } - ] - } - ] - }, - { - prop: "videoSort", - placeholder: "请输入", - type: "input", - label: "下载排序: " - }, - { - prop: "recommend", - placeholder: "请输入", - type: "radio", - label: "首页推荐: ", - options: [ - { - label: "是", - value: "是" - }, - { - label: "否", - value: "否" - } - ] - }, - { - prop: "imgUrl", - type: "upImg", - label: "下载图片: ", - prompt: "图片尺寸320x320" - }, - { - prop: "table", - type: "table", - label: "下载文件: " - }, - { - prop: "videoDescribe", - placeholder: "请输入", - type: "input", - label: "适合型号: " - }, - { - prop: "videoDescribe", - placeholder: "请输入", - type: "input", - label: "支持系统: " - }, - { - prop: "videoDescribe", - placeholder: "请输入", - type: "input", - label: "文件格式: " - }, - - { - prop: "SEOTitle", - placeholder: "请输入", - type: "input", - label: "SEO标题: " - }, - { - prop: "SEOKeywords", - placeholder: "请输入", - type: "input", - label: "SEO关键词: " - }, - { - prop: "SEODescribe", - placeholder: "请输入", - type: "input", - label: "SEO描述: " - } -]; -export const EDIT_RULE_FORM = { - videoName: "", - videoType: "", - videoSort: 1, - recommend: "", - videoDescribe: "", - link: "", - SEOTitle: "", - SEOKeywords: "", - SEODescribe: "" -}; -// editRuleForm: {}, -//editFormData: [], diff --git a/src/views/articleManagement/remark/constant/index.ts b/src/views/articleManagement/remark/constant/index.ts index e7463b2..d4e2734 100644 --- a/src/views/articleManagement/remark/constant/index.ts +++ b/src/views/articleManagement/remark/constant/index.ts @@ -1,5 +1,4 @@ import { FORM_DATA, RULE_FORM } from "./search"; import { COLUMNS } from "./table"; import { RULES } from "./rules"; -import { EDIT_FORM_DATA, EDIT_RULE_FORM } from "./edit"; -export { FORM_DATA, RULE_FORM, COLUMNS, EDIT_FORM_DATA, EDIT_RULE_FORM, RULES }; +export { FORM_DATA, RULE_FORM, COLUMNS, RULES }; diff --git a/src/views/articleManagement/remark/index.vue b/src/views/articleManagement/remark/index.vue index df43765..90310ae 100644 --- a/src/views/articleManagement/remark/index.vue +++ b/src/views/articleManagement/remark/index.vue @@ -11,9 +11,9 @@ :request-api="getArticleRemarkListApi" :init-param="dataStore.initParam" > -