浏览代码

修改状态判断

gangyj 3 年之前
父节点
当前提交
fbc4450191
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/manager/projectinfo/tree.vue

+ 2 - 2
src/views/manager/projectinfo/tree.vue

@@ -328,7 +328,7 @@
                 <el-link
                 <el-link
                   class="mg-l-10"
                   class="mg-l-10"
                   type="primary"
                   type="primary"
-                  :disabled='scope.row.isLinkTable==-1'
+                  :disabled='scope.row.excelId==-1'
                   @click="rightClick(scope.row.pkeyId,scope.row.excelId,scope.row.id,scope.row.initTableName)"
                   @click="rightClick(scope.row.pkeyId,scope.row.excelId,scope.row.id,scope.row.initTableName)"
                 >编辑元素</el-link>
                 >编辑元素</el-link>
                 <el-link
                 <el-link
@@ -339,7 +339,7 @@
                 <el-link
                 <el-link
                   class="mg-l-10"
                   class="mg-l-10"
                   type="primary"
                   type="primary"
-                  :disabled='scope.row.isLinkTable!=2'
+                  :disabled='scope.row.excelId==-1'
                   @click="adjustExcel(scope.row.pkeyId,scope.row.excelId)"
                   @click="adjustExcel(scope.row.pkeyId,scope.row.excelId)"
                 >调整表单</el-link>
                 >调整表单</el-link>
                 <el-link
                 <el-link