系统升级管理 页面 10%
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<el-button icon="el-icon-Check" type="primary" @click="add">批量升级</el-button>
|
||||
</template>
|
||||
</TableHeader>
|
||||
<div :style="{ height: pageHeight.height }">
|
||||
<div :style="`height: calc(${tableStore.table.height} + 58px)`">
|
||||
<vxe-table
|
||||
v-loading="tableStore.table.loading"
|
||||
height="auto"
|
||||
@@ -122,7 +122,7 @@
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="updateTime" title="最新升级时间"></vxe-column>
|
||||
<vxe-column field="updateBy" title="升级人员">
|
||||
<vxe-column title="操作" min-width="100">
|
||||
<template #default="{ row }">
|
||||
<el-button v-if="row.level == 4" type="primary" size="small" link @click="updateprogram(row)">
|
||||
升级
|
||||
@@ -215,12 +215,12 @@ import TableStore from '@/utils/tableStore'
|
||||
import { defaultAttribute } from '@/components/table/defaultAttribute'
|
||||
import TableHeader from '@/components/table/header/index.vue'
|
||||
import { mainHeight } from '@/utils/layout'
|
||||
import { getTerminalUpLog } from '@/api/Business/index.ts'
|
||||
import { getTerminalUpLog } from '@/api/Business'
|
||||
import XEUtils from 'xe-utils'
|
||||
import { debounce } from 'lodash-es'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
defineOptions({
|
||||
name: 'ProgramManagement'
|
||||
name: 'BusinessAdministrator/TerminalManagement/ProgramManagement'
|
||||
})
|
||||
|
||||
const pageHeight = mainHeight(83)
|
||||
@@ -331,7 +331,7 @@ const searchEvent = debounce(e => {
|
||||
const searchProps = ['name']
|
||||
const rest = XEUtils.searchTree(
|
||||
tableStore.table.data,
|
||||
item => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1),
|
||||
(item:any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1),
|
||||
options
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user