This commit is contained in:
sjl
2026-01-06 08:35:36 +08:00
parent fd09e24cf0
commit cb19fef4c6
88 changed files with 117 additions and 135 deletions

View File

@@ -191,7 +191,7 @@ const rules = ref({
// fileList: [{ required: true, message: '请上传文件', trigger: 'change' }],
})
const changeSubstationFlag = () => {
console.log(form.value.customSubstationFlag)
//处理所属变电站手都输入1/下拉数据0
key.value += 1
if (form.value.customSubstationFlag == 0) {
@@ -283,7 +283,6 @@ const changeArea = () => {
treeList.value.forEach((item: any) => {
if (item.id == form.value.deptId) {
list.push(item)
} else {
if (item.children.filter((v: any) => v.id == form.value.deptId).length == 0) {
item.children.forEach((v: any) => {
@@ -295,15 +294,10 @@ const changeArea = () => {
// return k
// }
// }))
// }))
console.log("🚀 ~ list.push ~ list:", list)
// }))
} else {
list.push(item.children.filter((v: any) => v.id == form.value.deptId)[0])
}
// if (form.value.deptId != treeListCgy.value[0].id) {
// list.push(...treeListCgy.value)
// }

View File

@@ -1328,7 +1328,6 @@ const filterUsers = (arr: any) => {
userTypeList.value = userTypeList.value.filter(item => !arr.includes(item.value))
}
const setcontroFlag = () => {
console.log(12333)
controFlag.value = true
}

View File

@@ -603,7 +603,7 @@ const preview = (val: any, url: any) => {
}
//预测评估报告
if (val == 'predictionEvaluationReport') {
console.log(url, '9999999')
predictionEvaluationReportRef?.value.open(url)
}
//预测评估评审意见报告

View File

@@ -160,7 +160,7 @@ const { query } = useRoute() // 查询参数
const props = defineProps({
id: propTypes.string.def(undefined)
})
console.log(propTypes.string.def(undefined), '999999999999传参')
const detailLoading = ref(false) // 表单的加载中
const detailData = ref<any>({}) // 详情数据
const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号
@@ -199,7 +199,7 @@ getEffectUserList()
/** 获得数据 */
const getInfo = async () => {
detailLoading.value = true
console.log(props.id, queryId, '流程详情内部的id')
try {
await getPlanDetailsById({ id: props.id || queryId }).then(res => {
detailData.value = res.data

View File

@@ -117,7 +117,7 @@ const tableStore = new TableStore({
inactiveValue: '1',
render: 'switch',
onChangeField: (row: any, value) => {
console.log('🚀 ~ row:', 444123, value)
}
},

View File

@@ -152,7 +152,7 @@ const open = async (
}
if (supervisionReport) {
let arrPath = supervisionReport.split(',')
console.log('🚀 ~ arrPath:', arrPath)
await getFileNameAndFilePath({ filePath: arrPath[0] }).then(res => {
supervisionReportDetail.supervisionReportPath = res.data.url
supervisionReportDetail.supervisionReportName = res.data.fileName

View File

@@ -602,7 +602,7 @@ const preview = (val: any, url: any) => {
}
//预测评估报告
if (val == 'predictionEvaluationReport') {
console.log(url, '9999999')
predictionEvaluationReportRef?.value.open(url)
}
//预测评估评审意见报告

View File

@@ -455,7 +455,7 @@ const terminalModelList = [
const substationList: any = ref([])
//字典获取通讯类型
const frontTypeList = dictData.getBasicData('Front_Type', ['CLD', '61850'])
console.log('🚀 ~ frontTypeList:', frontTypeList)
//定义通讯状态下拉框数据
const communicationStatusList = [
{

View File

@@ -63,7 +63,7 @@ const getInfo = async () => {
getFileNameAndFilePath({ filePath: res.data.testRunReport }).then(report => {
detailData.value.reportUrl = report.data.url
detailData.value.reportName = report.data.fileName
console.log('🚀 ~ getFileNameAndFilePath ~ detailData.value:', detailData.value)
// console.log('🚀 ~ getFileNameAndFilePath ~ detailData.value:', detailData.value)
})
}
})

View File

@@ -376,7 +376,6 @@ const startRunTest = () => {
// 下载报告
const downloadTheReport = (url: string) => {
getFileNameAndFilePath({ filePath: url }).then((res: any) => {
console.log(res.data.url, 'res')
const link = document.createElement('a')
link.href = res.data.url
link.download = res.data.name