增加文字提示,以及按钮切换
This commit is contained in:
parent
b5f81f226c
commit
14144002d3
@ -791,6 +791,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
initData() {
|
initData() {
|
||||||
|
debugger;
|
||||||
const that = this;
|
const that = this;
|
||||||
that.tableLoading = true;
|
that.tableLoading = true;
|
||||||
const wsId = that.$store.getters.getWsIdFn;
|
const wsId = that.$store.getters.getWsIdFn;
|
||||||
@ -1838,7 +1839,6 @@
|
|||||||
* @param currRepositoryDetailId
|
* @param currRepositoryDetailId
|
||||||
*/
|
*/
|
||||||
openRepositoryInfoById(type,mainRepository) {// 打开文件属性、版本管理、附件管理
|
openRepositoryInfoById(type,mainRepository) {// 打开文件属性、版本管理、附件管理
|
||||||
debugger;
|
|
||||||
let that = this;
|
let that = this;
|
||||||
//三员管理
|
//三员管理
|
||||||
if(that.isHighSecurity && that.isFileSecurity){
|
if(that.isHighSecurity && that.isFileSecurity){
|
||||||
@ -1877,6 +1877,7 @@
|
|||||||
this.$router.push({path: '/Repository', query: {id: id, versionId: versionId, path: arr.join(','), param: Math.random()}});
|
this.$router.push({path: '/Repository', query: {id: id, versionId: versionId, path: arr.join(','), param: Math.random()}});
|
||||||
},
|
},
|
||||||
positionTableRoleRepository(id, versionId, childSize, folder) {// 表格行标题点击定位
|
positionTableRoleRepository(id, versionId, childSize, folder) {// 表格行标题点击定位
|
||||||
|
debugger;
|
||||||
if (childSize == 0) {
|
if (childSize == 0) {
|
||||||
// 如果是最后一级,文件夹提示,文件直接打开
|
// 如果是最后一级,文件夹提示,文件直接打开
|
||||||
if (folder) {
|
if (folder) {
|
||||||
|
|||||||
@ -212,10 +212,13 @@
|
|||||||
node-key="id"
|
node-key="id"
|
||||||
lazy
|
lazy
|
||||||
:load="loadNode">
|
:load="loadNode">
|
||||||
<span slot-scope="{node, data}">
|
<span slot-scope="{node, data}" >
|
||||||
<i class="awsui-iconfont tree-content-icon tree-content-icon-padding" :style="{'color': node.data.icon.color}"
|
<i class="awsui-iconfont tree-content-icon tree-content-icon-padding" :style="{'color': node.data.icon.color}"
|
||||||
v-html="node.data.icon.icon"></i>
|
v-html="node.data.icon.icon"></i>
|
||||||
<span :style="{'font-weight': data.id.length < 36 ? '600' : ''}">{{node.label}}</span>
|
<el-tooltip class="item" effect="dark" :content="node.label" placement="top">
|
||||||
|
<span :style="{'font-weight': data.id.length < 36 ? '600' : ''}">{{node.label}}</span>
|
||||||
|
</el-tooltip>
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</el-tree>
|
</el-tree>
|
||||||
</el-main>
|
</el-main>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user