测试项添加修改
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
>
|
||||
模版数据分组
|
||||
</el-button> -->
|
||||
<el-button icon="el-icon-Refresh" @click="handleRestartDevice" type="primary"
|
||||
<el-button icon="el-icon-Refresh" v-if="showButtom" @click="handleRestartDevice" type="primary"
|
||||
:loading="deviceRestartLoading">
|
||||
装置重启
|
||||
</el-button>
|
||||
@@ -94,12 +94,13 @@ import { useAdminInfo } from '@/stores/adminInfo'
|
||||
import { passwordConfirm } from '@/api/user-boot/user'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import {
|
||||
|
||||
reStartDevice,
|
||||
|
||||
} from '@/api/cs-device-boot/fileService'
|
||||
import { defaultAttribute } from '@/components/table/defaultAttribute'
|
||||
const pageHeight = mainHeight(20)
|
||||
const adminInfo = useAdminInfo()
|
||||
const showButtom = ref(adminInfo.roleCode.includes('operation_manager') || adminInfo.roleCode.includes('root'))
|
||||
|
||||
const loading = ref(true)
|
||||
const nDid = ref<string>('')
|
||||
const tableLoading = ref(false)
|
||||
@@ -261,8 +262,8 @@ const handleRestartDevice = () => {
|
||||
})
|
||||
}
|
||||
const exportData = () => {
|
||||
|
||||
|
||||
|
||||
|
||||
xTableRef.value.exportData({
|
||||
filename: deviceData.value.dataSetList.filter((item: any) => item.id == dataSet.value)[0]?.name, // 文件名字
|
||||
sheetName: 'Sheet1',
|
||||
|
||||
Reference in New Issue
Block a user