测试导出问题
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="list_top_content">
|
||||
<div class="list_top_search_content">
|
||||
<div class="search_content_left">
|
||||
<filterComponent :title="'Role Name or Id'"><a-input v-model:value="name" size="large" placeholder="Please input Role Name or Id" @keydown.enter="searchList()"/></filterComponent>
|
||||
<filterComponent :title="'Statement Name'"><a-input v-model:value="name" size="large" placeholder="Please input Role Name or Id" @keydown.enter="searchList()"/></filterComponent>
|
||||
<filterComponent :title="'Period'">
|
||||
<a-select
|
||||
v-model:value="type"
|
||||
@@ -137,6 +137,8 @@ export default defineComponent({
|
||||
|
||||
let setExport = (data:any,index:any) =>{
|
||||
Https.axiosGet(Https.httpUrls.miTuExportExport+`/${data.id}`,{responseType: 'blob'}).then((rv)=>{
|
||||
console.log(rv.name);
|
||||
|
||||
let name = rv.name.split('=')[1];
|
||||
let url = window.URL.createObjectURL(new Blob([rv.data], { type: rv.type }));
|
||||
const link = document.createElement('a');
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<div>
|
||||
<div class="form_item_title required">Role Permission</div>
|
||||
<a-checkbox class="form_check_all" size="large" v-model:checked="permissionCheckAll" @change="perCheckAll">All</a-checkbox>
|
||||
<table class="permission_table">
|
||||
<table class="permission_table">{{ rolePermission }}
|
||||
<tr v-for="(role) in rolePermission" :key="role.code">
|
||||
<td class="first_td">
|
||||
<div class="table_td_block"><a-checkbox size="large" v-model:checked="role.select" @change="checkLevelFirst(role)">{{role.resource}}</a-checkbox></div>
|
||||
|
||||
Reference in New Issue
Block a user