|
|
@ -71,7 +71,7 @@ function onShareMatter(row?:matterInfo){ |
|
|
let _len=0 |
|
|
let _len=0 |
|
|
ElMessageBox({ |
|
|
ElMessageBox({ |
|
|
title: row?.name+' 请选择分享有效时间', |
|
|
title: row?.name+' 请选择分享有效时间', |
|
|
message: () => h('div',{style:{ width:'660px'}},[ |
|
|
message: () => h('div',{style:{ width:'100%'}},[ |
|
|
h(ElSelect, |
|
|
h(ElSelect, |
|
|
{ |
|
|
{ |
|
|
defaultFirstOption:true, |
|
|
defaultFirstOption:true, |
|
|
@ -81,7 +81,7 @@ function onShareMatter(row?:matterInfo){ |
|
|
}, |
|
|
}, |
|
|
valueKey: "value", |
|
|
valueKey: "value", |
|
|
fallbackPlacements:['bottom-start'], |
|
|
fallbackPlacements:['bottom-start'], |
|
|
style: { width:'360px' } |
|
|
style: { width:'280px' } |
|
|
},() => [ |
|
|
},() => [ |
|
|
h(ElOption, { label: '六小时',key: 'sixhour', value: 'sixhour' }), |
|
|
h(ElOption, { label: '六小时',key: 'sixhour', value: 'sixhour' }), |
|
|
h(ElOption, { label: '一 天', key: 'oneday', value: 'oneday' }), |
|
|
h(ElOption, { label: '一 天', key: 'oneday', value: 'oneday' }), |
|
|
@ -149,8 +149,8 @@ function showShareMessage(row:respCreateShare){ |
|
|
let _shareURL=`${siteHost}/#/doc/share/?uuid=${row.uuid}&code=${row.code}` |
|
|
let _shareURL=`${siteHost}/#/doc/share/?uuid=${row.uuid}&code=${row.code}` |
|
|
ElMessageBox({ |
|
|
ElMessageBox({ |
|
|
title: '分享详情', |
|
|
title: '分享详情', |
|
|
customStyle: { '--el-messagebox-width':'800px',padding:'40px'}, |
|
|
customStyle: { padding:'20px'}, |
|
|
message: () => h('div',{style:{display:'flex','flex-direction':'column','line-height':'34px', width:'600px'}},[ |
|
|
message: () => h('div',{style:{display:'flex','flex-direction':'column','line-height':'34px'}},[ |
|
|
h(ElText,{style:{'align-self':'flex-start'}},()=>row.name), |
|
|
h(ElText,{style:{'align-self':'flex-start'}},()=>row.name), |
|
|
h(ElText,{style:{'align-self':'flex-start'}},()=>"失效时间:"+row.expireTime), |
|
|
h(ElText,{style:{'align-self':'flex-start'}},()=>"失效时间:"+row.expireTime), |
|
|
h(ElText,{style:{'align-self':'flex-start'}},()=>"链接:"+_shareURL) |
|
|
h(ElText,{style:{'align-self':'flex-start'}},()=>"链接:"+_shareURL) |
|
|
@ -493,14 +493,14 @@ onMounted(() => { |
|
|
|
|
|
|
|
|
<el-row v-if="!modRecycling" :gutter="24"> |
|
|
<el-row v-if="!modRecycling" :gutter="24"> |
|
|
<el-col> |
|
|
<el-col> |
|
|
<div class="el-button el-button--default" style="position: relative;"> |
|
|
<div class="el-button el-button--default" style="position: relative;height: 24px;"> |
|
|
<el-icon><Upload /></el-icon> |
|
|
<el-icon><Upload /></el-icon> |
|
|
<input type="file" style="position: absolute;opacity: 0;width: 50px;" |
|
|
<input type="file" style="position: absolute;opacity: 0;width: 50px;" |
|
|
@change="onCustomUpload" multiple /> |
|
|
@change="onCustomUpload" multiple /> |
|
|
上传 |
|
|
上传 |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<el-button icon="plus" @click="createDir">新建</el-button> |
|
|
<el-button size="small" icon="plus" @click="createDir">新建</el-button> |
|
|
<span v-if="tabSelected.length>1" style="margin:12px"> |
|
|
<span v-if="tabSelected.length>1" style="margin:12px"> |
|
|
<el-button @click="onShareMatter()">分享</el-button> |
|
|
<el-button @click="onShareMatter()">分享</el-button> |
|
|
<el-button @click="onDelMatBatch">删除</el-button> |
|
|
<el-button @click="onDelMatBatch">删除</el-button> |
|
|
@ -618,7 +618,7 @@ onMounted(() => { |
|
|
position: relative; |
|
|
position: relative; |
|
|
} |
|
|
} |
|
|
.nav-header{ |
|
|
.nav-header{ |
|
|
margin-top: 21px; |
|
|
margin-top: 12px; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
display: flex; |
|
|
display: flex; |
|
|
span{ |
|
|
span{ |
|
|
|