pal小组缓存重构,处理发现问题
This commit is contained in:
parent
2d23da7acc
commit
e7abf1c8f4
@ -457,9 +457,6 @@
|
|||||||
node.loaded = false;
|
node.loaded = false;
|
||||||
},
|
},
|
||||||
checkedNode(data, checked, subChecked) {// 节点选中事件
|
checkedNode(data, checked, subChecked) {// 节点选中事件
|
||||||
if (data.leaf){ // 如果是叶子节点的话 不存在子节点 也就不用在请求 优化性能
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// 获取所有子节点
|
// 获取所有子节点
|
||||||
const that = this;
|
const that = this;
|
||||||
that.loading = true;
|
that.loading = true;
|
||||||
@ -593,6 +590,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
resolve(data);
|
resolve(data);
|
||||||
|
console.log(data)
|
||||||
that.loading = false;
|
that.loading = false;
|
||||||
if (node.level == 0 && ro.data.length > 0) {
|
if (node.level == 0 && ro.data.length > 0) {
|
||||||
const tree = that.$refs.tree;
|
const tree = that.$refs.tree;
|
||||||
|
|||||||
@ -205,7 +205,7 @@
|
|||||||
<el-dropdown-item v-if="subProcess.appInstall && (scope.row.methodId === 'process.epc' || scope.row.methodId === 'process.flowchart')" class="el-dropdown-row" @click.native="openSubProcessFn(scope.row)">
|
<el-dropdown-item v-if="subProcess.appInstall && (scope.row.methodId === 'process.epc' || scope.row.methodId === 'process.flowchart')" class="el-dropdown-row" @click.native="openSubProcessFn(scope.row)">
|
||||||
<div style="height: 100%;width: 100%;font-size: 14px;"><span style="display: inline-block;width: 20px;"></span><span style="font-size: 12px;">生成端到端流程图</span></div>
|
<div style="height: 100%;width: 100%;font-size: 14px;"><span style="display: inline-block;width: 20px;"></span><span style="font-size: 12px;">生成端到端流程图</span></div>
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item v-if="(isOlderVersion ? havingWritePerm : scope.row.havingWritePerm)" divided style="height: 30px;line-height: 30px;" @click.native="removeFiles(scope.row.id)">
|
<el-dropdown-item v-if="(isOlderVersion ? havingWritePerm : scope.row.havingRemovePerm)" divided style="height: 30px;line-height: 30px;" @click.native="removeFiles(scope.row.id)">
|
||||||
<div class="text-important-color" style="height: 100%;width: 100%;font-size: 14px;"><span style="display: inline-block;width: 20px;"><i class="iconfont icon-lajitong1" style="font-size: 12px;"></i></span><span style="font-size: 12px;">删除模型</span></div>
|
<div class="text-important-color" style="height: 100%;width: 100%;font-size: 14px;"><span style="display: inline-block;width: 20px;"><i class="iconfont icon-lajitong1" style="font-size: 12px;"></i></span><span style="font-size: 12px;">删除模型</span></div>
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user