bda87305 by 蔡俊立

查封登记列表接口调取

1 parent 98ddf276
...@@ -43,7 +43,7 @@ class data extends filter { ...@@ -43,7 +43,7 @@ class data extends filter {
43 label: "不动产权证号", 43 label: "不动产权证号",
44 }, 44 },
45 { 45 {
46 prop: "qlr", 46 prop: "qlrmc",
47 label: "权利人", 47 label: "权利人",
48 }, 48 },
49 { 49 {
...@@ -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: "yt", 58 prop: "ytmc",
59 label: "用途", 59 label: "用途",
60 }, 60 },
61 { 61 {
......
...@@ -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 "./cfdj.js"; 56 import { datas, sendThis } from "./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
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
22 this.myValue = val 22 this.myValue = val
23 }, 23 },
24 djywbm (val) { 24 djywbm (val) {
25 let itemObj = { 'A03100': 'scdj','A37100': 'scdy', default: 'scdj' } 25 let itemObj = { 'A03100': 'scdj','A37100': 'scdy','B39800':'cfdj', default: 'scdj' }
26 this.editItem = this.loadView(itemObj[val]) 26 this.editItem = this.loadView(itemObj[val])
27 }, 27 },
28 }, 28 },
......
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
179 this.$set(item, 'select', true) 179 this.$set(item, 'select', true)
180 if (item.sffqlc == '1') { 180 if (item.sffqlc == '1') {
181 this.btnDisabled = false 181 this.btnDisabled = false
182 this.bsmSqyw = item.parentid 182 this.bsmSqyw = item.bsmSqyw
183 this.djywbm = item.djywbm 183 this.djywbm = item.djywbm
184 } else { 184 } else {
185 this.getNextNode(item.bsmSqyw) 185 this.getNextNode(item.bsmSqyw)
......