把列表下载改为导出

This commit is contained in:
龙运模 2024-12-11 16:28:26 +08:00
parent 5eff53bf42
commit 49b67fc3c6
23 changed files with 31 additions and 30 deletions

View File

@ -5,15 +5,15 @@ NODE_ENV = production
VUE_APP_TITLE = 象纬云科 VUE_APP_TITLE = 象纬云科
# 测试环境 # 测试环境
# VUE_APP_API_BASEURL = https://dev.api.linkwing.com/api/v1 VUE_APP_API_BASEURL = https://dev.api.linkwing.com/api/v1
# VUE_APP_API_DEV = https://dev.api.linkwing.com/api/v1 VUE_APP_API_DEV = https://dev.api.linkwing.com/api/v1
# VUE_APP_WS_URL = wss://dev.api.linkwing.com/wss VUE_APP_WS_URL = wss://dev.api.linkwing.com/wss
# VUE_APP_WSS_URL = wss://dev.api.linkwing.com/wss VUE_APP_WSS_URL = wss://dev.api.linkwing.com/wss
# 线上环境 # 线上环境
# 接口地址 # WS地址 # 接口地址 # WS地址
VUE_APP_API_BASEURL = https://prod.api.linkwing.com/api/v1 # VUE_APP_API_BASEURL = https://prod.api.linkwing.com/api/v1
VUE_APP_API_DEV = https://prod.api.linkwing.com/api/v1 # VUE_APP_API_DEV = https://prod.api.linkwing.com/api/v1
VUE_APP_WS_URL = wss://prod.api.linkwing.com/wss # VUE_APP_WS_URL = wss://prod.api.linkwing.com/wss
VUE_APP_WSS_URL = wss://prod.api.linkwing.com/wss # VUE_APP_WSS_URL = wss://prod.api.linkwing.com/wss

View File

@ -26,7 +26,7 @@ a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: bo
/* 头部 */ /* 头部 */
.adminui-header {height: 50px;background: #fff;color: #222;display: flex;justify-content:space-between;} .adminui-header {height: 50px;background: #fff;color: #222;display: flex;justify-content:space-between;}
.adminui-header-left {display: flex;align-items: center;} .adminui-header-left {display: flex;align-items: center;flex: 1;min-width: 0;}
.adminui-header-right {display: flex;align-items: center;} .adminui-header-right {display: flex;align-items: center;}
.adminui-header .logo-bar {font-size: 18px;font-weight: bold;display: flex;align-items: center;justify-content: center;width: 190px;height: 100%;border-right: 1px solid #f2f2f2;} .adminui-header .logo-bar {font-size: 18px;font-weight: bold;display: flex;align-items: center;justify-content: center;width: 190px;height: 100%;border-right: 1px solid #f2f2f2;}
.adminui-header .isCollapse{width: 65px;} .adminui-header .isCollapse{width: 65px;}

View File

@ -25,7 +25,7 @@
/*common-page*/ /*common-page*/
.common-page {} .common-page {}
.pageHeader{box-shadow: 0 1px 8px rgba(0,0,0,0.06);margin-bottom: 10px;} .pageHeader{box-shadow: 0 1px 8px rgba(0,0,0,0.06);margin-bottom: 10px;}
.common-header-left {display: flex;align-items: center;} .common-header-left {display: flex;align-items: center;flex: 1;min-width: 0;}
.common-header-logo {display: flex;align-items: center;} .common-header-logo {display: flex;align-items: center;}
.common-header-logo img {margin-right: 10px;vertical-align: bottom;width: 180px;} .common-header-logo img {margin-right: 10px;vertical-align: bottom;width: 180px;}
.common-header-logo label {font-size: 20px;} .common-header-logo label {font-size: 20px;}

View File

@ -15,7 +15,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="19"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="19">
<el-button v-auth="'costFlowExport'" :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button v-auth="'costFlowExport'" :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -24,7 +24,7 @@
</div> </div>
<div class="exportBtn"> <div class="exportBtn">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="20"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="20">
<el-button :size="size" v-auth="'costSummaryDownload'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" v-auth="'costSummaryDownload'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</div> </div>

View File

@ -55,7 +55,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExportList :size="size" @updateShow="exportChangeShow" :exportList="exportList" :show="exportShow" type="14"> <scExportList :size="size" @updateShow="exportChangeShow" :exportList="exportList" :show="exportShow" type="14">
<el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExportList> </scExportList>
</div> </div>
</el-header> </el-header>

View File

@ -7,7 +7,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="43"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="43">
<el-button :size="size" v-auth="'sparePartsWaterLevelWarningExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" v-auth="'sparePartsWaterLevelWarningExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="40"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="40">
<el-button :size="size" v-auth="'inventoryExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" v-auth="'inventoryExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -14,7 +14,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11">
<el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -17,7 +17,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11">
<el-button :size="size" v-auth="'maintenanceOrderExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" v-auth="'maintenanceOrderExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -14,7 +14,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11">
<el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -14,7 +14,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11">
<el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -174,8 +174,9 @@ export default {
<style lang="scss"> <style lang="scss">
.common-header-left{ .common-header-left{
width: 100%;
display: flex; display: flex;
flex: 1;
min-width: 0;
.common-header-title{ .common-header-title{
flex: 1; flex: 1;
border-left: 0; border-left: 0;

View File

@ -14,7 +14,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="33"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="33">
<el-button :size="size" v-auth="'bomListExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" v-auth="'bomListExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -14,7 +14,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="6"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="6">
<el-button :size="size" v-auth="'organizationExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" v-auth="'organizationExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -9,7 +9,7 @@
</div> </div>
<div class="exportBtn"> <div class="exportBtn">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="8"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="8">
<el-button v-auth="'sysLogExport'" :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button v-auth="'sysLogExport'" :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</div> </div>

View File

@ -10,7 +10,7 @@
</div> </div>
<div class="exportBtn"> <div class="exportBtn">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="32"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="32">
<el-button v-auth="'sysLogCommandExport'" :size="size" :disabled="exportShow" icon="sc-icon-Download" @click="exportData">下载</el-button> <el-button v-auth="'sysLogCommandExport'" :size="size" :disabled="exportShow" icon="sc-icon-Download" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</div> </div>

View File

@ -15,7 +15,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="30"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="30">
<el-button :size="size" v-auth="'sparePartsInfoExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" v-auth="'sparePartsInfoExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -15,7 +15,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="29"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="29">
<el-button :size="size" v-auth="'sparePartsExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" v-auth="'sparePartsExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -40,7 +40,7 @@
<div class="right-panel"> <div class="right-panel">
<div class="right-panel-search"> <div class="right-panel-search">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="7"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="7">
<el-button :size="size" v-auth="'userExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" v-auth="'userExport'" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</div> </div>

View File

@ -14,7 +14,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11">
<el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -14,7 +14,7 @@
</div> </div>
<div class="right-panel"> <div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11">
<el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</el-header> </el-header>

View File

@ -10,7 +10,7 @@
</div> </div>
<div class="exportBtn"> <div class="exportBtn">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="34"> <scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="34">
<el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">下载</el-button> <el-button :size="size" icon="sc-icon-Download" :disabled="exportShow" @click="exportData">导出</el-button>
</scExport> </scExport>
</div> </div>
</div> </div>