|
|
@@ -3,102 +3,111 @@ |
|
|
<div class="ui container" id="header"> |
|
|
<div class="ui container" id="header"> |
|
|
<el-row style="margin-top:15px;"> |
|
|
<el-row style="margin-top:15px;"> |
|
|
<el-table |
|
|
<el-table |
|
|
:data="tableData1" |
|
|
|
|
|
|
|
|
:data="tableData" |
|
|
style="min-width: 100%" |
|
|
style="min-width: 100%" |
|
|
row-key="id" |
|
|
|
|
|
|
|
|
row-key="ID" |
|
|
lazy |
|
|
lazy |
|
|
:load="load" |
|
|
:load="load" |
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" |
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" |
|
|
:header-cell-style="tableHeaderStyle" |
|
|
:header-cell-style="tableHeaderStyle" |
|
|
> |
|
|
> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="name" |
|
|
|
|
|
|
|
|
prop="Name" |
|
|
label="模型名称" |
|
|
label="模型名称" |
|
|
align="left" |
|
|
align="left" |
|
|
min-width="18%" |
|
|
min-width="18%" |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<a class="text-over" style="cursor:default;color:#426290" :title="scope.row.name">{{ scope.row.name }}</a> |
|
|
|
|
|
|
|
|
<div class="expand-icon" v-if="scope.row.hasChildren===false"> |
|
|
|
|
|
<i class="el-icon-arrow-right"></i> |
|
|
|
|
|
</div> |
|
|
|
|
|
<!-- <i class="el-icon-time"></i> --> |
|
|
|
|
|
<a class="text-over" :title="scope.row.Name">{{ scope.row.Name }}</a> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="version" |
|
|
|
|
|
|
|
|
prop="Version" |
|
|
label="版本" |
|
|
label="版本" |
|
|
align="center" |
|
|
align="center" |
|
|
min-width="6.5%" |
|
|
min-width="6.5%" |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span class="text-over" :title="scope.row.version">{{ scope.row.version}}</span> |
|
|
|
|
|
|
|
|
<span class="text-over" :title="scope.row.Version">{{ scope.row.Version}}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="version_count" |
|
|
|
|
|
|
|
|
prop="VersionCount" |
|
|
label="版本数" |
|
|
label="版本数" |
|
|
align="center" |
|
|
align="center" |
|
|
min-width="7.5%" |
|
|
min-width="7.5%" |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span class="text-over" :title="scope.row.version_count">{{ scope.row.version_count}}</span> |
|
|
|
|
|
|
|
|
<span class="text-over" :title="scope.row.VersionCount">{{ scope.row.VersionCount}}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="modelsize" |
|
|
|
|
|
|
|
|
prop="Size" |
|
|
label="模型大小" |
|
|
label="模型大小" |
|
|
align="center" |
|
|
align="center" |
|
|
min-width="10.5%" |
|
|
min-width="10.5%" |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span class="text-over" :title="scope.row.modelsize">{{ scope.row.modelsize}}</span> |
|
|
|
|
|
|
|
|
<span class="text-over">{{ renderSize(scope.row.Size)}}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="aiengine" |
|
|
|
|
|
|
|
|
prop="EngineName" |
|
|
label="AI引擎" |
|
|
label="AI引擎" |
|
|
align="center" |
|
|
align="center" |
|
|
min-width="8.5%" |
|
|
min-width="8.5%" |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span class="text-over" :title="scope.row.aiengine">{{ scope.row.aiengine}}</span> |
|
|
|
|
|
|
|
|
<span class="text-over">{{ scope.row.EngineName}}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="computesource" |
|
|
|
|
|
|
|
|
prop="ComputeResource" |
|
|
label="计算资源" |
|
|
label="计算资源" |
|
|
align="center" |
|
|
align="center" |
|
|
min-width="10.5%" |
|
|
min-width="10.5%" |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span class="text-over" :title="scope.row.computesource">{{ scope.row.computesource}}</span> |
|
|
|
|
|
|
|
|
<span class="text-over">{{ scope.row.ComputeResource}}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="createtime" |
|
|
|
|
|
|
|
|
prop="CreatedUnix" |
|
|
label="创建时间" |
|
|
label="创建时间" |
|
|
align="center" |
|
|
align="center" |
|
|
min-width="13.75%" |
|
|
min-width="13.75%" |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{scope.row.createtime}} |
|
|
|
|
|
|
|
|
{{transTime(scope.row.CreatedUnix)}} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="creator" |
|
|
|
|
|
|
|
|
prop="UserName" |
|
|
label="创建者" |
|
|
label="创建者" |
|
|
align="center" |
|
|
align="center" |
|
|
min-width="6.75%" |
|
|
min-width="6.75%" |
|
|
> |
|
|
> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{scope.row.creator}} |
|
|
|
|
|
|
|
|
<a :href="'/'+scope.row.UserName" :title="scope.row.UserName"> |
|
|
|
|
|
<img class="ui avatar image" :src="scope.row.UserRelAvatarLink"> |
|
|
|
|
|
</a> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column label="操作" min-width="18%" align="center"> |
|
|
<el-table-column label="操作" min-width="18%" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<a>创建新版本</a> |
|
|
|
|
|
<a>下载</a> |
|
|
|
|
|
<a>删除</a> |
|
|
|
|
|
|
|
|
<div class="space-around"> |
|
|
|
|
|
<a @click="showcreateVue(scope.row.Name,scope.row.Version)">创建新版本</a> |
|
|
|
|
|
<a :href="loadhref+scope.row.ID">下载</a> |
|
|
|
|
|
<a @click="deleteModel(scope.row.ID)">删除</a> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
@@ -139,122 +148,139 @@ export default { |
|
|
params:{page:0,pageSize:10}, |
|
|
params:{page:0,pageSize:10}, |
|
|
tableData: [], |
|
|
tableData: [], |
|
|
loading:false, |
|
|
loading:false, |
|
|
tableData1:[{id:27,name:"Model-abcd",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz',hasChildren: true}, |
|
|
|
|
|
{id:28,name:"Model-abcd",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz'}, |
|
|
|
|
|
{id:29,name:"Model-abcd",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz'}, |
|
|
|
|
|
{id:30,name:"Model-abcd",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz'}], |
|
|
|
|
|
currentPage1:1, |
|
|
|
|
|
pageSize1:10, |
|
|
|
|
|
totalNum1:0, |
|
|
|
|
|
params1:{page:1,size:10,name:''}, |
|
|
|
|
|
loading1:false |
|
|
|
|
|
|
|
|
tableData1:[{id:"27",name:"Model-abcd",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz',hasChildren: true}, |
|
|
|
|
|
{id:"28",name:"Model-abcd",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz',hasChildren: false}, |
|
|
|
|
|
{id:"29",name:"Model-abcd",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz',hasChildren: false}, |
|
|
|
|
|
{id:"30",name:"Model-abcd",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz',hasChildren: false}], |
|
|
|
|
|
|
|
|
|
|
|
url:'' |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
load(tree, treeNode, resolve) { |
|
|
load(tree, treeNode, resolve) { |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
resolve([ |
|
|
resolve([ |
|
|
{id:27-1,name:"",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz'}, |
|
|
|
|
|
{id:27-2,name:"",version:"0.0.3",version_count:'20',modelsize:"20MB",aiengine:'Mindspore',computesource:'NPU',createtime:'2020-1-2 12:06:01',creator:'zhoupz'}, |
|
|
|
|
|
|
|
|
{ID:"27-1",Name:"",Version:"0.0.3",VersionCount:'20',Size:2510550,EngineName:'Mindspore',ComputeResource:'NPU',CreatedUnix:1638265850,UserName:'zhoupz'}, |
|
|
|
|
|
{ID:"27-2",Name:"",Version:"0.0.3",VersionCount:'20',Size:2510550,EngineName:'Mindspore',ComputeResource:'NPU',CreatedUnix:1638265840,UserName:'zhoupz'}, |
|
|
]) |
|
|
]) |
|
|
}, 1000) |
|
|
}, 1000) |
|
|
}, |
|
|
}, |
|
|
tableHeaderStyle({row,column,rowIndex,columnIndex}){ |
|
|
tableHeaderStyle({row,column,rowIndex,columnIndex}){ |
|
|
|
|
|
|
|
|
if(rowIndex===0){ |
|
|
if(rowIndex===0){ |
|
|
return 'background:#f5f5f6;color:#606266' |
|
|
return 'background:#f5f5f6;color:#606266' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
handleSizeChange(val){ |
|
|
handleSizeChange(val){ |
|
|
this.params.size = val |
|
|
this.params.size = val |
|
|
this.getImageList() |
|
|
this.getImageList() |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
handleCurrentChange(val){ |
|
|
handleCurrentChange(val){ |
|
|
console.log(val) |
|
|
|
|
|
this.params.page = val |
|
|
this.params.page = val |
|
|
this.getImageList() |
|
|
this.getImageList() |
|
|
|
|
|
}, |
|
|
|
|
|
showcreateVue(name,version){ |
|
|
|
|
|
$('.ui.modal.second') |
|
|
|
|
|
.modal({ |
|
|
|
|
|
centered: false, |
|
|
|
|
|
onShow:function(){ |
|
|
|
|
|
$('.ui.dimmer').css({"background-color":"rgb(136, 136, 136,0.7)"}) |
|
|
|
|
|
$("#job-name").empty() |
|
|
|
|
|
$('#name').val(name) |
|
|
|
|
|
$('#version').val("0.0.2") |
|
|
|
|
|
loadTrainList() |
|
|
|
|
|
}, |
|
|
|
|
|
onHide:function(){ |
|
|
|
|
|
document.getElementById("formId").reset(); |
|
|
|
|
|
$('#choice_model').dropdown('clear') |
|
|
|
|
|
$('#choice_version').dropdown('clear') |
|
|
|
|
|
$('.ui.dimmer').css({"background-color":""}) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
.modal('show') |
|
|
|
|
|
}, |
|
|
|
|
|
function(version){ |
|
|
|
|
|
let versionArray = version.split('.') |
|
|
|
|
|
if(Number(versionArray[2])==9){ |
|
|
|
|
|
versionArray[1] = Number(versionArray[1])+1 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
deleteModel(id){ |
|
|
|
|
|
this.$axios.delete(this.url+'delete_model',{ |
|
|
|
|
|
params:{ |
|
|
|
|
|
ID:id |
|
|
|
|
|
}}).then((res)=>{ |
|
|
|
|
|
console.log(res) |
|
|
|
|
|
this.getModelList() |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
getModelList(){ |
|
|
getModelList(){ |
|
|
this.loading = true |
|
|
this.loading = true |
|
|
|
|
|
|
|
|
this.$axios.get(location.href+'_api',{ |
|
|
this.$axios.get(location.href+'_api',{ |
|
|
params:this.params |
|
|
params:this.params |
|
|
}).then((res)=>{ |
|
|
}).then((res)=>{ |
|
|
console.log("---res----",res) |
|
|
|
|
|
this.totalNum = res.data.count |
|
|
|
|
|
this.tableData = res.data.rows |
|
|
|
|
|
|
|
|
let TrainTaskInfo |
|
|
|
|
|
this.tableData = res.data.data |
|
|
|
|
|
for(let i=0;i<res.data.count;i++){ |
|
|
|
|
|
TrainTaskInfo = JSON.parse(res.data.data[i].TrainTaskInfo) |
|
|
|
|
|
this.tableData[i].EngineName = TrainTaskInfo.EngineName.split('-')[0] |
|
|
|
|
|
this.tableData[i].ComputeResource = TrainTaskInfo.ComputeResource |
|
|
|
|
|
this.tableData[i].hasChildren = res.data.data[i].VersionCount===1 ? false : true |
|
|
|
|
|
} |
|
|
|
|
|
console.log("this.tableData.",this.tableData) |
|
|
this.loading = false |
|
|
this.loading = false |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
filters:{ |
|
|
|
|
|
clearP(value){ |
|
|
|
|
|
console.log("sorce value",value) |
|
|
|
|
|
if(!value) return '' |
|
|
|
|
|
const reg = /\<\/?p\>/g; |
|
|
|
|
|
value = value.replace(reg,'') |
|
|
|
|
|
console.log("repalace:",value) |
|
|
|
|
|
return value |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
transformTimestamp(timestamp){ |
|
|
|
|
|
console.log("timestamp",timestamp) |
|
|
|
|
|
let a = new Date(timestamp).getTime(); |
|
|
|
|
|
const date = new Date(a); |
|
|
|
|
|
const Y = date.getFullYear() + '-'; |
|
|
|
|
|
const M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-'; |
|
|
|
|
|
const D = (date.getDate() < 10 ? '0'+date.getDate() : date.getDate()) + ' '; |
|
|
|
|
|
const h = (date.getHours() < 10 ? '0'+date.getHours() : date.getHours()) + ':'; |
|
|
|
|
|
const m = (date.getMinutes() <10 ? '0'+date.getMinutes() : date.getMinutes()) + ':' ; |
|
|
|
|
|
const s = (date.getSeconds() <10 ? '0'+date.getSeconds() : date.getSeconds()) ; // 秒 |
|
|
|
|
|
const dateString = Y + M + D + h + m + s; |
|
|
|
|
|
// console.log('dateString', dateString); // > dateString 2021-07-06 14:23 |
|
|
|
|
|
return dateString; |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
computed:{ |
|
|
|
|
|
loadhref(){ |
|
|
|
|
|
return this.url+'downloadall?ID=' |
|
|
|
|
|
}, |
|
|
|
|
|
transTime(){ |
|
|
|
|
|
return function(time){ |
|
|
|
|
|
let date = new Date(time * 1000);//时间戳为10位需*1000,时间戳为13位的话不需乘1000 |
|
|
|
|
|
let Y = date.getFullYear() + '-'; |
|
|
|
|
|
let M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1):date.getMonth()+1) + '-'; |
|
|
|
|
|
let D = (date.getDate()< 10 ? '0'+date.getDate():date.getDate())+ ' '; |
|
|
|
|
|
let h = (date.getHours() < 10 ? '0'+date.getHours():date.getHours())+ ':'; |
|
|
|
|
|
let m = (date.getMinutes() < 10 ? '0'+date.getMinutes():date.getMinutes()) + ':'; |
|
|
|
|
|
let s = date.getSeconds() < 10 ? '0'+date.getSeconds():date.getSeconds(); |
|
|
|
|
|
return Y+M+D+h+m+s; |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
renderSize(){ |
|
|
|
|
|
return function(value){ |
|
|
|
|
|
if(null==value||value==''){ |
|
|
|
|
|
return "0 Bytes"; |
|
|
|
|
|
} |
|
|
|
|
|
var unitArr = new Array("Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"); |
|
|
|
|
|
var index=0; |
|
|
|
|
|
var srcsize = parseFloat(value); |
|
|
|
|
|
index=Math.floor(Math.log(srcsize)/Math.log(1024)); |
|
|
|
|
|
var size =srcsize/Math.pow(1024,index); |
|
|
|
|
|
size=size.toFixed(2);//保留的小数位数 |
|
|
|
|
|
return size+unitArr[index]; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
this.getModelList() |
|
|
this.getModelList() |
|
|
|
|
|
this.url = location.href.split('show_model')[0] |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style scoped> |
|
|
<style scoped> |
|
|
.header-wrapper { |
|
|
|
|
|
background-color: #f5f5f6; |
|
|
|
|
|
padding-top: 15px; |
|
|
|
|
|
} |
|
|
|
|
|
.image_text{ |
|
|
|
|
|
padding:25px 0 55px 0 ; |
|
|
|
|
|
} |
|
|
|
|
|
#header{ |
|
|
|
|
|
position: relative; |
|
|
|
|
|
top:-40px; |
|
|
|
|
|
} |
|
|
|
|
|
.el-dropdown-menu__item--divided{ |
|
|
|
|
|
border-top: 1px solid blue; |
|
|
|
|
|
} |
|
|
|
|
|
.el-table thead{ |
|
|
|
|
|
background-color: #f5f5f6; |
|
|
|
|
|
} |
|
|
|
|
|
/deep/ .el-tabs__item:hover{ |
|
|
|
|
|
color: #000; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
/deep/ .el-tabs__item.is-active { |
|
|
|
|
|
color: #000; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
} |
|
|
|
|
|
/deep/ .el-tabs__active-bar{ |
|
|
|
|
|
background-color:#000 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { |
|
|
/deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { |
|
|
background-color: #5bb973; |
|
|
background-color: #5bb973; |
|
|
@@ -285,21 +311,64 @@ export default { |
|
|
/deep/ .el-pagination .el-pager li:not(.disabled):hover { |
|
|
/deep/ .el-pagination .el-pager li:not(.disabled):hover { |
|
|
color: #08C0B9; |
|
|
color: #08C0B9; |
|
|
} |
|
|
} |
|
|
/* /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active{ |
|
|
|
|
|
background-color: #5bb973; |
|
|
|
|
|
color: #000; |
|
|
|
|
|
} */ |
|
|
|
|
|
/* /deep/ .el-pager li:hover{ |
|
|
|
|
|
color: #000; |
|
|
|
|
|
} */ |
|
|
|
|
|
#success{ |
|
|
|
|
|
background-color: #5bb973; |
|
|
|
|
|
color: white; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.text-over{ |
|
|
.text-over{ |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
text-overflow: ellipsis; |
|
|
text-overflow: ellipsis; |
|
|
vertical-align: middle; |
|
|
vertical-align: middle; |
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
} |
|
|
} |
|
|
|
|
|
.el-icon-arrow-right{ |
|
|
|
|
|
font-family: element-icons!important; |
|
|
|
|
|
speak: none; |
|
|
|
|
|
font-style: normal; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
font-feature-settings: normal; |
|
|
|
|
|
font-variant: normal; |
|
|
|
|
|
text-transform: none; |
|
|
|
|
|
line-height: 1; |
|
|
|
|
|
vertical-align: middle; |
|
|
|
|
|
display: inline-block; |
|
|
|
|
|
-webkit-font-smoothing: antialiased; |
|
|
|
|
|
-moz-osx-font-smoothing: grayscale; |
|
|
|
|
|
border: 1px solid #D4D4D5; |
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
color: #D4D4D5; |
|
|
|
|
|
margin-right: 4px; |
|
|
|
|
|
} |
|
|
|
|
|
.el-icon-arrow-right::before{ |
|
|
|
|
|
content: "\e6e0"; |
|
|
|
|
|
} |
|
|
|
|
|
.expand-icon{ |
|
|
|
|
|
display: inline-block; |
|
|
|
|
|
width: 20px; |
|
|
|
|
|
line-height: 20px; |
|
|
|
|
|
height: 20px; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
margin-right: 3px; |
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
} |
|
|
|
|
|
/deep/ .el-table__expand-icon .el-icon-arrow-right{ |
|
|
|
|
|
font-family: element-icons!important; |
|
|
|
|
|
speak: none; |
|
|
|
|
|
font-style: normal; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
font-feature-settings: normal; |
|
|
|
|
|
font-variant: normal; |
|
|
|
|
|
text-transform: none; |
|
|
|
|
|
line-height: 1; |
|
|
|
|
|
vertical-align: middle; |
|
|
|
|
|
display: inline-block; |
|
|
|
|
|
-webkit-font-smoothing: antialiased; |
|
|
|
|
|
-moz-osx-font-smoothing: grayscale; |
|
|
|
|
|
border: 1px solid #3291F8; |
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
color: #3291F8; |
|
|
|
|
|
margin-right: 4px; |
|
|
|
|
|
} |
|
|
|
|
|
.space-around{ |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: space-around; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
</style> |
|
|
</style> |