5c3473de by tianhaohao@pashanhoo.com

提交公共部分

1 parent 7c69e97e
......@@ -19,7 +19,7 @@
</head>
<script>
window.baseUrl = location.origin || location.protocol + '//' + location.host
const authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
const authorization = "bearer ATT-6-80pnPMkrvVc-i1qIGQrdkjKIPc-cH1mD"
fetch('<%= BASE_URL %>config.json')
.then(response => response.json())
.then(config => {
......
......@@ -193,10 +193,6 @@
},
methods: {
loadData () {
if(this.propsParam.bsmSldy){
console.log("宗地基本信息");
}else{
console.log("登记簿里宗地基本信息");
getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
if (res.code === 200) {
this.zdjbxx = res.result.zdjbxx;
......@@ -207,8 +203,6 @@
}
})
}
}
}
}
</script>
......
......@@ -253,7 +253,7 @@
return false;
}
if (this.ruleForm.slywxx.gyfs == "0") {
if (this.ruleForm.sldy.gyfs == "0") {
if (this.ruleForm.qlrList.length > 1) {
this.$message({
showClose: true,
......@@ -264,9 +264,9 @@
}
this.ruleForm.qlrList[0].sfczr = "1";
}
if (this.ruleForm.slywxx.gyfs == "1") {
if (this.ruleForm.sldy.gyfs == "1") {
//是否分别持证
if (this.ruleForm.slywxx.sqfbcz == '1') { //是
if (this.ruleForm.sldy.sqfbcz == '1') { //是
this.ruleForm.qlrList.forEach((item, index) => {
item.sfczr = "1"
});
......@@ -280,7 +280,6 @@
})
}
}
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......