|
|
@ -57,12 +57,13 @@ |
|
|
|
clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button class="diy-button--search" |
|
|
|
size="small" |
|
|
|
@click="handleSearch">查询</el-button> |
|
|
|
<el-button class="diy-button--reset" |
|
|
|
<el-button class="diy-button--blue" |
|
|
|
size="small" |
|
|
|
@click="resetForm('searchForm')">重置</el-button> |
|
|
|
<el-button class="diy-button--white" |
|
|
|
size="small" |
|
|
|
@click="handleSearch">查询</el-button> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
@ -70,10 +71,10 @@ |
|
|
|
<el-card class="resi-card-table"> |
|
|
|
|
|
|
|
<div class="resi-row-btn"> |
|
|
|
<el-button class="diy-button--add" |
|
|
|
<el-button class="diy-button--blue" |
|
|
|
size="small" |
|
|
|
@click="handleAdd">新增</el-button> |
|
|
|
<el-button class="diy-button--export" |
|
|
|
<el-button class="diy-button--white" |
|
|
|
size="small" |
|
|
|
@click="handleExportModule('room')">下载模板</el-button> |
|
|
|
<el-upload :headers="$getElUploadHeaders()" |
|
|
@ -89,10 +90,10 @@ |
|
|
|
:before-upload="beforeExcelUpload" |
|
|
|
:http-request="uploadHttpRequest"> |
|
|
|
<el-button size="small" |
|
|
|
class="diy-button--delete" |
|
|
|
class="diy-button--blue" |
|
|
|
:loading="importLoading">{{importBtnTitle}}</el-button> |
|
|
|
</el-upload> |
|
|
|
<el-button class="diy-button--reset" |
|
|
|
<el-button class="diy-button--white" |
|
|
|
size="small" |
|
|
|
:loading="exportBtn" |
|
|
|
@click="handleExport">{{ exportBtnTitle }}</el-button> |
|
|
@ -132,7 +133,7 @@ |
|
|
|
<el-button @click="handleEdit(scope.row, 'edit')" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
class="btn-color-edit">修改</el-button> |
|
|
|
class="btn-color-edit">编辑</el-button> |
|
|
|
<el-popconfirm title="删除之后无法恢复,确认删除?" |
|
|
|
@onConfirm="handleDel(scope.row)"> |
|
|
|
<el-button slot="reference" |
|
|
@ -878,23 +879,11 @@ export default { |
|
|
|
@import "@/assets/scss/buttonstyle.scss"; |
|
|
|
|
|
|
|
.resi-container .resi-card-table { |
|
|
|
::v-deep .el-table th { |
|
|
|
color: #fff; |
|
|
|
background-color: rgba(33, 149, 254, 1); |
|
|
|
// border-right: 1px solid rgba(33, 149, 254, 1); |
|
|
|
} |
|
|
|
} |
|
|
|
.resi-table { |
|
|
|
::v-deep .el-button--text { |
|
|
|
text-decoration: underline; |
|
|
|
} |
|
|
|
::v-deep .btn-color-del { |
|
|
|
margin-left: 10px; |
|
|
|
color: rgba(213, 16, 16, 1); |
|
|
|
} |
|
|
|
::v-deep .btn-color-edit { |
|
|
|
color: rgba(0, 167, 169, 1); |
|
|
|
} |
|
|
|
// ::v-deep .el-table th { |
|
|
|
// color: #fff; |
|
|
|
// background-color: rgba(33, 149, 254, 1); |
|
|
|
// // border-right: 1px solid rgba(33, 149, 254, 1); |
|
|
|
// } |
|
|
|
} |
|
|
|
.form-wr { |
|
|
|
.input-width { |
|
|
@ -987,4 +976,7 @@ export default { |
|
|
|
margin-top: 20px; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
.btn-color-del{ |
|
|
|
margin-left: 10px; |
|
|
|
} |
|
|
|
</style> |
|
|
|