9c961d21 by 杨威
2 parents 08f7a0c2 fdced0a6
......@@ -12,7 +12,6 @@
action="/api/tx/excelGeo/import"
:data="sxdrData"
:on-success="uploadSuccess"
:on-error="uploadError"
:show-file-list="false"
multiple
>
......
......@@ -364,7 +364,7 @@
</tr>
</table>
<div class="header-button" :style="{width:mainBoxWidth+'px'}">
<el-button type="primary" class="saveBtn" @click="updateZDxx" :disabled="disabled" icon="el-icon-search">保存</el-button>
<el-button type="primary" class="saveBtn" @click="updateZDxx" :disabled="disabled" icon="iconfont el-icon-search">保存</el-button>
<el-button type="primary" @click="submitZDxx" :disabled="disabled">提交</el-button>
<el-button type="primary" @click="registerCall">登记调用</el-button>
</div>
......@@ -514,13 +514,12 @@
this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk);
}
if(this.formData.bblx === 0 && this.formData.qszt === '0' && this.formData.bhqkbsm == null){
console.log("12345")
this.disabled = false
}else {
console.log("1234567890")
// console.log("1234567890")
this.disabled = true
}
console.log(res.result, 'res.result');
// console.log(res.result, 'res.result');
this.getXzqData(res.result.xzqbsm, res.result.djqbsm);
//如果没有宗地代码,自动生成
// if(res.result.zddm == null){
......@@ -634,7 +633,7 @@
this.generatorDpdm();
getBdcdyh(this.dpdm, "zd")
.then((res) => {
console.log(res);
// console.log(res);
this.formData.zddm = res.result.substring(0, 19);
this.formData.bdcdyh = res.result;
})
......@@ -663,7 +662,6 @@
getBdcdyh(this.dpdm, "zd")
.then((res) => {
console.log(res);
this.formData.zddm = res.result.substring(0, 19);
this.formData.bdcdyh = res.result;
})
......@@ -672,9 +670,9 @@
},
//修改宗地基本信息
updateZDxx(formData) {
debugger
//获取权利性质数据
this.formData.list = this.$refs.qlxzModule.getQlxzDataList();
console.log(this.$refs.qlxzModule.getRulesResult(), 'this.$refs.qlxzModule.getRules()');
//判断容密高是否为区间值,如果是区间值,则将输入框的值赋予
this.formData.jyrjl = this.isInterval(this.formData.jyrjl) ? this.rjl : this.formData.jyrjl;
this.formData.jyjzmd = this.isInterval(this.formData.jyjzmd) ? this.jzmd : this.formData.jyjzmd;
......@@ -773,8 +771,8 @@
}else{
updateQjZdjbxx(this.formData)
.then((res) => {
console.log(res,'修改宗地基本信息')
if (res.code == 200) {
console.log(res);
this.$message({
message: '保存成功',
type: "success",
......@@ -822,8 +820,8 @@
}
}
self.updAttributes(this.$store.state.zdbsm, 'zd', this.geoAttributes, function (res) {
console.log("属性保存完成!!");
});
});
}
}
} else {
......@@ -861,11 +859,11 @@
})
},
getQlrxxData() {
console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据
console.log(this.$refs.qlrxxModule.getQlrxxData()); //权利人表格数据
// console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据
// console.log(this.$refs.qlrxxModule.getQlrxxData()); //权利人表格数据
},
getQlxzData() {
console.log(this.$refs.qlxzModule.getQlxzDataList()); //权利性质数据
// console.log(this.$refs.qlxzModule.getQlxzDataList()); //权利性质数据
},
//行政区划选择
changeXzq(id) {
......
......@@ -2,7 +2,7 @@
<div ref="lpb" class="content_box">
<el-tabs v-model="activeName" class="tabs" @tab-click="handleClick" type="card" >
<el-tab-pane label="自然幢信息" name="zrzxx"><zrzxx></zrzxx></el-tab-pane>
<el-tab-pane label="业主共有" name="yzgy"><yzgy v-if="yzgyLoad"></yzgy></el-tab-pane>
<el-tab-pane label="业主共有" name="yzgy"><yzgy v-if="yzgyLoad" :is-disabled="isDisabled"></yzgy></el-tab-pane>
<el-tab-pane label="登记簿" name="djb"><djb></djb></el-tab-pane>
<el-tab-pane label="楼盘表" name="lpb"><lpb v-if="lpbLoad"></lpb></el-tab-pane>
<el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible" :type="type" :bsm="$route.query.bsm"></lshs></el-tab-pane>
......@@ -37,12 +37,14 @@ export default {
},
methods: {
loadingStatus() {
console.log("是否禁用")
let bsm=this.$store.state.zrzbsm;
queryStatus(bsm).then(res => {
if (res.success) {
let qszt = res.result.qszt;
this.isDisabled = +qszt !== 0;
if (res.result) {
let qszt = res.result.qszt;
this.isDisabled = +qszt !== 0;
}
}
})
},
......
......@@ -21,6 +21,7 @@
type="primary"
class="changeBtn inAdd addMinus"
@click="addRow"
:disabled="isDisabled"
>+
</el-button
>
......@@ -38,36 +39,37 @@
type="primary"
class="changeBtn inMinus addMinus"
@click="delRow(i)"
:disabled="isDisabled"
>-
</el-button
>
</td>
<td>
<el-input v-model="item.jgzwbh" placeholder="请输入建(构)筑物编号" maxlength="10"></el-input>
<el-input v-model="item.jgzwbh" placeholder="请输入建(构)筑物编号" maxlength="10" :disabled="isDisabled"></el-input>
</td>
<td>
<el-input v-model="item.jgzsl" oninput="value = (value.match(/^\d{0,9}/g)) || null"
<el-input v-model="item.jgzsl" oninput="value = (value.match(/^\d{0,9}/g)) || null" :disabled="isDisabled"
placeholder="请输入建(构)筑物数量"></el-input>
</td>
<td>
<el-input v-model="item.jgzmj" oninput="value = (value.match(/^\d{0,9}(\.?\d{0,3})/g)[0]) || null"
<el-input v-model="item.jgzmj" oninput="value = (value.match(/^\d{0,9}(\.?\d{0,3})/g)[0]) || null" :disabled="isDisabled"
placeholder="请输入建(构)筑物面积(㎡)"></el-input>
</td>
<td>
<el-input v-model="item.zdmj" oninput="value = (value.match(/^\d{0,9}(\.?\d{0,3})/g)[0]) || null"
<el-input v-model="item.zdmj" oninput="value = (value.match(/^\d{0,9}(\.?\d{0,3})/g)[0]) || null" :disabled="isDisabled"
placeholder="请输入占地面积(㎡)"></el-input>
</td>
<td>
<el-input v-model="item.fttdmj" oninput="value = (value.match(/^\d{0,9}(\.?\d{0,3})/g)[0]) || null"
<el-input v-model="item.fttdmj" oninput="value = (value.match(/^\d{0,9}(\.?\d{0,3})/g)[0]) || null" :disabled="isDisabled"
placeholder="请输入分摊土地面积(㎡)"></el-input>
</td>
<td>
<el-input v-model="item.fj" placeholder="请输入附记"></el-input>
<el-input v-model="item.fj" placeholder="请输入附记" :disabled="isDisabled"></el-input>
</td>
</tr>
</table>
<div class="header-button" :style="{width:mainBoxWidth+'px'}">
<el-button type="primary" class="saveBtn" @click="save">保存</el-button>
<el-button type="primary" class="saveBtn" @click="save" :disabled="isDisabled">保存</el-button>
</div>
</div>
</template>
......@@ -78,6 +80,12 @@
export default {
name: "",
props:{
isDisabled:{
type:Boolean,
default:false
}
},
data() {
return {
tdzl: '', // 土地坐落 继承获取
......