|
@@ -1,47 +1,17 @@
|
|
|
<template>
|
|
|
<div class="data-table" :style="{ marginTop: marginTop }">
|
|
|
- <div
|
|
|
- :style="dataTableContentStyle"
|
|
|
- v-loading="loading"
|
|
|
- element-loading-text="拼命加载中"
|
|
|
- element-loading-spinner="el-icon-loading"
|
|
|
- element-loading-background="rgba(0, 0, 0, 0.8)"
|
|
|
- class="data-table-content"
|
|
|
- >
|
|
|
- <div v-if="isBtn" class="data-table-btn flex-end">
|
|
|
- <el-button size="small" @click="handleAdd" plain type="primary"
|
|
|
- >新增</el-button
|
|
|
- >
|
|
|
+ <div :style="dataTableContentStyle" v-loading="loading" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0.8)" class="data-table-content">
|
|
|
+ <div :class="isStatus ? 'flex' : 'flex-end'" class="data-table-btn">
|
|
|
+ <div v-if="isStatus" class="vStatus">
|
|
|
+ <slot />
|
|
|
+ </div>
|
|
|
+ <el-button v-if="isBtn" size="small" @click="handleAdd" plain type="primary">新增</el-button>
|
|
|
</div>
|
|
|
<template v-if="tableData.length">
|
|
|
<div>
|
|
|
- <el-table
|
|
|
- v-el-table-infinite-scroll="load"
|
|
|
- :data="filteredTableData"
|
|
|
- :summary-method="getSummaries"
|
|
|
- :span-method="tableSpanMethod"
|
|
|
- stripe
|
|
|
- :show-summary="showSummary"
|
|
|
- border
|
|
|
- ref="table"
|
|
|
- :height="tableHeight ? tableHeight : minHeight - 8 + 'vh'"
|
|
|
- class="table infinite-list"
|
|
|
- style="width: 100%; overflow: auto"
|
|
|
- @select="selectHandler"
|
|
|
- >
|
|
|
- <el-table-column
|
|
|
- v-if="selectionEnable"
|
|
|
- type="selection"
|
|
|
- width="35"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- v-for="(item, index) in tableColsCopy"
|
|
|
- :sortable="item.needSort ? true : false"
|
|
|
- :key="index"
|
|
|
- :prop="item.columnName"
|
|
|
- :label="item.columnLabel"
|
|
|
- :show-overflow-tooltip="showOverflowTooltip"
|
|
|
- >
|
|
|
+ <el-table v-el-table-infinite-scroll="load" :data="filteredTableData" :summary-method="getSummaries" :span-method="tableSpanMethod" stripe :show-summary="showSummary" border ref="table" :height="tableHeight ? tableHeight : minHeight - 8 + 'vh'" class="table infinite-list" style="width: 100%; overflow: auto" @select="selectHandler">
|
|
|
+ <el-table-column v-if="selectionEnable" type="selection" width="35" />
|
|
|
+ <el-table-column v-for="(item, index) in tableColsCopy" :sortable="item.needSort ? true : false" :key="index" :prop="item.columnName" :label="item.columnLabel" :show-overflow-tooltip="showOverflowTooltip">
|
|
|
<template #header>
|
|
|
<span class="colTips">
|
|
|
<el-tooltip :content="item.columnDescribe" placement="top">
|
|
@@ -49,38 +19,18 @@
|
|
|
</el-tooltip>
|
|
|
</span>
|
|
|
<span v-if="item.needFilters">
|
|
|
- <el-popover
|
|
|
- placement="bottom"
|
|
|
- trigger="click"
|
|
|
- @show="popoverShowHandler(item.columnName)"
|
|
|
- @hide="popoverHideHandler"
|
|
|
- >
|
|
|
- <i
|
|
|
- slot="reference"
|
|
|
- :class="[
|
|
|
+ <el-popover placement="bottom" trigger="click" @show="popoverShowHandler(item.columnName)" @hide="popoverHideHandler">
|
|
|
+ <i slot="reference" :class="[
|
|
|
'filter-arrow',
|
|
|
'el-icon-arrow-down',
|
|
|
arrowClass(item.columnName),
|
|
|
- ]"
|
|
|
- />
|
|
|
+ ]" />
|
|
|
<el-form>
|
|
|
<el-form-item :label="item.columnLabel">
|
|
|
- <el-select
|
|
|
- v-model="filterValues[item.columnName]"
|
|
|
- size="small"
|
|
|
- placeholder="筛选"
|
|
|
- default-first-option
|
|
|
- filterable
|
|
|
- clearable
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(option, optionIndex) in tableDataFilters[
|
|
|
+ <el-select v-model="filterValues[item.columnName]" size="small" placeholder="筛选" default-first-option filterable clearable>
|
|
|
+ <el-option v-for="(option, optionIndex) in tableDataFilters[
|
|
|
item.columnName
|
|
|
- ]"
|
|
|
- :key="option.value + optionIndex"
|
|
|
- :value="option.value"
|
|
|
- :label="option.text"
|
|
|
- />
|
|
|
+ ]" :key="option.value + optionIndex" :value="option.value" :label="option.text" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -93,52 +43,12 @@
|
|
|
<div class="hd-td">
|
|
|
<div class="hd-tr">
|
|
|
<!-- <el-button class="hrefBtn" type="text" @click="handleHerf(scope.row)" size="small">跳转</el-button> -->
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="handleEdit(scope.row)"
|
|
|
- size="small"
|
|
|
- class="rmScs"
|
|
|
- >编辑</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- class="rmSc"
|
|
|
- type="text"
|
|
|
- @click="handleRemove(scope.row)"
|
|
|
- size="small"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- class="rmScs"
|
|
|
- v-if="withColumnSet"
|
|
|
- type="text"
|
|
|
- size="small"
|
|
|
- @click="handleColumnSet(scope.row)"
|
|
|
- >列设置</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- class="rmScs"
|
|
|
- v-if="withItemSet"
|
|
|
- type="text"
|
|
|
- size="small"
|
|
|
- @click="handleItemSet(scope.row)"
|
|
|
- >数据项</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- class="rmScser"
|
|
|
- v-if="withlodSet"
|
|
|
- type="text"
|
|
|
- size="small"
|
|
|
- @click="handlelodSet(scope.row)"
|
|
|
- >航站设置</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- class="rmScser"
|
|
|
- v-if="withnodeSet"
|
|
|
- type="text"
|
|
|
- size="small"
|
|
|
- @click="handlenodeSet(scope.row)"
|
|
|
- >节点设置</el-button
|
|
|
- >
|
|
|
+ <el-button type="text" @click="handleEdit(scope.row)" size="small" class="rmScs">编辑</el-button>
|
|
|
+ <el-button class="rmSc" type="text" @click="handleRemove(scope.row)" size="small">删除</el-button>
|
|
|
+ <el-button class="rmScs" v-if="withColumnSet" type="text" size="small" @click="handleColumnSet(scope.row)">列设置</el-button>
|
|
|
+ <el-button class="rmScs" v-if="withItemSet" type="text" size="small" @click="handleItemSet(scope.row)">数据项</el-button>
|
|
|
+ <el-button class="rmScser" v-if="withlodSet" type="text" size="small" @click="handlelodSet(scope.row)">航站设置</el-button>
|
|
|
+ <el-button class="rmScser" v-if="withnodeSet" type="text" size="small" @click="handlenodeSet(scope.row)">节点设置</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -157,38 +67,16 @@
|
|
|
<div class="dialog-content">
|
|
|
<div class="title">{{ tableTitle }}</div>
|
|
|
<div class="content">
|
|
|
- <el-form
|
|
|
- ref="ruleForm"
|
|
|
- :model="tableForm"
|
|
|
- :label-width="labelWidth"
|
|
|
- >
|
|
|
+ <el-form ref="ruleForm" :model="tableForm" :label-width="labelWidth">
|
|
|
<el-row :gutter="20">
|
|
|
- <el-col
|
|
|
- v-for="(item, index) in tableColsCopy"
|
|
|
- :key="index"
|
|
|
- :span="rows"
|
|
|
- >
|
|
|
+ <el-col v-for="(item, index) in tableColsCopy" :key="index" :span="rows">
|
|
|
<el-form-item :label="item.columnLabel">
|
|
|
- <template
|
|
|
- v-if="
|
|
|
+ <template v-if="
|
|
|
item.listqueryTemplateID ||
|
|
|
item.listqueryTemplateID == 0
|
|
|
- "
|
|
|
- >
|
|
|
- <el-select
|
|
|
- size="small"
|
|
|
- clearable
|
|
|
- style="width: 100%"
|
|
|
- v-model="tableForm[item.columnName]"
|
|
|
- @change="changeSelect(item.columnName)"
|
|
|
- placeholder="请选择"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in tableOptions[item.columnName]"
|
|
|
- :key="item.v"
|
|
|
- :label="item.k"
|
|
|
- :value="item.v"
|
|
|
- >
|
|
|
+ ">
|
|
|
+ <el-select size="small" clearable style="width: 100%" v-model="tableForm[item.columnName]" @change="changeSelect(item.columnName)" placeholder="请选择">
|
|
|
+ <el-option v-for="item in tableOptions[item.columnName]" :key="item.v" :label="item.k" :value="item.v">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
@@ -196,11 +84,7 @@
|
|
|
<el-input size="small" :rows="1" type="textarea" v-model="tableForm[item.columnName]"></el-input>
|
|
|
</template> -->
|
|
|
<template v-else>
|
|
|
- <el-input
|
|
|
- size="small"
|
|
|
- v-model="tableForm[item.columnName]"
|
|
|
- @change="inputChangeHandler(item.columnName)"
|
|
|
- ></el-input>
|
|
|
+ <el-input size="small" v-model="tableForm[item.columnName]" @change="inputChangeHandler(item.columnName)"></el-input>
|
|
|
</template>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -208,13 +92,7 @@
|
|
|
</el-form>
|
|
|
</div>
|
|
|
<div class="foot right t30">
|
|
|
- <el-button
|
|
|
- size="medium"
|
|
|
- @click="handleOk"
|
|
|
- class="r24"
|
|
|
- type="primary"
|
|
|
- >确定</el-button
|
|
|
- >
|
|
|
+ <el-button size="medium" @click="handleOk" class="r24" type="primary">确定</el-button>
|
|
|
<el-button @click="flag = false" size="medium">取消</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -223,20 +101,11 @@
|
|
|
<div class="airportInfoDialog">
|
|
|
<div class="title del-title">删除</div>
|
|
|
<div class="content del-content">
|
|
|
- <span class="el-icon-error error r10"></span>您是否确认删除<span
|
|
|
- class="error l10"
|
|
|
- >{{ rmTitle }}</span
|
|
|
- >
|
|
|
+ <span class="el-icon-error error r10"></span>您是否确认删除<span class="error l10">{{ rmTitle }}</span>
|
|
|
?
|
|
|
</div>
|
|
|
<div class="foot right Delfoot t30">
|
|
|
- <el-button
|
|
|
- size="medium"
|
|
|
- class="r24"
|
|
|
- @click="tableRemove"
|
|
|
- type="danger"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
+ <el-button size="medium" class="r24" @click="tableRemove" type="danger">删除</el-button>
|
|
|
<el-button size="medium" @click="rmFlag = false">取消</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -270,6 +139,11 @@ export default {
|
|
|
type: Object,
|
|
|
default: () => ({}),
|
|
|
},
|
|
|
+ //是否显示状态
|
|
|
+ isStatus: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false,
|
|
|
+ },
|
|
|
//弹框宽度
|
|
|
width: {
|
|
|
type: String,
|
|
@@ -306,7 +180,7 @@ export default {
|
|
|
},
|
|
|
marginTop: {
|
|
|
type: String,
|
|
|
- default: "20px",
|
|
|
+ default: "0px",
|
|
|
},
|
|
|
// 是否可选中行
|
|
|
selectionEnable: {
|
|
@@ -345,7 +219,7 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
components: { Dialog, NoData },
|
|
|
- data() {
|
|
|
+ data () {
|
|
|
return {
|
|
|
loading: false,
|
|
|
flag: false,
|
|
@@ -375,7 +249,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
- dataTableContentStyle() {
|
|
|
+ dataTableContentStyle () {
|
|
|
const style = {};
|
|
|
if (this.minHeight) {
|
|
|
style["min-height"] = this.minHeight;
|
|
@@ -386,7 +260,7 @@ export default {
|
|
|
return style;
|
|
|
},
|
|
|
//设置表头-下拉-箭头样式
|
|
|
- arrowClass() {
|
|
|
+ arrowClass () {
|
|
|
return function (prop) {
|
|
|
let classString = "";
|
|
|
if (this.colShowFilter === prop) {
|
|
@@ -403,7 +277,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
//设置表头-下拉-选中数据
|
|
|
- filteredTableData() {
|
|
|
+ filteredTableData () {
|
|
|
return this.tableData.filter((item) => {
|
|
|
let flag = true;
|
|
|
Object.entries(this.filterValues).forEach(([key, value]) => {
|
|
@@ -417,7 +291,7 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
dataContent: {
|
|
|
- handler(val) {
|
|
|
+ handler (val) {
|
|
|
if (val) {
|
|
|
console.log(val);
|
|
|
if (val.companyID) {
|
|
@@ -429,26 +303,26 @@ export default {
|
|
|
deep: true,
|
|
|
},
|
|
|
},
|
|
|
- mounted() {
|
|
|
+ mounted () {
|
|
|
this.getQuery();
|
|
|
},
|
|
|
- updated() {
|
|
|
+ updated () {
|
|
|
this.$refs["table"]?.doLayout();
|
|
|
},
|
|
|
methods: {
|
|
|
- load() {
|
|
|
+ load () {
|
|
|
// console.log("分页");
|
|
|
if (this.noMore || this.loading) {
|
|
|
return;
|
|
|
}
|
|
|
this.getQuery();
|
|
|
},
|
|
|
- resetTable() {
|
|
|
+ resetTable () {
|
|
|
this.page = 0;
|
|
|
this.noMore = false;
|
|
|
this.tableData = [];
|
|
|
},
|
|
|
- changeSelect(data) {
|
|
|
+ changeSelect (data) {
|
|
|
if (this.tableForm[data] === "") {
|
|
|
this.tableForm[data] = null;
|
|
|
}
|
|
@@ -456,13 +330,13 @@ export default {
|
|
|
this.tableForm[data];
|
|
|
// console.log(this.tableForm)
|
|
|
},
|
|
|
- inputChangeHandler(data) {
|
|
|
+ inputChangeHandler (data) {
|
|
|
if (this.tableForm[data] === "") {
|
|
|
this.tableForm[data] = null;
|
|
|
}
|
|
|
},
|
|
|
//获取表格数据
|
|
|
- async getQuery() {
|
|
|
+ async getQuery () {
|
|
|
try {
|
|
|
this.loading = true;
|
|
|
const { code, returnData } = await Query({
|
|
@@ -501,7 +375,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//表格-增/删/改
|
|
|
- async generalDataReception(data) {
|
|
|
+ async generalDataReception (data) {
|
|
|
try {
|
|
|
data = {
|
|
|
...data,
|
|
@@ -535,17 +409,17 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 表格勾选
|
|
|
- toggleRowSelection(row, isSelected) {
|
|
|
+ toggleRowSelection (row, isSelected) {
|
|
|
this.$refs["table"].toggleRowSelection(row, isSelected);
|
|
|
},
|
|
|
// 表格初始勾选
|
|
|
- selectTableRows(tableData, selectFlagName) {
|
|
|
+ selectTableRows (tableData, selectFlagName) {
|
|
|
tableData.forEach((row) => {
|
|
|
this.$refs["table"].toggleRowSelection(row, !!row[selectFlagName]);
|
|
|
});
|
|
|
},
|
|
|
//初始化表格
|
|
|
- initTableData() {
|
|
|
+ initTableData () {
|
|
|
this.tableColsCopy = this.tableCols.filter((item) => item.needShow);
|
|
|
// console.log(this.tableColsCopy);
|
|
|
// debugger;
|
|
@@ -574,7 +448,7 @@ export default {
|
|
|
// this.getSelectDataAll(reqUts)
|
|
|
},
|
|
|
//获取所有获取弹框-下拉数据-请求状态
|
|
|
- getSelectDataAll(reqUts) {
|
|
|
+ getSelectDataAll (reqUts) {
|
|
|
Promise.all(reqUts)
|
|
|
.then((res) => {
|
|
|
this.proAll = true;
|
|
@@ -584,7 +458,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
//获取弹框-下拉数据
|
|
|
- async getSelectData(id) {
|
|
|
+ async getSelectData (id) {
|
|
|
const { code, returnData } = await Query({
|
|
|
id,
|
|
|
dataContent: [],
|
|
@@ -596,7 +470,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//重组table-显示名称
|
|
|
- setTable() {
|
|
|
+ setTable () {
|
|
|
this.tableArrs.forEach((item) => {
|
|
|
this.tableOptions[item].forEach((p) => {
|
|
|
this.tableDataCopy.forEach((msg) => {
|
|
@@ -615,7 +489,7 @@ export default {
|
|
|
this.tableData = this.tableDataCopy;
|
|
|
},
|
|
|
//分组
|
|
|
- tableGroup(tableData) {
|
|
|
+ tableGroup (tableData) {
|
|
|
const spanArr = [];
|
|
|
let pos = 0;
|
|
|
let ifYj = this.tableGroups[0];
|
|
@@ -635,14 +509,14 @@ export default {
|
|
|
this.spanArr = spanArr;
|
|
|
this.pos = pos;
|
|
|
},
|
|
|
- popoverShowHandler(prop) {
|
|
|
+ popoverShowHandler (prop) {
|
|
|
this.colShowFilter = prop;
|
|
|
},
|
|
|
- popoverHideHandler() {
|
|
|
+ popoverHideHandler () {
|
|
|
this.colShowFilter = "";
|
|
|
},
|
|
|
//分组
|
|
|
- tableSpanMethod({ row, column, rowIndex, columnIndex }) {
|
|
|
+ tableSpanMethod ({ row, column, rowIndex, columnIndex }) {
|
|
|
if (this.tableGroups.includes(column["property"])) {
|
|
|
const _row = this.spanArr[rowIndex];
|
|
|
const _col = _row > 0 ? 1 : 0;
|
|
@@ -653,7 +527,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//合计
|
|
|
- getSummaries(param) {
|
|
|
+ getSummaries (param) {
|
|
|
const { columns, data } = param;
|
|
|
const sums = [];
|
|
|
columns.forEach((column, index) => {
|
|
@@ -677,15 +551,15 @@ export default {
|
|
|
return sums;
|
|
|
},
|
|
|
//弹框-确定
|
|
|
- handleOk() {
|
|
|
+ handleOk () {
|
|
|
this.submitClickHandler();
|
|
|
},
|
|
|
//滚动
|
|
|
- tableLoad() {
|
|
|
+ tableLoad () {
|
|
|
console.log("d");
|
|
|
},
|
|
|
//表格-新增
|
|
|
- handleAdd() {
|
|
|
+ handleAdd () {
|
|
|
// this.flag = true;
|
|
|
// this.tableType = "add";
|
|
|
// this.tableTitle = "新增";
|
|
@@ -721,7 +595,7 @@ export default {
|
|
|
// console.log(this.tableOptions);
|
|
|
},
|
|
|
//表格-编辑
|
|
|
- async handleEdit(row) {
|
|
|
+ async handleEdit (row) {
|
|
|
if (this.isDialog) {
|
|
|
if (this.editId) {
|
|
|
let data = await this.queryOriginRow(
|
|
@@ -761,7 +635,7 @@ export default {
|
|
|
this.$emit("handleEdit", row);
|
|
|
}
|
|
|
},
|
|
|
- async queryOriginRow(editId, queryTemplateColumnSetID) {
|
|
|
+ async queryOriginRow (editId, queryTemplateColumnSetID) {
|
|
|
try {
|
|
|
const { code, returnData } = await Query({
|
|
|
id: editId,
|
|
@@ -777,11 +651,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//表格-跳转
|
|
|
- handleHerf(row) {
|
|
|
+ handleHerf (row) {
|
|
|
alert("跳转");
|
|
|
},
|
|
|
// 新增/编辑-确认
|
|
|
- submitClickHandler() {
|
|
|
+ submitClickHandler () {
|
|
|
this.$refs["ruleForm"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
if (this.tableType == "add") {
|
|
@@ -796,19 +670,19 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
//表格-删除
|
|
|
- handleRemove(row) {
|
|
|
+ handleRemove (row) {
|
|
|
this.rmFlag = true;
|
|
|
// this.rmTitle = row.className || row.username || row.serviceName || row.queryTemplateName;
|
|
|
this.rmTitle = row[this.rowTitle];
|
|
|
this.tableObj = row;
|
|
|
},
|
|
|
//表格-删除-确认
|
|
|
- tableRemove() {
|
|
|
+ tableRemove () {
|
|
|
this.tableObj.event = 3;
|
|
|
this.generalDataReception(this.tableObj);
|
|
|
},
|
|
|
// 表格-跳转列设置页
|
|
|
- handleColumnSet(row) {
|
|
|
+ handleColumnSet (row) {
|
|
|
this.$router.push({
|
|
|
path: "/systemSettings/queryTemplateChild",
|
|
|
query: {
|
|
@@ -817,7 +691,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 表格-跳转数据项设置页
|
|
|
- handleItemSet(row) {
|
|
|
+ handleItemSet (row) {
|
|
|
this.$router.push({
|
|
|
path: "/systemSettings/datastructureChild",
|
|
|
query: {
|
|
@@ -826,7 +700,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 表格-跳转航站设置页
|
|
|
- handlelodSet(row) {
|
|
|
+ handlelodSet (row) {
|
|
|
this.$router.push({
|
|
|
path: "/BasicsData/airportInfoChild",
|
|
|
query: {
|
|
@@ -835,7 +709,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 表格-节点置页
|
|
|
- handlenodeSet(row) {
|
|
|
+ handlenodeSet (row) {
|
|
|
this.$router.push({
|
|
|
path: "/BasicsData/deployNodeChild",
|
|
|
query: {
|
|
@@ -844,7 +718,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 表格-选中行
|
|
|
- selectHandler(selection, row) {
|
|
|
+ selectHandler (selection, row) {
|
|
|
this.$emit("selection-change", selection, row);
|
|
|
},
|
|
|
},
|
|
@@ -854,8 +728,8 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
|
.data-table {
|
|
|
width: 100%;
|
|
|
- background-color: #fff;
|
|
|
- padding: 20px;
|
|
|
+ // background-color: #fff;
|
|
|
+ // padding: 20px;
|
|
|
::v-deep .table {
|
|
|
width: 100%;
|
|
|
.cell {
|
|
@@ -981,6 +855,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.data-table-btn {
|
|
|
+ line-height: 32px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
}
|