浏览代码

删除参数处理

zhangxc 5 年之前
父节点
当前提交
6c4d614105
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/components/icss/ConceptRelation.vue

+ 3 - 1
src/components/icss/ConceptRelation.vue

@@ -265,10 +265,12 @@ export default {
             const typeL = this.filter.type.toString().split('101');
             const typeId = [];
             typeId[0] = +typeL[1];
+            const relationIds = []
+            relationIds.push(this.relationId)
             const param = {
               "conceptId": row.conceptId,
               // "isDeleted": row.isDeleted=== 'N'?'Y':'N',
-              "relationIds":[17],//9-20新增
+              "relationIds":relationIds,//9-20新增
               "typeIds":typeId
             }
             api.delConceptRelation(param).then((res)=>{