diff --git a/src/assets/img/look_error.png b/src/assets/img/look_error.png new file mode 100644 index 0000000..3bbc736 Binary files /dev/null and b/src/assets/img/look_error.png differ diff --git a/src/components/queryComponent/index.vue b/src/components/queryComponent/index.vue index 6ecb4f1..f9caf1b 100644 --- a/src/components/queryComponent/index.vue +++ b/src/components/queryComponent/index.vue @@ -1,6 +1,15 @@
-
是否有效: 有效 无效
-
是否发布: 未发布 @@ -62,63 +49,34 @@
- - - - - + + + + - + + @@ -126,10 +84,12 @@ import { put, post } from "@/server/api.js"; // isShowAddButton: 是否显示新增按钮图标,也用来区分预测版本列表组件需要显示的功能 import uploadTemplate from "./upload.vue"; +import lookError from "./lookError.vue"; export default { name: "QueryComponent", components: { - uploadTemplate + uploadTemplate, + lookError }, props: ["isShowComponent", "isShowAddButton","customerId","CreateModel", 'isDownload', 'isDropdown',"batchImport"], data() { @@ -142,26 +102,6 @@ export default { valid: undefined, status: undefined, isShowDialog: '', - validArrray: [ - { - label: '有效', - value: true - }, - { - label: '无效', - value: false - } - ], - releaseArrray: [ - { - label: '未发布', - value: '0' - }, - { - label: '已发布', - value: '1' - } - ], } }, methods: { @@ -235,6 +175,10 @@ export default { download(){ this.$emit('download', '') }, + // 查看错误 + handleSeeError() { + this.isShowDialog = 'error' + }, // 新增按钮操作 handleNew() { if (!this.customerId) { diff --git a/src/components/queryComponent/lookError.vue b/src/components/queryComponent/lookError.vue new file mode 100644 index 0000000..58383ee --- /dev/null +++ b/src/components/queryComponent/lookError.vue @@ -0,0 +1,72 @@ + + + \ No newline at end of file diff --git a/src/router/plan.js b/src/router/plan.js index 9df31b3..2aaff75 100644 --- a/src/router/plan.js +++ b/src/router/plan.js @@ -48,6 +48,12 @@ const plant = { title: "原材料需求差异分析", component: () => import("@/views/plan/workbench/materialAnalysis"), }, + { + icon: "el-icon-document", + path: "/plan/workbench/lookError", + title: "错误查看", + component: () => import("@/views/plan/workbench/lookError"), + }, ] }, ], diff --git a/src/views/plan/workbench/lookError/index.vue b/src/views/plan/workbench/lookError/index.vue new file mode 100644 index 0000000..c49938e --- /dev/null +++ b/src/views/plan/workbench/lookError/index.vue @@ -0,0 +1,108 @@ + + + diff --git a/src/views/system/oneimport/addOrEdit.vue b/src/views/system/oneimport/addOrEdit.vue index 32d2d1f..78999ee 100644 --- a/src/views/system/oneimport/addOrEdit.vue +++ b/src/views/system/oneimport/addOrEdit.vue @@ -34,25 +34,10 @@ - - - - - - - @@ -64,31 +49,26 @@ - - - + + + {{getColumnName('Script-ClearTable')}} - - - + + + {{getColumnName('Script-AppendNewRecord')}} - - - + + + {{getColumnName('Script-UpdateRecord')}} - - + - - - - diff --git a/src/views/system/oneimport/index.vue b/src/views/system/oneimport/index.vue index 3b9b259..ef0acef 100644 --- a/src/views/system/oneimport/index.vue +++ b/src/views/system/oneimport/index.vue @@ -97,11 +97,11 @@ @setIsAddOrEdit="setIsAddOrEdit" /> - +