Sfoglia il codice sorgente

表单切换修改

duy 3 giorni fa
parent
commit
f713b9e3e5
1 ha cambiato i file con 55 aggiunte e 54 eliminazioni
  1. 55 54
      src/views/manager/projectinfo/tree.vue

+ 55 - 54
src/views/manager/projectinfo/tree.vue

@@ -583,43 +583,25 @@
                                   :formatter="formatOwner"
                                   label="所属方"
                                 ></el-table-column>
-                                <el-table-column label="操作" align="center" width="250">
-                                  <template slot-scope="scope">
-                                    <el-link type="primary" @click="Associationlist(scope)"
-                                      >关联清表
-                                    </el-link>
-                                    <el-link
-                                      class="mg-l-10"
-                                    
-                                      type="primary"
-                                      :disabled="
-                                        scope.row.excelId == -1 || scope.row.excelId == null
-                                      "
-                                      @click="
-                                        rightClick(
-                                          scope.row.pkeyId,
-                                          scope.row.excelId,
-                                          scope.row.id,
-                                          scope.row.initTableName,
-                                          scope.row.initTableId
-                                        )
-                                      "
-                                      >编辑元素
-                                    </el-link>
-                                
-                                    <el-link
-                                      class="mg-l-10"
-                                      type="primary"
-                                      :disabled="
-                                        scope.row.excelId == -1 || scope.row.excelId == null
-                                      "
-                                      @click="adjustExcel(scope.row.pkeyId, scope.row.excelId)"
-                                      >调整表单
-                                    </el-link>
-                                   
+                                 <el-table-column label="操作" align="center"  >
+                                                <template slot-scope="scope"> 
 
-                                  </template>
-                                </el-table-column>
+                                                    <el-button
+                                                      size="mini"
+                                                    
+
+                                                      @click="handlePreview(scope.$index, scope.row)"
+                                                      >预览
+                                                    </el-button>
+                                                    <el-button
+                                                      size="mini"
+                                                      @click="handleEdit(scope.$index, scope.row)"
+                                                      >编辑
+                                                    </el-button>
+                                                   
+                                                </template>
+                                            
+                                            </el-table-column>
                               </el-table>
                          </template>
                        
@@ -826,25 +808,44 @@
                                   :formatter="formatOwner"
                                   label="所属方"
                                 ></el-table-column>
-                               <el-table-column label="操作" align="center"  >
-                                                <template slot-scope="scope"> 
-
-                                                    <el-button
-                                                      size="mini"
-                                                    
+                          
+                                                <el-table-column label="操作" align="center" width="250">
+                                  <template slot-scope="scope">
+                                    <el-link type="primary" @click="Associationlist(scope)"
+                                      >关联清表
+                                    </el-link>
+                                    <el-link
+                                      class="mg-l-10"
+                                    
+                                      type="primary"
+                                      :disabled="
+                                        scope.row.excelId == -1 || scope.row.excelId == null
+                                      "
+                                      @click="
+                                        rightClick(
+                                          scope.row.pkeyId,
+                                          scope.row.excelId,
+                                          scope.row.id,
+                                          scope.row.initTableName,
+                                          scope.row.initTableId
+                                        )
+                                      "
+                                      >编辑元素
+                                    </el-link>
+                                
+                                    <el-link
+                                      class="mg-l-10"
+                                      type="primary"
+                                      :disabled="
+                                        scope.row.excelId == -1 || scope.row.excelId == null
+                                      "
+                                      @click="adjustExcel(scope.row.pkeyId, scope.row.excelId)"
+                                      >调整表单
+                                    </el-link>
+                                   
 
-                                                      @click="handlePreview(scope.$index, scope.row)"
-                                                      >预览
-                                                    </el-button>
-                                                    <el-button
-                                                      size="mini"
-                                                      @click="handleEdit(scope.$index, scope.row)"
-                                                      >编辑
-                                                    </el-button>
-                                                   
-                                                </template>
-                                            
-                                            </el-table-column>
+                                  </template>
+                                </el-table-column>
                               </el-table>
                          </template>
         </el-col>