Merge remote-tracking branch 'origin/master'
Showing
7 changed files
with
76 additions
and
59 deletions
src/api/search.js
0 → 100644
... | @@ -9,3 +9,28 @@ export function insertZrzjbxx (data) { | ... | @@ -9,3 +9,28 @@ export function insertZrzjbxx (data) { |
9 | data: data, | 9 | data: data, |
10 | }) | 10 | }) |
11 | } | 11 | } |
12 | |||
13 | /** | ||
14 | * 生成不动产单元号 | ||
15 | */ | ||
16 | export function getBdcdyh (dpdm,dptype) { | ||
17 | return request({ | ||
18 | url: '/system/generator/getBdcdyh', | ||
19 | method: 'get', | ||
20 | params:{ | ||
21 | dpdm:dpdm, | ||
22 | dptype:dptype | ||
23 | } | ||
24 | }) | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * 保存自然幢信息 | ||
29 | */ | ||
30 | export function saveZrzInfo (data) { | ||
31 | return request({ | ||
32 | url: '/fw/qjZrz/updateQjZrz', | ||
33 | method: 'put', | ||
34 | data:data | ||
35 | }) | ||
36 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -12,7 +12,10 @@ const store = new Vuex.Store({ | ... | @@ -12,7 +12,10 @@ const store = new Vuex.Store({ |
12 | zdbsm:'', | 12 | zdbsm:'', |
13 | xzqList:[], | 13 | xzqList:[], |
14 | djqList:[], | 14 | djqList:[], |
15 | djzqList:[] | 15 | djzqList:[], |
16 | //创建自然幢时需要用到的临时存储信息 | ||
17 | zrzbsm:'', | ||
18 | xmmc:'', | ||
16 | }, | 19 | }, |
17 | modules: { | 20 | modules: { |
18 | user, | 21 | user, | ... | ... |
... | @@ -31,27 +31,6 @@ | ... | @@ -31,27 +31,6 @@ |
31 | <i :class="item.icon"></i> | 31 | <i :class="item.icon"></i> |
32 | <span>{{ item.name }}</span> | 32 | <span>{{ item.name }}</span> |
33 | </div> | 33 | </div> |
34 | <div class="top-items"> | ||
35 | <el-menu | ||
36 | :default-active="activeIndex" | ||
37 | class="el-menu-demo" | ||
38 | mode="horizontal" | ||
39 | @select="handleSelect" | ||
40 | :router="true" | ||
41 | > | ||
42 | <el-submenu index="2"> | ||
43 | <template slot="title" | ||
44 | >临时网页开发路由跳转</template | ||
45 | > | ||
46 | <el-menu-item | ||
47 | v-for="(item, index) in tempTab" | ||
48 | :index="item.path" | ||
49 | :key="'tempTab' + index" | ||
50 | >{{ item.name }}</el-menu-item | ||
51 | > | ||
52 | </el-submenu> | ||
53 | </el-menu> | ||
54 | </div> | ||
55 | </div> | 34 | </div> |
56 | <div class="header-bottom"> | 35 | <div class="header-bottom"> |
57 | <Navigation ref="navigation"></Navigation> | 36 | <Navigation ref="navigation"></Navigation> |
... | @@ -73,7 +52,6 @@ | ... | @@ -73,7 +52,6 @@ |
73 | </template> | 52 | </template> |
74 | <script> | 53 | <script> |
75 | import util from "@/libs/util.js"; | 54 | import util from "@/libs/util.js"; |
76 | import screenfull from "screenfull"; | ||
77 | import Navigation from "../components/IvyElement/navigation"; | 55 | import Navigation from "../components/IvyElement/navigation"; |
78 | import Create from "./panel/create/index"; | 56 | import Create from "./panel/create/index"; |
79 | import LineTree from "../components/lineTree/lineTree"; | 57 | import LineTree from "../components/lineTree/lineTree"; |
... | @@ -86,7 +64,6 @@ export default { | ... | @@ -86,7 +64,6 @@ export default { |
86 | }, | 64 | }, |
87 | data() { | 65 | data() { |
88 | return { | 66 | return { |
89 | activeIndex: "1", | ||
90 | navigationList: [], | 67 | navigationList: [], |
91 | isActive: false, | 68 | isActive: false, |
92 | textLogo: false, | 69 | textLogo: false, |
... | @@ -310,21 +287,10 @@ export default { | ... | @@ -310,21 +287,10 @@ export default { |
310 | } | 287 | } |
311 | }); | 288 | }); |
312 | }, | 289 | }, |
313 | screen() { | ||
314 | // 如果不允许进入全屏,发出不允许提示 | ||
315 | // if (!screenfull.enabled) { | ||
316 | // this.$message('您的浏览器不能全屏'); | ||
317 | // return false | ||
318 | // } | ||
319 | screenfull.toggle(); | ||
320 | }, | ||
321 | //树控件点击事件 | 290 | //树控件点击事件 |
322 | itemClick(data) { | 291 | itemClick(data) { |
323 | console.log(data); | 292 | console.log(data); |
324 | }, | 293 | }, |
325 | handleSelect(key, keyPath) { | ||
326 | console.log(key, keyPath); | ||
327 | }, | ||
328 | //关闭新建子组件弹框 | 294 | //关闭新建子组件弹框 |
329 | closeDialog(){ | 295 | closeDialog(){ |
330 | this.dialogVisible = false; | 296 | this.dialogVisible = false; | ... | ... |
... | @@ -242,7 +242,12 @@ export default { | ... | @@ -242,7 +242,12 @@ export default { |
242 | }); | 242 | }); |
243 | //todo 跳转到自然幢基本信息内容表页面 (预留) | 243 | //todo 跳转到自然幢基本信息内容表页面 (预留) |
244 | this.close(); | 244 | this.close(); |
245 | this.$router.push("/zrz"); | 245 | this.$store.zdbsm=res.result.zdbsm; |
246 | this.$store.zrzbsm=res.result.bsm; | ||
247 | this.$store.xmmc=res.result.xmmc; | ||
248 | this.$router.push({ | ||
249 | path: '/zrz', query:{data: res.result} | ||
250 | }); | ||
246 | } else { | 251 | } else { |
247 | this.$message.error("创建失败!"); | 252 | this.$message.error("创建失败!"); |
248 | } | 253 | } | ... | ... |
... | @@ -43,6 +43,7 @@ | ... | @@ -43,6 +43,7 @@ |
43 | 43 | ||
44 | <script> | 44 | <script> |
45 | import SearchHead from "../../../components/searchHead/searchHead"; | 45 | import SearchHead from "../../../components/searchHead/searchHead"; |
46 | import {getSearchList} from "../../../api/search"; | ||
46 | export default { | 47 | export default { |
47 | name: "", | 48 | name: "", |
48 | components: { SearchHead }, | 49 | components: { SearchHead }, |
... | @@ -55,35 +56,42 @@ export default { | ... | @@ -55,35 +56,42 @@ export default { |
55 | type: [], | 56 | type: [], |
56 | }, | 57 | }, |
57 | tableData: [ | 58 | tableData: [ |
58 | { | 59 | // { |
59 | bdcdyh: "610101001001GB00001W", | 60 | // bdcdyh: "610101001001GB00001W", |
60 | xmmc: "万科集团万科城", | 61 | // xmmc: "万科集团万科城", |
61 | bdcqzh: "陕(2017)西安市不动产权第00000", | 62 | // bdcqzh: "陕(2017)西安市不动产权第00000", |
62 | lx: "宗地", | 63 | // lx: "宗地", |
63 | qlr: "李子新", | 64 | // qlr: "李子新", |
64 | zl: "灞桥-田家湾-咸宁东路,近浐河西路", | 65 | // zl: "灞桥-田家湾-咸宁东路,近浐河西路", |
65 | zrsj: "2020.09.07 ", | 66 | // zrsj: "2020.09.07 ", |
66 | cjr: "李子新", | 67 | // cjr: "李子新", |
67 | }, | 68 | // }, |
68 | ], | 69 | ], |
69 | tableHeight: "", | 70 | tableHeight: "", |
70 | }; | 71 | }; |
71 | }, | 72 | }, |
72 | created() {}, | 73 | created() {}, |
73 | mounted() { | 74 | mounted() { |
74 | for (let i = 0; i < 11; i++) { | 75 | getSearchList().then((res)=>{ |
75 | let obj = { | 76 | console.log(res) |
76 | bdcdyh: "610101001001GB00001W", | 77 | if(res.code===200){ |
77 | xmmc: "万科集团万科城", | 78 | this.tableData=res.result.records; |
78 | bdcqzh: "陕(2017)西安市不动产权第00000", | 79 | console.log(this.tableData) |
79 | lx: "自然幢", | 80 | } |
80 | qlr: "李子新", | 81 | }) |
81 | zl: "灞桥-田家湾-咸宁东路,近浐河西路", | 82 | // for (let i = 0; i < 11; i++) { |
82 | zrsj: "2020.09.07 ", | 83 | // let obj = { |
83 | cjr: "李子新", | 84 | // bdcdyh: "610101001001GB00001W", |
84 | }; | 85 | // xmmc: "万科集团万科城", |
85 | this.tableData.push(obj); | 86 | // bdcqzh: "陕(2017)西安市不动产权第00000", |
86 | } | 87 | // lx: "自然幢", |
88 | // qlr: "李子新", | ||
89 | // zl: "灞桥-田家湾-咸宁东路,近浐河西路", | ||
90 | // zrsj: "2020.09.07 ", | ||
91 | // cjr: "李子新", | ||
92 | // }; | ||
93 | // this.tableData.push(obj); | ||
94 | // } | ||
87 | this.tableHeight = this.$refs.dataGrid.offsetHeight - 68; | 95 | this.tableHeight = this.$refs.dataGrid.offsetHeight - 68; |
88 | }, | 96 | }, |
89 | methods: { | 97 | methods: { | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment