表格功能优化
This commit is contained in:
parent
446e57743b
commit
a16784a3d5
|
|
@ -58,7 +58,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<!-- 表格 -->
|
<!-- 表格 -->
|
||||||
<el-card class="table-card" :style="tableCardStyle">
|
<el-card class="table-card" :style="isShowtableCardStyle ? tableCardStyle : ''">
|
||||||
<!-- 表格头部插槽 -->
|
<!-- 表格头部插槽 -->
|
||||||
<div class="table-header" v-if="$slots.tableTitle || $slots.tableActions">
|
<div class="table-header" v-if="$slots.tableTitle || $slots.tableActions">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
|
|
@ -229,6 +229,11 @@ export default {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true,
|
default: true,
|
||||||
},
|
},
|
||||||
|
isShowtableCardStyle:{
|
||||||
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
/* 根据操作栏控制表头是否显示 */
|
/* 根据操作栏控制表头是否显示 */
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
|
<!-- 标段解析 -->
|
||||||
<div class="analysis-detail-container">
|
<div class="analysis-detail-container">
|
||||||
<div class="content-header">
|
<div class="content-header">
|
||||||
<el-button class="reset-btn" @click="handleClose">返回</el-button>
|
<el-button class="reset-btn" @click="handleClose">返回</el-button>
|
||||||
|
|
@ -78,7 +79,7 @@
|
||||||
<TableModel :showSearch="false" :showOperation="false" :showRightTools="false"
|
<TableModel :showSearch="false" :showOperation="false" :showRightTools="false"
|
||||||
ref="detailTableRef" :columnsList="detailColumnsList" :request-api="listAPI"
|
ref="detailTableRef" :columnsList="detailColumnsList" :request-api="listAPI"
|
||||||
:sendParams="sendParams" :handleColWidth="180" :isRadioShow="true"
|
:sendParams="sendParams" :handleColWidth="180" :isRadioShow="true"
|
||||||
@radio-change="handleRadioChange" :indexNumShow="false">
|
@radio-change="handleRadioChange" :indexNumShow="false" :isShowtableCardStyle="false">
|
||||||
<template slot="tableTitle">
|
<template slot="tableTitle">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<img src="@/assets/enterpriseLibrary/basic-info.png" alt="标的信息">
|
<img src="@/assets/enterpriseLibrary/basic-info.png" alt="标的信息">
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<!-- 招标解析标段 -->
|
<!-- 查看标段 -->
|
||||||
<el-card class="analysis-container">
|
<el-card class="analysis-container">
|
||||||
<div class="back-container">
|
<div class="back-container">
|
||||||
<el-button type="default" size="small" @click="handleBack" class="back-btn">
|
<el-button type="default" size="small" @click="handleBack" class="back-btn">
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
:request-api="listAPI"
|
:request-api="listAPI"
|
||||||
:sendParams="sendParams"
|
:sendParams="sendParams"
|
||||||
:handleColWidth="200"
|
:handleColWidth="200"
|
||||||
|
:isShowtableCardStyle="false"
|
||||||
>
|
>
|
||||||
<template slot="tableTitle">
|
<template slot="tableTitle">
|
||||||
<h3>数据列表</h3>
|
<h3>数据列表</h3>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
|
<!-- 查看 -->
|
||||||
<div class="analysis-detail-container">
|
<div class="analysis-detail-container">
|
||||||
<div class="content-header">
|
<div class="content-header">
|
||||||
<el-button class="reset-btn" @click="handleClose">返回</el-button>
|
<el-button class="reset-btn" @click="handleClose">返回</el-button>
|
||||||
|
|
@ -68,7 +69,7 @@
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<TableModel :showSearch="false" :showOperation="true" :showRightTools="false" ref="detailTableRef"
|
<TableModel :showSearch="false" :showOperation="true" :showRightTools="false" ref="detailTableRef"
|
||||||
:columnsList="detailColumnsList" :request-api="listAPI" :sendParams="sendParams"
|
:columnsList="detailColumnsList" :request-api="listAPI" :sendParams="sendParams"
|
||||||
:handleColWidth="180">
|
:handleColWidth="180" :isShowtableCardStyle="false">
|
||||||
<template slot="tableTitle">
|
<template slot="tableTitle">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<img src="@/assets/enterpriseLibrary/basic-info.png" alt="标的信息">
|
<img src="@/assets/enterpriseLibrary/basic-info.png" alt="标的信息">
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
标段解析
|
标段解析
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="text" v-hasPermi="['enterpriseLibrary:analysis:detail']" class="action-btn"
|
<el-button type="text" v-hasPermi="['enterpriseLibrary:analysis:detail']" class="action-btn"
|
||||||
@click="handleBidDetail(data)">
|
@click="handleBidListDetail(data)">
|
||||||
查看标段
|
查看标段
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="text" v-hasPermi="['enterpriseLibrary:tool:del']" class="action-btn"
|
<el-button type="text" v-hasPermi="['enterpriseLibrary:tool:del']" class="action-btn"
|
||||||
|
|
@ -124,14 +124,14 @@ export default {
|
||||||
/** 标段解析操作 */
|
/** 标段解析操作 */
|
||||||
handleBidDetail(row) {
|
handleBidDetail(row) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AnalysisBidIndex',
|
name: 'AnalysisBidDetail',
|
||||||
query: {
|
query: {
|
||||||
proId: encryptWithSM4('2')
|
proId: encryptWithSM4('2')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/** 查看标段操作 */
|
/** 查看标段操作 */
|
||||||
handleBidDetail(row) {
|
handleBidListDetail(row) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AnalysisBidIndex',
|
name: 'AnalysisBidIndex',
|
||||||
query: {
|
query: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue