页面优化
This commit is contained in:
parent
94327108e2
commit
c30d7aa355
|
|
@ -80,6 +80,7 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
|
v-loading="loading"
|
||||||
:data="agreementList"
|
:data="agreementList"
|
||||||
border
|
border
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
|
|
@ -211,13 +212,9 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
// loading: true,
|
loading: false,
|
||||||
// 选中数组
|
// 选中数组
|
||||||
ids: [],
|
ids: [],
|
||||||
// 非单个禁用
|
|
||||||
single: true,
|
|
||||||
// 非多个禁用
|
|
||||||
multiple: true,
|
|
||||||
// 显示搜索条件
|
// 显示搜索条件
|
||||||
showSearch: true,
|
showSearch: true,
|
||||||
// 总条数
|
// 总条数
|
||||||
|
|
@ -330,8 +327,6 @@ export default {
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
this.ids = selection.map((item) => item)
|
this.ids = selection.map((item) => item)
|
||||||
this.single = selection.length != 1
|
|
||||||
this.multiple = !selection.length
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/** 批量导出月结明细表 */
|
/** 批量导出月结明细表 */
|
||||||
|
|
|
||||||
|
|
@ -254,7 +254,7 @@
|
||||||
/* 审核驳回 */
|
/* 审核驳回 */
|
||||||
async auditingReject() {
|
async auditingReject() {
|
||||||
if (this.tbAllChecked) {
|
if (this.tbAllChecked) {
|
||||||
this.$message.error('当前已没有可审核的装备')
|
this.$message.error('当前页面没有可审核的装备')
|
||||||
this.dialogConfig.outerVisible = false
|
this.dialogConfig.outerVisible = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue