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 @@ + + + + +