更新
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
<div class="boxBody">
|
||||
<div style="display: flex;margin-bottom: 10px;">
|
||||
<el-input size="small" style="width: 100%;" placeholder="输入关键字进行过滤" @input="searchContent"
|
||||
v-model="filterText">
|
||||
v-model="filterText" prefix-icon="el-icon-search">
|
||||
</el-input>
|
||||
<!--<el-button type="primary" @click="searchContent('type')" size="small">搜类型</el-button>-->
|
||||
<!--<el-button type="primary" @click="searchContent('junbiao')" size="small">搜军标</el-button>-->
|
||||
@ -262,6 +262,8 @@ export default {
|
||||
|
||||
handleClick() { },
|
||||
selectImg({ key, url, name }) {
|
||||
// 军标库图层
|
||||
let jun_biao_id = "3579e514a976c9aad03fde6b6198f464";
|
||||
//jun_biao_id: "67bee03d6370434d7e98bcda940e67e7"
|
||||
// name: "a常用new_37 (23)"
|
||||
// p_id: "8277e0910d750195b448797616e091ad"
|
||||
@ -309,7 +311,8 @@ export default {
|
||||
addSource(node).then((res) => {
|
||||
if ([0, 200].includes(res.code)) {
|
||||
cusRenderNode(DbOption);
|
||||
cusAddNodes(this.treeObj, DbOption.p_id, [node]);
|
||||
// DbOption.p_id
|
||||
cusAddNodes(this.treeObj, jun_biao_id, [node]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -120,6 +120,7 @@ export default {
|
||||
handleClick() {
|
||||
},
|
||||
selectImg({ key, url, name, glbUrl }) {
|
||||
let jun_biao_id = "03826cc9d84e13cb404745ebd5b3963e"
|
||||
console.log('glbUrlglbUrlglbUrl', glbUrl);
|
||||
//jun_biao_id: "67bee03d6370434d7e98bcda940e67e7"
|
||||
// name: "a常用new_37 (23)"
|
||||
@ -167,7 +168,8 @@ export default {
|
||||
addSource(node).then((res) => {
|
||||
if ([0, 200].includes(res.code)) {
|
||||
// cusRenderNode(DbOption)
|
||||
cusAddNodes(this.treeObj, DbOption.p_id, [node])
|
||||
// DbOption.p_id
|
||||
cusAddNodes(this.treeObj,jun_biao_id, [node])
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -137,11 +137,11 @@ export default {
|
||||
detailOption.url = model.model_id + ".glb";
|
||||
let node = getNodeData(DbOption, detailOption);
|
||||
console.log(node);
|
||||
|
||||
let model_id = "43d570f69514904a91b5df9c5f33bc98"
|
||||
addSource(node).then((res) => {
|
||||
if ([0, 200].includes(res.code)) {
|
||||
// cusRenderNode(DbOption)
|
||||
cusAddNodes(this.treeObj, DbOption.p_id, [node]);
|
||||
// cusRenderNode(DbOption) DbOption.p_id
|
||||
cusAddNodes(this.treeObj, model_id, [node]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user