页面优化
This commit is contained in:
parent
94327108e2
commit
c30d7aa355
|
|
@ -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
|
||||
},
|
||||
|
||||
/** 批量导出月结明细表 */
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue