25daaac4 by 任超

style:业务申请

1 parent 147f9092
...@@ -29,15 +29,29 @@ export function getNextNode (bsmSqyw) { ...@@ -29,15 +29,29 @@ export function getNextNode (bsmSqyw) {
29 } 29 }
30 30
31 /* 31 /*
32 业务办理-选择单元-根据条件进行列表查询 32 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权
33 */ 33 */
34 export function selectScBdcdy (data) { 34 export function selectScBdcdy (data) {
35 return request({ 35 return request({
36 url: '/ywbl/ywsq/selectScBdcdy', 36 url: '/ywbl/ywsq/selectScBdcdy',
37 method: 'post', 37 method: 'post',
38 data 38 data,
39 showLoading: true
39 }) 40 })
40 } 41 }
42
43 /*
44 业务办理-选择单元-根据条件进行列表查询-房屋所有权
45 */
46 export function selectFwsyq (data) {
47 return request({
48 url: 'ywbl/ywsq/selectFwsyq',
49 method: 'post',
50 data,
51 showLoading: true
52 })
53 }
54
41 // 待办箱列表查询接口 55 // 待办箱列表查询接口
42 export function searchTaskToDo (data) { 56 export function searchTaskToDo (data) {
43 return request({ 57 return request({
...@@ -62,7 +76,8 @@ export function startBusinessFlow (data) { ...@@ -62,7 +76,8 @@ export function startBusinessFlow (data) {
62 return request({ 76 return request({
63 url: '/business/workFlow/startBusinessFlow', 77 url: '/business/workFlow/startBusinessFlow',
64 method: 'post', 78 method: 'post',
65 data 79 data,
80 showLoading: true
66 }) 81 })
67 } 82 }
68 /* 83 /*
...@@ -83,7 +98,8 @@ export function selectQlxx (data) { ...@@ -83,7 +98,8 @@ export function selectQlxx (data) {
83 return request({ 98 return request({
84 url: '/ywbl/ywsq/selectQlxx', 99 url: '/ywbl/ywsq/selectQlxx',
85 method: 'post', 100 method: 'post',
86 data 101 data,
102 showLoading: true
87 }) 103 })
88 } 104 }
89 /* 105 /*
...@@ -93,7 +109,8 @@ export function selectDiyaq (data) { ...@@ -93,7 +109,8 @@ export function selectDiyaq (data) {
93 return request({ 109 return request({
94 url: '/ywbl/ywsq/selectDiyaq', 110 url: '/ywbl/ywsq/selectDiyaq',
95 method: 'post', 111 method: 'post',
96 data 112 data,
113 showLoading: true
97 }) 114 })
98 } 115 }
99 /* 116 /*
...@@ -103,7 +120,8 @@ export function selectCfdj (data) { ...@@ -103,7 +120,8 @@ export function selectCfdj (data) {
103 return request({ 120 return request({
104 url: '/ywbl/ywsq/selectCfdj', 121 url: '/ywbl/ywsq/selectCfdj',
105 method: 'post', 122 method: 'post',
106 data 123 data,
124 showLoading: true
107 }) 125 })
108 } 126 }
109 /* 127 /*
......
...@@ -11,6 +11,10 @@ const getters = { ...@@ -11,6 +11,10 @@ const getters = {
11 addRoutes: state => state.permission.addRoutes, 11 addRoutes: state => state.permission.addRoutes,
12 addDict: state => state.dict.addDict, 12 addDict: state => state.dict.addDict,
13 dictData: state => state.dict.dictData, 13 dictData: state => state.dict.dictData,
14 djbxx: state => state.djbxx.djbxx 14 djbxx: state => state.djbxx.djbxx,
15 // 业务办理
16 bsmSqyw: state => state.ywbl.bsmSqyw,
17 djqxObj: state => state.ywbl.djqxObj,
18 djywbm: state => state.ywbl.djywbm
15 } 19 }
16 export default getters 20 export default getters
......
1 const state = {
2 bsmSqyw: '',
3 djqxObj: {
4 djqxbm: "",
5 djqxmc: ""
6 },
7 djywbm: ''
8 }
9 const mutations = {
10 SET_BSMSQYW: (state, data) => {
11 state.bsmSqyw = data
12 },
13 SET_DJQXOBJ: (state, data) => {
14 state.djqxObj = data
15 },
16 SET_DJYWBM: (state, data) => {
17 state.djywbm = data
18 },
19 }
20
21 const actions = {
22 setBsmSqyw ({ commit }, data) {
23 commit('SET_BSMSQYW', data)
24 },
25 setDjqxObj ({ commit }, data) {
26 commit('SET_DJQXOBJ', data)
27 },
28 setDjywbm ({ commit }, data) {
29 commit('SET_DJYWBM', data)
30 }
31 }
32
33 export default {
34 namespaced: true,
35 state,
36 mutations,
37 actions
38 }
...@@ -59,7 +59,6 @@ import table from "@/utils/mixin/table"; ...@@ -59,7 +59,6 @@ import table from "@/utils/mixin/table";
59 import { datas, sendThis } from "./dydjbdata"; 59 import { datas, sendThis } from "./dydjbdata";
60 export default { 60 export default {
61 name: "dydjb", 61 name: "dydjb",
62 components: {},
63 mixins: [table], 62 mixins: [table],
64 mounted () { 63 mounted () {
65 sendThis(this); 64 sendThis(this);
......
...@@ -74,6 +74,7 @@ import { ...@@ -74,6 +74,7 @@ import {
74 } from "@/api/fqsq.js" 74 } from "@/api/fqsq.js"
75 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" 75 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js"
76 import { getForm } from "./flowform.js" 76 import { getForm } from "./flowform.js"
77 import { queueDjywmc } from '@/views/ywbl/ywsq/slectBdcdata.js';
77 export default { 78 export default {
78 data () { 79 data () {
79 return { 80 return {
...@@ -149,6 +150,16 @@ export default { ...@@ -149,6 +150,16 @@ export default {
149 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 150 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
150 let that = this; 151 let that = this;
151 switch (item.value) { 152 switch (item.value) {
153 case "B0":
154 let type = queueDjywmc(this.$route.query.sqywbm)
155 this.$popup({
156 title: '提示', // 弹窗标题
157 editItem: 'ywbl/ywsq/components/' + type,
158 formData: this.formData, //父组件传给子组件的参数
159 cancel: function () { }, //取消事件的回调
160 confirm: function () { }, //确认事件的回调
161 })
162 break;
152 case "B1": 163 case "B1":
153 getWorkFlowImage(this.bsmSlsq).then(res => { 164 getWorkFlowImage(this.bsmSlsq).then(res => {
154 this.imgSrc = URL.createObjectURL(res) 165 this.imgSrc = URL.createObjectURL(res)
......
...@@ -59,10 +59,6 @@ import table from "@/utils/mixin/table"; ...@@ -59,10 +59,6 @@ import table from "@/utils/mixin/table";
59 import jump from "../components/mixin/jump"; 59 import jump from "../components/mixin/jump";
60 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; 60 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
61 export default { 61 export default {
62 props: {
63 bsmSqyw: { type: String, default: '' },
64 djywbm: { type: String, default: "" }
65 },
66 mixins: [table, jump], 62 mixins: [table, jump],
67 data () { 63 data () {
68 return { 64 return {
...@@ -77,30 +73,26 @@ export default { ...@@ -77,30 +73,26 @@ export default {
77 saveloding: false 73 saveloding: false
78 }; 74 };
79 }, 75 },
80 watch: {
81 bsmSqyw (val) {
82 this.fetchData()
83 },
84 },
85 mounted () { 76 mounted () {
86 sendThis(this); 77 sendThis(this)
78 },
79 computed: {
80 ...mapGetters([ 'bsmSqyw', 'djywbm'])
87 }, 81 },
88 methods: { 82 methods: {
89 closeDialog () { 83 closeDialog () {
90 this.$emit("closeDialog") 84 this.$emit("closeDialog")
91 }, 85 },
92 fetchData () { 86 fetchData () {
93 if (this.bsmSqyw) { 87 this.queryForm.sqywbm = this.djywbm;
94 this.queryForm.sqywbm=this.djywbm; 88 selectQlxx({ ...this.queryForm, ...this.pageData })
95 selectQlxx({ ...this.queryForm, ...this.pageData }) 89 .then((res) => {
96 .then((res) => { 90 if (res.code === 200) {
97 if (res.code === 200) { 91 let { total, records } = res.result;
98 let { total, records } = res.result; 92 this.tableData.total = total;
99 this.tableData.total = total; 93 this.tableData.data = records;
100 this.tableData.data = records; 94 }
101 } 95 })
102 })
103 }
104 }, 96 },
105 submitForm () { 97 submitForm () {
106 if (this.bdcdysz.length == 0) { 98 if (this.bdcdysz.length == 0) {
......
...@@ -53,16 +53,13 @@ ...@@ -53,16 +53,13 @@
53 </div> 53 </div>
54 </template> 54 </template>
55 <script> 55 <script>
56 import { mapGetters } from 'vuex'
56 import { datas, sendThis } from "../javascript/bdcqlMain.js"; 57 import { datas, sendThis } from "../javascript/bdcqlMain.js";
57 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 58 import { defaultParameters } from "../javascript/publicDefaultPar.js";
58 import table from "@/utils/mixin/table"; 59 import table from "@/utils/mixin/table";
59 import jump from "../components/mixin/jump"; 60 import jump from "../components/mixin/jump";
60 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; 61 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
61 export default { 62 export default {
62 props: {
63 bsmSqyw: { type: String, default: '' },
64 djywbm: { type: String, default: "" }
65 },
66 mixins: [table, jump], 63 mixins: [table, jump],
67 data () { 64 data () {
68 return { 65 return {
...@@ -77,30 +74,26 @@ export default { ...@@ -77,30 +74,26 @@ export default {
77 saveloding: false 74 saveloding: false
78 }; 75 };
79 }, 76 },
80 watch: {
81 bsmSqyw (val) {
82 this.fetchData()
83 },
84 },
85 mounted () { 77 mounted () {
86 sendThis(this); 78 sendThis(this)
79 },
80 computed: {
81 ...mapGetters(['bsmSqyw', 'djywbm']),
87 }, 82 },
88 methods: { 83 methods: {
89 closeDialog () { 84 closeDialog () {
90 this.$emit("closeDialog") 85 this.$emit("closeDialog")
91 }, 86 },
92 fetchData () { 87 fetchData () {
93 if (this.bsmSqyw) { 88 this.queryForm.sqywbm = this.djywbm;
94 this.queryForm.sqywbm=this.djywbm; 89 selectQlxx({ ...this.queryForm, ...this.pageData })
95 selectQlxx({ ...this.queryForm, ...this.pageData }) 90 .then((res) => {
96 .then((res) => { 91 if (res.code === 200) {
97 if (res.code === 200) { 92 let { total, records } = res.result;
98 let { total, records } = res.result; 93 this.tableData.total = total;
99 this.tableData.total = total; 94 this.tableData.data = records;
100 this.tableData.data = records; 95 }
101 } 96 })
102 })
103 }
104 }, 97 },
105 submitForm () { 98 submitForm () {
106 if (this.bdcdysz.length == 0) { 99 if (this.bdcdysz.length == 0) {
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
53 </template> 53 </template>
54 <script> 54 <script>
55 //查封登记 55 //查封登记
56 import { mapGetters } from 'vuex'
56 import { datas, sendThis } from "../javascript/cfdj.js"; 57 import { datas, sendThis } from "../javascript/cfdj.js";
57 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 58 import { defaultParameters } from "../javascript/publicDefaultPar.js";
58 import table from "@/utils/mixin/table"; 59 import table from "@/utils/mixin/table";
...@@ -60,7 +61,6 @@ import jump from "../components/mixin/jump"; ...@@ -60,7 +61,6 @@ import jump from "../components/mixin/jump";
60 import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; 61 import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js";
61 export default { 62 export default {
62 props: { 63 props: {
63 bsmSqyw: { type: String, default: '' },
64 djywbm: { type: String, default: "" } 64 djywbm: { type: String, default: "" }
65 }, 65 },
66 mixins: [table, jump], 66 mixins: [table, jump],
...@@ -77,30 +77,26 @@ export default { ...@@ -77,30 +77,26 @@ export default {
77 saveloding: false 77 saveloding: false
78 }; 78 };
79 }, 79 },
80 watch: {
81 bsmSqyw (val) {
82 this.fetchData()
83 },
84 },
85 mounted () { 80 mounted () {
86 sendThis(this); 81 sendThis(this);
87 }, 82 },
83 computed: {
84 ...mapGetters(['bsmSqyw', 'djywbm']),
85 },
88 methods: { 86 methods: {
89 closeDialog () { 87 closeDialog () {
90 this.$emit("closeDialog") 88 this.$emit("closeDialog")
91 }, 89 },
92 fetchData () { 90 fetchData () {
93 if (this.bsmSqyw) { 91 this.queryForm.sqywbm = this.djywbm;
94 this.queryForm.sqywbm=this.djywbm; 92 selectCfdj({ ...this.queryForm, ...this.pageData })
95 selectCfdj({ ...this.queryForm, ...this.pageData }) 93 .then((res) => {
96 .then((res) => { 94 if (res.code === 200) {
97 if (res.code === 200) { 95 let { total, records } = res.result;
98 let { total, records } = res.result; 96 this.tableData.total = total;
99 this.tableData.total = total; 97 this.tableData.data = records;
100 this.tableData.data = records; 98 }
101 } 99 })
102 })
103 }
104 }, 100 },
105 submitForm () { 101 submitForm () {
106 if (this.bdcdysz.length == 0) { 102 if (this.bdcdysz.length == 0) {
......
...@@ -55,17 +55,13 @@ ...@@ -55,17 +55,13 @@
55 </template> 55 </template>
56 <script> 56 <script>
57 //抵押权首次登记 57 //抵押权首次登记
58 import { mapGetters } from 'vuex'
58 import { datas, sendThis } from "../javascript/diyaq.js"; 59 import { datas, sendThis } from "../javascript/diyaq.js";
59 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 60 import { defaultParameters } from "../javascript/publicDefaultPar.js";
60 import table from "@/utils/mixin/table"; 61 import table from "@/utils/mixin/table";
61 import jump from "../components/mixin/jump"; 62 import jump from "../components/mixin/jump";
62 import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; 63 import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js";
63 export default { 64 export default {
64 props: {
65 bsmSqyw: { type: String, default: "" },
66 djqxObj: { type: Object, default: "" },
67 djywbm: { type: String, default: "" }
68 },
69 mixins: [table, jump], 65 mixins: [table, jump],
70 data () { 66 data () {
71 return { 67 return {
...@@ -80,21 +76,19 @@ export default { ...@@ -80,21 +76,19 @@ export default {
80 saveloding: false, 76 saveloding: false,
81 }; 77 };
82 }, 78 },
83 watch: {
84 bsmSqyw (val) {
85 this.fetchData();
86 },
87 },
88 mounted () { 79 mounted () {
89 sendThis(this); 80 sendThis(this);
90 }, 81 },
82 computed: {
83 ...mapGetters(['bsmSqyw', 'djqxObj', 'djywbm']),
84 },
91 methods: { 85 methods: {
92 closeDialog () { 86 closeDialog () {
93 this.$emit("closeDialog"); 87 this.$emit("closeDialog");
94 }, 88 },
95 fetchData () { 89 fetchData () {
96 if (this.bsmSqyw) { 90 if (this.bsmSqyw) {
97 this.queryForm.sqywbm=this.djywbm; 91 this.queryForm.sqywbm = this.djywbm;
98 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { 92 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
99 if (res.code === 200) { 93 if (res.code === 200) {
100 let { total, records } = res.result; 94 let { total, records } = res.result;
...@@ -127,7 +121,7 @@ export default { ...@@ -127,7 +121,7 @@ export default {
127 handleSelectionChange (val) { 121 handleSelectionChange (val) {
128 this.bdcdysz = val; 122 this.bdcdysz = val;
129 }, 123 },
130 124
131 } 125 }
132 } 126 }
133 </script> 127 </script>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-tabs v-model="activeName"> 5 <el-tabs v-model="activeName" @tab-click="handleTabClick">
6 <el-tab-pane label="自然幢" name="zrz"></el-tab-pane> 6 <el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
7 <el-tab-pane label="户" name="h"></el-tab-pane> 7 <el-tab-pane label="户" name="h"></el-tab-pane>
8 </el-tabs> 8 </el-tabs>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
36 </el-col> 36 </el-col>
37 <el-col :span="4" class="btnCol"> 37 <el-col :span="4" class="btnCol">
38 <el-form-item> 38 <el-form-item>
39 <el-button type="primary" @click="queryClick()">查询</el-button> 39 <el-button type="primary" @click="fetchData()">查询</el-button>
40 </el-form-item> 40 </el-form-item>
41 </el-col> 41 </el-col>
42 </el-row> 42 </el-row>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
51 </div> 51 </div>
52 <div class="submit_button"> 52 <div class="submit_button">
53 <el-button @click="closeDialog">取消</el-button> 53 <el-button @click="closeDialog">取消</el-button>
54 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> 54 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
55 </div> 55 </div>
56 </div> 56 </div>
57 </template> 57 </template>
...@@ -61,13 +61,8 @@ import { mapGetters } from 'vuex' ...@@ -61,13 +61,8 @@ import { mapGetters } from 'vuex'
61 import { datas, sendThis } from "../javascript/houseOwnership.js"; 61 import { datas, sendThis } from "../javascript/houseOwnership.js";
62 import table from "@/utils/mixin/table"; 62 import table from "@/utils/mixin/table";
63 import jump from "../components/mixin/jump"; 63 import jump from "../components/mixin/jump";
64 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 64 import { selectFwsyq, startBusinessFlow } from "@/api/ywbl.js";
65 export default { 65 export default {
66 props: {
67 bsmSqyw: { type: String, default: "" },
68 djqxObj: { type: Object, default: "" },
69 djywbm: { type: String, default: "" }
70 },
71 mixins: [table, jump], 66 mixins: [table, jump],
72 data () { 67 data () {
73 return { 68 return {
...@@ -84,63 +79,56 @@ export default { ...@@ -84,63 +79,56 @@ export default {
84 columns: datas.columns(), 79 columns: datas.columns(),
85 data: [], 80 data: [],
86 }, 81 },
87 bdcdysz: [], 82 bdcdysz: []
88 saveloding: false,
89 }; 83 };
90 }, 84 },
91 watch: {
92 bsmSqyw (val) {
93 this.fetchData();
94 },
95 },
96 mounted () { 85 mounted () {
97 sendThis(this); 86 sendThis(this)
98 }, 87 },
99 computed: { 88 computed: {
100 ...mapGetters(['dictData']), 89 ...mapGetters(['dictData', 'bsmSqyw', 'djqxObj', 'djywbm']),
101 }, 90 },
102 methods: { 91 methods: {
103 closeDialog () { 92 closeDialog () {
104 this.$emit("closeDialog"); 93 this.$emit("closeDialog");
105 }, 94 },
106 fetchData () { 95 fetchData () {
107 if (this.bsmSqyw) { 96 this.queryForm.sqywbm = this.djywbm;
108 this.queryForm.sqywbm = this.djywbm; 97 selectFwsyq({ ...this.queryForm, ...this.pageData, fwfl: this.activeName }).then((res) => {
109 console.log(this.queryForm, this.bsmSqyw); 98 if (res.code === 200) {
110 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { 99 let { total, records } = res.result;
111 if (res.code === 200) { 100 this.tableData.total = total;
112 let { total, records } = res.result; 101 this.tableData.data = records;
113 this.tableData.total = total; 102 }
114 this.tableData.data = records; 103 })
115 } 104 },
116 }); 105 handleTabClick () {
117 } 106 this.pageData.currentPage = 1
107 this.fetchData()
118 }, 108 },
119 submitForm () { 109 submitForm () {
120 if (this.bdcdysz.length == 0) { 110 if (this.bdcdysz.length == 0) {
121 this.$message.error("请至少选择一条数据"); 111 this.$message.error("请至少选择一条数据");
122 return; 112 return;
123 } 113 }
124 this.saveloding = true;
125 startBusinessFlow({ 114 startBusinessFlow({
126 bsmSqyw: this.bsmSqyw, 115 bsmSqyw: this.bsmSqyw,
127 bdcdysz: this.bdcdysz, 116 bdcdysz: this.bdcdysz,
128 djqxbm: this.djqxObj.djqxbm, 117 djqxbm: this.djqxObj.djqxbm,
129 djqxmc: this.djqxObj.djqxmc, 118 djqxmc: this.djqxObj.djqxmc,
130 }).then((res) => { 119 }).then((res) => {
131 this.saveloding = false;
132 if (res.code == 200) { 120 if (res.code == 200) {
133 this.jump(res.result) 121 this.jump(res.result, this.djywbm)
134 } else { 122 } else {
135 this.$message.error(res.message); 123 this.$message.error(res.message);
136 } 124 }
137 }); 125 })
138 }, 126 },
139 handleSelectionChange (val) { 127 handleSelectionChange (val) {
140 this.bdcdysz = val; 128 this.bdcdysz = val
141 } 129 }
142 }, 130 }
143 }; 131 }
144 </script> 132 </script>
145 <style scoped lang="scss"> 133 <style scoped lang="scss">
146 @import "~@/styles/mixin.scss"; 134 @import "~@/styles/mixin.scss";
......
...@@ -39,17 +39,13 @@ ...@@ -39,17 +39,13 @@
39 </template> 39 </template>
40 <script> 40 <script>
41 //首次登记 41 //首次登记
42 import { mapGetters } from 'vuex'
42 import { datas, sendThis } from "../javascript/jsydsyq100.js"; 43 import { datas, sendThis } from "../javascript/jsydsyq100.js";
43 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 44 import { defaultParameters } from "../javascript/publicDefaultPar.js";
44 import table from "@/utils/mixin/table"; 45 import table from "@/utils/mixin/table";
45 import jump from "../components/mixin/jump"; 46 import jump from "../components/mixin/jump";
46 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 47 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js";
47 export default { 48 export default {
48 props: {
49 bsmSqyw: { type: String, default: "" },
50 djqxObj: { type: Object, default: "" },
51 djywbm: { type: String, default: "" }
52 },
53 mixins: [table, jump], 49 mixins: [table, jump],
54 data () { 50 data () {
55 return { 51 return {
...@@ -73,6 +69,9 @@ export default { ...@@ -73,6 +69,9 @@ export default {
73 mounted () { 69 mounted () {
74 sendThis(this); 70 sendThis(this);
75 }, 71 },
72 computed: {
73 ...mapGetters(['bsmSqyw', 'djqxObj', 'djywbm']),
74 },
76 methods: { 75 methods: {
77 closeDialog () { 76 closeDialog () {
78 this.$emit("closeDialog"); 77 this.$emit("closeDialog");
......
...@@ -55,17 +55,13 @@ ...@@ -55,17 +55,13 @@
55 </template> 55 </template>
56 <script> 56 <script>
57 //首次登记 57 //首次登记
58 import { mapGetters } from 'vuex'
58 import { datas, sendThis } from "../javascript/jsydsyq200.js"; 59 import { datas, sendThis } from "../javascript/jsydsyq200.js";
59 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 60 import { defaultParameters } from "../javascript/publicDefaultPar.js";
60 import table from "@/utils/mixin/table"; 61 import table from "@/utils/mixin/table";
61 import jump from "../components/mixin/jump"; 62 import jump from "../components/mixin/jump";
62 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; 63 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
63 export default { 64 export default {
64 props: {
65 bsmSqyw: { type: String, default: "" },
66 djqxObj: { type: Object, default: "" },
67 djywbm: { type: String, default: "" }
68 },
69 mixins: [table, jump], 65 mixins: [table, jump],
70 data () { 66 data () {
71 return { 67 return {
...@@ -88,6 +84,9 @@ export default { ...@@ -88,6 +84,9 @@ export default {
88 mounted () { 84 mounted () {
89 sendThis(this); 85 sendThis(this);
90 }, 86 },
87 computed: {
88 ...mapGetters(['bsmSqyw', 'djqxObj', 'djywbm']),
89 },
91 methods: { 90 methods: {
92 closeDialog () { 91 closeDialog () {
93 this.$emit("closeDialog"); 92 this.$emit("closeDialog");
......
1 export default { 1 export default {
2 methods: { 2 methods: {
3 jump (data) { 3 jump (data, type) {
4 this.$emit("closeDialog"); 4 this.$emit("closeDialog");
5 const { href } = this.$router.resolve( 5 const { href } = this.$router.resolve(
6 "/workFrame?bsmSlsq=" + 6 "/workFrame?bsmSlsq=" +
7 data.bsmSlsq + 7 data.bsmSlsq +
8 "&bestepid=" + 8 "&bestepid=" +
9 data.bestepid + '&bsmBusiness=' 9 data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type
10 ); 10 );
11 window.open(href, "_blank"); 11 window.open(href, "_blank");
12 }, 12 },
......
...@@ -51,11 +51,11 @@ class data extends filter { ...@@ -51,11 +51,11 @@ class data extends filter {
51 label: "宗地面积", 51 label: "宗地面积",
52 }, 52 },
53 { 53 {
54 prop: "qlsdfsmc", 54 prop: "qlsdfs",
55 label: "权利设定方式", 55 label: "权利设定方式",
56 }, 56 },
57 { 57 {
58 prop: "showFwyt", 58 prop: "jzwjbyt",
59 label: "房屋用途", 59 label: "房屋用途",
60 }, 60 },
61 { 61 {
......
1 <template> 1 <template>
2 <dialogBox title="查询权利信息" width="85%" :isButton="false" @closeDialog="closeDialog" v-model="myValue"> 2 <dialogBox title="查询权利信息" width="85%" :isButton="false" @closeDialog="closeDialog" v-model="myValue">
3 <component :is="editItem" @closeDialog="closeDialog" :bsmSqyw="bsmSqyw" :djqxObj='djqxObj' :djywbm="djywbm" /> 3 <component :is="editItem" @closeDialog="closeDialog" :key="key" />
4 </dialogBox> 4 </dialogBox>
5 </template> 5 </template>
6 <script> 6 <script>
7 import { queueDjywmc } from './slectBdcdata.js'; 7 import { mapGetters } from 'vuex'
8 import { queueDjywmc } from './slectBdcdata.js'
8 export default { 9 export default {
9 props: { 10 props: {
10 value: { type: Boolean, default: true }, 11 value: { type: Boolean, default: true }
11 bsmSqyw: { type: String, default: '' },
12 djywbm: { type: String, default: '' },
13 djqxObj: { type: Object, default: '' }
14 }, 12 },
15 data () { 13 data () {
16 return { 14 return {
15 key: 0,
17 editItem: '', 16 editItem: '',
18 myValue: this.value, 17 myValue: this.value
19 }; 18 }
19 },
20 computed: {
21 ...mapGetters(['djywbm'])
20 }, 22 },
21 watch: { 23 watch: {
22 value (val) { 24 value (val) {
23 this.myValue = val 25 this.myValue = val
26 this.key++
24 }, 27 },
25 djywbm (val) { 28 djywbm (val) {
26 console.log(val); 29 let dd = queueDjywmc(val)
27 let dd = queueDjywmc(val); 30 this.editItem = this.loadView(dd)
28 this.editItem = this.loadView(dd); 31 }
29 },
30 }, 32 },
31 methods: { 33 methods: {
32 loadView (view) { 34 loadView (view) {
33 console.log(view);
34 return r => require.ensure([], () => r(require(`./components/${view}.vue`))) 35 return r => require.ensure([], () => r(require(`./components/${view}.vue`)))
35 }, 36 },
36 closeDialog () { 37 closeDialog () {
37 this.$emit("input", false); 38 this.$emit("input", false)
38 } 39 }
39 } 40 }
40 }; 41 }
41 </script> 42 </script>
42 <style scoped lang="scss"> 43 <style scoped lang="scss">
43 @import "~@/styles/mixin.scss"; 44 @import "~@/styles/mixin.scss";
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> 65 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button>
66 </div> 66 </div>
67 </div> 67 </div>
68 <fqsqDialog v-model="isDialog" :bsmSqyw="bsmSqyw" :djywbm="djywbm" :djqxObj='djqxObj' /> 68 <fqsqDialog v-model="isDialog" />
69 </div> 69 </div>
70 </template> 70 </template>
71 <script> 71 <script>
...@@ -83,14 +83,8 @@ export default { ...@@ -83,14 +83,8 @@ export default {
83 djlxList: [], 83 djlxList: [],
84 ywList: [], 84 ywList: [],
85 djqxList: [], 85 djqxList: [],
86 bsmSqyw: '',
87 isDialog: false, 86 isDialog: false,
88 btnDisabled: true, 87 btnDisabled: true,
89 djywbm: '',
90 djqxObj: {
91 djqxbm: "",
92 djqxmc: "",
93 }
94 } 88 }
95 }, 89 },
96 components: { 90 components: {
...@@ -125,14 +119,14 @@ export default { ...@@ -125,14 +119,14 @@ export default {
125 item.cselect = false 119 item.cselect = false
126 }) 120 })
127 item.cselect = !item.cselect 121 item.cselect = !item.cselect
128 this.djqxObj = { 122 this.$store.dispatch('ywbl/setDjqxObj', {
129 'djqxbm': item.nodecode, 123 'djqxbm': item.nodecode,
130 'djqxmc': item.nodename, 124 'djqxmc': item.nodename,
131 } 125 })
132 if (item.sffqlc == '1') { 126 if (item.sffqlc == '1') {
133 this.btnDisabled = false 127 this.btnDisabled = false
134 this.bsmSqyw = item.parentid 128 this.$store.dispatch('ywbl/setBsmSqyw', item.parentid)
135 this.djywbm = item.djywbm 129 this.$store.dispatch('ywbl/setDjywbm', item.djywbm)
136 } 130 }
137 }, 131 },
138 handleList (list, obj) { 132 handleList (list, obj) {
...@@ -200,8 +194,8 @@ export default { ...@@ -200,8 +194,8 @@ export default {
200 this.$set(item, 'cselect', true) 194 this.$set(item, 'cselect', true)
201 if (item.sffqlc == '1') { 195 if (item.sffqlc == '1') {
202 this.btnDisabled = false 196 this.btnDisabled = false
203 this.bsmSqyw = item.bsmSqyw 197 this.$store.dispatch('ywbl/setBsmSqyw', item.bsmSqyw)
204 this.djywbm = item.djywbm 198 this.$store.dispatch('ywbl/setDjywbm', item.djywbm)
205 } else { 199 } else {
206 this.getNextNode(item.bsmSqyw) 200 this.getNextNode(item.bsmSqyw)
207 } 201 }
......