微调
This commit is contained in:
@@ -63,7 +63,7 @@ const timer = setInterval(() => {
|
||||
currentIndex.value++;
|
||||
if (currentIndex.value > 14)
|
||||
currentIndex.value = 0;
|
||||
console.log(currentIndex.value);
|
||||
// console.log(currentIndex.value);
|
||||
|
||||
}, 2000);
|
||||
|
||||
@@ -78,7 +78,7 @@ watch(
|
||||
}
|
||||
);
|
||||
const changeSelect=()=>{
|
||||
console.log(treeRef.value.getCheckedKeys());
|
||||
//console.log(treeRef.value.getCheckedKeys());
|
||||
}
|
||||
const handleNodeClick = (data) => {
|
||||
console.log(data);
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
label: '归档状态',
|
||||
minWidth: 110,
|
||||
},
|
||||
{ prop: 'operation', label: '操作', fixed: 'right', minWidth: 150 },
|
||||
{ prop: 'operation', label: '操作', fixed: 'right', minWidth: 100 },
|
||||
])
|
||||
|
||||
const open = (textTitle: string) => {
|
||||
|
||||
@@ -142,7 +142,7 @@ const rules: Ref<Record<string, Array<FormItemRule>>> = ref({
|
||||
{
|
||||
// 将表单数据转为json,发送到后端
|
||||
let confirmFormData = JSON.parse(JSON.stringify(props.formData));
|
||||
console.log(confirmFormData)
|
||||
//console.log(confirmFormData)
|
||||
emit('submit', props.formData); // 提交表单数据
|
||||
emit('update:visible', false); // 提交后关闭对话框
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
search: { el: 'select' },
|
||||
minWidth: 150,
|
||||
},
|
||||
{ prop: 'operation', label: '操作', fixed: 'right', width: 150 },
|
||||
{ prop: 'operation', label: '操作', fixed: 'right', width: 100 },
|
||||
])
|
||||
|
||||
const open = (textTitle: string) => {
|
||||
|
||||
@@ -293,7 +293,7 @@ function handleFiles(event: Event) {
|
||||
const files = target.files
|
||||
if (files && files.length > 0) {
|
||||
// 处理文件
|
||||
console.log(files)
|
||||
// console.log(files)
|
||||
ElMessageBox.confirm(
|
||||
'导入的数据与当前数据有冲突,请选择以哪个数据为主进行覆盖',
|
||||
'数据冲突',
|
||||
@@ -342,7 +342,7 @@ const combineClick = () => {
|
||||
},
|
||||
)
|
||||
.then(({ value }) => {
|
||||
console.log(`合并后的计划名为:`, value)
|
||||
// console.log(`合并后的计划名为:`, value)
|
||||
proTable.value?.clearSelection()
|
||||
proTable.value?.getTableList()
|
||||
})
|
||||
|
||||
@@ -95,7 +95,7 @@ onBeforeUnmount(() => {
|
||||
handleEnter();
|
||||
});
|
||||
const dataSource = computed(() => {
|
||||
console.log("dataSource", dataSource);
|
||||
//console.log("dataSource", dataSource);
|
||||
return props.dataSource;
|
||||
});
|
||||
watch(
|
||||
|
||||
@@ -53,7 +53,7 @@ const activities = [
|
||||
const data = ref([]);
|
||||
const open = (list: any) => {
|
||||
data.value = list;
|
||||
console.log(data.value, "99999999");
|
||||
// console.log(data.value, "99999999");
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
@@ -408,8 +408,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("修改列表排序成功");
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user