zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<template>
  <div>
    <el-container>
      <el-header>企业管理</el-header>
      <el-container>
        <el-aside width="180px">
          <el-menu :default-active="$route.path"  v-if="enterpriseParams.clickType === 1">
            <el-menu-item-group>
              <el-menu-item> <router-link to="/area/enterprise/index"><el-button round size="mini">返回列表</el-button> </router-link></el-menu-item>
            </el-menu-item-group>
            <el-menu-item index="/area/enterprise/details/enterpriseBaseInfo">
              <span slot="title"  @click="handleGoD('enterpriseBaseInfo')">企业信息</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/details/applyInfo">
              <span slot="title" @click="handleGoD('applyInfo')">申请信息</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/details/approveOpinion">
              <span slot="title" @click="handleGoD('approveOpinion')">审批意见</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/details/approveHistory">
              <span slot="title" @click="handleGoD('approveHistory')">历史审批意见</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/details/flowRecord">
              <span slot="title" @click="handleGoD('flowRecord')">流程流转记录</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/details/imageInfo">
              <span slot="title" @click="handleGoD('imageInfo')">影像资料</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/details/changeHistory">
              <span slot="title" @click="handleGoD('changeHistory')">维护记录</span>
            </el-menu-item>
          </el-menu>
          <el-menu :default-active="$route.path" v-if="enterpriseParams.clickType === 0">
            <el-menu-item-group>
              <el-menu-item> <router-link to="/area/enterprise/index"><el-button round size="mini">返回列表</el-button> </router-link></el-menu-item>
            </el-menu-item-group>
            <el-menu-item index="/area/enterprise/update/enterpriseBaseInfo">
              <span slot="title" @click="handleGo('enterpriseBaseInfo')">企业信息</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/update/applyInfo">
              <span slot="title" @click="handleGo('applyInfo')">申请信息</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/update/imageInfo">
              <span slot="title" @click="handleGo('imageInfo')">影像资料</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/update/approveOpinion">
              <span slot="title" @click="handleGo('approveOpinion')">审批意见</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/update/approveHistory">
              <span slot="title" @click="handleGo('approveOpinion')">历史审批意见</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/update/flowRecord">
              <span slot="title" @click="handleGo('flowRecord')">流程流转记录</span>
            </el-menu-item>
            <el-menu-item index="/area/enterprise/update/changeHistory">
              <span slot="title" @click="handleGo('changeHistory')">维护记录</span>
            </el-menu-item>
          </el-menu>
        </el-aside>
        <el-container>
          <el-main>
            <router-view id="area"></router-view>
          </el-main>
<!--          <el-footer>-->
<!--            <el-row :gutter="20" type="flex" justify="space-around">-->
<!--              <el-col :span="8">-->
<!--                <el-button size="mini" v-if="prevPageBtn"  @click="handlePrevPage">上一页</el-button>-->
<!--                <el-button size="mini" type="primary" v-if="nextPageBtn" @click="handleNextPage">下一页</el-button>-->
<!--              </el-col>-->
<!--            </el-row>-->
<!--          </el-footer>-->
        </el-container>
      </el-container>
    </el-container>
  </div>
</template>
 
<script>
import '../../area/style/areaBuilding.styl'
import { mapState } from 'vuex'
export default {
  data: function() {
    return {}
  },
  computed: {
    ...mapState({
      enterpriseParams: state => state.risk.enterpriseParams
    })
  },
  methods: {
    handleGo(value) {
      this.$router.push({ path: '/area/enterprise/update/' + value })
    },
    handleGoD(value) {
      this.$router.push({ path: '/area/enterprise/details/' + value })
    }
  }
}
// import { queryTabAttrs } from '@/api/area'
// import { mapState } from 'vuex'
// export default {
//   data: function () {
//     return {
//       menu: [],
//       swithMenu: [],
//       nextPageBtn: false,
//       prevPageBtn: false,
//       currentIndex: 0,
//       tabName: 'projectBasicInformation'
//     }
//   },
//   created () {
//     this.initMenu()
//   },
//   computed: {
//     ...mapState({
//       detailsParams: state => state.risk.detailsParams
//     })
//   },
//   methods: {
//     initMenu () {
//       let params = {
//         isManage: true,
//         modify: false,
//         objectType: this.detailsParams.objectType,
//         serialno: this.detailsParams.serialno
//       }
//       queryTabAttrs(params).then(res => {
//         this.menu = res.result
//         this.swithMenu = this.menu.filter(item => item.isClick === true)
//         this.currentIndex = this.menu.findIndex((item) => {
//           return item.tabName === this.tabName
//         })
//         this.prevPageBtn = Boolean(this.swithMenu[this.currentIndex - 1])
//         this.nextPageBtn = Boolean(this.swithMenu[this.currentIndex + 1])
//       })
//     },
//     handleSwith (value) {
//       this.tabName = value
//       this.$router.push({ path: '/area/projectManagement/details/' + value })
//       this.initMenu()
//     },
//     handleNextPage () {
//       this.tabName = this.swithMenu[this.currentIndex + 1].tabName
//       this.goDetails(this.tabName)
//       this.initMenu()
//     },
//     handlePrevPage () {
//       this.tabName = this.swithMenu[this.currentIndex - 1].tabName
//       this.goDetails(this.tabName)
//       this.initMenu()
//     },
//     goDetails (value) {
//       this.$router.push({ path: '/area/projectManagement/details/' + value })
//     }
//   }
// }
</script>
 
<style lang="stylus" scoped>
// .el-header{
//   padding-left: 20px;
//   height: 46px !important;
//   line-height: 46px;
//   font-size: 14px;
//   background-color: #F9F9F9;
// }
  .el-aside{
    border-right 1px solid #eee
  }
  // .el-footer{
  //   position: fixed
  //   width 100%
  //   bottom 0
  //   background-color white
  //   height 100px !important
  //   padding-top 20px
  // }
</style>