style:房屋业务申请
Showing
3 changed files
with
12 additions
and
11 deletions
| ... | @@ -256,12 +256,12 @@ | ... | @@ -256,12 +256,12 @@ |
| 256 | type: 'success' | 256 | type: 'success' |
| 257 | }) | 257 | }) |
| 258 | store.dispatch('user/refreshPage', true); | 258 | store.dispatch('user/refreshPage', true); |
| 259 | this.$popupCacel() | ||
| 259 | } else { | 260 | } else { |
| 260 | this.$message.error(res.message); | 261 | this.$message.error(res.message); |
| 261 | } | 262 | } |
| 262 | }) | 263 | }) |
| 263 | } | 264 | } |
| 264 | this.$popupCacel() | ||
| 265 | }, | 265 | }, |
| 266 | handleSelectionChange (val) { | 266 | handleSelectionChange (val) { |
| 267 | this.bdcdysz = val | 267 | this.bdcdysz = val | ... | ... |
| ... | @@ -30,8 +30,8 @@ | ... | @@ -30,8 +30,8 @@ |
| 30 | </div> | 30 | </div> |
| 31 | <!-- 一并申请 --> | 31 | <!-- 一并申请 --> |
| 32 | <div v-if="selectType == 'together'" class="right-situation el-card"> | 32 | <div v-if="selectType == 'together'" class="right-situation el-card"> |
| 33 | <div class="right-title">一并申请</div> | 33 | <div class="right-title">一并申请</div> |
| 34 | <ul> | 34 | <ul> |
| 35 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" | 35 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" |
| 36 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> | 36 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> |
| 37 | <dt>{{ item.nodename }}</dt> | 37 | <dt>{{ item.nodename }}</dt> |
| ... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
| 91 | </div> | 91 | </div> |
| 92 | </template> | 92 | </template> |
| 93 | <script> | 93 | <script> |
| 94 | import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz,getTogetherBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" | 94 | import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, getTogetherBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" |
| 95 | export default { | 95 | export default { |
| 96 | data () { | 96 | data () { |
| 97 | return { | 97 | return { |
| ... | @@ -147,13 +147,13 @@ | ... | @@ -147,13 +147,13 @@ |
| 147 | if (this.selectType == 'amend') { | 147 | if (this.selectType == 'amend') { |
| 148 | this.getRepairBiz(); | 148 | this.getRepairBiz(); |
| 149 | } | 149 | } |
| 150 | if (this.selectType == 'together') { | 150 | if (this.selectType == 'together') { |
| 151 | getTogetherBiz().then(res => { | 151 | getTogetherBiz().then(res => { |
| 152 | if (res) { | 152 | if (res) { |
| 153 | console.log("res", res); | 153 | console.log("res", res); |
| 154 | this.djqxList = res.result; | 154 | this.djqxList = res.result; |
| 155 | } | 155 | } |
| 156 | }) | 156 | }) |
| 157 | } | 157 | } |
| 158 | }, | 158 | }, |
| 159 | //权利类型菜单事件 | 159 | //权利类型菜单事件 | ... | ... |
| ... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
| 24 | }, | 24 | }, |
| 25 | mounted () { | 25 | mounted () { |
| 26 | if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) { | 26 | if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) { |
| 27 | let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm,this.formData?.sqywInfo?.nodecode || this.formData?.nodecode); | 27 | let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm, this.formData?.sqywInfo?.nodecode || this.formData?.nodecode); |
| 28 | this.router = this.loadView(view); | 28 | this.router = this.loadView(view); |
| 29 | } else { | 29 | } else { |
| 30 | let view = queueDjywmc(this.$route.query?.sqywbm); | 30 | let view = queueDjywmc(this.$route.query?.sqywbm); |
| ... | @@ -33,6 +33,7 @@ | ... | @@ -33,6 +33,7 @@ |
| 33 | }, | 33 | }, |
| 34 | methods: { | 34 | methods: { |
| 35 | loadView (view) { | 35 | loadView (view) { |
| 36 | console.log(view, 'view'); | ||
| 36 | return (r) => | 37 | return (r) => |
| 37 | require.ensure([], () => r(require(`./components/${view}.vue`))); | 38 | require.ensure([], () => r(require(`./components/${view}.vue`))); |
| 38 | }, | 39 | }, | ... | ... |
-
Please register or sign in to post a comment