e5b2927a by weimo934

Merge remote-tracking branch 'origin/master'

2 parents 0922b9cb b2d2e64b
......@@ -603,26 +603,35 @@
},
saveZd() {
if(this.zdFghData.oldZdbsm === ''){
Message.info("请选择需要分割的宗地")
Message.warning("请选择需要分割的宗地")
return
}
if(this.tempBsmList.length === (this.zdZxx.dzList.length + this.zdZxx.zrzList.length)){
zdfg(this.zdFghData).then(res => {
if (res.success) {
this.$store.state.zdbsms = res.result;
//更新目录树
this.getTreeByS(res.result);
this.$router.push({
path: '/zd',
query: {
bsm: res.result[0],
source: 3, //分割标识
}
});
} else {
Message.error("保存失败")
}
})
if (this.zdFghData.newZdlist.every(i => i.xmmc != '')) {
vm.loadingShow('正在保存中');
zdfg(this.zdFghData).then(res => {
vm.loadingHide()
if (res.success) {
this.$store.state.zdbsms = res.result;
//更新目录树
this.getTreeByS(res.result);
this.$router.push({
path: '/zd',
query: {
bsm: res.result[0],
source: 3, //分割标识
}
});
} else {
Message.error("保存失败")
}
}).catch((err)=>{
vm.loadingHide()
Message.error(err)
})
}else{
Message.warning("请完善分割后的宗地项目名称后重试")
}
}else{
this.$message.warning("幢信息未选择完成,无法保存")
}
......@@ -1093,7 +1102,7 @@
width: calc(100% - 40px);
/deep/.el-input__inner {
margin: 0;
height: 44px;
height: 43px;
outline: none;
border: none;
color: #606764;
......