Sfoglia il codice sorgente

fix:驼峰补充提交

韩帛霖 1 anno fa
parent
commit
304ca72dc1

+ 5 - 5
ruoyi-ui/src/views/tableMange/index.vue

@@ -46,9 +46,9 @@
             row-key="id"
             :max-height="tableHeight"
           >
-            <!-- 
-              
-              :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" 
+            <!--
+
+              :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
             -->
             >
             <el-table-column
@@ -278,10 +278,10 @@
     <el-dialog title="效果预览" :visible.sync="isShowPreview" width="50%">
       <el-row :gutter="10" class="mb8">
         <el-col :span="18">
-          <el-input placeholder="请输入" clearable />
+          <el-input placeholder="请输入" clearable/>
         </el-col>
 
-        <el-col :span="6">
+        <el-col :span=6>
           <el-button
             type="primary"
             icon="el-icon-search"

+ 17 - 17
ruoyi-ui/src/views/tablelist/commonTable/listInfo.vue

@@ -145,19 +145,18 @@
                   icon="el-icon-edit"
                   @click="handleUpdate(scope.row)"
                   >修改</el-button
-                ></el-dropdown-item
-              >
-              <el-dropdown-item
-                ><el-button
-                  size="mini"
-                  type="text"
-                  icon="el-icon-delete"
-                  @click="handleDelete(scope.row)"
-                  >删除</el-button
-                >
-              </el-dropdown-item>
-            </el-dropdown-menu>
-          </el-dropdown>
+                ></el-dropdown-item>
+                <el-dropdown-item
+                  ><el-button
+                    size="mini"
+                    type="text"
+                    icon="el-icon-delete"
+                    @click="handleDelete(scope.row)"
+                    >删除</el-button
+                  >
+                </el-dropdown-item>
+              </el-dropdown-menu>
+            </el-dropdown>
         </template>
       </el-table-column>
     </el-table>
@@ -366,8 +365,7 @@ export default {
           // 得到查询条件
           this.queryFromWhere = res.data.resultMap.where;
           //  得到当前列表信息
-          let test = JSON.parse(this.templateInfo.template.dtColumnName);
-          this.columns = this.columnsHandler(test);
+          this.columns = this.columnsHandler(this.templateInfo.template.dtColumnName);
         })
         .finally((fes) => {
           if (this.templateInfo == {}) return;
@@ -469,7 +467,7 @@ export default {
         Object.assign(this.defaultValue, row);
         this.jsonData = JSON.parse(data.dfVueTemplate);
         this.open = true;
-        this.title = "修改信息";
+        this.title = "修改信息123";
         this.form.password = this.initPassword;
         this.$nextTick(() => {
           this.$refs.addFromRef.setData(row);
@@ -675,4 +673,6 @@ export default {
 };
 </script>
 
-<style scoped lang="scss"></style>
+<style scoped lang="scss">
+
+</style>