微调
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>
|
||||
|
||||
@@ -38,7 +38,7 @@ import model from "./tabs/model.vue";
|
||||
import dashboard from "./tabs/dashboard.vue";
|
||||
import { onMounted } from "vue";
|
||||
const authStore = useAuthStore();
|
||||
console.log(authStore.showMenuFlagGet, "????????????????33333333");
|
||||
|
||||
const activeIndex = ref("1-1");
|
||||
const router = useRouter();
|
||||
const modeList = [
|
||||
@@ -74,10 +74,10 @@ const handelOpen = async (isActive: any) => {
|
||||
}
|
||||
};
|
||||
const handleSelect = (key: string, keyPath: string[]) => {
|
||||
console.log(key, keyPath);
|
||||
//console.log(key, keyPath);
|
||||
};
|
||||
onMounted(() => {
|
||||
console.log();
|
||||
//console.log();
|
||||
});
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@@ -126,13 +126,13 @@ const tabShow= ref(false);
|
||||
const tabLabel1 = ref('自动检测')
|
||||
const editableTabsValue = ref('0')
|
||||
const handleChange = (val: string[]) => {
|
||||
console.log(val)
|
||||
// console.log(val)
|
||||
}
|
||||
|
||||
const handleTabsChange = (val) => {
|
||||
form.value.activeTabs = 0;
|
||||
form.value.activeTabs = 3;
|
||||
console.log(val)
|
||||
// console.log(val)
|
||||
}
|
||||
localStorage.setItem("color", "red");
|
||||
//功能选择数据
|
||||
@@ -279,7 +279,7 @@ const planDetail = () => {
|
||||
};
|
||||
//功能选择css切换
|
||||
const handleCheckFunction = (val: any) => {
|
||||
console.log("test",val);
|
||||
// console.log("test",val);
|
||||
editableTabsValue.value = '0';
|
||||
tabsList.value.map((item: any, index: any) => {
|
||||
if (val == item.value) {
|
||||
@@ -314,7 +314,7 @@ const handleCheckFunction = (val: any) => {
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
console.log();
|
||||
// console.log();
|
||||
getTree();
|
||||
getPieData();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user