Forráskód Böngészése

领导驾驶舱弹框优化

wyh 1 éve%!(EXTRA string=óta)
szülő
commit
036b066ec8

+ 0 - 1
src/views/module_kzks/dashboard/Analysis.vue

@@ -444,7 +444,6 @@
       handleMX(item, index){
         // console.log(9898,item, index)
         this.listData = item
-        // this.$refs.modalForm.getList();
       },
       //限制选择年份
       disabledYear(current){

+ 92 - 9
src/views/module_kzks/dashboard/components/listModal.vue

@@ -19,6 +19,7 @@
         :loading="loading"
         class="j-table-force-nowrap">
     </a-table>
+    <!-- 合同额 -->
     <!-- <list-modal-list :listData = "dataXQ"></list-modal-list> -->
     <template slot="footer">
         <a-button @click="handleCancel">取消</a-button>
@@ -54,7 +55,7 @@ import { filterObj } from '@/utils/util';
         columns: [],
         dataSource: [],
         ipagination: {
-            current: 1,
+            // current: 1,
             pageSize: 10,
             pageSizeOptions: ['10', '20', '30'],
             showTotal: (total, range) => {
@@ -68,15 +69,13 @@ import { filterObj } from '@/utils/util';
         url: {
           htelist: "/index/getDetailIncome",
           skelist: "/index/getDetailReceived",
-          zcelist: "",
-          lrelist: "",
+          zcelist: "/index/getZhiChuDetail",
         },
       }
     },
     watch: {
       listData: {
         handler(newValue, oldValue){
-        //   console.log(66666,newValue, oldValue)
           this.dataXQ = newValue
           this.getList()
         },
@@ -160,17 +159,101 @@ import { filterObj } from '@/utils/util';
                     },
                 ]
                 getAction(this.url.skelist, params).then((response) => {
-                    console.log(7777,response.result.records)
+                    console.log(7777,response.result)
                     this.dataSource = response.result.records
                     this.ipagination.total = response.result.total
                     this.loading = false
                 })
             }
             if (this.dataXQ.hdValue == 'zce') {
-                
-            }
-            if (this.dataXQ.hdValue == 'lre') {
-                
+                this.columns= [
+                    {
+                    title: '序号',
+                    dataIndex: '',
+                    key:'rowIndex',
+                    width:60,
+                    align:"center",
+                    customRender:function (t,r,index) {
+                        return parseInt(index)+1;
+                    }
+                    },
+                    // {
+                    // title:'任务号',
+                    // align:"center",
+                    // dataIndex: 'taskno'
+                    // },
+                    // {
+                    // title:'下达部门',
+                    // align:"center",
+                    // dataIndex: 'xdbm'
+                    // },
+                    {
+                    title:'责任部门',
+                    align:"center",
+                    dataIndex: 'zrbm'
+                    },
+                    {
+                    title:'材料费',
+                    align:"center",
+                    dataIndex: 'clf'
+                    },
+                    {
+                    title:'专用费',
+                    align:"center",
+                    dataIndex: 'zyf'
+                    },
+                    {
+                    title:'事务费',
+                    align:"center",
+                    dataIndex: 'swf'
+                    },
+                    {
+                    title:'外协费',
+                    align:"center",
+                    dataIndex: 'wxf'
+                    },
+                    {
+                    title:'燃料动力费',
+                    align:"center",
+                    dataIndex: 'rldlf'
+                    },
+                    {
+                    title:'固定资产折旧费',
+                    align:"center",
+                    dataIndex: 'gdzczj'
+                    },
+                    {
+                    title:'工资及劳务费',
+                    align:"center",
+                    dataIndex: 'gzjlwf'
+                    },
+                    {
+                    title:'管理费',
+                    align:"center",
+                    dataIndex: 'glf'
+                    },
+                    {
+                    title:'筛选费',
+                    align:"center",
+                    dataIndex: 'sxf'
+                    },
+                    {
+                    title:'总成本',
+                    align:"center",
+                    dataIndex: 'zcb'
+                    },
+                    {
+                    title:'年月',
+                    align:"center",
+                    dataIndex: 'yearmonth'
+                    },
+                ]
+                getAction(this.url.zcelist, params).then((response) => {
+                    console.log(7777,response.result)
+                    this.dataSource = response.result.records
+                    this.ipagination.total = response.result.total
+                    this.loading = false
+                })
             }
             this.visible=true
         } else {