ac695d2a by zhaoqian

hbj页面

1 parent f6b4106f
......@@ -95,8 +95,8 @@ export default {
);
const tooltip = new G6.Tooltip({
offsetX: 210,
offsetY: 210,
offsetX: 10,
offsetY: 10,
itemTypes: ['node', 'edge'],
getContent: (e) => {
const outDiv = document.createElement('div');
......
......@@ -21,7 +21,7 @@
<td colspan="2" align="center" >不动产单元号<i class="requisite">*</i></td>
<!-- todo 此处暂时存放的是不动产单元号标识码,而不是不动产单元号-->
<td colspan="4" class="psr">
<el-input v-model="form.bdcdyh" class="percent80"></el-input>
<el-input v-model="form.bdcdyh" class="percent80" :disabled="disableFlag"></el-input>
<el-button @click.prevent="generatorCode" size="mini" class="createBtn" type="warning">生成</el-button>
</td>
<td colspan="2" align="center" >原不动产单元</td>
......@@ -37,36 +37,36 @@
</td>
<td colspan="2" align="center" >层号</td>
<td colspan="4" >
<el-input v-model="form.ch"></el-input>
<el-input v-model="form.ch" :disabled="disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >实际层数</td>
<td colspan="4" >
<el-input v-model="form.sjcs"></el-input>
<el-input v-model="form.sjcs" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" align="center" >实际层</td>
<td colspan="4" >
<el-input v-model="form.sjc"></el-input>
<el-input v-model="form.sjc" :disabled="disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >所在单元</td>
<td colspan="4" >
<el-input v-model="form.zdymc"></el-input>
<el-input v-model="form.zdymc" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" align="center" >房屋编号</td>
<td colspan="4" >
<el-input v-model="form.fwbh"></el-input>
<el-input v-model="form.fwbh" :disabled="disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >房屋类型<i class="requisite">*</i></td>
<td colspan="4" >
<el-select v-model="form.fwlxbsm" placeholder="请选择" >
<el-select v-model="form.fwlxbsm" placeholder="请选择" :disabled="disableFlag">
<el-option
v-for="item in $store.state.fwlxList"
:key="item.bsm"
......@@ -77,7 +77,7 @@
</td>
<td colspan="2" align="center" >房屋性质<i class="requisite">*</i></td>
<td colspan="4" >
<el-select v-model="form.fwxzbsm" placeholder="请选择" >
<el-select v-model="form.fwxzbsm" placeholder="请选择" :disabled="disableFlag">
<el-option
v-for="item in $store.state.fwxzOptions"
:key="item.bsm"
......@@ -91,18 +91,18 @@
<tr height="30">
<td colspan="2" align="center" >户号</td>
<td colspan="4" >
<el-input v-model="form.hh"></el-input>
<el-input v-model="form.hh" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" align="center" >室号</td>
<td colspan="4" >
<el-input v-model="form.shbw"></el-input>
<el-input v-model="form.shbw" :disabled="disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >户型</td>
<td colspan="4" >
<el-select v-model="form.hxbsm" placeholder="请选择" >
<el-select v-model="form.hxbsm" placeholder="请选择" :disabled="disableFlag">
<el-option
v-for="item in $store.state.hxList"
:key="item.bsm"
......@@ -113,7 +113,7 @@
</td>
<td colspan="2" align="center" >户型结构</td>
<td colspan="4" >
<el-select v-model="form.hxjgbsm" placeholder="请选择" >
<el-select v-model="form.hxjgbsm" placeholder="请选择" :disabled="disableFlag">
<el-option
v-for="item in $store.state.hxjgList"
:key="item.bsm"
......@@ -127,7 +127,7 @@
<tr height="30">
<td colspan="2" align="center" >产别<i class="requisite">*</i></td>
<td colspan="4" >
<el-select v-model="form.fwcbbsm" placeholder="请选择" >
<el-select v-model="form.fwcbbsm" placeholder="请选择" :disabled="disableFlag">
<el-option
v-for="item in $store.state.cbOptions"
:key="item.bsm"
......@@ -138,7 +138,7 @@
</td>
<td colspan="2" align="center" >产权来源<i class="requisite">*</i></td>
<td colspan="4" >
<el-select v-model="form.fwcqlybsm" placeholder="请选择" >
<el-select v-model="form.fwcqlybsm" placeholder="请选择" :disabled="disableFlag">
<el-option
v-for="item in $store.state.cqlyOptions"
:key="item.bsm"
......@@ -153,62 +153,62 @@
<td colspan="2" rowspan="6" align="center" >预测</td>
<td colspan="2" align="center" >建筑面积(㎡) </td>
<td colspan="2" align="center" >
<el-input v-model="form.ycjzmj" :disabled="form.scyclx==='1'"></el-input>
<el-input v-model="form.ycjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" rowspan="6" align="center" >实测</td>
<td colspan="2" align="center" >建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.scjzmj" :disabled="form.scyclx==='0'"></el-input>
<el-input v-model="form.scjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >套内建筑面积(㎡))</td>
<td colspan="2" align="center" >
<el-input v-model="form.yctnjzmj" :disabled="form.scyclx==='1'"></el-input>
<el-input v-model="form.yctnjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >套内建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.sctnjzmj" :disabled="form.scyclx==='0'"></el-input>
<el-input v-model="form.sctnjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >分摊建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.ycftjzmj" :disabled="form.scyclx==='1'"></el-input>
<el-input v-model="form.ycftjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >分摊建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.scftjzmj" :disabled="form.scyclx==='0'"></el-input>
<el-input v-model="form.scftjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >地下部分建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.ycdxbfjzmj" :disabled="form.scyclx==='1'"></el-input>
<el-input v-model="form.ycdxbfjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >地下部分建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.scdxbfjzmj" :disabled="form.scyclx==='0'"></el-input>
<el-input v-model="form.scdxbfjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >其它建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.ycqtjzmj" :disabled="form.scyclx==='1'"></el-input>
<el-input v-model="form.ycqtjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >其它建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.scqtjzmj" :disabled="form.scyclx==='0'"></el-input>
<el-input v-model="form.scqtjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >分摊系数</td>
<td colspan="2" align="center" >
<el-input v-model="form.ycftxs" :disabled="form.scyclx==='1'"></el-input>
<el-input v-model="form.ycftxs" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >分摊系数</td>
<td colspan="2" align="center" >
<el-input v-model="form.scftxs" :disabled="form.scyclx==='0'"></el-input>
<el-input v-model="form.scftxs" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
......@@ -240,7 +240,7 @@
:default-expand-all="defaultExpandAll"
:multiple="multiple"
:placeholder="placeholder"
:disabled="disabled"
:disabled="disableFlag"
:data="$store.state.fwytList"
:props="treeProps"
:check-strictly="checkStrictly"
......@@ -255,7 +255,7 @@
:default-expand-all="defaultExpandAll"
:multiple="multiple"
:placeholder="placeholder"
:disabled="disabled"
:disabled="disableFlag"
:data="$store.state.fwytList"
:props="treeProps"
:check-strictly="checkStrictly"
......@@ -281,7 +281,7 @@
<span @click="deleteFwjgInfo(index)">删除</span>
</td>
<td colspan="9" >
<el-select v-model="item1.fwjgzdbsm" placeholder="请选择" >
<el-select v-model="item1.fwjgzdbsm" placeholder="请选择" :disabled="disableFlag">
<el-option
v-for="item in $store.state.fwjgList"
:key="item.bsm"
......@@ -295,15 +295,15 @@
<tr height="30">
<td colspan="2" align="center" >共有土地面积(㎡)</td>
<td colspan="2" >
<el-input v-model="form.gytdmj"></el-input>
<el-input v-model="form.gytdmj" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" align="center" >分摊土地面积(㎡)</td>
<td colspan="2" >
<el-input v-model="form.fttdmj"></el-input>
<el-input v-model="form.fttdmj" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" align="center" >多幢独用土地面积(㎡)</td>
<td colspan="2" >
<el-input v-model="form.dytdmj"></el-input>
<el-input v-model="form.dytdmj" :disabled="disableFlag"></el-input>
</td>
</tr>
......@@ -324,29 +324,29 @@
<span>坐落<i class="requisite">*</i></span>
</td>
<td colspan="10" >
<el-input v-model="form.zl"></el-input>
<el-input v-model="form.zl" :disabled="disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >东墙体归属</td>
<td colspan="4" >
<el-input v-model="form.dqtgs"></el-input>
<el-input v-model="form.dqtgs" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" align="center" >南墙体归属</td>
<td colspan="4" >
<el-input v-model="form.nqtgs"></el-input>
<el-input v-model="form.nqtgs" :disabled="disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >西墙体归属</td>
<td colspan="4" >
<el-input v-model="form.xqtgs"></el-input>
<el-input v-model="form.xqtgs" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" align="center" >北墙体归属</td>
<td colspan="4" >
<el-input v-model="form.bqtgs"></el-input>
<el-input v-model="form.bqtgs" :disabled="disableFlag"></el-input>
</td>
</tr>
......@@ -355,7 +355,7 @@
<span>附加说明</span>
</td>
<td colspan="10" rowspan="2" >
<el-input v-model="form.bz" type="textarea"></el-input>
<el-input v-model="form.bz" type="textarea" :disabled="disableFlag"></el-input>
</td>
</tr>
<tr height="30">
......@@ -366,7 +366,7 @@
<span>调查意见</span>
</td>
<td colspan="10" >
<el-input v-model="form.name"></el-input>
<el-input v-model="form.name" :disabled="disableFlag"></el-input>
</td>
</tr>
......@@ -375,7 +375,7 @@
<span>审查员</span>
</td>
<td colspan="2" >
<el-input v-model="form.name"></el-input>
<el-input v-model="form.name" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" rowspan="2" align="right" style="width:8.33%;padding-right:10px">
<span>审查日期</span>
......@@ -421,6 +421,8 @@
data () {
return {
disableFlag:false,
//树型结构
show:true,
clearable: true,
......@@ -565,6 +567,9 @@
getQjHDetailByBsm(hbsm).then((res)=>{
if(res.code===200){
this.form = res.result;
if(res.result.qszt !== '0'){
this.disableFlag = true;
}
if(this.form.scyclx==='0'){
this.$set(this.form,"ycjzmj", this.form.jzmj)
this.$set(this.form,"yctnjzmj", this.form.tnjzmj)
......