Merge branch 'main' of http://git.hivekion.com:3000/IDCDatasync/IDCDatasync-vue
This commit is contained in:
commit
883b34e938
|
@ -1,43 +1,36 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="pageBackground">
|
|
||||||
<div class="breadHeader">文件管理/全文检索</div>
|
<a-layout-content>
|
||||||
<div class="filecontent" >
|
<div style="margin-top: 20px;">
|
||||||
<a-layout>
|
<a-form layout="inline">
|
||||||
<a-layout-content>
|
<a-row>
|
||||||
<div style="margin-top: 20px;">
|
<a-col :span="24">
|
||||||
<a-row>
|
<a-form-item>
|
||||||
<a-col :span="12">
|
<a-input placeholder="请输入" v-model="searchFile.queryCriteria" style="color: #000000 !important;"></a-input>
|
||||||
<a-form layout="inline">
|
</a-form-item>
|
||||||
<a-form-item>
|
<a-form-item>
|
||||||
<a-input placeholder="请输入" v-model="searchFile.queryCriteria" style="color: #000000 !important;"></a-input>
|
<a-checkbox-group v-model:value="checkboxValue" name="checkboxgroup" :options="plainOptions" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item>
|
<a-form-item>
|
||||||
<a-checkbox-group v-model:value="checkboxValue" name="checkboxgroup" :options="plainOptions" />
|
<a-button type="primary" icon="search" style="margin-left: 21px" @click="searchgetFileList">查询</a-button>
|
||||||
</a-form-item>
|
<a-button type="primary" icon="reload" style="margin-left: 8px" @click="reloadFileList">重置</a-button>
|
||||||
<a-form-item>
|
</a-form-item>
|
||||||
<a-button type="primary" icon="search" style="margin-left: 21px" @click="searchgetFileList">查询</a-button>
|
</a-col>
|
||||||
<a-button type="primary" icon="reload" style="margin-left: 8px" @click="reloadFileList">重置</a-button>
|
</a-row>
|
||||||
</a-form-item>
|
</a-form>
|
||||||
</a-form>
|
</div>
|
||||||
</a-col>
|
<div style="margin-top: 15px">
|
||||||
</a-row>
|
<a-table ref="table" bordered size="middle" rowKey="id" :columns="columns" class="fileTable"
|
||||||
</div>
|
:dataSource="dataSource" :loading="loading"
|
||||||
<div style="margin-top: 15px">
|
>
|
||||||
<a-table ref="table" bordered size="middle" rowKey="id" :columns="columns" class="fileTable"
|
<span slot="action" slot-scope="text, record">
|
||||||
:dataSource="dataSource" :loading="loading"
|
<a @click="download(record,$event)">下载</a> <a @click="viewFile(record,$event)">预览</a>
|
||||||
>
|
</span>
|
||||||
<span slot="action" slot-scope="text, record">
|
</a-table>
|
||||||
<a @click="download(record,$event)">下载</a> <a @click="viewFile(record,$event)">预览</a>
|
</div>
|
||||||
</span>
|
</a-layout-content>
|
||||||
</a-table>
|
|
||||||
</div>
|
|
||||||
</a-layout-content>
|
|
||||||
</a-layout>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import guaz from '@assets/guaz.png'
|
|
||||||
import {createDir,logicDelDir,renameDir,dirtreeList} from '@/api/dirapi'
|
import {createDir,logicDelDir,renameDir,dirtreeList} from '@/api/dirapi'
|
||||||
import {downloadFile,filePreview,fullTextSearching} from '@/api/fileapi'
|
import {downloadFile,filePreview,fullTextSearching} from '@/api/fileapi'
|
||||||
export default {
|
export default {
|
||||||
|
|
|
@ -104,11 +104,11 @@
|
||||||
// });
|
// });
|
||||||
this.isMultiDepart = false
|
this.isMultiDepart = false
|
||||||
}else if(multi_depart==2){
|
}else if(multi_depart==2){
|
||||||
this.visible=true
|
// this.visible=true
|
||||||
this.isMultiDepart = true
|
// this.isMultiDepart = true
|
||||||
this.departList = loginResult.departs
|
// this.departList = loginResult.departs
|
||||||
}else {
|
}else {
|
||||||
this.isMultiDepart = false
|
// this.isMultiDepart = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
bizTenant(ids){
|
bizTenant(ids){
|
||||||
|
@ -118,11 +118,11 @@
|
||||||
this.tenant_id = ids;
|
this.tenant_id = ids;
|
||||||
this.isMultiTenant = false
|
this.isMultiTenant = false
|
||||||
}else{
|
}else{
|
||||||
this.visible = true
|
// this.visible = true
|
||||||
this.isMultiTenant = true
|
// this.isMultiTenant = true
|
||||||
getAction('/sys/tenant/queryList', {ids: ids}).then(res=>{
|
// getAction('/sys/tenant/queryList', {ids: ids}).then(res=>{
|
||||||
this.tenantList = res.result
|
// this.tenantList = res.result
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
show(loginResult){
|
show(loginResult){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user