This commit is contained in:
sjl
2024-11-14 18:26:34 +08:00
parent 65cb7826d3
commit 87fe66da3e
42 changed files with 188 additions and 204 deletions

View File

@@ -128,7 +128,7 @@ const router = useRouter();
const value1 = ref("");
const value2 = ref("");
const tableHeight = ref(0);
console.log(window.innerHeight, "+++++++++");
//console.log(window.innerHeight, "+++++++++");
tableHeight.value = window.innerHeight - 630;
const deviceData = deviceDataList.plan_devicedata
const operationShow = ref(false);
@@ -329,7 +329,7 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
label: '归档状态',
minWidth: 100,
},
{ prop: 'operation', label: '操作', fixed: 'right', minWidth: 150 ,isShow: operationShow},
{ prop: 'operation', label: '操作', fixed: 'right', minWidth: 200 ,isShow: operationShow},
])
// 表格配置项
@@ -510,8 +510,8 @@ const sortTable = ({
newIndex?: number;
oldIndex?: number;
}) => {
console.log(newIndex, oldIndex);
console.log(proTable.value?.tableData);
//console.log(newIndex, oldIndex);
//console.log(proTable.value?.tableData);
ElMessage.success("修改列表排序成功");
};
@@ -555,7 +555,7 @@ const changeStatus = async (row: User.ResUserList) => {
const changeActiveTabs = (val: number) => {
form.value.activeTabs = val;
tableHeaderInit(val)
console.log(form,val,666)
//console.log(form,val,666)
};
//根据当前功能,初始化表头下拉框中的默认值和禁用值
@@ -674,7 +674,7 @@ const openDrawer = (title: string, row: any) => {
}
onMounted(() => {
console.log(proTable.value?.tableData);
//console.log(proTable.value?.tableData);
});
defineExpose({ changeActiveTabs });
</script>