--no commit message
Showing
4 changed files
with
40 additions
and
11 deletions
... | @@ -68,7 +68,6 @@ export function loadTreeData(qlxxData, bdcdyh) { | ... | @@ -68,7 +68,6 @@ export function loadTreeData(qlxxData, bdcdyh) { |
68 | 68 | ||
69 | //获取权利类型、不动产单元类型对应的树形节点信息 | 69 | //获取权利类型、不动产单元类型对应的树形节点信息 |
70 | export function getNode(qllx, qlxx, bdcdylx) { | 70 | export function getNode(qllx, qlxx, bdcdylx) { |
71 | console.log("qllx",qllx,"bdcdylx",bdcdylx); | ||
72 | let node; | 71 | let node; |
73 | for (var i = 0; i < qlxxPage.length; i++) { | 72 | for (var i = 0; i < qlxxPage.length; i++) { |
74 | if (qlxxPage[i].qllx == qllx) { | 73 | if (qlxxPage[i].qllx == qllx) { | ... | ... |
... | @@ -106,18 +106,20 @@ export default { | ... | @@ -106,18 +106,20 @@ export default { |
106 | }; | 106 | }; |
107 | }, | 107 | }, |
108 | mounted() { | 108 | mounted() { |
109 | this.getleftMenubl(); | ||
109 | this.loadBdcdylist(); | 110 | this.loadBdcdylist(); |
111 | |||
110 | }, | 112 | }, |
111 | computed: { | 113 | computed: { |
112 | ...mapGetters(["isRefresh"]), | 114 | // ...mapGetters(["isRefresh"]), |
113 | }, | 115 | }, |
114 | watch: { | 116 | watch: { |
115 | isRefresh: { | 117 | // isRefresh: { |
116 | handler(newVal, oldVal) { | 118 | // handler(newVal, oldVal) { |
117 | if (newVal) this.loadBdcdylist(); | 119 | // if (newVal) this.loadBdcdylist(); |
118 | }, | 120 | // }, |
119 | immediate: true, | 121 | // immediate: true, |
120 | }, | 122 | // }, |
121 | }, | 123 | }, |
122 | methods: { | 124 | methods: { |
123 | //读取申请单元信息 | 125 | //读取申请单元信息 |
... | @@ -128,19 +130,25 @@ export default { | ... | @@ -128,19 +130,25 @@ export default { |
128 | leftMenu(formdata).then((res) => { | 130 | leftMenu(formdata).then((res) => { |
129 | if (res.code === 200 && res.result) { | 131 | if (res.code === 200 && res.result) { |
130 | this.currentSelectProps = res.result[0]; | 132 | this.currentSelectProps = res.result[0]; |
133 | if(this.supplementarylist.length>0){ | ||
134 | this.unitClick(0) | ||
135 | } | ||
131 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | 136 | this.$emit("getCurrentSelectProps", this.currentSelectProps); |
132 | if(add){ | 137 | if(add){ |
133 | this.$parent.getQllxByBdcdyid() | 138 | this.$parent.getQllxByBdcdyid() |
134 | } | 139 | } |
135 | } | 140 | } |
136 | }); | 141 | }); |
137 | this.getleftMenubl(); | 142 | |
138 | }, | 143 | }, |
139 | // 获取右侧菜单 | 144 | // 获取右侧菜单 |
140 | getleftMenubl(row) { | 145 | getleftMenubl(row) { |
141 | leftMenubl(this.bsmSlsq).then((res) => { | 146 | leftMenubl(this.bsmSlsq).then((res) => { |
142 | this.supplementarylist = res.result; | 147 | this.supplementarylist = res.result; |
143 | console.log("this.supplementarylist",this.supplementarylist); | 148 | console.log("this.supplementarylist",this.supplementarylist); |
149 | if(this.supplementarylist.length>0){ | ||
150 | this.unitClick(0) | ||
151 | } | ||
144 | if(row){ | 152 | if(row){ |
145 | this.supplementarylist.forEach((item,index) => { | 153 | this.supplementarylist.forEach((item,index) => { |
146 | if(item.bsmRepair==row.bsmRepair){ | 154 | if(item.bsmRepair==row.bsmRepair){ |
... | @@ -265,6 +273,11 @@ export default { | ... | @@ -265,6 +273,11 @@ export default { |
265 | } | 273 | } |
266 | .menus { | 274 | .menus { |
267 | background-color: #e7f4fe; | 275 | background-color: #e7f4fe; |
276 | div{ | ||
277 | font-size: 16px; | ||
278 | font-weight: 600; | ||
279 | } | ||
280 | |||
268 | } | 281 | } |
269 | .blxx { | 282 | .blxx { |
270 | border: #b0d9f8 solid 1px; | 283 | border: #b0d9f8 solid 1px; | ... | ... |
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | * @LastEditTime: 2023-05-09 09:20:10 | 4 | * @LastEditTime: 2023-05-09 09:20:10 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox title="新建材料信息1111" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" | 7 | <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" |
8 | :isFullscreen="false"> | 8 | :isFullscreen="false"> |
9 | <el-form :model="ruleForm" ref="ruleForm" label-width="70px"> | 9 | <el-form :model="ruleForm" ref="ruleForm" label-width="70px"> |
10 | <el-row> | 10 | <el-row> | ... | ... |
... | @@ -73,6 +73,7 @@ | ... | @@ -73,6 +73,7 @@ |
73 | <script> | 73 | <script> |
74 | import WorkFlow from "./mixin/index"; | 74 | import WorkFlow from "./mixin/index"; |
75 | import { getForm } from "./flowform"; | 75 | import { getForm } from "./flowform"; |
76 | import { getStepFormInfo } from "@/api/fqsq.js" | ||
76 | import NoticeBar from "@/components/NoticeBar/index"; | 77 | import NoticeBar from "@/components/NoticeBar/index"; |
77 | import ProcessViewer from "./components/processViewer.vue"; | 78 | import ProcessViewer from "./components/processViewer.vue"; |
78 | // 引入左侧菜单 | 79 | // 引入左侧菜单 |
... | @@ -126,9 +127,22 @@ export default { | ... | @@ -126,9 +127,22 @@ export default { |
126 | defaultNode: {}, | 127 | defaultNode: {}, |
127 | }; | 128 | }; |
128 | }, | 129 | }, |
129 | mounted() {}, | 130 | mounted() { |
131 | |||
132 | }, | ||
130 | 133 | ||
131 | methods: { | 134 | methods: { |
135 | // 获取表单 | ||
136 | stepForm () { | ||
137 | this.currentSelectProps.batchOperation=false | ||
138 | getStepFormInfo(this.currentSelectProps).then((res) => { | ||
139 | if (res.code === 200) { | ||
140 | console.log("ressssssssssss",res); | ||
141 | } | ||
142 | }) | ||
143 | }, | ||
144 | |||
145 | |||
132 | getQllxByBdcdyid() { | 146 | getQllxByBdcdyid() { |
133 | if(this.currentSelectProps.bdcdyid){ | 147 | if(this.currentSelectProps.bdcdyid){ |
134 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( | 148 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( |
... | @@ -144,11 +158,14 @@ export default { | ... | @@ -144,11 +158,14 @@ export default { |
144 | }, | 158 | }, |
145 | // 获取右侧选项卡 | 159 | // 获取右侧选项卡 |
146 | getCurrentSelectProps(val) { | 160 | getCurrentSelectProps(val) { |
161 | console.log("vallllllllllllllllll",val); | ||
147 | this.currentSelectProps = val; | 162 | this.currentSelectProps = val; |
148 | if (this.currentSelectProps.bsmRepair) { | 163 | if (this.currentSelectProps.bsmRepair) { |
149 | this.tabset(val); | 164 | this.tabset(val); |
150 | } else { | 165 | } else { |
166 | console.log("jin"); | ||
151 | this.getdjblist(); | 167 | this.getdjblist(); |
168 | this.stepForm () | ||
152 | } | 169 | } |
153 | }, | 170 | }, |
154 | // 获取渲染登记簿列表 | 171 | // 获取渲染登记簿列表 | ... | ... |
-
Please register or sign in to post a comment