Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
26 changed files
with
423 additions
and
71 deletions
1 | # just a flag | 1 | # just a flag |
2 | ENV = 'demonstration' | 2 | ENV = 'production' |
3 | NODE_ENV=development | 3 | NODE_ENV=production |
4 | # base api | 4 | # base api |
5 | VUE_APP_BASE_API = '/dev-api' | 5 | VUE_APP_BASE_API = '/service-bdcdj' |
6 | 6 | ||
7 | # 演示,正式后端 | 7 | # 演示,正式后端 |
8 | VUE_APP_API_BASE_URL = 'http://192.168.2.38:8018' | 8 | VUE_APP_API_BASE_URL = 'http://192.168.2.38:8008/service-bdcdj' | ... | ... |
... | @@ -4,8 +4,8 @@ | ... | @@ -4,8 +4,8 @@ |
4 | "description": "HOUTAI", | 4 | "description": "HOUTAI", |
5 | "author": "psh", | 5 | "author": "psh", |
6 | "scripts": { | 6 | "scripts": { |
7 | "dev": "vue-cli-service serve --mode development", | 7 | "dev": "vue-cli-service serve", |
8 | "build": "vue-cli-service build --mode build-development" | 8 | "build": "vue-cli-service build" |
9 | }, | 9 | }, |
10 | "dependencies": { | 10 | "dependencies": { |
11 | "@babel/polyfill": "^7.12.1", | 11 | "@babel/polyfill": "^7.12.1", | ... | ... |
... | @@ -69,3 +69,12 @@ export function save (data) { | ... | @@ -69,3 +69,12 @@ export function save (data) { |
69 | data | 69 | data |
70 | }) | 70 | }) |
71 | } | 71 | } |
72 | |||
73 | // 材料目录批量删除 | ||
74 | export function clmlDelete (params) { | ||
75 | return request({ | ||
76 | url: '/zhcx/clml/delete', | ||
77 | method: 'delete', | ||
78 | params: params | ||
79 | }) | ||
80 | } | ... | ... |
... | @@ -22,14 +22,13 @@ | ... | @@ -22,14 +22,13 @@ |
22 | </template> | 22 | </template> |
23 | <script> | 23 | <script> |
24 | import { mapGetters } from 'vuex' | 24 | import { mapGetters } from 'vuex' |
25 | import logonImg from '@/image/logo.png' | ||
26 | export default { | 25 | export default { |
27 | computed: { | 26 | computed: { |
28 | ...mapGetters(['sidebar', 'avatar', 'name']) | 27 | ...mapGetters(['sidebar', 'avatar', 'name']) |
29 | }, | 28 | }, |
30 | data () { | 29 | data () { |
31 | return { | 30 | return { |
32 | logo: logonImg | 31 | logo: require('../../image/logo.png') |
33 | } | 32 | } |
34 | }, | 33 | }, |
35 | methods: { | 34 | methods: { | ... | ... |
... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
8 | .sidebar-container { | 8 | .sidebar-container { |
9 | transition: width 0.28s; | 9 | transition: width 0.28s; |
10 | width: $sideBarWidth !important; | 10 | width: $sideBarWidth !important; |
11 | height: calc(100% - $headerHeight); | 11 | height: calc(100% - #{$headerHeight}); |
12 | position: fixed; | 12 | position: fixed; |
13 | font-size: 0px; | 13 | font-size: 0px; |
14 | top: $headerHeight; | 14 | top: $headerHeight; | ... | ... |
... | @@ -224,7 +224,22 @@ export default { | ... | @@ -224,7 +224,22 @@ export default { |
224 | }) | 224 | }) |
225 | }, | 225 | }, |
226 | handleMinus (index, row) { | 226 | handleMinus (index, row) { |
227 | this.$confirm('此操作将永久删除, 是否继续?', '提示', { | ||
228 | confirmButtonText: '确定', | ||
229 | cancelButtonText: '取消', | ||
230 | type: 'warning' | ||
231 | }).then(() => { | ||
227 | removeTreeListItem(this.tableData, row.bsmDict) | 232 | removeTreeListItem(this.tableData, row.bsmDict) |
233 | this.$message({ | ||
234 | type: 'success', | ||
235 | message: '删除成功!' | ||
236 | }) | ||
237 | }).catch(() => { | ||
238 | this.$message({ | ||
239 | type: 'info', | ||
240 | message: '已取消删除' | ||
241 | }) | ||
242 | }) | ||
228 | }, | 243 | }, |
229 | handleSubmit () { | 244 | handleSubmit () { |
230 | editDictNode({ | 245 | editDictNode({ | ... | ... |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | <!-- 表格 --> | 47 | <!-- 表格 --> |
48 | <!-- 表格 --> | 48 | <!-- 表格 --> |
49 | <div class="from-clues-content"> | 49 | <div class="from-clues-content"> |
50 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.currentPage" :total="tableData.total" | 50 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.currentPage" :total="tableData.total" |
51 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 51 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
52 | :data="tableData.data"> | 52 | :data="tableData.data"> |
53 | </lb-table> | 53 | </lb-table> | ... | ... |
... | @@ -13,7 +13,7 @@ class data extends filter { | ... | @@ -13,7 +13,7 @@ class data extends filter { |
13 | { | 13 | { |
14 | label: '序号', | 14 | label: '序号', |
15 | type: 'index', | 15 | type: 'index', |
16 | width: '60' | 16 | width: '50' |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | prop: "ywlymc", | 19 | prop: "ywlymc", |
... | @@ -75,13 +75,13 @@ class data extends filter { | ... | @@ -75,13 +75,13 @@ class data extends filter { |
75 | { | 75 | { |
76 | prop: "zl", | 76 | prop: "zl", |
77 | label: "坐落", | 77 | label: "坐落", |
78 | width:'180' | 78 | width:'260' |
79 | }, | 79 | }, |
80 | { | 80 | { |
81 | prop: "slsj", | 81 | prop: "slsj", |
82 | label: "受理时间", | 82 | label: "受理时间", |
83 | sortable: 'custom', | 83 | sortable: 'custom', |
84 | width:'160' | 84 | width:'150' |
85 | }, | 85 | }, |
86 | { | 86 | { |
87 | prop: "slry", | 87 | prop: "slry", | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -43,7 +43,8 @@ | ... | @@ -43,7 +43,8 @@ |
43 | <div class="splitScreen-con" v-if='index == 0'> | 43 | <div class="splitScreen-con" v-if='index == 0'> |
44 | <component ref='slxx' :is="editItem" :flag="flag" :key="key" /> | 44 | <component ref='slxx' :is="editItem" :flag="flag" :key="key" /> |
45 | </div> | 45 | </div> |
46 | <component :is="editItem" v-else :key="key" :unitData="unitData" :id="id" /> | 46 | <component ref='clxx' :is="editItem" v-else-if="index == 1" :key="key" /> |
47 | <component :is="editItem" v-else :key="key" /> | ||
47 | </el-tab-pane> | 48 | </el-tab-pane> |
48 | </el-tabs> | 49 | </el-tabs> |
49 | </div> | 50 | </div> | ... | ... |
... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
53 | </template> | 53 | </template> |
54 | <script> | 54 | <script> |
55 | //查封登记 | 55 | //查封登记 |
56 | import { datas, sendThis } from "./cfdj.js"; | 56 | import { datas, sendThis } from "../javascript/bdcql.js"; |
57 | import table from "@/utils/mixin/table"; | 57 | import table from "@/utils/mixin/table"; |
58 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 58 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
59 | export default { | 59 | export default { | ... | ... |
1 | <template> | 1 | <template> |
2 | <!-- 主体权利信息查询 --> | ||
2 | <div class="from-clues"> | 3 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 4 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 5 | <div class="from-clues-header"> |
... | @@ -52,10 +53,9 @@ | ... | @@ -52,10 +53,9 @@ |
52 | </div> | 53 | </div> |
53 | </template> | 54 | </template> |
54 | <script> | 55 | <script> |
55 | //续封登记 | 56 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; |
56 | import { datas, sendThis } from "./xfdj.js"; | ||
57 | import table from "@/utils/mixin/table"; | 57 | import table from "@/utils/mixin/table"; |
58 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | 58 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
59 | export default { | 59 | export default { |
60 | props: { | 60 | props: { |
61 | bsmSqyw: { type: String, default: '' }, | 61 | bsmSqyw: { type: String, default: '' }, |
... | @@ -68,7 +68,7 @@ export default { | ... | @@ -68,7 +68,7 @@ export default { |
68 | bdcdyh: "", | 68 | bdcdyh: "", |
69 | ywh: "", | 69 | ywh: "", |
70 | bdcqzh: "", | 70 | bdcqzh: "", |
71 | sqywbm: "A03100", | 71 | sqywbm: "B39800", |
72 | }, | 72 | }, |
73 | qllxs: [], | 73 | qllxs: [], |
74 | tableData: { | 74 | tableData: { |
... | @@ -94,7 +94,7 @@ export default { | ... | @@ -94,7 +94,7 @@ export default { |
94 | }, | 94 | }, |
95 | fetchData () { | 95 | fetchData () { |
96 | if (this.bsmSqyw) { | 96 | if (this.bsmSqyw) { |
97 | selectScBdcdy({ ...this.queryForm, ...this.pageData }) | 97 | selectQlxx({ ...this.queryForm, ...this.pageData }) |
98 | .then((res) => { | 98 | .then((res) => { |
99 | if (res.code === 200) { | 99 | if (res.code === 200) { |
100 | let { total, records } = res.result; | 100 | let { total, records } = res.result; |
... | @@ -104,21 +104,30 @@ export default { | ... | @@ -104,21 +104,30 @@ export default { |
104 | }) | 104 | }) |
105 | } | 105 | } |
106 | }, | 106 | }, |
107 | submitForm () { | 107 | submitForm() { |
108 | if (this.bdcdysz.length == 0) { | 108 | if (this.bdcdysz.length == 0) { |
109 | this.$message.error('请至少选择一条数据'); | 109 | this.$message.error("请至少选择一条数据"); |
110 | return | 110 | return; |
111 | } | 111 | } |
112 | this.saveloding = true | 112 | this.saveloding = true; |
113 | startBusinessFlow({ | 113 | startBusinessFlow({ |
114 | bsmSqyw: this.bsmSqyw, | 114 | bsmSqyw: this.bsmSqyw, |
115 | bdcdysz: this.bdcdysz | 115 | bdcdysz: this.bdcdysz, |
116 | }).then(res => { | 116 | }).then((res) => { |
117 | this.saveloding = false | 117 | this.saveloding = false; |
118 | this.$emit("closeDialog") | 118 | if (res.code == 200) { |
119 | const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message) | 119 | this.$emit("closeDialog"); |
120 | window.open(href, '_blank'); | 120 | const { href } = this.$router.resolve( |
121 | }) | 121 | "/fqsq?bsmSlsq=" + |
122 | res.result.bsmSlsq + | ||
123 | "&bestepid=" + | ||
124 | res.result.bestepid | ||
125 | ); | ||
126 | window.open(href, "_blank"); | ||
127 | } else { | ||
128 | this.$message.error(res.message); | ||
129 | } | ||
130 | }); | ||
122 | }, | 131 | }, |
123 | handleSelectionChange (val) { | 132 | handleSelectionChange (val) { |
124 | this.bdcdysz = val | 133 | this.bdcdysz = val | ... | ... |
... | @@ -52,10 +52,10 @@ | ... | @@ -52,10 +52,10 @@ |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
54 | <script> | 54 | <script> |
55 | //转移登记 | 55 | //查封登记 |
56 | import { datas, sendThis } from "./zydj.js"; | 56 | import { datas, sendThis } from "../javascript/cfdj.js"; |
57 | import table from "@/utils/mixin/table"; | 57 | import table from "@/utils/mixin/table"; |
58 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | 58 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
59 | export default { | 59 | export default { |
60 | props: { | 60 | props: { |
61 | bsmSqyw: { type: String, default: '' }, | 61 | bsmSqyw: { type: String, default: '' }, |
... | @@ -68,7 +68,7 @@ export default { | ... | @@ -68,7 +68,7 @@ export default { |
68 | bdcdyh: "", | 68 | bdcdyh: "", |
69 | ywh: "", | 69 | ywh: "", |
70 | bdcqzh: "", | 70 | bdcqzh: "", |
71 | sqywbm: "A03100", | 71 | sqywbm: "B39800", |
72 | }, | 72 | }, |
73 | qllxs: [], | 73 | qllxs: [], |
74 | tableData: { | 74 | tableData: { |
... | @@ -94,7 +94,7 @@ export default { | ... | @@ -94,7 +94,7 @@ export default { |
94 | }, | 94 | }, |
95 | fetchData () { | 95 | fetchData () { |
96 | if (this.bsmSqyw) { | 96 | if (this.bsmSqyw) { |
97 | selectScBdcdy({ ...this.queryForm, ...this.pageData }) | 97 | selectQlxx({ ...this.queryForm, ...this.pageData }) |
98 | .then((res) => { | 98 | .then((res) => { |
99 | if (res.code === 200) { | 99 | if (res.code === 200) { |
100 | let { total, records } = res.result; | 100 | let { total, records } = res.result; |
... | @@ -104,21 +104,30 @@ export default { | ... | @@ -104,21 +104,30 @@ export default { |
104 | }) | 104 | }) |
105 | } | 105 | } |
106 | }, | 106 | }, |
107 | submitForm () { | 107 | submitForm() { |
108 | if (this.bdcdysz.length == 0) { | 108 | if (this.bdcdysz.length == 0) { |
109 | this.$message.error('请至少选择一条数据'); | 109 | this.$message.error("请至少选择一条数据"); |
110 | return | 110 | return; |
111 | } | 111 | } |
112 | this.saveloding = true | 112 | this.saveloding = true; |
113 | startBusinessFlow({ | 113 | startBusinessFlow({ |
114 | bsmSqyw: this.bsmSqyw, | 114 | bsmSqyw: this.bsmSqyw, |
115 | bdcdysz: this.bdcdysz | 115 | bdcdysz: this.bdcdysz, |
116 | }).then(res => { | 116 | }).then((res) => { |
117 | this.saveloding = false | 117 | this.saveloding = false; |
118 | this.$emit("closeDialog") | 118 | if (res.code == 200) { |
119 | const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message) | 119 | this.$emit("closeDialog"); |
120 | window.open(href, '_blank'); | 120 | const { href } = this.$router.resolve( |
121 | }) | 121 | "/fqsq?bsmSlsq=" + |
122 | res.result.bsmSlsq + | ||
123 | "&bestepid=" + | ||
124 | res.result.bestepid | ||
125 | ); | ||
126 | window.open(href, "_blank"); | ||
127 | } else { | ||
128 | this.$message.error(res.message); | ||
129 | } | ||
130 | }); | ||
122 | }, | 131 | }, |
123 | handleSelectionChange (val) { | 132 | handleSelectionChange (val) { |
124 | this.bdcdysz = val | 133 | this.bdcdysz = val | ... | ... |
... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
91 | </template> | 91 | </template> |
92 | <script> | 92 | <script> |
93 | //抵押权首次登记 | 93 | //抵押权首次登记 |
94 | import { datas, sendThis } from "./scdy.js"; | 94 | import { datas, sendThis } from "../javascript/diyaq.js"; |
95 | import table from "@/utils/mixin/table"; | 95 | import table from "@/utils/mixin/table"; |
96 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 96 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
97 | export default { | 97 | export default { | ... | ... |
... | @@ -4,6 +4,7 @@ | ... | @@ -4,6 +4,7 @@ |
4 | </dialogBox> | 4 | </dialogBox> |
5 | </template> | 5 | </template> |
6 | <script> | 6 | <script> |
7 | import {queueDjywmc} from './fqsqdata.js'; | ||
7 | export default { | 8 | export default { |
8 | props: { | 9 | props: { |
9 | value: { type: Boolean, default: true }, | 10 | value: { type: Boolean, default: true }, |
... | @@ -22,24 +23,27 @@ export default { | ... | @@ -22,24 +23,27 @@ export default { |
22 | this.myValue = val | 23 | this.myValue = val |
23 | }, | 24 | }, |
24 | djywbm (val) { | 25 | djywbm (val) { |
25 | let itemObj = { 'A03100': 'scdj','A37100': 'scdy','B39800':'cfdj', default: 'scdj' } | 26 | //let itemObj = { 'A03100': 'scdj','A37100': 'scdy','B39800':'cfdj', default: 'scdj' }; |
26 | this.editItem = this.loadView(itemObj[val]) | 27 | // this.editItem = this.loadView(itemObj[val]); |
28 | let dd=queueDjywmc(val); | ||
29 | this.editItem = this.loadView(dd); | ||
27 | }, | 30 | }, |
28 | }, | 31 | }, |
29 | methods: { | 32 | methods: { |
30 | loadView (view) { | 33 | loadView (view) { |
31 | return r => require.ensure([], () => r(require(`../${view}/${view}.vue`))) | 34 | console.log(view); |
35 | return r => require.ensure([], () => r(require(`../${view}.vue`))) | ||
32 | }, | 36 | }, |
33 | closeDialog () { | 37 | closeDialog () { |
34 | this.$emit("input", false); | 38 | this.$emit("input", false); |
35 | } | 39 | } |
40 | |||
36 | }, | 41 | }, |
37 | }; | 42 | }; |
38 | </script> | 43 | </script> |
39 | <style scoped lang="scss"> | 44 | <style scoped lang="scss"> |
40 | @import "~@/styles/mixin.scss"; | 45 | @import "~@/styles/mixin.scss"; |
41 | @import "~@/styles/public.scss"; | 46 | @import "~@/styles/public.scss"; |
42 | |||
43 | /deep/.submit_button { | 47 | /deep/.submit_button { |
44 | text-align: center; | 48 | text-align: center; |
45 | padding: 10px; | 49 | padding: 10px; | ... | ... |
1 | export function queueDjywmc(djywbm) { | ||
2 | let vm = null; | ||
3 | switch (djywbm) { | ||
4 | case "A03100"://建设用地使用权(首次登记) | ||
5 | case "A05100"://宅基地使用权(首次登记) | ||
6 | case "A07100"://集体建设用地使用权(首次登记) | ||
7 | vm = "jsydsyq100"; | ||
8 | break; | ||
9 | case "A03200": | ||
10 | case "A03300": | ||
11 | case "A03400": | ||
12 | case "A05200": | ||
13 | case "A05300": | ||
14 | case "A05400": | ||
15 | case "A07200": | ||
16 | case "A07300": | ||
17 | case "A07400": | ||
18 | vm = "jsydsyq200"; | ||
19 | break; | ||
20 | case "A07100"://抵押权首次 | ||
21 | vm = "bdcqlMain"; | ||
22 | break; | ||
23 | case "A37200"://抵押权转移 | ||
24 | case "A37300"://抵押权变更 | ||
25 | case "A37400"://抵押权注销 | ||
26 | vm = "diyaq"; | ||
27 | break; | ||
28 | case "B39300"://续封 | ||
29 | case "B39400"://解封 | ||
30 | vm = "cfdj"; | ||
31 | break; | ||
32 | default: | ||
33 | vm = "bdcql"; | ||
34 | } | ||
35 | return vm; | ||
36 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
91 | </template> | 91 | </template> |
92 | <script> | 92 | <script> |
93 | //首次登记 | 93 | //首次登记 |
94 | import { datas, sendThis } from "./scdj.js"; | 94 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; |
95 | import table from "@/utils/mixin/table"; | 95 | import table from "@/utils/mixin/table"; |
96 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | 96 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; |
97 | export default { | 97 | export default { | ... | ... |
1 | <template> | ||
2 | <div class="from-clues"> | ||
3 | <!-- 表单部分 --> | ||
4 | <div class="from-clues-header"> | ||
5 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> | ||
6 | <el-row> | ||
7 | <el-col :span="10"> | ||
8 | <el-form-item label="权利类型200"> | ||
9 | <el-select | ||
10 | v-model="queryForm.qllx" | ||
11 | filterable | ||
12 | clearable | ||
13 | placeholder="请选择权利类型" | ||
14 | class="width300px" | ||
15 | > | ||
16 | <el-option | ||
17 | v-for="item in qllxs" | ||
18 | :key="item.value" | ||
19 | :label="item.label" | ||
20 | :value="item.value" | ||
21 | > | ||
22 | </el-option> | ||
23 | </el-select> | ||
24 | </el-form-item> | ||
25 | </el-col> | ||
26 | <el-col :span="10"> | ||
27 | <el-form-item label="不动产单元号"> | ||
28 | <el-input | ||
29 | placeholder="请输入不动产单元号" | ||
30 | v-model="queryForm.bdcdyh" | ||
31 | clearable | ||
32 | class="width300px" | ||
33 | > | ||
34 | </el-input> | ||
35 | </el-form-item> | ||
36 | </el-col> | ||
37 | </el-row> | ||
38 | <el-row> | ||
39 | <el-col :span="10"> | ||
40 | <el-form-item label="业务号"> | ||
41 | <el-input | ||
42 | placeholder="请输入业务号" | ||
43 | v-model="queryForm.ywh" | ||
44 | clearable | ||
45 | class="width300px" | ||
46 | > | ||
47 | </el-input> | ||
48 | </el-form-item> | ||
49 | </el-col> | ||
50 | <el-col :span="10"> | ||
51 | <el-form-item label="不动产权证号"> | ||
52 | <el-input | ||
53 | placeholder="请输入不动产权证号" | ||
54 | v-model="queryForm.bdcqzh" | ||
55 | clearable | ||
56 | class="width300px" | ||
57 | > | ||
58 | </el-input> | ||
59 | </el-form-item> | ||
60 | </el-col> | ||
61 | <el-col :span="2" class="btnCol"> | ||
62 | <el-form-item> | ||
63 | <el-button type="primary" @click="queryClick()">查询</el-button> | ||
64 | </el-form-item> | ||
65 | </el-col> | ||
66 | </el-row> | ||
67 | </el-form> | ||
68 | </div> | ||
69 | <!-- 表格 --> | ||
70 | <div class="from-clues-content"> | ||
71 | <lb-table | ||
72 | :page-size="pageData.pageSize" | ||
73 | :heightNum="400" | ||
74 | :current-page.sync="pageData.currentPage" | ||
75 | :total="tableData.total" | ||
76 | @size-change="handleSizeChange" | ||
77 | @p-current-change="handleCurrentChange" | ||
78 | @selection-change="handleSelectionChange" | ||
79 | :column="tableData.columns" | ||
80 | :data="tableData.data" | ||
81 | > | ||
82 | </lb-table> | ||
83 | </div> | ||
84 | <div class="submit_button"> | ||
85 | <el-button @click="closeDialog">取消</el-button> | ||
86 | <el-button type="primary" plain @click="submitForm" :loading="saveloding" | ||
87 | >发起申请</el-button | ||
88 | > | ||
89 | </div> | ||
90 | </div> | ||
91 | </template> | ||
92 | <script> | ||
93 | //首次登记 | ||
94 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | ||
95 | import table from "@/utils/mixin/table"; | ||
96 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | ||
97 | export default { | ||
98 | props: { | ||
99 | bsmSqyw: { type: String, default: "" }, | ||
100 | djqxObj: { type: Object, default: "" }, | ||
101 | }, | ||
102 | mixins: [table], | ||
103 | data() { | ||
104 | return { | ||
105 | queryForm: { | ||
106 | qllx: "", | ||
107 | bdcdyh: "", | ||
108 | ywh: "", | ||
109 | bdcqzh: "", | ||
110 | sqywbm: "A03100", | ||
111 | }, | ||
112 | qllxs: [], | ||
113 | tableData: { | ||
114 | total: 0, | ||
115 | columns: datas.columns(), | ||
116 | data: [], | ||
117 | }, | ||
118 | bdcdysz: [], | ||
119 | saveloding: false, | ||
120 | }; | ||
121 | }, | ||
122 | watch: { | ||
123 | bsmSqyw(val) { | ||
124 | this.fetchData(); | ||
125 | }, | ||
126 | }, | ||
127 | mounted() { | ||
128 | sendThis(this); | ||
129 | }, | ||
130 | methods: { | ||
131 | closeDialog() { | ||
132 | this.$emit("closeDialog"); | ||
133 | }, | ||
134 | fetchData() { | ||
135 | if (this.bsmSqyw) { | ||
136 | selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
137 | if (res.code === 200) { | ||
138 | let { total, records } = res.result; | ||
139 | this.tableData.total = total; | ||
140 | this.tableData.data = records; | ||
141 | } | ||
142 | }); | ||
143 | } | ||
144 | }, | ||
145 | submitForm() { | ||
146 | if (this.bdcdysz.length == 0) { | ||
147 | this.$message.error("请至少选择一条数据"); | ||
148 | return; | ||
149 | } | ||
150 | this.saveloding = true; | ||
151 | startBusinessFlow({ | ||
152 | bsmSqyw: this.bsmSqyw, | ||
153 | bdcdysz: this.bdcdysz, | ||
154 | djqxbm: this.djqxObj.djqxbm, | ||
155 | djqxmc: this.djqxObj.djqxmc, | ||
156 | }).then((res) => { | ||
157 | this.saveloding = false; | ||
158 | if (res.code == 200) { | ||
159 | this.$emit("closeDialog"); | ||
160 | const { href } = this.$router.resolve( | ||
161 | "/fqsq?bsmSlsq=" + | ||
162 | res.result.bsmSlsq + | ||
163 | "&bestepid=" + | ||
164 | res.result.bestepid | ||
165 | ); | ||
166 | window.open(href, "_blank"); | ||
167 | } else { | ||
168 | this.$message.error(res.message); | ||
169 | } | ||
170 | }); | ||
171 | }, | ||
172 | handleSelectionChange(val) { | ||
173 | this.bdcdysz = val; | ||
174 | }, | ||
175 | queryClick() { | ||
176 | this.fetchData(); | ||
177 | }, | ||
178 | }, | ||
179 | }; | ||
180 | </script> | ||
181 | <style scoped lang="scss"> | ||
182 | @import "~@/styles/mixin.scss"; | ||
183 | @import "~@/styles/public.scss"; | ||
184 | </style> |
... | @@ -31,7 +31,7 @@ class data extends filter { | ... | @@ -31,7 +31,7 @@ class data extends filter { |
31 | label: "状态", | 31 | label: "状态", |
32 | }, | 32 | }, |
33 | { | 33 | { |
34 | prop: "qllx", | 34 | prop: "qllxmc", |
35 | label: "权利类型", | 35 | label: "权利类型", |
36 | }, | 36 | }, |
37 | { | 37 | { |
... | @@ -47,7 +47,7 @@ class data extends filter { | ... | @@ -47,7 +47,7 @@ class data extends filter { |
47 | label: "权利人", | 47 | label: "权利人", |
48 | }, | 48 | }, |
49 | { | 49 | { |
50 | prop: "zjh", | 50 | prop: "zjhm", |
51 | label: "证件号", | 51 | label: "证件号", |
52 | }, | 52 | }, |
53 | { | 53 | { |
... | @@ -55,7 +55,7 @@ class data extends filter { | ... | @@ -55,7 +55,7 @@ class data extends filter { |
55 | label: "面积", | 55 | label: "面积", |
56 | }, | 56 | }, |
57 | { | 57 | { |
58 | prop: "ytmc", | 58 | prop: "yt", |
59 | label: "用途", | 59 | label: "用途", |
60 | }, | 60 | }, |
61 | { | 61 | { | ... | ... |
... | @@ -47,7 +47,7 @@ class data extends filter { | ... | @@ -47,7 +47,7 @@ class data extends filter { |
47 | label: "权利人", | 47 | label: "权利人", |
48 | }, | 48 | }, |
49 | { | 49 | { |
50 | prop: "zjh", | 50 | prop: "zjhm", |
51 | label: "证件号", | 51 | label: "证件号", |
52 | }, | 52 | }, |
53 | { | 53 | { |
... | @@ -55,13 +55,13 @@ class data extends filter { | ... | @@ -55,13 +55,13 @@ class data extends filter { |
55 | label: "面积", | 55 | label: "面积", |
56 | }, | 56 | }, |
57 | { | 57 | { |
58 | prop: "ytmc", | 58 | prop: "yt", |
59 | label: "用途", | 59 | label: "用途", |
60 | }, | 60 | }, |
61 | { | 61 | { |
62 | prop: "zl", | 62 | prop: "zl", |
63 | label: "坐落", | 63 | label: "坐落", |
64 | }, | 64 | } |
65 | ] | 65 | ] |
66 | } | 66 | } |
67 | 67 | ... | ... |
File moved
src/views/ywbl/ywsq/javascript/jsydsyq200.js
0 → 100644
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | columns () { | ||
12 | return [ | ||
13 | { | ||
14 | type: 'selection', | ||
15 | label: '全选' | ||
16 | }, | ||
17 | { | ||
18 | label: '序号', | ||
19 | type: 'index', | ||
20 | width: '50', | ||
21 | render: (h, scope) => { | ||
22 | return ( | ||
23 | <div> | ||
24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
25 | </div> | ||
26 | ) | ||
27 | } | ||
28 | }, | ||
29 | { | ||
30 | prop: "status", | ||
31 | label: "状态", | ||
32 | }, | ||
33 | { | ||
34 | prop: "qllxmc", | ||
35 | label: "权利类型", | ||
36 | }, | ||
37 | { | ||
38 | prop: "bdcdyh", | ||
39 | label: "不动产单元号", | ||
40 | }, | ||
41 | { | ||
42 | prop: "bdcqzh", | ||
43 | label: "不动产权证号", | ||
44 | }, | ||
45 | { | ||
46 | prop: "qlrmc", | ||
47 | label: "使用权人", | ||
48 | }, | ||
49 | { | ||
50 | prop: "zjh", | ||
51 | label: "证件号", | ||
52 | }, | ||
53 | { | ||
54 | prop: "qlxzmc", | ||
55 | label: "权利性质", | ||
56 | }, | ||
57 | { | ||
58 | prop: "zdmj", | ||
59 | label: "使用权面积", | ||
60 | }, | ||
61 | { | ||
62 | prop: "showTdyt", | ||
63 | label: "土地用途", | ||
64 | }, | ||
65 | { | ||
66 | prop: "zl", | ||
67 | label: "坐落", | ||
68 | }, | ||
69 | ] | ||
70 | } | ||
71 | |||
72 | |||
73 | } | ||
74 | let datas = new data() | ||
75 | export { | ||
76 | datas, | ||
77 | sendThis | ||
78 | } |
... | @@ -75,7 +75,7 @@ export default { | ... | @@ -75,7 +75,7 @@ export default { |
75 | n: 0, | 75 | n: 0, |
76 | activeNames: ['1'], | 76 | activeNames: ['1'], |
77 | leftList: [ | 77 | leftList: [ |
78 | '常办业务', '一并申请', '补申请', | 78 | '常办业务', '一并申请', '登记簿补录', |
79 | ], | 79 | ], |
80 | list: [], | 80 | list: [], |
81 | djlxList: [], | 81 | djlxList: [], |
... | @@ -191,6 +191,7 @@ export default { | ... | @@ -191,6 +191,7 @@ export default { |
191 | this.isDialog = true | 191 | this.isDialog = true |
192 | }, | 192 | }, |
193 | loadView (view) { | 193 | loadView (view) { |
194 | console.log(view); | ||
194 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | 195 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) |
195 | }, | 196 | }, |
196 | } | 197 | } | ... | ... |
... | @@ -25,8 +25,10 @@ module.exports = { | ... | @@ -25,8 +25,10 @@ module.exports = { |
25 | assetsDir: 'static', | 25 | assetsDir: 'static', |
26 | lintOnSave: process.env.NODE_ENV === 'development', | 26 | lintOnSave: process.env.NODE_ENV === 'development', |
27 | productionSourceMap: false, | 27 | productionSourceMap: false, |
28 | filenameHashing: false, | ||
28 | // webpack开发服务器 | 29 | // webpack开发服务器 |
29 | devServer: { | 30 | devServer: { |
31 | hot: true, | ||
30 | port: port, | 32 | port: port, |
31 | open: true, | 33 | open: true, |
32 | disableHostCheck: true, | 34 | disableHostCheck: true, |
... | @@ -37,24 +39,29 @@ module.exports = { | ... | @@ -37,24 +39,29 @@ module.exports = { |
37 | proxy: { | 39 | proxy: { |
38 | '/bdcdj': { | 40 | '/bdcdj': { |
39 | target: process.env.VUE_APP_API_BASE_URL,//本机服务 | 41 | target: process.env.VUE_APP_API_BASE_URL,//本机服务 |
40 | ws: false, | ||
41 | changeOrigin: true, | 42 | changeOrigin: true, |
42 | pathRewrite: { | 43 | pathRewrite: { |
43 | '^/bdcdj': '' // 需要rewrite的, | 44 | '^/bdcdj': '' |
45 | } | ||
46 | }, | ||
47 | '/service-bdcdj': { | ||
48 | target: process.env.VUE_APP_API_BASE_URL, | ||
49 | changeOrigin: true, | ||
50 | pathRewrite: { | ||
51 | '^/service-bdcdj': '' | ||
44 | } | 52 | } |
45 | } | 53 | } |
46 | |||
47 | }, | 54 | }, |
48 | }, | 55 | }, |
49 | css: { | 56 | css: { |
50 | extract: true, // 是否使用css分离插件 ExtractTextPlugin | 57 | extract: false, // 是否使用css分离插件 ExtractTextPlugin |
51 | sourceMap: false, // 开启 CSS source maps? | 58 | sourceMap: false, // 开启 CSS source maps? |
52 | loaderOptions: { | 59 | loaderOptions: { |
53 | sass: { | 60 | sass: { |
54 | prependData: `@import "@/styles/variables.scss";` | 61 | prependData: `@import "@/styles/variables.scss";` |
55 | } | 62 | } |
56 | }, | 63 | }, |
57 | modules: false,// 启用 CSS modules for all css / pre-processor files. | 64 | modules: false, |
58 | }, | 65 | }, |
59 | // configureWebpack通过操作对象的形式,来修改默认的webpack配置 | 66 | // configureWebpack通过操作对象的形式,来修改默认的webpack配置 |
60 | configureWebpack: { | 67 | configureWebpack: { |
... | @@ -117,17 +124,17 @@ module.exports = { | ... | @@ -117,17 +124,17 @@ module.exports = { |
117 | name: 'chunk-libs', | 124 | name: 'chunk-libs', |
118 | test: /[\\/]node_modules[\\/]/, | 125 | test: /[\\/]node_modules[\\/]/, |
119 | priority: 10, | 126 | priority: 10, |
120 | chunks: 'initial' // only package third parties that are initially dependent | 127 | chunks: 'initial' |
121 | }, | 128 | }, |
122 | elementUI: { | 129 | elementUI: { |
123 | name: 'chunk-elementUI', // split elementUI into a single package | 130 | name: 'chunk-elementUI', |
124 | priority: 20, // the weight needs to be larger than libs and app or it will be packaged into libs or app | 131 | priority: 20, |
125 | test: /[\\/]node_modules[\\/]_?element-ui(.*)/ // in order to adapt to cnpm | 132 | test: /[\\/]node_modules[\\/]_?element-ui(.*)/ |
126 | }, | 133 | }, |
127 | commons: { | 134 | commons: { |
128 | name: 'chunk-commons', | 135 | name: 'chunk-commons', |
129 | test: resolve('src/components'), // can customize your rules | 136 | test: resolve('src/components'), |
130 | minChunks: 3, // minimum common number | 137 | minChunks: 3, |
131 | priority: 5, | 138 | priority: 5, |
132 | reuseExistingChunk: true | 139 | reuseExistingChunk: true |
133 | } | 140 | } | ... | ... |
-
Please register or sign in to post a comment