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,11 +193,7 @@
},
methods: {
loadData () {
if(this.propsParam.bsmSldy){
console.log("宗地基本信息");
}else{
console.log("登记簿里宗地基本信息");
getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
if (res.code === 200) {
this.zdjbxx = res.result.zdjbxx;
this.zdbhqks = res.result.zdbhqkList;
......@@ -205,9 +201,7 @@
this.showGroup = true;
}
}
})
}
})
}
}
}
......
......@@ -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({
......