From 5da45630af37d2ac9541cfbad2aede0f88c4a9b5 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 21 二月 2024 15:55:31 +0800 Subject: [PATCH] 接口基本信息:参数对象 header对象调取接口呈现 --- Source/UBCS-WEB/src/views/docking/info.vue | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/views/docking/info.vue b/Source/UBCS-WEB/src/views/docking/info.vue index fe9d9f2..a41c744 100644 --- a/Source/UBCS-WEB/src/views/docking/info.vue +++ b/Source/UBCS-WEB/src/views/docking/info.vue @@ -59,7 +59,7 @@ <script> import { - getList, add, edit, del, push, updateStatus,HeaderRequest + getList, add, edit, del, push, updateStatus,HeaderRequest,ParmRequest } from "@/api/docking/info"; import {getDictionary} from "@/api/omd/enum"; import infoForm from "./infoForm.vue"; @@ -266,9 +266,7 @@ }; }, created() { - HeaderRequest().then(res => { - console.log(res) - }) + }, computed: { ...mapGetters(["permission"]), @@ -367,9 +365,18 @@ this.editAttribute.type = 'edit'; this.$refs.infoForm.formData = this.editAttribute; this.$refs.infoForm.showSubmitDialog = true; - // console.log('row',this.editAttribute.pushType) - // console.log('editAttribute',this.editAttribute.dataFlowTypeText) + //header瀵硅薄 + + HeaderRequest(1,-1,{'conditionMap[oid]':row.oid}).then(res => { + this.$refs.infoForm.formData.sysIntHeaderVOs = res.data.data.records; + }) + //鍙傛暟瀵硅薄 + ParmRequest(1,-1,{'conditionMap[oid]':row.oid}).then(res=>{ + this.$refs.infoForm.formData.sysIntParamVOs = res.data.data.records; + }) }, + + deleteSave(row, index) { this.$confirm("鍒犻櫎鏁版嵁灏嗘棤娉曡鎭㈠, 鏄惁缁х画?", "鎻愮ず", { iconClass: 'el-icon-question', -- Gitblit v1.9.3