bda87305 by 蔡俊立

查封登记列表接口调取

1 parent 98ddf276
......@@ -43,7 +43,7 @@ class data extends filter {
label: "不动产权证号",
},
{
prop: "qlr",
prop: "qlrmc",
label: "权利人",
},
{
......@@ -55,7 +55,7 @@ class data extends filter {
label: "面积",
},
{
prop: "yt",
prop: "ytmc",
label: "用途",
},
{
......
......@@ -52,10 +52,10 @@
</div>
</template>
<script>
//查封等级
//查封登记
import { datas, sendThis } from "./cfdj.js";
import table from "@/utils/mixin/table";
import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js";
import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
export default {
props: {
bsmSqyw: { type: String, default: '' },
......@@ -68,7 +68,7 @@ export default {
bdcdyh: "",
ywh: "",
bdcqzh: "",
sqywbm: "A03100",
sqywbm: "B39800",
},
qllxs: [],
tableData: {
......@@ -94,7 +94,7 @@ export default {
},
fetchData () {
if (this.bsmSqyw) {
selectScBdcdy({ ...this.queryForm, ...this.pageData })
selectQlxx({ ...this.queryForm, ...this.pageData })
.then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
......@@ -104,21 +104,30 @@ export default {
})
}
},
submitForm () {
submitForm() {
if (this.bdcdysz.length == 0) {
this.$message.error('请至少选择一条数据');
return
this.$message.error("请至少选择一条数据");
return;
}
this.saveloding = true
this.saveloding = true;
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz
}).then(res => {
this.saveloding = false
this.$emit("closeDialog")
const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message)
window.open(href, '_blank');
})
bdcdysz: this.bdcdysz,
}).then((res) => {
this.saveloding = false;
if (res.code == 200) {
this.$emit("closeDialog");
const { href } = this.$router.resolve(
"/fqsq?bsmSlsq=" +
res.result.bsmSlsq +
"&bestepid=" +
res.result.bestepid
);
window.open(href, "_blank");
} else {
this.$message.error(res.message);
}
});
},
handleSelectionChange (val) {
this.bdcdysz = val
......
......@@ -22,7 +22,7 @@ export default {
this.myValue = val
},
djywbm (val) {
let itemObj = { 'A03100': 'scdj','A37100': 'scdy', default: 'scdj' }
let itemObj = { 'A03100': 'scdj','A37100': 'scdy','B39800':'cfdj', default: 'scdj' }
this.editItem = this.loadView(itemObj[val])
},
},
......
......@@ -179,7 +179,7 @@ export default {
this.$set(item, 'select', true)
if (item.sffqlc == '1') {
this.btnDisabled = false
this.bsmSqyw = item.parentid
this.bsmSqyw = item.bsmSqyw
this.djywbm = item.djywbm
} else {
this.getNextNode(item.bsmSqyw)
......