From 13aec1b04986dd826b4fcd8c18d0334830ef0b06 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 31 八月 2023 10:57:47 +0800 Subject: [PATCH] 接口基本信息管理-编辑(接收类型 分类选择 集成系统) --- Source/UBCS-WEB/src/views/docking/info.vue | 31 ++++++++++++++++++++----------- 1 files changed, 20 insertions(+), 11 deletions(-) diff --git a/Source/UBCS-WEB/src/views/docking/info.vue b/Source/UBCS-WEB/src/views/docking/info.vue index 99d2c3c..eb7c585 100644 --- a/Source/UBCS-WEB/src/views/docking/info.vue +++ b/Source/UBCS-WEB/src/views/docking/info.vue @@ -200,7 +200,7 @@ width: 150 }, { label: '鍙傛暟鍚嶇О', - prop: 'targName', + prop: 'targetName', sortable: true, width: 150 },{ @@ -251,11 +251,19 @@ return oids.join(","); } }, + watch:{ + // editAttribute:{ + // immediate: true, + // handler(newData) { + // this.$refs.infoForm.formData = Object.assign({}, newData); + // } + // } + }, methods: { //鍗曞厓鏍兼牱寮� cellStyle(row,column,rowIndex,columnIndex){ if(row.columnIndex==2) { - if(row.row.usedFlag == 'false'){ + if(row.row.usedFlag == '' || row.row.usedFlag == 'false'){ return { color: 'red', fontWeight: 'bold', @@ -299,11 +307,11 @@ addSave() { this.$refs.infoForm.showSubmitDialog = true; this.$refs.infoForm.formData = { - dataFlowType: 'push', - pushType: '1', - sourceSystemName: '缂栫爜绯荤粺', - sourceSystemOid: 'code00000001', - sourceSystemId: 'CODE', + dataFlowType: '', + pushType: '', + sourceSystemName: '', + sourceSystemOid: '', + sourceSystemId: '', targetSystemName: '', targetSystemOid: '', targetSystemId: '', @@ -316,10 +324,11 @@ this.editAttribute = row; this.editAttribute.sysIntParamVOs = row.sysIntParamVOs || []; this.editAttribute.sysIntHeaderVOs = row.sysIntHeaderVOs || []; + this.editAttribute.type = 'edit'; this.$refs.infoForm.formData = this.editAttribute; this.$refs.infoForm.showSubmitDialog = true; - console.log('row',row.dataFlowTypeText) - console.log('editAttribute',this.editAttribute.dataFlowTypeText) + // console.log('row',this.editAttribute.pushType) + // console.log('editAttribute',this.editAttribute.dataFlowTypeText) }, deleteSave(row, index) { this.$confirm("鍒犻櫎鏁版嵁灏嗘棤娉曡鎭㈠, 鏄惁缁х画?", "鎻愮ず", { @@ -409,7 +418,7 @@ // interfaceFunction:'', // nameSpace:'', // soapAction:'', - // targName:'', + // targetName:'', // cxfaxis:'' // }; // this.pushTypeList.forEach(item => { @@ -459,7 +468,7 @@ fieldType: 'text' }, { title: '鍙傛暟鍚嶇О', - queryField: 'targName', + queryField: 'targetName', fieldType: 'text' }, { title: '璋冪敤鏂瑰紡', -- Gitblit v1.9.3