diff --git a/src/views/assetsManage2/webZC/index.vue b/src/views/assetsManage2/webZC/index.vue index 1a4001a..bb1f6cf 100644 --- a/src/views/assetsManage2/webZC/index.vue +++ b/src/views/assetsManage2/webZC/index.vue @@ -40,8 +40,8 @@ size="small" class="demo-form-inline" > - - + + - + - + - - + + - + - + 重置 { type: 0, id: row.id, queryData: formInline, - parentName:"/assetsManage2/webZC" - }, - meta: { - title: "新增资产", - icon: "user", - activeMenu: "/assetsManage/program", + parentName: "/assetsManage2/webZC", }, }); } else if (id === 2) { router.push({ - name: "AssetsAuth", + path: "/assetsManage2/webZCinfo", query: { pageType: "change", type: 0, id: row.id, queryData: formInline, + parentName: "/assetsManage2/webZC", }, }); } else if (id === 3) { @@ -603,3 +599,46 @@ onUnmounted(() => { window.removeEventListener("resize", cancalDebounce); }); + diff --git a/src/views/assetsManage2/webZCinfo/index.vue b/src/views/assetsManage2/webZCinfo/index.vue index d40d086..a61bf0d 100644 --- a/src/views/assetsManage2/webZCinfo/index.vue +++ b/src/views/assetsManage2/webZCinfo/index.vue @@ -47,7 +47,7 @@ - + - + - + - + - + --> --> --> --> - - 联系人 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + 联系人 + + + + + + + + - - - - - - - - - - 添加其他联系人 - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 添加其他联系人 + + @@ -1192,7 +1213,7 @@ placeholder="请选择是否备案" > - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - 附件上传,支持xls、xlsx、doc、docx、pdf、rar、zip、pcap、txt、最多上传1个文件,每个不超过30M - + - 图片上传,支持jpg、jpeg、png、最多上传1张图片,每个不超过30M - + @@ -4262,7 +4283,8 @@ 取消 @@ -4286,7 +4308,7 @@ import { ref, reactive, onMounted, nextTick } from "vue"; import { useRouter, useRoute } from "vue-router"; import { ElMessage } from "element-plus"; import pcas from "@/utils/pca-code.json"; -import FileUpload from "@/components/FileUpload/index.vue"; +import myUpload from "@/views/components/myUpload/index.vue"; import { assetUnitData, assetInfo, @@ -4475,7 +4497,9 @@ const rules = reactive({ { required: true, validator: equalToPassword, trigger: "change" }, ], }); - +const changequerySearchAsync = (type1) => { + console.log(type1); +}; // 主表单数据 const ruleForm = reactive({ sjzcList: [ @@ -4587,7 +4611,13 @@ const changeState = (e) => { ruleForm.bfyy = ""; } }; - +const selectqueryData = () => { + // if(route.query.pageType==='look'){ + // return route.query.queryData + // }else{ + // return route.query.queryData + // } +}; // 获取详情 const getInfo = async (id) => { try { @@ -4764,8 +4794,8 @@ onMounted(async () => { // 确保容器存在并设置正确的样式 const container = document.querySelector(".L-assets-info"); if (container) { - container.style.height = "100vh"; - container.style.overflowY = "auto"; + container.style.height = "100%"; + // container.style.overflowY = "auto"; } if (pageType === "look") { @@ -4783,11 +4813,14 @@ onMounted(async () => { textareaInputElements.forEach((input) => { input.placeholder = ""; }); + loading.value = false; } else if (pageType === "change") { await getInfo(id); disabled.value = false; isMore.value = true; + loading.value = false; } + }); const changeRadio = (id) => { @@ -4978,7 +5011,7 @@ const sendBack = () => {