Parcourir la source

feat: 再次提交

RDY il y a 3 mois
Parent
commit
5cac714c2c

+ 12 - 0
src/router/admin.js

@@ -112,6 +112,14 @@ export default [
       path: 'publicMainIndex',
       name: 'publicMainIndex',
       component: () => import('../view/admin/publicOversight/mainIndex'),
+    }, {
+      path: 'areaTransactionList',
+      name: 'areaTransactionList',
+      component: () => import('../view/admin/publicOversight/areaTransactionList.vue'),
+    }, {
+      path: 'resourceTransactionsList',
+      name: 'resourceTransactionsList',
+      component: () => import('../view/admin/publicOversight/resourceTransactionsList.vue'),
     }, {
       path: 'serviceMainIndex',
       name: 'serviceMainIndex',
@@ -141,6 +149,10 @@ export default [
       path: 'resource',
       name: 'resource',
       component: () => import('../view/admin/setting/resources')
+    }, {
+      path: 'sourceDatabase',
+      name: 'sourceDatabase',
+      component: () => import('../view/admin/setting/sourceDatabase')
     }, {
       path: 'sourceStatistics',
       name: 'sourceStatistics',

+ 5 - 13
src/view/admin/publicOversight/areaTransactionList.vue

@@ -1,8 +1,7 @@
-<template>  
-    <div class="cityResource-tableSetting">
-  
+<template>
+     <div class="cityResource-tableSetting">
       <el-card>
-        <el-form ref="tableFormData" class="topFormStyle2" :inline="true" :model="tableFormData" label-width="120px">
+         <el-form ref="tableFormData" class="topFormStyle2" :inline="true" :model="tableFormData" label-width="120px">
           <el-form-item label="表格时间选择" >
             <el-date-picker
               v-model="tableFormData.startTime"
@@ -79,7 +78,6 @@
             width="auto">
             <template slot-scope="scope">
               <div>
-        <!-- 根据 transactionType 的值来渲染不同的内容 -->
         <span v-if="scope.row.transactionType === 0">工程建设</span>
         <span v-else-if="scope.row.transactionType === 1">政府采购</span>
         <span v-else-if="scope.row.transactionType === 2">土地矿权</span>
@@ -104,7 +102,6 @@
     </template>
           </el-table-column>
         </el-table>
-  
         <el-row>
         <el-col :span="20">
           <comp-page
@@ -117,12 +114,11 @@
       </el-row>
       </el-card>
       </div>
-    </template>
+   </template>
   
     <script>
       import compPage from 'pkgs/components/pagination/index';
       import {areaTransactionList} from './areaTransactionList.js'
-      import ElSwitch from "element-ui/packages/switch/src/component";
   
       export default {
         name: 'areaTransactionList',
@@ -142,7 +138,6 @@
           }
         },
         components: {
-          ElSwitch,
           compPage
         },
         watch: {
@@ -156,7 +151,6 @@
           this.getRole();
         },
         methods: {
-          /** 表格获取数据 */
           getTableData: function () {
               areaTransactionList.getAreaTransactionList({pageNum: this.page, pageSize: 5, startDate: this.tableFormData.startTime, endDate: this.tableFormData.endTime}).then(res => {
               this.tableData = res.data.result;
@@ -164,12 +158,10 @@
               this.page = res.data.pageMessage.pageNum;
             })
           },
-                 /** 分页 */
        handleCurrentChange: function (val) {
         this.page = val;
         this.getTableData();
       },
-       /**确认时间,查询表格数据*/
        searchTableData: function () {
             this.getTableData();
       },
@@ -204,4 +196,4 @@
       background-color: white;
       padding-bottom: 20px;
     }
-    </style>
+    </style>

+ 0 - 2
src/view/admin/publicOversight/resourceTransactionsList.vue

@@ -75,8 +75,6 @@
     </template>
           </el-table-column>
 
-          
-
         </el-table>
         <el-row>
         <el-col :span="20">