xjc 3 роки тому
батько
коміт
e7bec6a875
2 змінених файлів з 10 додано та 2 видалено
  1. 8 0
      src/views/data/fundInOut.vue
  2. 2 2
      vue.config.js

+ 8 - 0
src/views/data/fundInOut.vue

@@ -64,12 +64,20 @@
               ></el-image>
         </template>
       </el-table-column>
+      <el-table-column prop="ctime" label="创建时间" width="150" />
       <el-table-column prop="date" label="操作" fixed="right" width="220">
         <template slot-scope="scope">
           <el-button @click="del(scope.row.id)" size="mini" type="danger">删除</el-button>
         </template>
       </el-table-column>
     </el-table>
+    <Page
+            ref="pageButton"
+            :current="form.page"
+            :page_size="form.page_size"
+            :total="total"
+            @pageChange="gopage"
+        />
   </section>
 </template>
 <script>

+ 2 - 2
vue.config.js

@@ -3,9 +3,9 @@ module.exports = {
         proxy: {
             '/api': {
                 // target:'http://39.107.246.59:81',
-                target: 'https://api.hunanwanzhu.com',
+                // target: 'https://api.hunanwanzhu.com',
                 // target:'http://caos.tederen.com',
-                // target: 'https://wx.scxjc.club',
+                target: 'https://wx.scxjc.club',
                 changeOrigin: true,
             }
         }