23e0be85 by zhaoqian

自然幢字典信息数据整理

1 parent ce37300c
......@@ -15,6 +15,7 @@
"axios": "^0.19.0",
"core-js": "^2.6.5",
"e-icon-picker": "^1.0.7",
"el-tree-select": "^3.1.10",
"element-ui": "^2.13.2",
"file-saver": "^2.0.2",
"form-making": "^1.2.9",
......
......@@ -5,6 +5,9 @@ import store from '@store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '../mock/index.js'
import ElTreeSelect from 'el-tree-select'
//树型选择器
Vue.use(ElTreeSelect);
//引入富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
// 导入富文本编辑器的样式
......
......@@ -651,7 +651,67 @@
})
},
onReset(){
this.form.bdcdyh='', //不动产单元号
this.form.mjdwbsm='', //面积单位编号
this.form.hxbsm='', //户型标识码
this.form.hxjgbsm='', //户型结构标识码
this.form.dltdmj='', //独立使用土地面积
this.form.fttdmj='', //分摊土地使用面积
this.form.gytdmj='', //共有土地面积
this.form.fwlxbsm='', //房屋类型标识码
this.form.fwxzbsm='', //房屋性质标识码
this.form.sjc='', //实际层
this.form.dqtgs='', //东墙体归属
this.form.nqtgs='', //南墙体归属
this.form.xqtgs='', //西墙体归属
this.form.bqtgs='', //北墙体归属
this.form.fwbh='', //房屋编号
this.form.fjsm='', //附加说明
this.form.fwcbbsm='', //房屋产别标识码
this.form.sjhs='', //实际户数
this.form.shbw='', //室号部位
this.form.fwcqlybsm='', //房屋产权来源标识码
//预测数据
this.form.ycjzmj='', //建筑面积
this.form.yctnjzmj='', //套内建筑面积
this.form.ycftjzmj='', //分摊建筑面积
this.form.ycdxbfjzmj='', //地下部分建筑面积
this.form.ycqtjzmj='', //其它建筑面积
this.form.ycftxs='', //分摊系数
//实测数据
this.form.scjzmj='', //建筑面积
this.form.sctnjzmj='', //套内建筑面积
this.form.scftjzmj='', //分摊建筑面积
this.form.scdxbfjzmj='', //地下部分建筑面积
this.form.scqtjzmj='', //其它建筑面积
this.form.scftxs='', //分摊系数
this.form.scyclx='0', //实预测类型(0:预测,1:实测;),区别户是实测还是预测数据
this.form.scycglbsm='', //实测预测关联标识码
this.form.bz='', //备注
this.form.name='',
this.form.date='',
this.form.fwytList=[{
glbsm:'', //关联标识码
fwytzdbsm:'', //房屋用途字典标识码
sx:'', //顺序
fwsjytbsm:'', //房屋实际用途字典标识码
}],
this.form.fwjgList=[{
fwjgzdbsm:'', //房屋结构字典标识码
glbsm:'', //关联标识码
sx:'', //顺序
}],
this.form.qlxzList=[{
qlxzdm:'', //权利性质代码
glbsm:'', //宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM
qlxzzdbsm:'', //权利性质字典表标识码
qlxzmc:'', //权利名称名称
zhqlxzlx:'', //除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质
addQjTdytRequestList:[{
}], //土地用途新增实体列表
}]
console.log("----------------------------------")
console.log(this.form)
},
generatorCode(){
getBdcdyh(this.form.zrzh,"h")
......
......@@ -157,14 +157,26 @@
规划用途
</td>
<td width="30" colspan="4" align="center" >
<el-select v-model="item1.fwytzdbsm" placeholder="请选择" >
<el-option
v-for="item in $store.state.tdytList"
:key="item.bsm"
:label="item.mc"
:value="item.bsm">
</el-option>
</el-select>
<el-tree-select
v-if="show"
:default-expand-all="defaultExpandAll"
:multiple="multiple"
:placeholder="placeholder"
:disabled="disabled"
:data="$store.state.tdytList"
:props="treeProps"
:check-strictly="checkStrictly"
:clearable="clearable"
v-model="item1.fwytzdbsm"
></el-tree-select>
<!-- <el-select v-model="item1.fwytzdbsm" placeholder="请选择" >-->
<!-- <el-option-->
<!-- v-for="item in $store.state.tdytList"-->
<!-- :key="item.bsm"-->
<!-- :label="item.mc"-->
<!-- :value="item.bsm">-->
<!-- </el-option>-->
<!-- </el-select>-->
</td>
<td width="30" colspan="1" align="center" >用途</td>
<td width="30" colspan="4" align="center" >
......@@ -282,6 +294,21 @@
inject:['reload'],
data () {
return {
//树型结构
show:true,
clearable: true,
defaultExpandAll: false,
multiple: false,
placeholder: 'please choose',
disabled: false,
checkStrictly: false,
treeProps: {
value: 'bsm',
children: 'children',
label: 'mc'
},
lx:"zrz",
bsm:'',
form:{
......