|
|
@ -18,7 +18,7 @@ |
|
|
|
<div class="home-main list-construction-model"> |
|
|
|
<div class="home-main list-construction-model"> |
|
|
|
<div class="content-title"> |
|
|
|
<div class="content-title"> |
|
|
|
<a class="bread" style="padding-left: 15px;" @click="() => $router.push({path: `/resource/file`})">{{$t('File Manage')}}</a> |
|
|
|
<a class="bread" style="padding-left: 15px;" @click="() => $router.push({path: `/resource/file`})">{{$t('File Manage')}}</a> |
|
|
|
<a class="bread" v-for="(item,$index) in breadList" :key="$index" @click="_ckOperation($index)">{{'>'+item}}</a> |
|
|
|
<a class="bread" v-for="(item,$index) in breadList" :key="$index" @click="_ckOperation(item, $index)">{{'>'+item}}</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="conditions-box"> |
|
|
|
<div class="conditions-box"> |
|
|
|
<m-conditions @on-conditions="_onConditions"> |
|
|
|
<m-conditions @on-conditions="_onConditions"> |
|
|
@ -135,7 +135,7 @@ |
|
|
|
this.searchParams.id = this.$route.params.id |
|
|
|
this.searchParams.id = this.$route.params.id |
|
|
|
this._debounceGET() |
|
|
|
this._debounceGET() |
|
|
|
}, |
|
|
|
}, |
|
|
|
_ckOperation (index) { |
|
|
|
_ckOperation (item, index) { |
|
|
|
let breadName = '' |
|
|
|
let breadName = '' |
|
|
|
this.breadList.forEach((item, i) => { |
|
|
|
this.breadList.forEach((item, i) => { |
|
|
|
if (i <= index) { |
|
|
|
if (i <= index) { |
|
|
@ -147,7 +147,8 @@ |
|
|
|
transferApi (api) { |
|
|
|
transferApi (api) { |
|
|
|
this.getResourceId({ |
|
|
|
this.getResourceId({ |
|
|
|
type: 'FILE', |
|
|
|
type: 'FILE', |
|
|
|
fullName: api |
|
|
|
fullName: api, |
|
|
|
|
|
|
|
id: this.searchParams.id |
|
|
|
}).then(res => { |
|
|
|
}).then(res => { |
|
|
|
localStore.setItem('currentDir', `${res.fullName}`) |
|
|
|
localStore.setItem('currentDir', `${res.fullName}`) |
|
|
|
this.$router.push({ path: `/resource/file/subdirectory/${res.id}` }) |
|
|
|
this.$router.push({ path: `/resource/file/subdirectory/${res.id}` }) |
|
|
|