页面优化

This commit is contained in:
BianLzhaoMin 2024-07-29 14:19:06 +08:00
parent 94327108e2
commit c30d7aa355
2 changed files with 139 additions and 144 deletions

View File

@ -80,6 +80,7 @@
</el-form>
<el-table
v-loading="loading"
:data="agreementList"
border
@selection-change="handleSelectionChange"
@ -211,13 +212,9 @@ export default {
data() {
return {
//
// loading: true,
loading: false,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
@ -330,8 +327,6 @@ export default {
//
handleSelectionChange(selection) {
this.ids = selection.map((item) => item)
this.single = selection.length != 1
this.multiple = !selection.length
},
/** 批量导出月结明细表 */

View File

@ -160,15 +160,15 @@
</template>
<script>
import TableModel from '@/components/TableModel'
import DialogModel from '@/components/DialogModel'
import { config, dialogConfig, getSelList } from './config'
import {
import TableModel from '@/components/TableModel'
import DialogModel from '@/components/DialogModel'
import { config, dialogConfig, getSelList } from './config'
import {
getForecastWasteListApi,
getDialogListApi,
auditingPreScrapApi,
} from '@/api/scrap/forecastWaste.js'
export default {
} from '@/api/scrap/forecastWaste.js'
export default {
name: 'Inventory',
components: {
TableModel,
@ -254,7 +254,7 @@
/* 审核驳回 */
async auditingReject() {
if (this.tbAllChecked) {
this.$message.error('当前没有可审核的装备')
this.$message.error('当前页面没有可审核的装备')
this.dialogConfig.outerVisible = false
return
}
@ -315,5 +315,5 @@
deep: true,
},
},
}
}
</script>