f0e43e77 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 22c5e3f5 95d7a962
......@@ -78,6 +78,27 @@ export function getNewDate(type = 1) {
}
}
// 获取当前时间
/**
* @description: 获取当前时间
* @param {*} type
* @author: renchao
*/
export function getDateToString(date,type) {
const now = new Date(date);
const year = now.getFullYear();
const month = String(now.getMonth() + 1).padStart(2, '0');
const day = String(now.getDate()).padStart(2, '0');
const hours = String(now.getHours()).padStart(2, '0');
const minutes = String(now.getMinutes()).padStart(2, '0');
const seconds = String(now.getSeconds()).padStart(2, '0');
if (type == 1) {
return `${year}${month}${day}日`
} else {
return `${year}${month}${day}${hours}${minutes}${seconds}秒`
}
}
export function getNewDatesh() {
const now = new Date();
const year = now.getFullYear();
......
......@@ -22,17 +22,17 @@ class data extends filter {
)
}
},
{
label: "查询类型",
render: (h, scope) => {
switch (scope.row.cxlx) {
case '1':
return <div>家庭房产</div>
case '2':
return <div>房屋明细</div>
}
}
},
// {
// label: "查询类型",
// render: (h, scope) => {
// switch (scope.row.cxlx) {
// case '1':
// return <div>家庭房产</div>
// case '2':
// return <div>房屋明细</div>
// }
// }
// },
{
prop: "cxbh",
label: "查询编号",
......@@ -52,6 +52,17 @@ class data extends filter {
{
prop: "ycqrgxmc",
label: "与产权人的关系",
render: (h, scope) => {
switch (scope.row.ycqrgx) {
case '1':
return <div>房屋权利人</div>
case '2':
return <div>产权利害关系人</div>
case '3':
return <div>委托人</div>
}
}
},
{
prop: "qlrxm",
......
......@@ -37,9 +37,9 @@ class data extends filter {
render: (h, scope) => {
switch (scope.row.cxlx) {
case '1':
return <div>家庭房产</div>
return <div>家庭房产查询</div>
case '2':
return <div>房屋明细</div>
return <div>不动产明细查询</div>
}
}
},
......
<!--
* @Description: 交易合同
* @Autor: renchao
* @LastEditTime: 2024-03-21 16:58:45
-->
<template>
<div class='jyht'>
<el-form :model="queryForm">
<el-row :gutter="10">
<el-col :span="6">
<el-form-item label="合同号">
<el-input v-model="queryForm.htbh"></el-input>
</el-form-item>
</el-col>
<!-- <el-col :span="6">
<el-form-item label="证件号码">
<el-col :span="8">
<el-form-item label="行政区">
<el-input v-model="queryForm.sfzjhm"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="8">
<el-form-item label="业务号">
<el-input v-model="queryForm.ywh"></el-input>
</el-form-item>
</el-col> -->
<!-- <el-col :span="6" class="btnColRight">
<el-button type="primary" @click="handleSearch">查询</el-button>
</el-col> -->
</el-col>
<el-col :span="8">
<el-form-item label="用户编号">
<el-input v-model="queryForm.ywh"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="房产证编号">
<el-input v-model="queryForm.ywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item label="房屋坐落(地址)">
<el-input v-model="queryForm.sfzjhm"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<lb-table ref="table" @row-click="handleRowClick" :pagination="false" :key="key"
:column="tableData.columns"
:data="tableData.data">
</lb-table>
<div class="text-center">
<el-button @click="$popupCacel">取消</el-button>
<!-- <el-button type="primary" @click="handleSubmit" plain>保存</el-button> -->
<el-button type="primary" @click="handleSearch">查询</el-button>
<el-button type="primary" @click="handleSearch">保存</el-button>
</div>
</div>
</template>
......
......@@ -71,8 +71,7 @@
</el-row>
<div class="slxx_title title-block">
电力过户信息
<el-button @click="showDialogDlxx">电力过户信息修改</el-button>
<el-button type="primary" @click="handleDlxx">电力过户信息修改</el-button>
<div class="triangle"></div>
</div>
<el-row :gutter="10">
......@@ -172,12 +171,6 @@
</div>
</div>
</el-form>
<el-dialog :visible.sync="dialogDlxx" title="电力过户信息修改">
<div class="text-center">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" @click="onSubmit" plain>保存</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
......@@ -195,7 +188,6 @@ export default {
},
data() {
return {
dialogDlxx: false,
loading: false,
//表单是否可操作
viewEdit: false,
......@@ -220,8 +212,18 @@ export default {
});
},
onSubmit() {},
showDialogDlxx() {
this.dialogDlxx = true;
handleDlxx() {
let formData = {
bsmSldy: this.propsParam.bsmSldy,
qxdm: this.ruleForm.qlxx.qxdm,
bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
};
if(this.ruleForm.wqht==null){
formData.htbh='';
}else{
formData.htbh=this.ruleForm.wqht.wqhth;
}
this.$popupDialog('房产电力过户详情', 'workflow/main/sdqxx/dlxx', formData, '60%', true)
},
},
};
......
......@@ -90,9 +90,9 @@
</el-row>
<el-row :gutter="10" v-if="ruleForm.fdcq2">
<el-col :span="8">
<el-form-item label="宗地面积:" prop="zdjbxx.zdmj">
<el-form-item label="宗地面积:">
<div class="flex">
<el-input :disabled="!viewEdit" v-model="ruleForm.zdjbxx.zdmj"></el-input>
<el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input>
<el-select
disabled
v-model="ruleForm.zdjbxx.mjdw"
......@@ -235,7 +235,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="房产交易价格:" prop="fdcq2.fdcjyjg">
<el-form-item label="房产交易价格:" prop="fdcq2.fdcjyjg">
<div class="flex">
<el-input
maxlength="11"
......
......@@ -66,7 +66,7 @@
<div class="slxx_title title-block">
<el-row>
<el-col :span="24"> 房屋合同信息
&nbsp;&nbsp;<el-button type="primary" @click="handleContract">查询房屋交易合同</el-button> </el-col>
&nbsp;&nbsp;<el-button type="primary" v-show="viewEdit" @click="handleContract">查询房屋交易合同</el-button> </el-col>
<!-- <el-col :span="4" class="btnColRight">
</el-col> -->
......@@ -183,7 +183,7 @@
<div class="slxx_title title-block">
<el-row>
<el-col :span="24"> 缴税信息 <el-button type="primary" @click="handleSwwsxx">查询契税完税信息</el-button></el-col>
<el-col :span="24"> 缴税信息 <el-button type="primary" v-show="viewEdit" @click="handleSwwsxx">查询契税完税信息</el-button></el-col>
</el-row>
<div class="triangle"></div>
</div>
......