diff --git a/src/api/classify/classify.js b/src/api/classify/classify.js index 67eac8af..0d63dc16 100644 --- a/src/api/classify/classify.js +++ b/src/api/classify/classify.js @@ -72,4 +72,31 @@ export const $_findIndicatorsDetail = (data) => { method: 'post', data }) +} + +// 指标列表编辑 +export const $_updateIndicators = (data) => { + return request({ + url: '/api/logpm-supervise/indicators/updateIndicators', + method: 'post', + data + }) +} + +// 指标列表删除 +export const $_removeByIds = (data) => { + return request({ + url: '/api/logpm-supervise/indicators/removeById', + method: 'post', + data + }) +} + +// 分类指标下拉 +export const $_selectChildCalssifyList = (data) => { + return request({ + url: '/api/logpm-supervise/classify/selectChildCalssifyList', + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/option/supervise/supervise.js b/src/option/supervise/supervise.js index f5f28ac7..ff0233cd 100644 --- a/src/option/supervise/supervise.js +++ b/src/option/supervise/supervise.js @@ -72,6 +72,85 @@ export const classificationColumnList = [ }, ]; + + +export const managementColumnList = [ + { + 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: 'name', + 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 = [ { diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue index 8d1f28b0..c0f0297c 100644 --- a/src/views/aftersales/aftersalesWorkOrder.vue +++ b/src/views/aftersales/aftersalesWorkOrder.vue @@ -907,7 +907,6 @@ import { getToken } from '@/utils/auth'; import NProgress from 'nprogress'; import { getDictionaryBiz } from '@/api/system/dict'; //字典 import functions from '@/utils/functions.js'; -import website from '@/config/website'; import { getDetailWarehouse, getDeptWarehouse } from '@/api/basicdata/basicdataWarehouse'; //处理方 import { ref, diff --git a/src/views/supervise/IndicatorList.vue b/src/views/supervise/IndicatorList.vue index 98f6a4a3..5709f1fb 100644 --- a/src/views/supervise/IndicatorList.vue +++ b/src/views/supervise/IndicatorList.vue @@ -2,7 +2,7 @@ -
+
@@ -11,7 +11,7 @@
@@ -64,10 +64,6 @@
- - 新 增 - 批量删除 @@ -136,6 +132,7 @@ :model="lassificationform" label-width="70px" class="el_listForm" + disabled > @@ -218,7 +215,85 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/supervise/management.vue b/src/views/supervise/management.vue index 9121e00f..5666462f 100644 --- a/src/views/supervise/management.vue +++ b/src/views/supervise/management.vue @@ -2,15 +2,38 @@ -
+
- + +
+ + + + + + + + + + +
+ + 搜 索 - 清 空
@@ -41,7 +64,7 @@