style:申请查询
Showing
5 changed files
with
118 additions
and
126 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-25 10:42:50 | 4 | * @LastEditTime: 2023-07-17 16:16:13 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| 8 | <div v-if="this.isShowdrawer"> | 8 | <div v-if="this.isShowdrawer"> |
| 9 | <el-menu | 9 | <el-menu |
| 10 | @select="djbClick" | 10 | @select="djbClick" |
| 11 | class="title-batch" | 11 | class="title-batch"> |
| 12 | > | ||
| 13 | <el-menu-item index="-1" key="-1" class="menus"> | 12 | <el-menu-item index="-1" key="-1" class="menus"> |
| 14 | <div>登记簿</div> | 13 | <div>登记簿</div> |
| 15 | </el-menu-item> | 14 | </el-menu-item> |
| ... | @@ -17,8 +16,7 @@ | ... | @@ -17,8 +16,7 @@ |
| 17 | <div class="blxx"> | 16 | <div class="blxx"> |
| 18 | <el-menu | 17 | <el-menu |
| 19 | @select="blxxClick" | 18 | @select="blxxClick" |
| 20 | class="title-batch" | 19 | class="title-batch"> |
| 21 | > | ||
| 22 | <el-menu-item index="-1" key="-1" class="menus"> | 20 | <el-menu-item index="-1" key="-1" class="menus"> |
| 23 | <div>补录信息</div> | 21 | <div>补录信息</div> |
| 24 | </el-menu-item> | 22 | </el-menu-item> |
| ... | @@ -27,11 +25,10 @@ | ... | @@ -27,11 +25,10 @@ |
| 27 | <el-menu-item | 25 | <el-menu-item |
| 28 | v-for="(item, index) in supplementarylist" | 26 | v-for="(item, index) in supplementarylist" |
| 29 | :index="index.toString()" | 27 | :index="index.toString()" |
| 30 | :key="index" | 28 | :key="index"> |
| 31 | > | ||
| 32 | <div> | 29 | <div> |
| 33 | <p v-if="item.operate=='D'">{{ item.qllxmc }} <span class="tpcolor">(删除)</span></p> | 30 | <p v-if="item.operate=='D'">{{ item.qllxmc }} <span class="tpcolor">(删除)</span></p> |
| 34 | <p v-else >{{ item.qllxmc }} <span class="tpcolor">({{ item.operate=="U"?"编辑":"新增" }})</span></p> | 31 | <p v-else>{{ item.qllxmc }} <span class="tpcolor">({{ item.operate=="U"?"编辑":"新增" }})</span></p> |
| 35 | </div> | 32 | </div> |
| 36 | <i class="el-icon-delete" @click.stop="handleDel(item)" v-if="delel"></i> | 33 | <i class="el-icon-delete" @click.stop="handleDel(item)" v-if="delel"></i> |
| 37 | </el-menu-item> | 34 | </el-menu-item> |
| ... | @@ -45,8 +42,7 @@ | ... | @@ -45,8 +42,7 @@ |
| 45 | () => { | 42 | () => { |
| 46 | this.isShowdrawer = !this.isShowdrawer; | 43 | this.isShowdrawer = !this.isShowdrawer; |
| 47 | } | 44 | } |
| 48 | " | 45 | "></div> |
| 49 | ></div> | ||
| 50 | <div | 46 | <div |
| 51 | class="map-drawer-expand map-drawer" | 47 | class="map-drawer-expand map-drawer" |
| 52 | v-else | 48 | v-else |
| ... | @@ -54,19 +50,18 @@ | ... | @@ -54,19 +50,18 @@ |
| 54 | () => { | 50 | () => { |
| 55 | this.isShowdrawer = !this.isShowdrawer; | 51 | this.isShowdrawer = !this.isShowdrawer; |
| 56 | } | 52 | } |
| 57 | " | 53 | "></div> |
| 58 | ></div> | ||
| 59 | </div> | 54 | </div> |
| 60 | </template> | 55 | </template> |
| 61 | <script> | 56 | <script> |
| 62 | import { mapGetters } from "vuex"; | 57 | import { mapGetters } from "vuex"; |
| 63 | import { leftMenu, deleteSlbdcdy } from "@/api/workFlow.js"; | 58 | import { leftMenu, deleteSlbdcdy } from "@/api/workFlow.js"; |
| 64 | import { deleteRepairRecord } from"@/api/djbRepair.js"; | 59 | import { deleteRepairRecord } from "@/api/djbRepair.js"; |
| 65 | import { leftMenubl } from"@/api/djbRepair.js"; | 60 | import { leftMenubl } from "@/api/djbRepair.js"; |
| 66 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 61 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
| 67 | import { loadTreeData, getNode } from "./djbFrameData.js"; | 62 | import { loadTreeData, getNode } from "./djbFrameData.js"; |
| 68 | export default { | 63 | export default { |
| 69 | data() { | 64 | data () { |
| 70 | return { | 65 | return { |
| 71 | supplementarylist: [], | 66 | supplementarylist: [], |
| 72 | //受理申请标识码 | 67 | //受理申请标识码 |
| ... | @@ -100,12 +95,9 @@ export default { | ... | @@ -100,12 +95,9 @@ export default { |
| 100 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 | 95 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 |
| 101 | }; | 96 | }; |
| 102 | }, | 97 | }, |
| 103 | mounted() { | 98 | mounted () { |
| 104 | this.delel=this.$parent.isEdit | 99 | this.delel = this.$parent.isEdit |
| 105 | this.loadBdcdylist(); | 100 | this.loadBdcdylist(); |
| 106 | // this.getleftMenubl(); | ||
| 107 | |||
| 108 | |||
| 109 | }, | 101 | }, |
| 110 | computed: { | 102 | computed: { |
| 111 | // ...mapGetters(["isRefresh"]), | 103 | // ...mapGetters(["isRefresh"]), |
| ... | @@ -120,9 +112,9 @@ export default { | ... | @@ -120,9 +112,9 @@ export default { |
| 120 | }, | 112 | }, |
| 121 | methods: { | 113 | methods: { |
| 122 | //读取申请单元信息 | 114 | //读取申请单元信息 |
| 123 | loadBdcdylist() { | 115 | loadBdcdylist () { |
| 124 | var formdata = new FormData(); | 116 | var formdata = new FormData(); |
| 125 | if(this.bsmSlsq){ | 117 | if (this.bsmSlsq) { |
| 126 | formdata.append("bsmSlsq", this.bsmSlsq); | 118 | formdata.append("bsmSlsq", this.bsmSlsq); |
| 127 | formdata.append("bestepid", this.bestepid); | 119 | formdata.append("bestepid", this.bestepid); |
| 128 | leftMenu(formdata).then((res) => { | 120 | leftMenu(formdata).then((res) => { |
| ... | @@ -136,44 +128,44 @@ export default { | ... | @@ -136,44 +128,44 @@ export default { |
| 136 | 128 | ||
| 137 | }, | 129 | }, |
| 138 | // 获取右侧菜单 | 130 | // 获取右侧菜单 |
| 139 | getleftMenubl(row) { | 131 | getleftMenubl (row) { |
| 140 | 132 | ||
| 141 | leftMenubl(this.bsmSlsq).then((res) => { | 133 | leftMenubl(this.bsmSlsq).then((res) => { |
| 142 | this.supplementarylist = res.result; | 134 | this.supplementarylist = res.result; |
| 143 | if(row==1){ | 135 | if (row == 1) { |
| 144 | this.delel=false | 136 | this.delel = false |
| 145 | } | 137 | } |
| 146 | if(row&&row!=1){ | 138 | if (row && row != 1) { |
| 147 | this.supplementarylist.forEach((item,index) => { | 139 | this.supplementarylist.forEach((item, index) => { |
| 148 | if(item.bsmRepair==row.bsmRepair){ | 140 | if (item.bsmRepair == row.bsmRepair) { |
| 149 | this.activeIndex=index.toString() | 141 | this.activeIndex = index.toString() |
| 150 | // 补录成功后定位到该条记录 | 142 | // 补录成功后定位到该条记录 |
| 151 | this.unitClick(index) | 143 | this.unitClick(index) |
| 152 | } | 144 | } |
| 153 | }) | 145 | }) |
| 154 | } | 146 | } |
| 155 | if(this.supplementarylist.length){ | 147 | if (this.supplementarylist.length) { |
| 156 | this.unitClick(0) | 148 | this.unitClick(0) |
| 157 | }else{ | 149 | } else { |
| 158 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | 150 | this.$emit("getCurrentSelectProps", this.currentSelectProps); |
| 159 | } | 151 | } |
| 160 | }); | 152 | }); |
| 161 | }, | 153 | }, |
| 162 | handleNodeClick(data, node, elem) { | 154 | handleNodeClick (data, node, elem) { |
| 163 | this.$parent.loadComponent(this.currentSelectProps, data); | 155 | this.$parent.loadComponent(this.currentSelectProps, data); |
| 164 | this.$parent.tabset(); | 156 | this.$parent.tabset(); |
| 165 | }, | 157 | }, |
| 166 | //申请单元点击事件 | 158 | //申请单元点击事件 |
| 167 | unitClick(index) { | 159 | unitClick (index) { |
| 168 | this.currentSelectProps = this.supplementarylist[index]; | 160 | this.currentSelectProps = this.supplementarylist[index]; |
| 169 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | 161 | this.$emit("getCurrentSelectProps", this.currentSelectProps); |
| 170 | }, | 162 | }, |
| 171 | //登记簿点击事件 | 163 | //登记簿点击事件 |
| 172 | djbClick() { | 164 | djbClick () { |
| 173 | this.loadBdcdylist(); | 165 | this.loadBdcdylist(); |
| 174 | }, | 166 | }, |
| 175 | // 删除补录记录 | 167 | // 删除补录记录 |
| 176 | handleDel(row) { | 168 | handleDel (row) { |
| 177 | this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", { | 169 | this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", { |
| 178 | confirmButtonText: "确定", | 170 | confirmButtonText: "确定", |
| 179 | cancelButtonText: "取消", | 171 | cancelButtonText: "取消", |
| ... | @@ -188,7 +180,7 @@ export default { | ... | @@ -188,7 +180,7 @@ export default { |
| 188 | this.$nextTick(() => { | 180 | this.$nextTick(() => { |
| 189 | this.getleftMenubl(); | 181 | this.getleftMenubl(); |
| 190 | this.blxxClick() | 182 | this.blxxClick() |
| 191 | if(!this.supplementarylist.length){ | 183 | if (!this.supplementarylist.length) { |
| 192 | getdjblist() | 184 | getdjblist() |
| 193 | } | 185 | } |
| 194 | 186 | ||
| ... | @@ -203,26 +195,26 @@ export default { | ... | @@ -203,26 +195,26 @@ export default { |
| 203 | }); | 195 | }); |
| 204 | }, | 196 | }, |
| 205 | //补录信息点击事件默认展示第一条补录记录 | 197 | //补录信息点击事件默认展示第一条补录记录 |
| 206 | blxxClick() { | 198 | blxxClick () { |
| 207 | if(this.supplementarylist.length){ | 199 | if (this.supplementarylist.length) { |
| 208 | this.unitClick(0); | 200 | this.unitClick(0); |
| 209 | } | 201 | } |
| 210 | 202 | ||
| 211 | }, | 203 | }, |
| 212 | }, | 204 | }, |
| 213 | }; | 205 | }; |
| 214 | </script> | 206 | </script> |
| 215 | <style scoped lang="scss"> | 207 | <style scoped lang="scss"> |
| 216 | @import "~@/styles/mixin.scss"; | 208 | @import "~@/styles/mixin.scss"; |
| 217 | @import "../../workFrame.scss"; | 209 | @import "../../workFrame.scss"; |
| 218 | .leftmenu ul { | 210 | .leftmenu ul { |
| 219 | height: calc(100vh - 120px); | 211 | height: calc(100vh - 120px); |
| 220 | } | 212 | } |
| 221 | /deep/.rollTable { | 213 | /deep/.rollTable { |
| 222 | height: calc(100vh - 240px) !important; | 214 | height: calc(100vh - 240px) !important; |
| 223 | } | 215 | } |
| 224 | 216 | ||
| 225 | .content { | 217 | .content { |
| 226 | width: 100%; | 218 | width: 100%; |
| 227 | height: 100%; | 219 | height: 100%; |
| 228 | display: flex; | 220 | display: flex; |
| ... | @@ -243,57 +235,55 @@ export default { | ... | @@ -243,57 +235,55 @@ export default { |
| 243 | background-color: #f5f5f5; | 235 | background-color: #f5f5f5; |
| 244 | border: 1px solid rgb(228, 228, 228); | 236 | border: 1px solid rgb(228, 228, 228); |
| 245 | } | 237 | } |
| 246 | } | 238 | } |
| 247 | 239 | ||
| 248 | /deep/ .expanded.el-tree-node__expand-icon, | 240 | /deep/ .expanded.el-tree-node__expand-icon, |
| 249 | /deep/ .el-tree-node__expand-icon { | 241 | /deep/ .el-tree-node__expand-icon { |
| 250 | visibility: hidden; | 242 | visibility: hidden; |
| 251 | } | 243 | } |
| 252 | 244 | ||
| 253 | /deep/ .el-tree-node__content { | 245 | /deep/ .el-tree-node__content { |
| 254 | border: 1px solid rgb(228, 228, 228); | 246 | border: 1px solid rgb(228, 228, 228); |
| 255 | height: 45px; | 247 | height: 45px; |
| 256 | } | 248 | } |
| 257 | 249 | ||
| 258 | /deep/ .el-tree-node:focus > .el-tree-node__content { | 250 | /deep/ .el-tree-node:focus > .el-tree-node__content { |
| 259 | background-color: #f5f5f5; | 251 | background-color: #f5f5f5; |
| 260 | color: #0079fe; | 252 | color: #0079fe; |
| 261 | border-right: 4px solid #0079fe; | 253 | border-right: 4px solid #0079fe; |
| 262 | } | 254 | } |
| 263 | 255 | ||
| 264 | /deep/.el-tree-node { | 256 | /deep/.el-tree-node { |
| 265 | white-space: pre-wrap; | 257 | white-space: pre-wrap; |
| 266 | } | 258 | } |
| 267 | 259 | ||
| 268 | /deep/ .is-current > .el-tree-node__content { | 260 | /deep/ .is-current > .el-tree-node__content { |
| 269 | background-color: #f5f5f5; | 261 | background-color: #f5f5f5; |
| 270 | color: #0079fe; | 262 | color: #0079fe; |
| 271 | border-right: 4px solid #0079fe; | 263 | border-right: 4px solid #0079fe; |
| 272 | } | 264 | } |
| 273 | .menus { | 265 | .menus { |
| 274 | background-color: #e7f4fe; | 266 | background-color: #e7f4fe; |
| 275 | div{ | 267 | div { |
| 276 | font-size: 16px; | 268 | font-size: 16px; |
| 277 | font-weight: 600; | 269 | font-weight: 600; |
| 278 | } | 270 | } |
| 279 | 271 | } | |
| 280 | } | 272 | .blxx { |
| 281 | .blxx { | 273 | .el-menu-item { |
| 282 | .el-menu-item{ | ||
| 283 | display: flex; | 274 | display: flex; |
| 284 | justify-content: space-between; | 275 | justify-content: space-between; |
| 285 | } | 276 | } |
| 286 | border: #b0d9f8 solid 1px; | 277 | border: #b0d9f8 solid 1px; |
| 287 | .tpcolor{ | 278 | .tpcolor { |
| 288 | color: red; | 279 | color: red; |
| 289 | line-height: 22px; | 280 | line-height: 22px; |
| 290 | } | 281 | } |
| 291 | .el-icon-delete{ | 282 | .el-icon-delete { |
| 292 | margin-right: 3px; | 283 | margin-right: 3px; |
| 293 | // background-color: saddlebrown; | 284 | // background-color: saddlebrown; |
| 294 | height: 27px; | 285 | height: 27px; |
| 295 | float: left; | 286 | float: left; |
| 296 | |||
| 297 | } | 287 | } |
| 298 | } | 288 | } |
| 299 | </style> | 289 | </style> | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-07-17 14:20:28 | 4 | * @LastEditTime: 2023-07-17 16:14:23 |
| 5 | */ | 5 | */ |
| 6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
| 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
| ... | @@ -18,7 +18,6 @@ import { | ... | @@ -18,7 +18,6 @@ import { |
| 18 | unClaimTask | 18 | unClaimTask |
| 19 | } from "@/api/workFlow.js"; | 19 | } from "@/api/workFlow.js"; |
| 20 | import { mapGetters } from 'vuex' | 20 | import { mapGetters } from 'vuex' |
| 21 | import { log } from "bpmn-js-token-simulation"; | ||
| 22 | export default { | 21 | export default { |
| 23 | data () { | 22 | data () { |
| 24 | return { | 23 | return { | ... | ... |
| ... | @@ -12,8 +12,7 @@ | ... | @@ -12,8 +12,7 @@ |
| 12 | <li | 12 | <li |
| 13 | @click="operation(item)" | 13 | @click="operation(item)" |
| 14 | v-for="(item, index) in leftButtonList" | 14 | v-for="(item, index) in leftButtonList" |
| 15 | :key="index" | 15 | :key="index"> |
| 16 | > | ||
| 17 | <svg-icon class="icon" :icon-class="item.icon" /> | 16 | <svg-icon class="icon" :icon-class="item.icon" /> |
| 18 | <span class="iconName">{{ item.name }}</span> | 17 | <span class="iconName">{{ item.name }}</span> |
| 19 | </li> | 18 | </li> |
| ... | @@ -22,8 +21,7 @@ | ... | @@ -22,8 +21,7 @@ |
| 22 | <li | 21 | <li |
| 23 | @click="operation(item)" | 22 | @click="operation(item)" |
| 24 | v-for="(item, index) in rightButtonList" | 23 | v-for="(item, index) in rightButtonList" |
| 25 | :key="index" | 24 | :key="index"> |
| 26 | > | ||
| 27 | <svg-icon class="icon" :icon-class="item.icon" /> | 25 | <svg-icon class="icon" :icon-class="item.icon" /> |
| 28 | <span class="iconName">{{ item.name }}</span> | 26 | <span class="iconName">{{ item.name }}</span> |
| 29 | </li> | 27 | </li> |
| ... | @@ -50,15 +48,13 @@ | ... | @@ -50,15 +48,13 @@ |
| 50 | :label="item.name" | 48 | :label="item.name" |
| 51 | :name="item.value" | 49 | :name="item.value" |
| 52 | v-for="item in tabList" | 50 | v-for="item in tabList" |
| 53 | :key="item.value" | 51 | :key="item.value"> |
| 54 | > | ||
| 55 | </el-tab-pane> | 52 | </el-tab-pane> |
| 56 | </el-tabs> | 53 | </el-tabs> |
| 57 | <component | 54 | <component |
| 58 | :key="fresh" | 55 | :key="fresh" |
| 59 | :is="componentTag" | 56 | :is="componentTag" |
| 60 | v-bind="currentSelectProps" | 57 | v-bind="currentSelectProps" /> |
| 61 | /> | ||
| 62 | </div> | 58 | </div> |
| 63 | </div> | 59 | </div> |
| 64 | </div> | 60 | </div> |
| ... | @@ -67,26 +63,26 @@ | ... | @@ -67,26 +63,26 @@ |
| 67 | </div> | 63 | </div> |
| 68 | </template> | 64 | </template> |
| 69 | <style scoped lang="scss"> | 65 | <style scoped lang="scss"> |
| 70 | @import "~@/styles/mixin.scss"; | 66 | @import "~@/styles/mixin.scss"; |
| 71 | @import "./workFrame.scss"; | 67 | @import "./workFrame.scss"; |
| 72 | </style> | 68 | </style> |
| 73 | <script> | 69 | <script> |
| 74 | import WorkFlow from "./mixin/index"; | 70 | import WorkFlow from "./mixin/index"; |
| 75 | import { getForm } from "./flowform"; | 71 | import { getForm } from "./flowform"; |
| 76 | import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; | 72 | import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; |
| 77 | import NoticeBar from "@/components/NoticeBar/index"; | 73 | import NoticeBar from "@/components/NoticeBar/index"; |
| 78 | import ProcessViewer from "./components/processViewer.vue"; | 74 | import ProcessViewer from "./components/processViewer.vue"; |
| 79 | // 引入左侧菜单 | 75 | // 引入左侧菜单 |
| 80 | import { leftMenubl } from "@/api/djbRepair.js"; | 76 | import { leftMenubl } from "@/api/djbRepair.js"; |
| 81 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 77 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
| 82 | import qllxDailog from "./djbBook/components/qllxDailog"; | 78 | import qllxDailog from "./djbBook/components/qllxDailog"; |
| 83 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 79 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
| 84 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; | 80 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; |
| 85 | // 登记簿数据信息 | 81 | // 登记簿数据信息 |
| 86 | import { addRepairRecord } from "@/api/djbRepair.js"; | 82 | import { addRepairRecord } from "@/api/djbRepair.js"; |
| 87 | 83 | ||
| 88 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 84 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
| 89 | export default { | 85 | export default { |
| 90 | components: { | 86 | components: { |
| 91 | selectBdc, | 87 | selectBdc, |
| 92 | NoticeBar, | 88 | NoticeBar, |
| ... | @@ -95,15 +91,16 @@ export default { | ... | @@ -95,15 +91,16 @@ export default { |
| 95 | qllxDailog, | 91 | qllxDailog, |
| 96 | }, | 92 | }, |
| 97 | mixins: [WorkFlow], | 93 | mixins: [WorkFlow], |
| 98 | data() { | 94 | data () { |
| 99 | return { | 95 | return { |
| 100 | bsmSlsq: this.$route.query.bsmSlsq, | 96 | bsmSlsq: this.$route.query.bsmSlsq, |
| 101 | bestepid: this.$route.query.bestepid, | 97 | bestepid: this.$route.query.bestepid, |
| 98 | bsmBusiness: this.$route.query.bsmBusiness, | ||
| 102 | //设置那个表单选中 | 99 | //设置那个表单选中 |
| 103 | tabName: "", | 100 | tabName: "", |
| 104 | // 弹框显示 | 101 | // 弹框显示 |
| 105 | dialogVisible: true, | 102 | dialogVisible: true, |
| 106 | isEdit:false, | 103 | isEdit: false, |
| 107 | //表单集合 | 104 | //表单集合 |
| 108 | tabList: [], | 105 | tabList: [], |
| 109 | type: "READ_ONLY", | 106 | type: "READ_ONLY", |
| ... | @@ -118,18 +115,18 @@ export default { | ... | @@ -118,18 +115,18 @@ export default { |
| 118 | //页面监听时间 | 115 | //页面监听时间 |
| 119 | _beforeUnload_time: "", | 116 | _beforeUnload_time: "", |
| 120 | treedata: {}, | 117 | treedata: {}, |
| 121 | bsmRepair:"", | 118 | bsmRepair: "", |
| 122 | tabdata: [], | 119 | tabdata: [], |
| 123 | defaultNode: {}, | 120 | defaultNode: {}, |
| 124 | ableOperation:false | 121 | ableOperation: false |
| 125 | }; | 122 | }; |
| 126 | }, | 123 | }, |
| 127 | mounted() { | 124 | mounted () { |
| 128 | // this.getleftMenubl() | 125 | // this.getleftMenubl() |
| 129 | }, | 126 | }, |
| 130 | 127 | ||
| 131 | methods: { | 128 | methods: { |
| 132 | stepForm(qllx) { | 129 | stepForm (qllx) { |
| 133 | this.oneSelectProps.qllx = qllx; | 130 | this.oneSelectProps.qllx = qllx; |
| 134 | if (this.$refs.Menu.supplementarylist.length) { | 131 | if (this.$refs.Menu.supplementarylist.length) { |
| 135 | this.oneSelectProps.type = this.type | 132 | this.oneSelectProps.type = this.type |
| ... | @@ -137,16 +134,16 @@ export default { | ... | @@ -137,16 +134,16 @@ export default { |
| 137 | this.$nextTick(function () { | 134 | this.$nextTick(function () { |
| 138 | this.tabList = res.result; | 135 | this.tabList = res.result; |
| 139 | this.tabName = this.tabList[0].value; | 136 | this.tabName = this.tabList[0].value; |
| 140 | console.log("是否只读",this.tabList[0].ableOperation); | 137 | console.log("是否只读", this.tabList[0].ableOperation); |
| 141 | this.ableOperation=this.tabList[0].ableOperation | 138 | this.ableOperation = this.tabList[0].ableOperation |
| 142 | this.getFromRouter(this.tabName); | 139 | this.getFromRouter(this.tabName); |
| 143 | }); | 140 | }); |
| 144 | }); | 141 | }); |
| 145 | } | 142 | } |
| 146 | }, | 143 | }, |
| 147 | // 获取右侧选项卡 | 144 | // 获取右侧选项卡 |
| 148 | getCurrentSelectProps(val) { | 145 | getCurrentSelectProps (val) { |
| 149 | this.bsmRepair= val.bsmRepair | 146 | this.bsmRepair = val.bsmRepair |
| 150 | if (val.bdcdyid) { | 147 | if (val.bdcdyid) { |
| 151 | this.oneSelectProps = val; | 148 | this.oneSelectProps = val; |
| 152 | } | 149 | } |
| ... | @@ -162,7 +159,7 @@ export default { | ... | @@ -162,7 +159,7 @@ export default { |
| 162 | } | 159 | } |
| 163 | }, | 160 | }, |
| 164 | // 获取渲染登记簿列表 | 161 | // 获取渲染登记簿列表 |
| 165 | getdjblist() { | 162 | getdjblist () { |
| 166 | getBdcqljqtsx({ | 163 | getBdcqljqtsx({ |
| 167 | bdcdyid: this.currentSelectProps.bdcdyid, | 164 | bdcdyid: this.currentSelectProps.bdcdyid, |
| 168 | bdcdyh: this.currentSelectProps.bdcdyh, | 165 | bdcdyh: this.currentSelectProps.bdcdyh, |
| ... | @@ -191,21 +188,21 @@ export default { | ... | @@ -191,21 +188,21 @@ export default { |
| 191 | }); | 188 | }); |
| 192 | }, | 189 | }, |
| 193 | //右侧表单选项卡事件 | 190 | //右侧表单选项卡事件 |
| 194 | beforeLeave(activeName) { | 191 | beforeLeave (activeName) { |
| 195 | if (activeName && activeName != 0) this.getFromRouter(activeName); | 192 | if (activeName && activeName != 0) this.getFromRouter(activeName); |
| 196 | }, | 193 | }, |
| 197 | //切换选项卡内容组件 | 194 | //切换选项卡内容组件 |
| 198 | getFromRouter(tabname) { | 195 | getFromRouter (tabname) { |
| 199 | this.componentTag = getForm(tabname); | 196 | this.componentTag = getForm(tabname); |
| 200 | }, | 197 | }, |
| 201 | closefp() { | 198 | closefp () { |
| 202 | this.splitScreen = this.splitScreen ? false : true; | 199 | this.splitScreen = this.splitScreen ? false : true; |
| 203 | this.$store.dispatch("app/set1tScreen", this.splitScreen); | 200 | this.$store.dispatch("app/set1tScreen", this.splitScreen); |
| 204 | this.getFromRouter(this.tabList[0].value); | 201 | this.getFromRouter(this.tabList[0].value); |
| 205 | this.clxxForm = getForm(this.tabList[1].value); | 202 | this.clxxForm = getForm(this.tabList[1].value); |
| 206 | }, | 203 | }, |
| 207 | // 增加补录记录 | 204 | // 增加补录记录 |
| 208 | addRepairRecord(row, del) { | 205 | addRepairRecord (row, del) { |
| 209 | let from = { | 206 | let from = { |
| 210 | bsmQlxx: "", | 207 | bsmQlxx: "", |
| 211 | bsmSlsq: this.bsmSlsq, | 208 | bsmSlsq: this.bsmSlsq, |
| ... | @@ -245,6 +242,6 @@ export default { | ... | @@ -245,6 +242,6 @@ export default { |
| 245 | }); | 242 | }); |
| 246 | }, | 243 | }, |
| 247 | }, | 244 | }, |
| 248 | }; | 245 | }; |
| 249 | </script> | 246 | </script> |
| 250 | <style scoped lang="scss"></style> | 247 | <style scoped lang="scss"></style> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-25 10:42:50 | 4 | * @LastEditTime: 2023-07-17 16:20:37 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| ... | @@ -39,9 +39,9 @@ | ... | @@ -39,9 +39,9 @@ |
| 39 | </div> | 39 | </div> |
| 40 | </template> | 40 | </template> |
| 41 | <script> | 41 | <script> |
| 42 | import { mapGetters } from 'vuex' | 42 | import { mapGetters } from 'vuex' |
| 43 | import { leftMenu, deleteSlbdcdy } from "@/api/workFlow.js" | 43 | import { leftMenu, deleteSlbdcdy } from "@/api/workFlow.js" |
| 44 | export default { | 44 | export default { |
| 45 | data () { | 45 | data () { |
| 46 | return { | 46 | return { |
| 47 | //受理申请标识码 | 47 | //受理申请标识码 |
| ... | @@ -82,6 +82,9 @@ export default { | ... | @@ -82,6 +82,9 @@ export default { |
| 82 | var formdata = new FormData(); | 82 | var formdata = new FormData(); |
| 83 | formdata.append("bsmSlsq", this.bsmSlsq); | 83 | formdata.append("bsmSlsq", this.bsmSlsq); |
| 84 | formdata.append("bestepid", this.bestepid); | 84 | formdata.append("bestepid", this.bestepid); |
| 85 | if (this.$route.query.bsmBusiness) { | ||
| 86 | formdata.append("bsmBusiness", this.$route.query.bsmBusiness); | ||
| 87 | } | ||
| 85 | leftMenu(formdata).then((res) => { | 88 | leftMenu(formdata).then((res) => { |
| 86 | if (res.code === 200 && res.result) { | 89 | if (res.code === 200 && res.result) { |
| 87 | this.unitData = res.result; | 90 | this.unitData = res.result; |
| ... | @@ -184,12 +187,12 @@ export default { | ... | @@ -184,12 +187,12 @@ export default { |
| 184 | this.$store.dispatch('user/refreshPage', false); | 187 | this.$store.dispatch('user/refreshPage', false); |
| 185 | } | 188 | } |
| 186 | } | 189 | } |
| 187 | } | 190 | } |
| 188 | </script> | 191 | </script> |
| 189 | <style scoped lang='scss'> | 192 | <style scoped lang='scss'> |
| 190 | @import "~@/styles/mixin.scss"; | 193 | @import "~@/styles/mixin.scss"; |
| 191 | @import "../../workFrame.scss"; | 194 | @import "../../workFrame.scss"; |
| 192 | .leftmenu ul { | 195 | .leftmenu ul { |
| 193 | height: calc(100vh - 120px); | 196 | height: calc(100vh - 120px); |
| 194 | } | 197 | } |
| 195 | </style> | 198 | </style> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-25 10:18:02 | 4 | * @LastEditTime: 2023-07-17 16:21:24 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| ... | @@ -99,6 +99,9 @@ | ... | @@ -99,6 +99,9 @@ |
| 99 | var formdata = new FormData(); | 99 | var formdata = new FormData(); |
| 100 | formdata.append("bsmSlsq", this.bsmSlsq); | 100 | formdata.append("bsmSlsq", this.bsmSlsq); |
| 101 | formdata.append("bestepid", this.bestepid); | 101 | formdata.append("bestepid", this.bestepid); |
| 102 | if (this.$route.query.bsmBusiness) { | ||
| 103 | formdata.append("bsmBusiness", this.$route.query.bsmBusiness); | ||
| 104 | } | ||
| 102 | leftMenu(formdata).then((res) => { | 105 | leftMenu(formdata).then((res) => { |
| 103 | if (res.code === 200 && res.result) { | 106 | if (res.code === 200 && res.result) { |
| 104 | this.aroundUnitData = res.result.filter(item => item.bglx == '1') | 107 | this.aroundUnitData = res.result.filter(item => item.bglx == '1') | ... | ... |
-
Please register or sign in to post a comment