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