增加文字提示,以及按钮切换
This commit is contained in:
		
							parent
							
								
									b5f81f226c
								
							
						
					
					
						commit
						14144002d3
					
				| @ -791,6 +791,7 @@ | ||||
|         }); | ||||
|       }, | ||||
|       initData() { | ||||
|         debugger; | ||||
|         const that = this; | ||||
|         that.tableLoading = true; | ||||
|         const wsId = that.$store.getters.getWsIdFn; | ||||
| @ -1838,7 +1839,6 @@ | ||||
|        * @param currRepositoryDetailId | ||||
|        */ | ||||
|       openRepositoryInfoById(type,mainRepository) {// 打开文件属性、版本管理、附件管理 | ||||
|         debugger; | ||||
|         let that = this; | ||||
|         //三员管理 | ||||
|         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()}}); | ||||
|       }, | ||||
|       positionTableRoleRepository(id, versionId, childSize, folder) {// 表格行标题点击定位 | ||||
|         debugger; | ||||
|         if (childSize == 0) { | ||||
|           // 如果是最后一级,文件夹提示,文件直接打开 | ||||
|           if (folder) { | ||||
|  | ||||
| @ -212,10 +212,13 @@ | ||||
|                     node-key="id" | ||||
|                     lazy | ||||
|                     :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}" | ||||
|              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> | ||||
|             </el-tree> | ||||
|         </el-main> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 yujh
						yujh