微调
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -66,7 +66,7 @@ watch(
|
||||
},
|
||||
)
|
||||
const handleNodeClick = (data) => {
|
||||
console.log(data)
|
||||
// console.log(data)
|
||||
updateSelectedTreeNode()
|
||||
}
|
||||
const filterNode = (value: string, data) => {
|
||||
@@ -78,7 +78,7 @@ const detail = () => {
|
||||
router.push('/plan')
|
||||
}
|
||||
onMounted(() => {
|
||||
console.log()
|
||||
// console.log()
|
||||
})
|
||||
defineExpose({ getTreeData })
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user