This commit is contained in:
yangjiahang
2020-02-08 16:18:50 +08:00
parent 76db4ae54a
commit b4ab7b62bc
40 changed files with 460 additions and 145 deletions

View File

@@ -27,8 +27,8 @@
<!-- size="small"-->
<!-- type="date"-->
<!-- placeholder="请选择结束日期"/>-->
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="ADD()">新增</el-button>
<el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSize = 30;PageCurrent = 1;fetchTableData1()" >查询</el-button>
<el-button class="button111" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="ADD()" >新增</el-button>
</div>
</el-card>
<el-card>
@@ -91,22 +91,23 @@
</el-table-column>
<el-table-column align="center" label="合同编号" prop="合同编号" width="130">
<template slot-scope="scope">
<template>
<el-popover
placement="right"
width="200"
trigger="hover">
<div v-show="!scope.row.招标企业" style="text-align: center">
<h4 style="margin: 5px 0">未缴纳投标保证金</h4>
</div>
<div v-show="scope.row.招标企业">
<h4>招标企业 {{ scope.row.招标企业 }}</h4>
<h4>投标保证金金额 {{ scope.row.保证金金额 }}</h4>
<h4>是否收回 {{ parseInt(scope.row.是否收回) === 1 ? '未收回' : '已收回' }}</h4>
</div>
<el-tag slot="reference" size="mini">{{ scope.row.合同编号 }}</el-tag>
</el-popover>
</template>
{{ scope.row.合同编号 }}
<!-- <template>-->
<!-- <el-popover-->
<!-- placement="right"-->
<!-- width="200"-->
<!-- trigger="hover">-->
<!-- <div v-show="!scope.row.招标企业" style="text-align: center">-->
<!-- <h4 style="margin: 5px 0">未缴纳投标保证金</h4>-->
<!-- </div>-->
<!-- <div v-show="scope.row.招标企业">-->
<!-- <h4>招标企业 {{ scope.row.招标企业 }}</h4>-->
<!-- <h4>投标保证金金额 {{ scope.row.保证金金额 }}</h4>-->
<!-- <h4>是否收回 {{ parseInt(scope.row.是否收回) === 1 ? '未收回' : '已收回' }}</h4>-->
<!-- </div>-->
<!-- <el-tag slot="reference" size="mini">{{ scope.row.合同编号 }}</el-tag>-->
<!-- </el-popover>-->
<!-- </template>-->
</template>
</el-table-column>
<el-table-column align="center" label="客户名称" prop="客户名称" width="190" show-overflow-tooltip>
@@ -174,7 +175,7 @@
{{ scope.row.合同信息备注 }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="170">
<el-table-column label="操作" align="center" width="300">
<template slot-scope="scope">
<el-button
size="mini"
@@ -188,7 +189,7 @@
type="text"
icon="el-icon-edit-outline"
style="margin-left: 20px"
@click.stop="handleEdit(scope.row)"/>
@click.stop="handleEdit(scope.row)">修改</el-button>
</div>
</el-tooltip>
<el-tooltip :open-delay="1000" effect="dark" content="删除" placement="top">
@@ -198,7 +199,7 @@
type="text"
icon="el-icon-delete"
style="margin-left: 20px"
@click.stop="handleDelete(scope.row)"/>
@click.stop="handleDelete(scope.row)">删除</el-button>
</div>
</el-tooltip>
</template>
@@ -1385,9 +1386,25 @@ a{
tr.el-table__row td {
background-color: #d8e5f6 !important;
}
tr.el-table__row.el-table__row--striped td {
background: #e9f0f9 !important;
}
}
</style>
<style lang="scss">
.button111{
background:rgb(253,246,236);
border-color: #ff9759;
color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
color: white;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
color: white;
}
}
</style>