16379733 by xiaomiao

--no commit message

1 parent c828314b
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
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 >
16 <svg-icon class="icon" :icon-class="item.icon" /> 17 <svg-icon class="icon" :icon-class="item.icon" />
17 <span class="iconName">{{ item.name }}</span> 18 <span class="iconName">{{ item.name }}</span>
18 </li> 19 </li>
...@@ -21,7 +22,8 @@ ...@@ -21,7 +22,8 @@
21 <li 22 <li
22 @click="operation(item)" 23 @click="operation(item)"
23 v-for="(item, index) in rightButtonList" 24 v-for="(item, index) in rightButtonList"
24 :key="index"> 25 :key="index"
26 >
25 <svg-icon class="icon" :icon-class="item.icon" /> 27 <svg-icon class="icon" :icon-class="item.icon" />
26 <span class="iconName">{{ item.name }}</span> 28 <span class="iconName">{{ item.name }}</span>
27 </li> 29 </li>
...@@ -50,19 +52,22 @@ ...@@ -50,19 +52,22 @@
50 <el-tabs 52 <el-tabs
51 v-model="tabName" 53 v-model="tabName"
52 :before-leave="beforeLeave" 54 :before-leave="beforeLeave"
53 @tab-click="handleClick"> 55 @tab-click="handleClick"
56 >
54 <el-tab-pane 57 <el-tab-pane
55 :label="item.name" 58 :label="item.name"
56 :name="item.value" 59 :name="item.value"
57 v-for="item in tabList" 60 v-for="item in tabList"
58 :key="item.value"> 61 :key="item.value"
62 >
59 </el-tab-pane> 63 </el-tab-pane>
60 </el-tabs> 64 </el-tabs>
61 65
62 <component 66 <component
63 :key="fresh" 67 :key="fresh"
64 :is="componentTag" 68 :is="componentTag"
65 v-bind="currentSelectProps" /> 69 v-bind="currentSelectProps"
70 />
66 </div> 71 </div>
67 </div> 72 </div>
68 </div> 73 </div>
...@@ -71,26 +76,26 @@ ...@@ -71,26 +76,26 @@
71 </div> 76 </div>
72 </template> 77 </template>
73 <style scoped lang="scss"> 78 <style scoped lang="scss">
74 @import "~@/styles/mixin.scss"; 79 @import "~@/styles/mixin.scss";
75 @import "./workFrame.scss"; 80 @import "./workFrame.scss";
76 </style> 81 </style>
77 <script> 82 <script>
78 import WorkFlow from "./mixin/index"; 83 import WorkFlow from "./mixin/index";
79 import { getForm } from "./flowform"; 84 import { getForm } from "./flowform";
80 import { getStepFormInfo } from "@/api/workFlow.js"; 85 import { getStepFormInfo } from "@/api/workFlow.js";
81 import NoticeBar from "@/components/NoticeBar/index"; 86 import NoticeBar from "@/components/NoticeBar/index";
82 // import ProcessViewer from "./components/processViewer.vue"; 87 // import ProcessViewer from "./components/processViewer.vue";
83 88
84 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; 89 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
85 import qllxDailog from "./djbBook/components/qllxDailog"; 90 import qllxDailog from "./djbBook/components/qllxDailog";
86 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; 91 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue";
87 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; 92 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js";
88 // 登记簿数据信息 93 // 登记簿数据信息
89 import { addRepairRecord } from "@/api/djbRepair.js"; 94 import { addRepairRecord } from "@/api/djbRepair.js";
90 // 获取权利类型数组 95 // 获取权利类型数组
91 96
92 import { getBdcqljqtsx } from "@/api/djbDetail.js"; 97 import { getBdcqljqtsx } from "@/api/djbDetail.js";
93 export default { 98 export default {
94 components: { 99 components: {
95 selectBdc, 100 selectBdc,
96 NoticeBar, 101 NoticeBar,
...@@ -98,7 +103,7 @@ ...@@ -98,7 +103,7 @@
98 qllxDailog, 103 qllxDailog,
99 }, 104 },
100 mixins: [WorkFlow], 105 mixins: [WorkFlow],
101 data () { 106 data() {
102 return { 107 return {
103 bsmSlsq: this.$route.query.bsmSlsq, 108 bsmSlsq: this.$route.query.bsmSlsq,
104 //当前流程所在环节 109 //当前流程所在环节
...@@ -134,7 +139,7 @@ ...@@ -134,7 +139,7 @@
134 ableOperation: false, 139 ableOperation: false,
135 }; 140 };
136 }, 141 },
137 mounted () { 142 mounted() {
138 // this.getleftMenubl() 143 // this.getleftMenubl()
139 }, 144 },
140 145
...@@ -144,7 +149,7 @@ ...@@ -144,7 +149,7 @@
144 * @param {*} qllx 149 * @param {*} qllx
145 * @author: renchao 150 * @author: renchao
146 */ 151 */
147 stepForm (qllx) { 152 stepForm(qllx) {
148 this.oneSelectProps.qllx = qllx; 153 this.oneSelectProps.qllx = qllx;
149 if (this.$refs.Menu.supplementarylist.length) { 154 if (this.$refs.Menu.supplementarylist.length) {
150 getStepFormInfo(this.oneSelectProps).then((res) => { 155 getStepFormInfo(this.oneSelectProps).then((res) => {
...@@ -174,7 +179,7 @@ ...@@ -174,7 +179,7 @@
174 * @param {*} val 179 * @param {*} val
175 * @author: renchao 180 * @author: renchao
176 */ 181 */
177 getCurrentSelectProps (val) { 182 getCurrentSelectProps(val) {
178 this.bsmRepair = val.bsmRepair; 183 this.bsmRepair = val.bsmRepair;
179 if (val.bdcdyid) { 184 if (val.bdcdyid) {
180 this.oneSelectProps = val; 185 this.oneSelectProps = val;
...@@ -195,7 +200,7 @@ ...@@ -195,7 +200,7 @@
195 * @description: 获取渲染登记簿列表 200 * @description: 获取渲染登记簿列表
196 * @author: renchao 201 * @author: renchao
197 */ 202 */
198 getdjblist () { 203 getdjblist() {
199 getBdcqljqtsx({ 204 getBdcqljqtsx({
200 bdcdyid: this.currentSelectProps.bdcdyid, 205 bdcdyid: this.currentSelectProps.bdcdyid,
201 bdcdyh: this.currentSelectProps.bdcdyh, 206 bdcdyh: this.currentSelectProps.bdcdyh,
...@@ -236,7 +241,6 @@ ...@@ -236,7 +241,6 @@
236 if (p) { 241 if (p) {
237 this.ableOperation = this.tabList[a.index].ableOperation; 242 this.ableOperation = this.tabList[a.index].ableOperation;
238 } 243 }
239
240 }, 244 },
241 //右侧表单选项卡事件 245 //右侧表单选项卡事件
242 /** 246 /**
...@@ -244,7 +248,7 @@ ...@@ -244,7 +248,7 @@
244 * @param {*} activeName 248 * @param {*} activeName
245 * @author: renchao 249 * @author: renchao
246 */ 250 */
247 beforeLeave (activeName) { 251 beforeLeave(activeName) {
248 if (activeName && activeName != 0) this.getFromRouter(activeName); 252 if (activeName && activeName != 0) this.getFromRouter(activeName);
249 }, 253 },
250 //切换选项卡内容组件 254 //切换选项卡内容组件
...@@ -253,16 +257,12 @@ ...@@ -253,16 +257,12 @@
253 * @param {*} tabname 257 * @param {*} tabname
254 * @author: renchao 258 * @author: renchao
255 */ 259 */
256 getFromRouter (tabname) { 260 getFromRouter(tabname) {
257 this.componentTag = getForm(tabname); 261 this.componentTag = getForm(tabname);
258 }, 262 },
259 // closefp () { 263 changeywh() {
260 // this.splitScreen = this.splitScreen ? false : true; 264 this.$refs.Menu.getleftMenubl("change");
261 // this.$store.dispatch("app/set1tScreen", this.splitScreen); 265 },
262 // this.getFromRouter(this.tabList[0].value);
263 // this.clxxForm = getForm(this.tabList[1].value);
264 // this.tabName = this.tabList[0].value
265 // },
266 // 增加补录记录 266 // 增加补录记录
267 /** 267 /**
268 * @description: 增加补录记录 268 * @description: 增加补录记录
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
270 * @param {*} del 270 * @param {*} del
271 * @author: renchao 271 * @author: renchao
272 */ 272 */
273 addRepairRecord (row, del) { 273 addRepairRecord(row, del) {
274 console.log("row", row, del); 274 console.log("row", row, del);
275 let from = { 275 let from = {
276 bsmQlxx: "", 276 bsmQlxx: "",
...@@ -323,13 +323,13 @@ ...@@ -323,13 +323,13 @@
323 // this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true) 323 // this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true)
324 // } 324 // }
325 }, 325 },
326 }; 326 };
327 </script> 327 </script>
328 <style scoped lang="scss"> 328 <style scoped lang="scss">
329 .rightContainer { 329 .rightContainer {
330 position: relative; 330 position: relative;
331 } 331 }
332 .count { 332 .count {
333 font-size: 14px; 333 font-size: 14px;
334 position: absolute; 334 position: absolute;
335 right: 25px; 335 right: 25px;
...@@ -339,5 +339,5 @@ ...@@ -339,5 +339,5 @@
339 font-weight: 600; 339 font-weight: 600;
340 color: #3498db; 340 color: #3498db;
341 } 341 }
342 } 342 }
343 </style> 343 </style>
......