scorpio пре 2 година
родитељ
комит
8af6ac89f8
1 измењених фајлова са 1 додато и 213 уклоњено
  1. 1 213
      src/views/home/component/proinfo.vue

+ 1 - 213
src/views/home/component/proinfo.vue

@@ -108,219 +108,7 @@ export default {
         // eslint-disable-next-line no-prototype-builtins
         if (val && val.hasOwnProperty('property')) {
           const config = JSON.parse(val.property)
-          this.option.column = [
-            {
-              prop: 'name',
-              id: 1,
-              label: '名称',
-              type: 'input',
-              span: '24'
-            },
-            {
-              children: [
-                {
-                  prop: 'totalAmount',
-                  id: 21,
-                  label: '总投资(万元)',
-                  type: 'number',
-                  parentId: 2,
-                  span: '24'
-                },
-                {
-                  label: '地区',
-                  type: 'area',
-                  prop: 'area',
-                  expand: {
-                    dict: '/blade-system/region/lazy-list',
-                    prop: {
-                      label: 'name',
-                      value: 'id'
-                    }
-                  },
-                  id: 22,
-                  parentId: 2,
-                  span: '24'
-                }
-              ],
-              id: 2,
-              type: 'row'
-            },
-            {
-              children: [
-                {
-                  prop: 'capital',
-                  id: 41,
-                  label: '财政预算',
-                  type: 'number',
-                  parentId: 4,
-                  span: '24'
-                },
-                {
-                  prop: 'dictName',
-                  params: 'dictKey',
-                  id: 42,
-                  label: '项目领域',
-                  type: 'select',
-                  parentId: 4,
-                  span: '24',
-                  expand: {
-                    dict: '/blade-system/dict-biz/dictionary?code=pc-debt-type',
-                    prop: {
-                      label: 'dictValue',
-                      value: 'dictKey'
-                    }
-                  }
-                }
-              ],
-              id: 4,
-              type: 'row'
-            },
-            {
-              children: [
-                {
-                  label: '单位(企业)自筹',
-                  type: 'number',
-                  prop: 'selfFinance',
-                  expand: '',
-                  id: 61,
-                  parentId: 6,
-                  span: '24'
-                },
-                {
-                  prop: 'buildDate',
-                  id: 62,
-                  label: '建设期',
-                  type: 'daterange',
-                  parentId: 6,
-                  span: '24'
-                }
-              ],
-              id: 6,
-              type: 'row'
-            },
-            {
-              children: [
-                {
-                  label: '其他债务融资(万元)',
-                  type: 'number',
-                  prop: 'portfolioFinancing',
-                  expand: '',
-                  id: 61,
-                  parentId: 6,
-                  span: '24'
-                },
-                {
-                  prop: 'operationDate',
-                  id: 72,
-                  label: '运营期',
-                  type: 'daterange',
-                  parentId: 7,
-                  span: '24'
-                }
-              ],
-              id: 7,
-              type: 'row'
-            },
-            {
-              children: [
-                {
-                  label: '本期发债金额(万元)',
-                  type: 'number',
-                  prop: 'debtsAsCapital',
-                  expand: '',
-                  id: 71,
-                  parentId: 7,
-                  span: '24'
-                },
-                {
-                  prop: 'cost',
-                  id: 82,
-                  label: '运营支出',
-                  type: 'number',
-                  parentId: 8
-                }
-              ],
-              id: 8,
-              type: 'row'
-            },
-            {
-              children: [
-                {
-                  label: '预期收益(万元)',
-                  type: 'number',
-                  prop: 'expectedReturn',
-                  expand: '',
-                  id: 81,
-                  parentId: 8
-                },
-                {
-                  prop: 'costIncomePercent',
-                  id: 121,
-                  label: '可偿债收益',
-                  type: 'number',
-                  parentId: 12
-                }
-              ],
-              id: 11,
-              type: 'row'
-            },
-            {
-              children: [
-                {
-                  prop: 'coverageMultiple',
-                  id: 131,
-                  label: '总债务本息保障倍数',
-                  type: 'number',
-                  parentId: 13
-                },
-                {
-                  prop: 'issueCumulative',
-                  id: 51,
-                  label: '申请专项债总额(累计发行)',
-                  type: 'number',
-                  parentId: 5
-                }
-              ],
-              id: 11,
-              type: 'row'
-            },
-            {
-              children: [
-                {
-                  prop: 'projectSubject',
-                  id: 112,
-                  label: '主管部门',
-                  type: 'input',
-                  parentId: 11
-                },
-                {
-                  prop: 'implementingAgency',
-                  id: 52,
-                  label: '项目业主',
-                  type: 'input',
-                  parentId: 5
-                }
-              ],
-              id: 5,
-              type: 'row'
-            },
-            {
-              prop: 'introduction',
-              id: 10,
-              label: '建设内容',
-              type: 'textarea',
-              rows: 4,
-              span: '24'
-            },
-            {
-              prop: 'sourceIncome',
-              id: 9,
-              label: '收入来源',
-              type: 'textarea',
-              rows: 3,
-              span: '24'
-            }
-          ]
+          this.option.column = config
           val.buildDate = this.data.startDate + '至' + this.data.endDate
           val.operationDate = this.data.operationStartDate + '至' + this.data.operationEndDate
           val.area = this.data.province + this.data.city + this.data.district