Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
2 changed files
with
25 additions
and
16 deletions
| ... | @@ -85,7 +85,7 @@ | ... | @@ -85,7 +85,7 @@ |
| 85 | transition: all 0.3s; | 85 | transition: all 0.3s; |
| 86 | 86 | ||
| 87 | &:hover { | 87 | &:hover { |
| 88 | border: 1px solid $light-blue; | 88 | border: 1px solid $light-blue !important; |
| 89 | color: $light-blue; | 89 | color: $light-blue; |
| 90 | } | 90 | } |
| 91 | } | 91 | } |
| ... | @@ -116,6 +116,7 @@ | ... | @@ -116,6 +116,7 @@ |
| 116 | justify-content: space-between; | 116 | justify-content: space-between; |
| 117 | padding: 0 20px; | 117 | padding: 0 20px; |
| 118 | margin: 20px 0; | 118 | margin: 20px 0; |
| 119 | min-height: 50px; | ||
| 119 | 120 | ||
| 120 | li { | 121 | li { |
| 121 | width: 23.5%; | 122 | width: 23.5%; |
| ... | @@ -137,7 +138,7 @@ | ... | @@ -137,7 +138,7 @@ |
| 137 | } | 138 | } |
| 138 | 139 | ||
| 139 | &:hover { | 140 | &:hover { |
| 140 | border: 1px solid $light-blue; | 141 | border: 1px solid $light-blue !important; |
| 141 | color: $light-blue; | 142 | color: $light-blue; |
| 142 | } | 143 | } |
| 143 | 144 | ||
| ... | @@ -173,26 +174,27 @@ | ... | @@ -173,26 +174,27 @@ |
| 173 | 174 | ||
| 174 | &:after { | 175 | &:after { |
| 175 | content: ""; | 176 | content: ""; |
| 176 | width: 31%; //与块级的宽度相同 | 177 | width: 48%; //与块级的宽度相同 |
| 177 | display: block; | 178 | display: block; |
| 178 | height: 0; | 179 | height: 0; |
| 179 | } | 180 | } |
| 180 | 181 | ||
| 181 | li { | 182 | li { |
| 182 | width: 31%; | 183 | width: 48%; |
| 183 | height: 50px; | 184 | height: 50px; |
| 184 | border: 1px solid $borderColor; | 185 | border: 1px solid $borderColor; |
| 185 | @include flex; | 186 | @include flex; |
| 186 | justify-content: space-between; | 187 | justify-content: space-between; |
| 187 | margin-left: 20px; | 188 | margin-left: 20px; |
| 188 | cursor: pointer; | 189 | cursor: pointer; |
| 190 | margin-bottom: 15px; | ||
| 189 | 191 | ||
| 190 | p { | 192 | p { |
| 191 | @include flex-center; | 193 | @include flex-center; |
| 192 | } | 194 | } |
| 193 | 195 | ||
| 194 | &:hover { | 196 | &:hover { |
| 195 | border: 1px solid $light-blue; | 197 | border: 1px solid $light-blue !important; |
| 196 | color: $light-blue; | 198 | color: $light-blue; |
| 197 | } | 199 | } |
| 198 | 200 | ... | ... |
| ... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
| 33 | <div v-if="n >= 0"> | 33 | <div v-if="n >= 0"> |
| 34 | <div class="right-title">业务列表</div> | 34 | <div class="right-title">业务列表</div> |
| 35 | <ul> | 35 | <ul> |
| 36 | <li v-for="(item, index) in ywList" :key="index" @click="handleYwSelect(item)" | 36 | <li v-for="(item, index) in ywList" :key="index" @click="handleSelectYw(item, ywList)" |
| 37 | :class="item.cselect ? 'cactive' : ''"> | 37 | :class="item.cselect ? 'cactive' : ''"> |
| 38 | <p> | 38 | <p> |
| 39 | {{ item.nodename }} | 39 | {{ item.nodename }} |
| ... | @@ -47,10 +47,10 @@ | ... | @@ -47,10 +47,10 @@ |
| 47 | <div v-if="n == -1"> | 47 | <div v-if="n == -1"> |
| 48 | <div class="right-title">登记情形</div> | 48 | <div class="right-title">登记情形</div> |
| 49 | <ul class="registration"> | 49 | <ul class="registration"> |
| 50 | <li v-for="(item, index) in djqxList" @click="handleSelect(item)" :class="item.cselect ? 'cactive' : ''" | 50 | <li v-for="(item, index) in djqxList" @click="handleSelectYw(item, djqxList)" |
| 51 | :key="index"> | 51 | :class="item.cselect ? 'cactive' : ''" :key="index"> |
| 52 | <p> | 52 | <p> |
| 53 | {{ item.name }} | 53 | {{ item.nodename }} |
| 54 | </p> | 54 | </p> |
| 55 | <p :class="item.select ? 'active' : ''" @click.stop="handleCollection(item)"> | 55 | <p :class="item.select ? 'active' : ''" @click.stop="handleCollection(item)"> |
| 56 | <i class="el-icon-star-off" :class="item.select ? 'active' : ''"></i> | 56 | <i class="el-icon-star-off" :class="item.select ? 'active' : ''"></i> |
| ... | @@ -78,7 +78,7 @@ export default { | ... | @@ -78,7 +78,7 @@ export default { |
| 78 | '常办业务', '一并申请', '补申请', | 78 | '常办业务', '一并申请', '补申请', |
| 79 | ], | 79 | ], |
| 80 | list: [], | 80 | list: [], |
| 81 | djlxList: [{}], | 81 | djlxList: [], |
| 82 | ywList: [ | 82 | ywList: [ |
| 83 | { | 83 | { |
| 84 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', | 84 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', |
| ... | @@ -117,9 +117,9 @@ export default { | ... | @@ -117,9 +117,9 @@ export default { |
| 117 | if (item.check) item.check = false | 117 | if (item.check) item.check = false |
| 118 | }) | 118 | }) |
| 119 | }, | 119 | }, |
| 120 | // 业务列表选择 | 120 | // 业务-登记情形选择 |
| 121 | handleYwSelect (item) { | 121 | handleSelectYw (item, list) { |
| 122 | this.ywList.forEach(item => { | 122 | list.forEach(item => { |
| 123 | item.cselect = false | 123 | item.cselect = false |
| 124 | }) | 124 | }) |
| 125 | item.cselect = !item.cselect | 125 | item.cselect = !item.cselect |
| ... | @@ -127,7 +127,6 @@ export default { | ... | @@ -127,7 +127,6 @@ export default { |
| 127 | this.btnDisabled = false | 127 | this.btnDisabled = false |
| 128 | } | 128 | } |
| 129 | }, | 129 | }, |
| 130 | |||
| 131 | handleList (list, obj) { | 130 | handleList (list, obj) { |
| 132 | list.forEach(item => { | 131 | list.forEach(item => { |
| 133 | if (item.check) item.check = false | 132 | if (item.check) item.check = false |
| ... | @@ -135,13 +134,18 @@ export default { | ... | @@ -135,13 +134,18 @@ export default { |
| 135 | this.n = -1 | 134 | this.n = -1 |
| 136 | this.$set(obj, 'check', true) | 135 | this.$set(obj, 'check', true) |
| 137 | this.getNextNode(obj.bsmSqyw) | 136 | this.getNextNode(obj.bsmSqyw) |
| 137 | this.djqxList = [] | ||
| 138 | this.djlxList = [] | ||
| 138 | }, | 139 | }, |
| 139 | // 获取下个节点类型 | 140 | // 获取下个节点类型 |
| 140 | getNextNode (bsmSqyw) { | 141 | getNextNode (bsmSqyw) { |
| 141 | getNextNode(bsmSqyw).then(res => { | 142 | getNextNode(bsmSqyw).then(res => { |
| 142 | let { djqx, djlx } = res.result | 143 | let { djqx, djlx } = res.result |
| 143 | this.djqxList = djqx | 144 | if (djqx) this.djqxList = djqx |
| 144 | this.djlxList = djlx | 145 | if (djlx) this.djlxList = djlx |
| 146 | this.djqxList.forEach(item => { | ||
| 147 | this.$set(item, 'cselect', false) | ||
| 148 | }) | ||
| 145 | }) | 149 | }) |
| 146 | }, | 150 | }, |
| 147 | handleCollection (item) { | 151 | handleCollection (item) { |
| ... | @@ -161,7 +165,10 @@ export default { | ... | @@ -161,7 +165,10 @@ export default { |
| 161 | this.$set(item, 'select', true) | 165 | this.$set(item, 'select', true) |
| 162 | if (item.sffqlc == '1') { | 166 | if (item.sffqlc == '1') { |
| 163 | this.btnDisabled = false | 167 | this.btnDisabled = false |
| 168 | } else { | ||
| 169 | this.getNextNode(item.bsmSqyw) | ||
| 164 | } | 170 | } |
| 171 | this.djqxList = [] | ||
| 165 | }, | 172 | }, |
| 166 | // 选择不动产信息 | 173 | // 选择不动产信息 |
| 167 | btnClick () { | 174 | btnClick () { | ... | ... |
-
Please register or sign in to post a comment