From 9e0abf0f3a2ad5eb1989fd44daadfaffb0100638 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Thu, 25 Jan 2024 14:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A7=E6=9E=B6=E4=BF=A1=E6=81=AF=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/classify/classify.js | 46 ++ src/option/supervise/supervise.js | 213 +++++++++ .../goodsShelf/basicdataGoodsShelf.vue | 5 + src/views/supervise/IndicatorList.vue | 439 ++++++++++++++++++ src/views/supervise/classify.vue | 305 ++++++++++++ src/views/supervise/management.vue | 313 +++++++++++++ 6 files changed, 1321 insertions(+) create mode 100644 src/api/classify/classify.js create mode 100644 src/option/supervise/supervise.js create mode 100644 src/views/supervise/IndicatorList.vue create mode 100644 src/views/supervise/classify.vue create mode 100644 src/views/supervise/management.vue diff --git a/src/api/classify/classify.js b/src/api/classify/classify.js new file mode 100644 index 00000000..dde9bc00 --- /dev/null +++ b/src/api/classify/classify.js @@ -0,0 +1,46 @@ +import request from '@/axios'; + +// 分类列表 +export const $_Getclassify = (params) => { + return request({ + url: '/api/logpm-supervise/classify/list', + method: 'get', + params + }) + } + + // 分类新增 + export const $_newlyadded = (data) => { + return request({ + url: '/api/logpm-supervise/classify/submit', + method: 'post', + data + }) + } + +//分类删除 + +export const $_newlyremove = (data) => { + return request({ + url: '/api/logpm-supervise/classify/remove', + method: 'post', + data + }) + } + +// 获取指标分类 +export const $_selectParentCalssifyList = (data) => { + return request({ + url: '/api/logpm-supervise/classify/selectParentCalssifyList', + method: 'post', + data + }) + } +// 指标管理新增 +export const $_classifyAddChild = (data) => { + return request({ + url: '/api/logpm-supervise/classify/addChild', + method: 'post', + data + }) + } diff --git a/src/option/supervise/supervise.js b/src/option/supervise/supervise.js new file mode 100644 index 00000000..6b6001a4 --- /dev/null +++ b/src/option/supervise/supervise.js @@ -0,0 +1,213 @@ +export const classificationColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + + { + prop: 'name', + label: '分类名称', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'description', + label: '分类描述', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'description', + label: '备注', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + + { + prop: 'createTime', + label: '创建时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: '', + label: '操作', + type: 6, + values: '', + width: '80', + checkarr: [], + fixed: 'right', + sortable: false, + }, +]; + +// 指标列表 +export const IndicatorColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'name', + label: '指标编号', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'description', + label: '指标名称', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'description', + label: '指标分类', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + + { + prop: 'createTime', + label: '考核部门', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'createTime', + label: '考核分数', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'createTime', + label: '描述', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'createTime', + label: '照片', + type: 1,//7 + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'createTime', + label: '附件', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'createTime', + label: '考核人', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'createTime', + label: '考评事件', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: '', + label: '操作', + type: 6, + values: '', + width: '150', + checkarr: [], + fixed: 'right', + sortable: false, + }, +]; diff --git a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue index ca2cfa25..eced094b 100644 --- a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue +++ b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue @@ -21,6 +21,10 @@ /> + + + + @@ -203,6 +207,7 @@ v-model="form.goodsAreaId" clearable placeholder="请选择货区" + filterable style="width: 88%" > + + + +
+ + + + + +
+ + + + + + + + + + + + + + + +
+ + 查询 + + +
+
+ + + +
+ +
+ + 新 增 + + + 批量删除 +
+ +
+ + + +
+
+
+ + + + + + + + + + + +
+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+ +
+
+ + + + + + + + diff --git a/src/views/supervise/classify.vue b/src/views/supervise/classify.vue new file mode 100644 index 00000000..c6e4f427 --- /dev/null +++ b/src/views/supervise/classify.vue @@ -0,0 +1,305 @@ + + + + + diff --git a/src/views/supervise/management.vue b/src/views/supervise/management.vue new file mode 100644 index 00000000..e6a70702 --- /dev/null +++ b/src/views/supervise/management.vue @@ -0,0 +1,313 @@ + + + + +