03e7dbe4 by tianhaohao@pashanhoo.com

受理申请效验

1 parent 1f77ccac
......@@ -119,7 +119,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="取得价格:">
<el-form-item label="取得价格:" prop="jsydsyq.qdjg">
<div style="display: flex">
<el-input
maxlength="11"
......
......@@ -75,8 +75,8 @@
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item label="坐落:">
<el-input disabled v-model="ruleForm.sldy.zl"></el-input>
<el-form-item label="坐落:" prop="sldy.zl">
<el-input v-model="ruleForm.sldy.zl"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -92,7 +92,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="使用权(承包)面积:">
<el-form-item label="使用权(承包)面积:" prop="lq.syqmj">
<el-input v-model="ruleForm.lq.syqmj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
......@@ -291,7 +291,7 @@
</div>
<el-row :gutter="10">
<el-col>
<el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="lq.djyy">
<el-form-item label="登记原因:" prop="lq.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -348,7 +348,8 @@
})
that.czrOptions = that.ruleForm.qlrList;
that.ruleForm.lq.zlnd ? that.$set(that.ruleForm.lq, 'zlnd', that.ruleForm.lq.zlnd.toString()) : that.$set(that.ruleForm.lq, 'zlnd', "")
that.isSave = that.viewEdit
that.isSave = that.viewEdit;
this.rules = formValidate(this.ruleForm.sldy.djlx);
} else {
that.isSave = false
that.$confirm(res.message, '提示', {
......@@ -399,11 +400,7 @@
propsParam: this.$attrs,
//表单是否可操作
viewEdit: true,
rules: {
'lq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
rules: {}
};
},
methods: {
......
......@@ -4,22 +4,19 @@
* @author: renchao
*/
export function formValidate (djlx) {
switch (djlx) {
case "100":
return fristValidate();
case "200":
return transferValidate();
case "300":
return changeValidate();
case "400":
return logoutValidate();
case "500":
return riviseValidate();
case "901":
return renewalValidate();
case "902":
return replaceValidate();
}
var formRules={
'sldy.zl': [
{ required: true, message: '坐落:', trigger: 'blur' }
],
'lq.syqmj': [
{ required: true, message: '使用权(承包)面积:', trigger: 'blur' }
],
'lq.djyy': [
{ required: true, message: '登记原因:', trigger: 'blur' }
]
}
return formRules;
}
/**
......@@ -27,13 +24,7 @@ export function formValidate (djlx) {
* @param {*} data
* @author: renchao
*/
export function fristValidate () {
var formRules={
'diyaq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
return formRules;
export function fristValidate () {
}
......
......@@ -86,7 +86,7 @@
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="宗地面积:">
<el-form-item label="宗地面积:" prop="zdjbxx.zdmj">
<el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input>
</el-form-item>
</el-col>
......@@ -103,7 +103,7 @@
</el-row>
<el-row :gutter="10">
<el-col :span="16">
<el-form-item label="坐落:">
<el-form-item label="坐落:" prop="sldy.zl">
<el-input disabled v-model="ruleForm.sldy.zl"></el-input>
</el-form-item>
</el-col>
......@@ -359,7 +359,8 @@
}
})
that.czrOptions = that.ruleForm.qlrList;
that.isSave = that.viewEdit
that.isSave = that.viewEdit;
this.rules = formValidate(this.ruleForm.sldy.djlx);
} else {
that.isSave = false
that.$confirm(res.message, '提示', {
......@@ -405,11 +406,7 @@
propsParam: {},
//表单是否可操作
viewEdit: true,
rules: {
'nydsyq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
},
rules: {},
};
},
methods: {
......
......@@ -4,22 +4,19 @@
* @author: renchao
*/
export function formValidate (djlx) {
switch (djlx) {
case "100":
return fristValidate();
case "200":
return transferValidate();
case "300":
return changeValidate();
case "400":
return logoutValidate();
case "500":
return riviseValidate();
case "901":
return renewalValidate();
case "902":
return replaceValidate();
}
var formRules={
'sldy.zl': [
{ required: true, message: '坐落:', trigger: 'blur' }
],
'zdjbxx.zdmj': [
{ required: true, message: '宗地面积:', trigger: 'blur' }
],
'nydsyq.djyy': [
{ required: true, message: '登记原因:', trigger: 'blur' }
]
}
return formRules;
}
/**
......@@ -27,13 +24,7 @@ export function formValidate (djlx) {
* @param {*} data
* @author: renchao
*/
export function fristValidate () {
var formRules={
'diyaq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
return formRules;
export function fristValidate () {
}
......
......@@ -75,7 +75,7 @@
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item label="坐落:">
<el-form-item label="坐落:" prop="sldy.zl">
<el-input disabled v-model="ruleForm.sldy.zl"></el-input>
</el-form-item>
</el-col>
......@@ -92,7 +92,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="使用权(承包)面积:">
<el-form-item label="使用权(承包)面积:" prop="lq.syqmj">
<el-input maxlength="12" v-model="ruleForm.lq.syqmj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
......@@ -305,7 +305,7 @@
</div>
<el-row :gutter="10">
<el-col>
<el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy">
<el-form-item label="登记原因:" prop="lq.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -361,7 +361,8 @@
}
})
that.czrOptions = that.ruleForm.qlrList
that.isSave = that.viewEdit
that.isSave = that.viewEdit;
this.rules = formValidate(this.ruleForm.sldy.djlx);
} else {
that.isSave = false
that.$confirm(res.message, '提示', {
......
......@@ -4,22 +4,19 @@
* @author: renchao
*/
export function formValidate (djlx) {
switch (djlx) {
case "100":
return fristValidate();
case "200":
return transferValidate();
case "300":
return changeValidate();
case "400":
return logoutValidate();
case "500":
return riviseValidate();
case "901":
return renewalValidate();
case "902":
return replaceValidate();
}
var formRules={
'sldy.zl': [
{ required: true, message: '坐落:', trigger: 'blur' }
],
'lq.syqmj': [
{ required: true, message: '使用权(承包)面积:', trigger: 'blur' }
],
'lq.djyy': [
{ required: true, message: '登记原因:', trigger: 'blur' }
]
}
return formRules;
}
/**
......@@ -27,13 +24,7 @@ export function formValidate (djlx) {
* @param {*} data
* @author: renchao
*/
export function fristValidate () {
var formRules={
'diyaq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
return formRules;
export function fristValidate () {
}
......
......@@ -85,7 +85,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="权利性质:">
<el-form-item label="权利性质:" prop="zdjbxx.qlxz">
<treeselect
v-model="ruleForm.zdjbxx.qlxz"
noOptionsText="暂无数据"
......@@ -183,7 +183,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="确权面积:">
<el-form-item label="确权面积:" prop="tdcbjyq.qqmj">
<div class="flex">
<el-input
:disabled="!viewEdit"
......@@ -378,7 +378,8 @@
}
})
that.czrOptions = that.ruleForm.qlrList;
that.isSave = that.viewEdit
that.isSave = that.viewEdit;
this.rules = formValidate(this.ruleForm.sldy.djlx);
} else {
that.isSave = false
that.$confirm(res.message, '提示', {
......@@ -449,11 +450,7 @@
ruleForm: {},
//传递参数
propsParam: {},
rules: {
'tdcbjyq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
rules: {}
}
},
methods: {
......
......@@ -4,22 +4,22 @@
* @author: renchao
*/
export function formValidate (djlx) {
switch (djlx) {
case "100":
return fristValidate();
case "200":
return transferValidate();
case "300":
return changeValidate();
case "400":
return logoutValidate();
case "500":
return riviseValidate();
case "901":
return renewalValidate();
case "902":
return replaceValidate();
}
var formRules={
'sldy.zl': [
{ required: true, message: '坐落:', trigger: 'blur' }
],
'zdjbxx.qlxz': [
{ required: true, message: '权利性质:', trigger: 'blur' }
],
'tdcbjyq.qqmj': [
{ required: true, message: '确权面积:', trigger: 'blur' }
],
'lq.djyy': [
{ required: true, message: '登记原因:', trigger: 'blur' }
]
}
return formRules;
}
/**
......@@ -27,13 +27,7 @@ export function formValidate (djlx) {
* @param {*} data
* @author: renchao
*/
export function fristValidate () {
var formRules={
'diyaq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
return formRules;
export function fristValidate () {
}
......
......@@ -71,8 +71,8 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="坐落:">
<el-input disabled v-model="ruleForm.sldy.zl"></el-input>
<el-form-item label="坐落:" prop="sldy.zl">
<el-input v-model="ruleForm.sldy.zl"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -88,7 +88,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="房屋性质:">
<el-form-item label="房屋性质:" prop="ygdj.fwxz">
<el-select v-model="ruleForm.ygdj.fwxz" :disabled="!viewEdit">
<el-option
v-for="item in dictData['A19']"
......@@ -102,7 +102,7 @@
</el-row>
<el-row :gutter="10" v-if="ruleForm.qlxx">
<el-col :span="8">
<el-form-item label="房屋用途:">
<el-form-item label="房屋用途:" prop="ygdj.ghyt">
<el-select v-model="ruleForm.ygdj.ghyt" :disabled="!viewEdit">
<el-option
v-for="item in dictData['A17']"
......@@ -114,12 +114,12 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="所在层:">
<el-form-item label="所在层:" prop="ygdj.szc">
<el-input maxlength="20" :disabled="!viewEdit" v-model="ruleForm.ygdj.szc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-form-item label="总层数:" prop="ygdj.zcs">
<el-input
:disabled="!viewEdit"
maxlength="4"
......@@ -130,7 +130,7 @@
</el-row>
<el-row :gutter="10" v-if="ruleForm.qlxx">
<el-col :span="8">
<el-form-item label="房屋结构:">
<el-form-item label="房屋结构:" prop="ygdj.fwjg">
<el-select v-model="ruleForm.ygdj.fwjg" :disabled="!viewEdit">
<el-option
v-for="item in dictData['A46']"
......@@ -143,7 +143,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="建筑面积:">
<el-form-item label="建筑面积:" prop="ygdj.jzmj">
<div class="flex">
<el-input
maxlength="12"
......@@ -262,7 +262,7 @@
</div>
<el-row :gutter="10">
<el-col>
<el-form-item v-if="ruleForm.sldy.djlx=='400'" label="注销登记原因:" prop="djyy">
<el-form-item v-if="ruleForm.sldy.djlx=='400'" label="注销登记原因:" prop="ygdj.zxyy">
<el-input
class="textArea"
type="textarea"
......@@ -324,7 +324,8 @@
}
})
that.czrOptions = this.ruleForm.qlrList
that.isSave = that.viewEdit
that.isSave = that.viewEdit;
this.rules = formValidate(this.ruleForm.sldy.djlx);
} else {
that.isSave = false
that.$confirm(res.message, '提示', {
......@@ -362,11 +363,7 @@
},
//传递参数
propsParam: this.$attrs,
rules: {
'ygdj.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
rules: {}
}
},
methods: {
......
......@@ -4,89 +4,111 @@
* @author: renchao
*/
export function formValidate (djlx) {
switch (djlx) {
case "100":
return fristValidate();
case "200":
return transferValidate();
case "300":
return changeValidate();
case "400":
return logoutValidate();
case "500":
return riviseValidate();
case "901":
return renewalValidate();
case "902":
return replaceValidate();
}
}
/**
* @description: 首次登记效验
* @param {*} data
* @author: renchao
*/
export function fristValidate () {
var formRules={
'diyaq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
var formRules={
'sldy.zl': [
{ required: false, message: '坐落:', trigger: 'blur' }
],
'ygdj.fwxz': [
{ required: false, message: '房屋性质:', trigger: 'blur' }
],
'ygdj.ghyt': [
{ required: false, message: '房屋用途:', trigger: 'blur' }
],
'ygdj.szc': [
{ required: false, message: '所在层:', trigger: 'blur' }
],
'ygdj.zcs': [
{ required: false, message: '总层数:', trigger: 'blur' }
],
'ygdj.fwjg': [
{ required: false, message: '房屋结构:', trigger: 'blur' }
],
'ygdj.jzmj': [
{ required: false, message: '建筑面积:', trigger: 'blur' }
],
'ygdj.djyy': [
{ required: false, message: '请输入登记原因', trigger: 'blur' }
],
'ygdj.zxyy': [
{ required: false, message: '请输入注销登记原因', trigger: 'blur' }
]
}
if (djlx=="400") {
formRules["ygdj.zxyy"][0].required=true;
}else{
formRules["sldy.zl"][0].required=true;
formRules["ygdj.fwxz"][0].required=true;
formRules["ygdj.ghyt"][0].required=true;
formRules["ygdj.szc"][0].required=true;
formRules["ygdj.zcs"][0].required=true;
formRules["ygdj.fwjg"][0].required=true;
formRules["ygdj.jzmj"][0].required=true;
formRules["ygdj.djyy"][0].required=true;
}
return formRules;
}
return formRules;
}
/**
* @description: 转移登记效验
* @param {*} data
* @author: renchao
*/
export function transferValidate (data) {
}
/**
* @description: 变更登记效验
* @param {*} data
* @author: renchao
*/
export function changeValidate (data) {
}
/**
* @description: 注销登记效验
* @param {*} data
* @author: renchao
*/
export function logoutValidate (data) {
}
/**
* @description: 更正登记效验
* @param {*} data
* @author: renchao
*/
export function riviseValidate (data) {
}
/**
* @description: 补证登记效验
* @param {*} data
* @author: renchao
*/
export function renewalValidate (data) {
}
/**
* @description: 换证登记效验
* @param {*} data
* @author: renchao
*/
export function replaceValidate (data) {
}
\ No newline at end of file
/**
* @description: 首次登记效验
* @param {*} data
* @author: renchao
*/
export function fristValidate (formRules,dyfs) {
return formRules;
}
/**
* @description: 转移登记效验
* @param {*} data
* @author: renchao
*/
export function transferValidate (data) {
}
/**
* @description: 变更登记效验
* @param {*} data
* @author: renchao
*/
export function changeValidate (data) {
}
/**
* @description: 注销登记效验
* @param {*} data
* @author: renchao
*/
export function logoutValidate (data) {
}
/**
* @description: 更正登记效验
* @param {*} data
* @author: renchao
*/
export function riviseValidate (data) {
}
/**
* @description: 补证登记效验
* @param {*} data
* @author: renchao
*/
export function renewalValidate (data) {
}
/**
* @description: 换证登记效验
* @param {*} data
* @author: renchao
*/
export function replaceValidate (data) {
}
\ No newline at end of file
......