|
@@ -24,6 +24,7 @@
|
|
|
:type="'7'"
|
|
:type="'7'"
|
|
|
:paramsType="'type'"
|
|
:paramsType="'type'"
|
|
|
ref="treeList"
|
|
ref="treeList"
|
|
|
|
|
+ id="6"
|
|
|
/>
|
|
/>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="18">
|
|
<el-col :span="18">
|
|
@@ -61,7 +62,8 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import AssetTree from '@/components/AssetTree';
|
|
import AssetTree from '@/components/AssetTree';
|
|
|
- import { getCategoryList } from '@/api/ledgerAssets';
|
|
|
|
|
|
|
+ // import { getCategoryList } from '@/api/ledgerAssets';
|
|
|
|
|
+ import { getList } from '@/api/classifyManage/itemInformation';
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
// CommonTree,
|
|
// CommonTree,
|
|
@@ -141,13 +143,14 @@
|
|
|
|
|
|
|
|
// 获取添加备件弹窗表格数据
|
|
// 获取添加备件弹窗表格数据
|
|
|
async _getClassificationSpareList(data) {
|
|
async _getClassificationSpareList(data) {
|
|
|
|
|
+ console.log(1);
|
|
|
this.tableLoading = true;
|
|
this.tableLoading = true;
|
|
|
let params = {
|
|
let params = {
|
|
|
page: 1,
|
|
page: 1,
|
|
|
- size: 99999,
|
|
|
|
|
|
|
+ size: 10,
|
|
|
categoryLevelId: this.currentTreeData.id
|
|
categoryLevelId: this.currentTreeData.id
|
|
|
};
|
|
};
|
|
|
- const res = await getCategoryList(params);
|
|
|
|
|
|
|
+ const res = await getList(params);
|
|
|
console.log('res', res);
|
|
console.log('res', res);
|
|
|
this.tableLoading = false;
|
|
this.tableLoading = false;
|
|
|
if (res.list.length) {
|
|
if (res.list.length) {
|