页面样式修改
This commit is contained in:
parent
2d143a6f55
commit
3c2f4940f2
|
|
@ -8,15 +8,8 @@
|
||||||
<h3>数据列表</h3>
|
<h3>数据列表</h3>
|
||||||
</template>
|
</template>
|
||||||
<template slot="tableActions">
|
<template slot="tableActions">
|
||||||
<el-button @click="handleModelExport" v-hasPermi="['enterpriseLibrary:tool:add']"
|
<el-button @click="handleAdd" v-hasPermi="['analysis:analysis:add']" class="add-btn"><i
|
||||||
class="add-btn">导入模板下载</el-button>
|
class="el-icon-plus"></i> 新建项目</el-button>
|
||||||
<el-button @click="handleBathchImport" v-hasPermi="['enterpriseLibrary:tool:import']"
|
|
||||||
class="add-btn">批量导入</el-button>
|
|
||||||
<el-button @click="handleAdd" v-hasPermi="['enterpriseLibrary:tool:add']" class="add-btn"><i
|
|
||||||
class="el-icon-plus"></i> 新增工器具</el-button>
|
|
||||||
</template>
|
|
||||||
<template slot="deptName" slot-scope="{ data }">
|
|
||||||
<span>{{ data.dept.deptName || '--' }}</span>
|
|
||||||
</template>
|
</template>
|
||||||
<template slot="handle" slot-scope="{ data }">
|
<template slot="handle" slot-scope="{ data }">
|
||||||
<el-button type="text" v-hasPermi="['enterpriseLibrary:tool:detail']" class="action-btn"
|
<el-button type="text" v-hasPermi="['enterpriseLibrary:tool:detail']" class="action-btn"
|
||||||
|
|
@ -45,7 +38,6 @@ import TableModel from '@/components/TableModel2'
|
||||||
import { columnsList, formLabel } from './config'
|
import { columnsList, formLabel } from './config'
|
||||||
import { listAPI, delDataAPI } from '@/api/analysis/analysis'
|
import { listAPI, delDataAPI } from '@/api/analysis/analysis'
|
||||||
import { encryptWithSM4, decryptWithSM4 } from '@/utils/sm'
|
import { encryptWithSM4, decryptWithSM4 } from '@/utils/sm'
|
||||||
import { downloadFileWithLoading } from '@/utils/download'
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Tool',
|
name: 'Tool',
|
||||||
components: {
|
components: {
|
||||||
|
|
@ -96,27 +88,7 @@ export default {
|
||||||
this.row = row;
|
this.row = row;
|
||||||
this.isflag = true;
|
this.isflag = true;
|
||||||
},
|
},
|
||||||
// 模板下载
|
|
||||||
handleModelExport() {
|
|
||||||
downloadFileWithLoading(
|
|
||||||
'smartBid/commonDownload/downLoadToolModel',
|
|
||||||
'工器具导入模板.xlsx',
|
|
||||||
'正在下载模板,请稍候...'
|
|
||||||
)
|
|
||||||
},
|
|
||||||
// 批量导入
|
|
||||||
handleBathchImport() {
|
|
||||||
this.importExcelDialogVisible = true;
|
|
||||||
},
|
|
||||||
handleImportSuccess() {
|
|
||||||
this.handleQuery();
|
|
||||||
},
|
|
||||||
handleImportClose() {
|
|
||||||
this.handleQuery();
|
|
||||||
},
|
|
||||||
closeDialog() {
|
|
||||||
this.isflag = false;
|
|
||||||
},
|
|
||||||
/* 搜索操作 */
|
/* 搜索操作 */
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.$refs.analysisTableRef.getTableList()
|
this.$refs.analysisTableRef.getTableList()
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ export default {
|
||||||
.app-container {
|
.app-container {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
background: linear-gradient(180deg, #F1F6FF 20%, #E5EFFF 100%);
|
background: linear-gradient(180deg, #F1F6FF 20%, #E5EFFF 100%);
|
||||||
min-height: 100vh;
|
min-height: calc(100vh - 84px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-container {
|
.back-container {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue