Browse Source

数据集与数据源 添加编辑

qianlishi 3 years ago
parent
commit
2c74cce904

+ 2 - 2
report-ui/src/views/datasource/index.vue

@@ -4,7 +4,7 @@
  * @Author: qianlishi
  * @Author: qianlishi
  * @Date: 2021-12-11 14:48:27
  * @Date: 2021-12-11 14:48:27
  * @LastEditors: qianlishi
  * @LastEditors: qianlishi
- * @LastEditTime: 2021-12-13 12:21:33
+ * @LastEditTime: 2021-12-24 14:00:47
 -->
 -->
 <template>
 <template>
   <anji-crud ref="listPage" :option="crudOption">
   <anji-crud ref="listPage" :option="crudOption">
@@ -18,7 +18,7 @@
       >
       >
     </template>
     </template>
 
 
-    <template slot="edit" slot-scope="props">
+    <template slot="rowButton" slot-scope="props">
       <el-button
       <el-button
         type="text"
         type="text"
         @click="operateDatasource('edit', props)"
         @click="operateDatasource('edit', props)"

+ 3 - 3
report-ui/src/views/resultset/index.vue

@@ -4,7 +4,7 @@
  * @Author: qianlishi
  * @Author: qianlishi
  * @Date: 2021-12-11 14:48:27
  * @Date: 2021-12-11 14:48:27
  * @LastEditors: qianlishi
  * @LastEditors: qianlishi
- * @LastEditTime: 2021-12-13 12:28:54
+ * @LastEditTime: 2021-12-24 14:01:19
 -->
 -->
 <template>
 <template>
   <anji-crud ref="listPage" :option="crudOption">
   <anji-crud ref="listPage" :option="crudOption">
@@ -21,7 +21,7 @@
       </el-dropdown>
       </el-dropdown>
     </template>
     </template>
 
 
-    <template slot="edit" slot-scope="props">
+    <template slot="rowButton" slot-scope="props">
       <el-button
       <el-button
         type="text"
         type="text"
         @click="operateDataset('edit', props)"
         @click="operateDataset('edit', props)"
@@ -30,7 +30,7 @@
       </el-button>
       </el-button>
     </template>
     </template>
 
 
-    <template slot="rowButton" slot-scope="props">
+    <template slot="rowButtonInMore" slot-scope="props">
       <el-button
       <el-button
         type="text"
         type="text"
         @click="dataView(props)"
         @click="dataView(props)"