From 7e312ecf7100ca8931421e6200a145e6f26bc20e Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 31 八月 2023 11:01:04 +0800 Subject: [PATCH] 接口基本信息管理-启用停用 --- Source/UBCS-WEB/src/views/docking/info.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/views/docking/info.vue b/Source/UBCS-WEB/src/views/docking/info.vue index a961944..efed36f 100644 --- a/Source/UBCS-WEB/src/views/docking/info.vue +++ b/Source/UBCS-WEB/src/views/docking/info.vue @@ -12,7 +12,7 @@ <template slot="menu" slot-scope="{row,index}"> <el-button icon="el-icon-edit" size="small" type="text" @click="updateSave(row,index)" :disabled="row.usedFlag === 'true' ? false :true">缂栬緫</el-button> <el-button icon="el-icon-delete" size="small" type="text" @click="deleteSave(row,index)">鍒犻櫎</el-button> - <el-button v-if="row.usedflag=='false'" icon="el-icon-position" size="small" type="text" + <el-button v-if="row.usedFlag=='false' || row.usedFlag==''" icon="el-icon-position" size="small" type="text" @click="ENABLE(row,index)">鍚敤 </el-button> <el-button v-else icon="el-icon-finished" size="small" type="text" @click="DISABLE(row,index)">鍋滅敤 @@ -263,7 +263,7 @@ //鍗曞厓鏍兼牱寮� 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', @@ -324,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("鍒犻櫎鏁版嵁灏嗘棤娉曡鎭㈠, 鏄惁缁х画?", "鎻愮ず", { -- Gitblit v1.9.3