976ab248 by renchao@pashanhoo.com

style:不动产数据

1 parent 9be74bbf
.obligee-item {
display: flex;
height: 100%;
margin-bottom: 15px;
margin-right: 5px;
&-name {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
padding: 10px 20px;
line-height: 28px;
border: 1px solid #ccc;
border-radius: 3px;
margin-left: 10px;
}
&-list {
width: 100%;
flex: 1;
display: flex;
justify-content: center;
flex-direction: column;
}
}
\ No newline at end of file
......
......@@ -116,92 +116,67 @@
</div>
</template>
<script>
import djfDjSz from "@/api/djfDjSz";
import ruleMixin from "@/mixins/ruleMixin.js";
// 缮证信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: "",
},
bsmYwsjb: {
type: String,
default: "",
},
},
data() {
return {
certificateInfo: {
ruleForm: [
{
YSDM: "",
YWH: "",
SZMC: "",
SZZH: "",
YSXLH: "",
SZRY: "",
SZSJ: "",
BZ: "",
QXDM: "",
},
],
import djfDjSz from "@/api/djfDjSz";
import ruleMixin from "@/mixins/ruleMixin.js";
// 缮证信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ""
},
};
},
methods: {
async featchData() {
try {
let { result: res } = await djfDjSz.getDjfDjSzById(this.bsmSjsb);
this.certificateInfo.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
bsmYwsjb: {
type: String,
default: ""
},
},
data () {
return {
certificateInfo: {
ruleForm: [
{
YSDM: "",
YWH: "",
SZMC: "",
SZZH: "",
YSXLH: "",
SZRY: "",
SZSJ: "",
BZ: "",
QXDM: ""
}
]
}
}
},
handleUpdateForm() {
return new Promise(async (resolve) => {
methods: {
async featchData () {
try {
let res = await djfDjSz.updateDjfDjSz(this.certificateInfo.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code);
let { result: res } = await djfDjSz.getDjfDjSzById(this.bsmSjsb);
this.certificateInfo.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
});
},
},
};
},
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await djfDjSz.updateDjfDjSz(this.certificateInfo.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
}
})
}
}
}
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
.obligee-item {
display: flex;
height: 100%;
margin-bottom: 15px;
margin-right: 5px;
&-name {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
padding: 10px 20px;
line-height: 28px;
border: 1px solid #ccc;
border-radius: 3px;
}
&-list {
width: 100%;
flex: 1;
display: flex;
justify-content: center;
flex-direction: column;
}
}
@import "./css/itemForm.scss";
</style>
......
......@@ -315,112 +315,113 @@
</div>
</template>
<script>
// 自然幢
import kttFwZrz from "@/api/kttFwZrz";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: "",
},
bsmYwsjb: {
type: String,
default: "",
},
},
data () {
return {
naturalForm: {
naturalList: [
{
BSM: "",
YSDM: "",
BDCDYH: "",
ZDDM: "",
ZRZH: "",
XMMC: "",
JZWMC: "",
JGRQ: "",
JZWGD: "",
ZZDMJ: "",
ZYDMJ: "",
YCJZMJ: "",
SCJZMJ: "",
ZCS: "",
DSCS: "",
DXCS: "",
DXSD: "",
GHYT: "",
FWJG: "",
ZTS: "",
JZWJBYT: "",
DAH: "",
BZ: "",
ZT: "",
QXDM: "",
},
],
// 自然幢
import kttFwZrz from "@/api/kttFwZrz";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: "",
},
bsmYwsjb: {
type: String,
default: "",
},
};
},
methods: {
async featchData () {
try {
let { result: res } = await kttFwZrz.getKttFwZrzById(this.bsmSjsb);
this.naturalForm.naturalList = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
return new Promise(async (resolve) => {
data () {
return {
naturalForm: {
naturalList: [
{
BSM: "",
YSDM: "",
BDCDYH: "",
ZDDM: "",
ZRZH: "",
XMMC: "",
JZWMC: "",
JGRQ: "",
JZWGD: "",
ZZDMJ: "",
ZYDMJ: "",
YCJZMJ: "",
SCJZMJ: "",
ZCS: "",
DSCS: "",
DXCS: "",
DXSD: "",
GHYT: "",
FWJG: "",
ZTS: "",
JZWJBYT: "",
DAH: "",
BZ: "",
ZT: "",
QXDM: "",
},
],
},
};
},
methods: {
async featchData () {
try {
let res = await kttFwZrz.updateKttFwZrz(this.naturalForm.naturalList);
// this.$refs['formList'].resetFields();
resolve(res.code);
let { result: res } = await kttFwZrz.getKttFwZrzById(this.bsmSjsb);
this.naturalForm.naturalList = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
});
},
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await kttFwZrz.updateKttFwZrz(this.naturalForm.naturalList);
// this.$refs['formList'].resetFields();
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
}
});
},
},
},
};
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
@import "./css/itemForm.scss";
.naturalBuilding {
.naturalBuilding-item {
display: flex;
height: 100%;
margin-bottom: 15px;
margin-right: 5px;
.naturalBuilding-name {
.naturalBuilding {
.naturalBuilding-item {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
padding: 10px 20px;
line-height: 28px;
border: 1px solid #ccc;
margin-right: 15px;
border-radius: 3px;
}
height: 100%;
margin-bottom: 15px;
margin-right: 5px;
.naturalBuilding-name {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
padding: 10px 20px;
line-height: 28px;
border: 1px solid #ccc;
margin-right: 15px;
border-radius: 3px;
margin-left: 10px;
}
.naturalBuilding-list {
width: 100%;
flex: 1;
.naturalBuilding-list {
width: 100%;
flex: 1;
}
}
}
.bsm {
white-space: nowrap;
.bsm {
white-space: nowrap;
}
}
}
</style>
......
......@@ -139,32 +139,6 @@ export default {
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
.obligee-item {
display: flex;
height: 100%;
margin-bottom: 15px;
margin-right: 5px;
&-name {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
padding: 10px 20px;
line-height: 28px;
border: 1px solid #ccc;
border-radius: 3px;
}
&-list {
width: 100%;
flex: 1;
display: flex;
justify-content: center;
flex-direction: column;
}
}
</style>
......
......@@ -447,32 +447,6 @@
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
.obligee-item {
display: flex;
height: 100%;
margin-bottom: 15px;
margin-right: 5px;
&-name {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
padding: 10px 20px;
line-height: 28px;
border: 1px solid #ccc;
border-radius: 3px;
}
&-list {
width: 100%;
flex: 1;
display: flex;
justify-content: center;
flex-direction: column;
}
}
</style>
......