Browse Source

指标列表

dev-xx
马远东 1 year ago
parent
commit
e15c1a2a24
  1. 12
      src/api/classify/classify.js
  2. 8
      src/views/supervise/IndicatorList.vue
  3. 1
      src/views/supervise/classify.vue

12
src/api/classify/classify.js

@ -99,4 +99,16 @@ export const $_selectChildCalssifyList = (data) => {
method: 'post',
data
})
}
// 考核部门
export const $_parentId = (params) => {
return request({
url: '/api/blade-system/dept/lazy-tree',
method: 'get',
params
})
}

8
src/views/supervise/IndicatorList.vue

@ -328,6 +328,7 @@ import {
$_removeByIds,
$_selectChildCalssifyList,
$_selectParentCalssifyList,
$_parentId,
} from '@/api/classify/classify';
const loadingclassification = ref(false); //
const classificationdata = ref([]); //
@ -490,6 +491,13 @@ const showdrawer = _flag => {
};
// /
const newlyAddedFn = () => {
$_parentId({parentId:1}).then(res=>{
console.log(res);
})
loadingclassification.value = true; //
let data = {
...lassificationform.value,

1
src/views/supervise/classify.vue

@ -214,6 +214,7 @@ const ClassificationDditing = val => {
lassificationform.value.name = data.name; //
lassificationform.value.description = data.description; //
lassificationform.value.remark = data.remark; //
};
//

Loading…
Cancel
Save