--no commit message
Showing
7 changed files
with
83 additions
and
76 deletions
... | @@ -4,9 +4,9 @@ | ... | @@ -4,9 +4,9 @@ |
4 | * @LastEditors: yangwei | 4 | * @LastEditors: yangwei |
5 | * @LastEditTime: 2023-03-14 10:45:11 | 5 | * @LastEditTime: 2023-03-14 10:45:11 |
6 | * @FilePath: \bdcjg-web\src\api\authorityManage.js | 6 | * @FilePath: \bdcjg-web\src\api\authorityManage.js |
7 | * @Description: | 7 | * @Description: |
8 | * | 8 | * |
9 | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. | 9 | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | import { getParams } from './util' | 12 | import { getParams } from './util' |
... | @@ -79,6 +79,7 @@ export const roleAuthority = (id, permissionDtos) => { | ... | @@ -79,6 +79,7 @@ export const roleAuthority = (id, permissionDtos) => { |
79 | 79 | ||
80 | 80 | ||
81 | // 获取父级菜单 | 81 | // 获取父级菜单 |
82 | // id是系统id | ||
82 | export const getParentMenuListAction = (id) => { | 83 | export const getParentMenuListAction = (id) => { |
83 | let conditionGroup = {} | 84 | let conditionGroup = {} |
84 | if (id && id !== '') { | 85 | if (id && id !== '') { | ... | ... |
... | @@ -2,6 +2,7 @@ | ... | @@ -2,6 +2,7 @@ |
2 | <div class="Cfdj from-clues"> | 2 | <div class="Cfdj from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="80px"> | 4 | <el-form ref="form" :model="form" label-width="80px"> |
5 | <!-- 判断进入监管还是上报系统 --> | ||
5 | <el-form-item v-if="BASE_API.THEME=='jg'"> | 6 | <el-form-item v-if="BASE_API.THEME=='jg'"> |
6 | <Breadcrumb /> | 7 | <Breadcrumb /> |
7 | </el-form-item> | 8 | </el-form-item> | ... | ... |
... | @@ -2,6 +2,7 @@ | ... | @@ -2,6 +2,7 @@ |
2 | <div class="dyaq from-clues"> | 2 | <div class="dyaq from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="120px"> | 4 | <el-form ref="form" :model="form" label-width="120px"> |
5 | <!-- 判断进入监管还是上报系统 --> | ||
5 | <el-form-item v-if="BASE_API.THEME=='jg'"> | 6 | <el-form-item v-if="BASE_API.THEME=='jg'"> |
6 | 7 | ||
7 | <Breadcrumb /> | 8 | <Breadcrumb /> | ... | ... |
... | @@ -2,6 +2,7 @@ | ... | @@ -2,6 +2,7 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="150px"> | 4 | <el-form ref="form" :model="form" label-width="150px"> |
5 | <!-- 判断进入监管还是上报系统 --> | ||
5 | <el-form-item v-if="BASE_API.THEME=='jg'"> | 6 | <el-form-item v-if="BASE_API.THEME=='jg'"> |
6 | <Breadcrumb /> | 7 | <Breadcrumb /> |
7 | </el-form-item> | 8 | </el-form-item> |
... | @@ -87,82 +88,82 @@ | ... | @@ -87,82 +88,82 @@ |
87 | </template> | 88 | </template> |
88 | 89 | ||
89 | <script> | 90 | <script> |
90 | // 地役权登记 | 91 | // 地役权登记 |
91 | import data from "./data" | 92 | import data from "./data" |
92 | import qlfQlDyiq from '@/api/qlfQlDyiq' | 93 | import qlfQlDyiq from '@/api/qlfQlDyiq' |
93 | import tableMixin from '@/mixins/tableMixin.js' | 94 | import tableMixin from '@/mixins/tableMixin.js' |
94 | import treeSelect from '@/components/TreeSelect.vue' | 95 | import treeSelect from '@/components/TreeSelect.vue' |
95 | export default { | 96 | export default { |
96 | name: "dyiq", | 97 | name: "dyiq", |
97 | mixins: [tableMixin], | 98 | mixins: [tableMixin], |
98 | components: { | 99 | components: { |
99 | treeSelect | 100 | treeSelect |
100 | }, | 101 | }, |
101 | data () { | 102 | data () { |
102 | return { | 103 | return { |
103 | form: { | 104 | form: { |
104 | XZQDM: '', | 105 | XZQDM: '', |
105 | QSZT: '', | 106 | QSZT: '', |
106 | ZL: '', | 107 | ZL: '', |
107 | BDCQZH: '', | 108 | BDCQZH: '', |
108 | QLR: '', | 109 | QLR: '', |
109 | BDCDYH: '', | 110 | BDCDYH: '', |
110 | // 供役地不动产单元号 | 111 | // 供役地不动产单元号 |
111 | GYDBDCDYH: '', | 112 | GYDBDCDYH: '', |
112 | // 需役地不动产单元号 | 113 | // 需役地不动产单元号 |
113 | XYDBDCDYH: '', | 114 | XYDBDCDYH: '', |
114 | ZJH: '', | 115 | ZJH: '', |
115 | currentPage: 1 | 116 | currentPage: 1 |
116 | }, | 117 | }, |
117 | tableData: { | 118 | tableData: { |
118 | columns: [{ | 119 | columns: [{ |
119 | label: '序号', | 120 | label: '序号', |
120 | type: 'index', | 121 | type: 'index', |
121 | width: '50', | 122 | width: '50', |
122 | index: this.indexMethod, | 123 | index: this.indexMethod, |
123 | }].concat(data.columns()).concat([ | 124 | }].concat(data.columns()).concat([ |
124 | { | 125 | { |
125 | label: "操作", | 126 | label: "操作", |
126 | width: 80, | 127 | width: 80, |
127 | render: (h, scope) => { | 128 | render: (h, scope) => { |
128 | return ( | 129 | return ( |
129 | <div> | 130 | <div> |
130 | <el-button | 131 | <el-button |
131 | type="text" | 132 | type="text" |
132 | class='btnColor' | 133 | class='btnColor' |
133 | onClick={() => { this.handleEdit(scope.row) }} | 134 | onClick={() => { this.handleEdit(scope.row) }} |
134 | > | 135 | > |
135 | 详情 | 136 | 详情 |
136 | </el-button> | 137 | </el-button> |
137 | </div> | 138 | </div> |
138 | ) | 139 | ) |
140 | } | ||
139 | } | 141 | } |
140 | } | 142 | ]), |
141 | ]), | 143 | data: [] |
142 | data: [] | 144 | }, |
143 | }, | 145 | pageData: { |
144 | pageData: { | 146 | total: 0, |
145 | total: 0, | 147 | pageSize: 15, |
146 | pageSize: 15, | 148 | current: 1, |
147 | current: 1, | 149 | } |
148 | } | 150 | } |
149 | } | 151 | }, |
150 | }, | 152 | methods: { |
151 | methods: { | 153 | async featchData () { |
152 | async featchData () { | 154 | try { |
153 | try { | 155 | this.form = Object.assign(this.form, this.formData) |
154 | this.form = Object.assign(this.form, this.formData) | 156 | let { result: { list, total, pages: pageSize, pageNum: current } |
155 | let { result: { list, total, pages: pageSize, pageNum: current } | 157 | } = await qlfQlDyiq.getQlfQlDyiqList(this.form) |
156 | } = await qlfQlDyiq.getQlfQlDyiqList(this.form) | 158 | this.tableData.data = list |
157 | this.tableData.data = list | 159 | this.pageData = { |
158 | this.pageData = { | 160 | pageSize, |
159 | pageSize, | 161 | current, |
160 | current, | 162 | total |
161 | total | 163 | } |
164 | } catch (error) { | ||
162 | } | 165 | } |
163 | } catch (error) { | ||
164 | } | 166 | } |
165 | } | 167 | } |
166 | } | 168 | } |
167 | } | ||
168 | </script> | 169 | </script> | ... | ... |
... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
5 | <div class="from-clues-header"> | 5 | <div class="from-clues-header"> |
6 | <el-form ref="ruleForm" :model="form" label-width="80px"> | 6 | <el-form ref="ruleForm" :model="form" label-width="80px"> |
7 | <el-form-item v-if="BASE_API.THEME=='jg'"> | 7 | <el-form-item v-if="BASE_API.THEME=='jg'"> |
8 | <!-- 判断进入监管还是上报系统 --> | ||
8 | <Breadcrumb /> | 9 | <Breadcrumb /> |
9 | </el-form-item> | 10 | </el-form-item> |
10 | <el-row> | 11 | <el-row> | ... | ... |
... | @@ -4,6 +4,7 @@ | ... | @@ -4,6 +4,7 @@ |
4 | <!-- 头部搜索 --> | 4 | <!-- 头部搜索 --> |
5 | <div class="from-clues-header"> | 5 | <div class="from-clues-header"> |
6 | <el-form ref="ruleForm" :model="form" label-width="100px"> | 6 | <el-form ref="ruleForm" :model="form" label-width="100px"> |
7 | <!-- 判断进入监管还是上报系统 --> | ||
7 | <el-form-item v-if="BASE_API.THEME=='jg'"> | 8 | <el-form-item v-if="BASE_API.THEME=='jg'"> |
8 | <Breadcrumb /> | 9 | <Breadcrumb /> |
9 | </el-form-item> | 10 | </el-form-item> | ... | ... |
... | @@ -2,6 +2,7 @@ | ... | @@ -2,6 +2,7 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="ruleForm" :model="form" label-width="100px"> | 4 | <el-form ref="ruleForm" :model="form" label-width="100px"> |
5 | <!-- 判断进入监管还是上报系统 --> | ||
5 | <el-form-item v-if="BASE_API.THEME=='jg'"> | 6 | <el-form-item v-if="BASE_API.THEME=='jg'"> |
6 | <Breadcrumb /> | 7 | <Breadcrumb /> |
7 | </el-form-item> | 8 | </el-form-item> |
... | @@ -38,7 +39,7 @@ | ... | @@ -38,7 +39,7 @@ |
38 | </div> | 39 | </div> |
39 | <div class="from-clues-content"> | 40 | <div class="from-clues-content"> |
40 | <lb-table :pagination="false" @size-change="handleSizeChange" :calcHeight="BASE_API.calcHeight" | 41 | <lb-table :pagination="false" @size-change="handleSizeChange" :calcHeight="BASE_API.calcHeight" |
41 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="listdata" :expand-row-keys="keyList" | 42 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="listdata" |
42 | row-key="dictid"> | 43 | row-key="dictid"> |
43 | </lb-table> | 44 | </lb-table> |
44 | </div> | 45 | </div> | ... | ... |
-
Please register or sign in to post a comment