ae2bc74a by 焦泽平
2 parents d379e4b0 103ff0b3
......@@ -17,9 +17,9 @@
<span class="span" @click="delRow">删除</span>
</el-col>
<el-col :span="4" class="fr" v-show="qszt!='0'">
<span class="noEdit" @click="addRow">新增</span>
<span class="noEdit" @click="changeRow">修改</span>
<span class="noEdit" @click="delRow">删除</span>
<span class="noEdit" >新增</span>
<span class="noEdit" >修改</span>
<span class="noEdit" >删除</span>
</el-col>
</el-row>
</td>
......
......@@ -105,6 +105,7 @@
:disabled="formData.qszt!='0'"
v-model="childItem.tdsyqssj"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
>
......@@ -134,7 +135,6 @@
type="text"
style="top: -1px;"
:disabled="formData.qszt!='0'"
v-model="childItem.pzytdm"
class="formInput"
/>
......@@ -143,7 +143,6 @@
<input
type="text"
:disabled="formData.qszt!='0'"
v-model="childItem.sjytdm"
class="formInput"
/>
......@@ -151,8 +150,8 @@
<li>
<input
type="text"
:disabled="formData.qszt!='0'"
:disabled="formData.qszt!='0'"
v-model="childItem.syqx"
class="formInput"
/>
......@@ -212,6 +211,7 @@
:disabled="formData.qszt!='0'"
v-model="childItem.tdsyjssj"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
>
......
......@@ -122,7 +122,7 @@
cs: [
{
key: '1',
label: '义层',
label: '义层',
value: '1'
}, {
key: '2',
......
......@@ -174,7 +174,7 @@
cgz: [
{
key: '1',
label: '义层',
label: '义层',
value: '1'
}, {
key: '2',
......
......@@ -47,7 +47,8 @@ const store = new Vuex.Store({
hbsm:'',
contentWidth:'', //内容区域宽度
zrzh:'', //自然幢号
dzbsm:'' // 多幢bsm
dzbsm:'', // 多幢bsm
treeData:[], // 树数据
},
modules: {
user,
......
......@@ -177,9 +177,11 @@ export default {
"$store.state.zdbsm": function(bsm) {
this.getRightTree(bsm);
},
// "$store.state.zdbsms":function (zdbsms) {
// this.getTreeByS(zdbsms)
// }
"$store.state.treeData":function (val) {
console.log(val,'val');
this.pd = val;
}
},
mounted(){
......
......@@ -8,12 +8,12 @@
<div class="fgq">
<div class="data">
<ul>
<li>宗地代码:{{zdFgqData.zddm}}</li>
<li>不动产单元号:{{zdFgqData.bdcdyh}}</li>
<li>项目名称:{{zdFgqData.xmmc}}</li>
<li>不动产权证号:{{zdFgqData.bdcqzh}}</li>
<li>权利人:{{zdFgqData.qlr}}</li>
<li>坐落:{{zdFgqData.zl}}</li>
<li><span>宗地代码:</span>{{zdFgqData.zddm}}</li>
<li><span>不动产单元号:</span>{{zdFgqData.bdcdyh}}</li>
<li><span>项目名称:</span>{{zdFgqData.xmmc}}</li>
<li><span>不动产权证号:</span>{{zdFgqData.bdcqzh}}</li>
<li><span>权利人:</span>{{zdFgqData.qlr}}</li>
<li><span>坐落:</span>{{zdFgqData.zl}}</li>
</ul>
</div>
<div class="zxx">
......@@ -227,12 +227,12 @@
<div class="fgq">
<div class="data">
<ul>
<li>宗地代码:{{dzFgqData.zddm}}</li>
<li>不动产单元号:{{dzFgqData.bdcdyh}}</li>
<li>项目名称:{{dzFgqData.xmmc}}</li>
<li>不动产权证号:{{dzFgqData.bdcqzh}}</li>
<li>权利人:{{dzFgqData.qlr}}</li>
<li>坐落:{{dzFgqData.zl}}</li>
<li><span>宗地代码:</span>{{dzFgqData.zddm}}</li>
<li><span>不动产单元号:</span>{{dzFgqData.bdcdyh}}</li>
<li><span>项目名称:</span>{{dzFgqData.xmmc}}</li>
<li><span>不动产权证号:</span>{{dzFgqData.bdcqzh}}</li>
<li><span>权利人:</span>{{dzFgqData.qlr}}</li>
<li><span>坐落:</span>{{dzFgqData.zl}}</li>
</ul>
</div>
<div class="zxx">
......@@ -412,12 +412,12 @@
<div class="fgq">
<div class="data">
<ul>
<li>宗地代码:{{zdFgqData.zddm}}</li>
<li>不动产单元号:{{zdFgqData.bdcdyh}}</li>
<li>项目名称:{{zdFgqData.xmmc}}</li>
<li>不动产权证号:{{zdFgqData.bdcqzh}}</li>
<li>权利人:{{zdFgqData.qlr}}</li>
<li>坐落:{{zdFgqData.zl}}</li>
<li><span>宗地代码:</span>{{zdFgqData.zddm}}</li>
<li><span>不动产单元号:</span>{{zdFgqData.bdcdyh}}</li>
<li><span>项目名称:</span>{{zdFgqData.xmmc}}</li>
<li><span>不动产权证号:</span>{{zdFgqData.bdcqzh}}</li>
<li><span>权利人:</span>{{zdFgqData.qlr}}</li>
<li><span>坐落:</span>{{zdFgqData.zl}}</li>
</ul>
</div>
<div class="zxx">
......@@ -842,7 +842,6 @@
saveZd() {
zdfg(this.zdFghData).then(res => {
if (res.success) {
Message.success('保存成功')
this.$store.state.zdbsms=res.result;
this.$router.push({
path: '/zd',
......@@ -1147,6 +1146,9 @@
li {
padding: 5px;
line-height: 20px;
span{
}
}
}
}
......
......@@ -331,8 +331,6 @@ export default {
message: "创建成功!",
type: "success",
});
//todo 跳转到自然幢基本信息内容表页面 (预留)
this.close();
this.$store.state.zdbsm=res.result.zdbsm;
this.$store.state.dzbsm=res.result.bsm;
this.$store.state.xmmc=res.result.xmmc;
......@@ -342,6 +340,7 @@ export default {
bsm:res.result.bsm
}
});
this.close();
} else {
this.$message.error("创建失败!");
}
......
......@@ -20,7 +20,6 @@ import jzx from "./jzx";
import djb from "./djb";
import lshs from "./lshs";
import fjcl from "./fjcl/fjcl"
import {queryjzd,queryjzx} from "@/api/zd"
export default {
name: "",
components: {
......@@ -30,34 +29,12 @@ export default {
data() {
return {
activeName: "djdcb",
jzd:[],
jzx:[]
};
},
methods: {
handleClick(tab, event) {
// console.log(tab, event);
},
//查询界址点
getJZD(){
var bsm = this.$store.state.zdbsm;
this.jzx = [];
queryjzd({glBsm:bsm}).then(res => {
if(res.code == 200){
this.jzd = res.data.data;
}
})
},
//查询界址线
getJZX(){
var bsm = this.$store.state.zdbsm;
this.jzx = [];
queryjzx({glBsm:bsm}).then(res => {
if(res.code = 200){
this.jzx = res.data.data;
}
});
}
},
created() {},
mounted() {},
......
......@@ -339,7 +339,7 @@
</table>
<div style="min-height: 40px;text-align: center;margin-top: 10px">
<el-button type="success" @click="updateZDxx()">保存</el-button>
<el-button type="success" @click="updateZDxx">保存</el-button>
<el-button type="primary" @click="submitZDxx">提交</el-button>
</div>
</div>
......@@ -349,12 +349,13 @@
<script>
import Qlr from "../../../components/formMenu/qlr";
import Qlxz from "../../../components/formMenu/qlxz";
import {submit} from "../../../api/common"
import {
getAllList,
getDdicByMC,
getListByXzqbsm,
getListByPbsm,
submit,
getTree,
} from "../../../api/common";
import {
getBdcdyh,
......@@ -623,11 +624,16 @@ export default {
status:1,
type:"zd"
}
submit(data).then((res)=>{
if(res.code===200){
this.$message.success("提交完成!")
this.getZdjbxxData(this.$store.state.zdbsm);
this.$message.success("提交成功!")
this.getZdjbxxData(this.curZdbsm);
getTree(this.curZdbsm).then((res) => {
if (res.success) {
// console.log('successsuccesssuccesssuccess');
this.$store.state.treeData = res.result;
}
});
}
})
},
......