0288e2d6 by tianhaohao@pashanhoo.com

添加功能效验

1 parent a1940cef
/**
* @description: 首次登记效验
* @param {*} data
* @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' }
]
}
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
......@@ -13,7 +13,8 @@
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="180px">
label-width="180px"
>
<div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
申请业务信息
......@@ -55,10 +56,11 @@
</el-row>
<div class="slxx_title title-block">
<el-row>
<el-col :span="16">
抵押不动产情况
</el-col>
<el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
<el-col :span="16"> 抵押不动产情况 </el-col>
<el-col
:span="4"
v-if="ruleForm.sldy.djlx == '300' || ruleForm.sldy.djlx == '500'"
>
<el-button @click="compare">变化情况对比+</el-button>
</el-col>
</el-row>
......@@ -141,13 +143,19 @@
<el-input
maxlength="12"
v-model="ruleForm.diyaq.dymj"
disabled></el-input>
<el-select disabled v-model="ruleForm.diyaq.mjdw" style="width: 68px">
disabled
></el-input>
<el-select
disabled
v-model="ruleForm.diyaq.mjdw"
style="width: 68px"
>
<el-option
v-for="item in dictData['A7']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode">
:value="item.dcode"
>
</el-option>
</el-select>
</div>
......@@ -158,18 +166,19 @@
<el-col :span="8">
<el-form-item
label="是否禁止或者限制转让的约定:"
label-width="200px">
label-width="200px"
>
<el-radio-group
v-model="ruleForm.diyaq.sfczjzhxz"
:disabled="!viewEdit || isJfOperation">
:disabled="!viewEdit || isJfOperation"
>
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
label="是否预告登记:">
<el-form-item label="是否预告登记:">
<el-radio-group v-model="ruleForm.diyaq.sfygdj" disabled>
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
......@@ -180,27 +189,31 @@
<el-form-item label="债务履行期限:">
<el-input
v-model="ruleForm.diyaq.dyqx"
:disabled="!viewEdit || isJfOperation"></el-input>
:disabled="!viewEdit || isJfOperation"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
<el-form-item label="被担保主债权数额:">
<el-form-item label="被担保主债权数额:" prop="diyaq.bdbzzqse">
<div style="display: flex">
<el-input
v-model="ruleForm.diyaq.bdbzzqse"
:disabled="!viewEdit || isJfOperation"
style="width: 500%"></el-input>
style="width: 500%"
></el-input>
<el-select
v-model="ruleForm.diyaq.jedw"
:disabled="!viewEdit || isJfOperation">
:disabled="!viewEdit || isJfOperation"
>
<el-option
v-for="item in dictData['A57']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode">
:value="item.dcode"
>
</el-option>
</el-select>
</div>
......@@ -208,28 +221,47 @@
</el-col>
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
<el-form-item label="最高债权额:">
<el-form-item label="最高债权额:" prop="diyaq.zgzqse">
<div style="display: flex">
<el-input
v-model="ruleForm.diyaq.zgzqse"
:disabled="!viewEdit || isJfOperation"></el-input>
:disabled="!viewEdit || isJfOperation"
style="width: 500%"
></el-input>
<el-select
v-model="ruleForm.diyaq.jedw"
:disabled="!viewEdit || isJfOperation"
>
<el-option
v-for="item in dictData['A57']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode"
>
</el-option>
</el-select>
</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="债务履行起始时间:">
<el-form-item label="债务履行起始时间:" prop="diyaq.zwlxqssj">
<el-date-picker
v-model="ruleForm.diyaq.zwlxqssj"
:disabled="!viewEdit || isJfOperation"
type="date">
type="date"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="债务履行结束时间:">
<el-date-picker class="width100"
<el-form-item label="债务履行结束时间:" prop="diyaq.zwlxjssj">
<el-date-picker
class="width100"
v-model="ruleForm.diyaq.zwlxjssj"
:disabled="!viewEdit || isJfOperation"
type="date">
type="date"
>
</el-date-picker>
</el-form-item>
</el-col>
......@@ -240,8 +272,9 @@
<el-input
v-model="ruleForm.diyaq.dbfw"
:disabled="
(ruleForm.sldy.djlx == '300' || !viewEdit) || isJfOperation
"></el-input>
ruleForm.sldy.djlx == '300' || !viewEdit || isJfOperation
"
></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -250,7 +283,8 @@
<el-form-item label="最高债权确定事实和数额:">
<el-input
v-model="ruleForm.diyaq.zgzqqdss"
:disabled="!viewEdit || isJfOperation"></el-input>
:disabled="!viewEdit || isJfOperation"
></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -262,7 +296,8 @@
maxlength="500"
show-word-limit
v-model="ruleForm.diyaq.fj"
:disabled="!viewEdit || isJfOperation"></el-input>
:disabled="!viewEdit || isJfOperation"
></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -276,7 +311,8 @@
<el-form-item label="共有方式:">
<el-radio-group
:disabled="!viewEdit"
v-model="ruleForm.sldy.gyfs">
v-model="ruleForm.sldy.gyfs"
>
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
......@@ -289,7 +325,8 @@
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!viewEdit"
@input="updaterow()">
@input="updaterow()"
>
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
......@@ -297,17 +334,20 @@
</el-col>
<el-col
:span="6"
v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"
>
<el-form-item label="持证人:">
<el-select
v-model="czr"
placeholder="持证人"
:disabled="!viewEdit">
:disabled="!viewEdit"
>
<el-option
v-for="(item,index) in czrOptions"
v-for="(item, index) in czrOptions"
:key="index"
:label="item.sqrmc"
:value="item.id">
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
......@@ -317,7 +357,8 @@
:tableData="ruleForm.qlrList"
:disabled="viewEdit"
@upDateQlrxxList="upDateQlrxxList"
:gyfs="ruleForm.sldy.gyfs" />
:gyfs="ruleForm.sldy.gyfs"
/>
<div class="slxx_title title-block">
抵押人信息
<div class="triangle"></div>
......@@ -325,7 +366,8 @@
<qlrCommonTable
:tableData="ruleForm.ywrList"
:disabled="viewEdit"
@upDateQlrxxList="upDateYwrxxList" />
@upDateQlrxxList="upDateYwrxxList"
/>
<div class="slxx_title title-block">
登记原因
......@@ -336,12 +378,14 @@
<el-form-item
v-if="ruleForm.sldy.djlx == '400'"
label="注销抵押原因:"
prop="djyy">
prop="diyaq.zxdyyy"
>
<el-input
class="textArea"
type="textarea"
:disabled="!viewEdit"
v-model="ruleForm.diyaq.zxdyyy">
v-model="ruleForm.diyaq.zxdyyy"
>
</el-input>
</el-form-item>
<el-form-item v-else label="登记原因:" prop="diyaq.djyy">
......@@ -351,7 +395,8 @@
maxlength="500"
show-word-limit
:disabled="!viewEdit"
v-model="ruleForm.diyaq.djyy">
v-model="ruleForm.diyaq.djyy"
>
</el-input>
</el-form-item>
</el-col>
......@@ -366,58 +411,23 @@
</div>
</template>
<script>
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
import { mapGetters } from "vuex";
export default {
mounted () {
let that = this
this.loading = true
this.viewEdit = this.$parent.currentSelectTab.ableOperation;
this.propsParam = this.$attrs;
var formdata = new FormData();
if (this.propsParam.djlx == "400") {
this.isJfOperation = true;
}
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
setTimeout(() => {
this.loading = false
}, 200)
if (res.code === 200 && res.result) {
that.ruleForm = res.result;
that.ruleForm.qlrList.forEach((item) => {
item.id = item.bsmSqr
if (item.sfczr == '1') {
that.czr = item.bsmSqr
}
})
that.czrOptions = this.ruleForm.qlrList;
that.isSave = that.viewEdit
} else {
that.isSave = false
that.$confirm(res.message, '提示', {
cancelButtonText: '取消',
showConfirmButton: false,
type: 'warning'
})
}
}).catch(() => {
this.loading = false
})
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
import { formValidate } from "./slxxValidate";
import { mapGetters } from "vuex";
export default {
mounted() {
this.initData();
},
components: { qlrCommonTable },
computed: {
...mapGetters(["dictData", "flag"]),
},
data () {
data() {
return {
isSave: true,
// 键名转换,方法默认是label和children进行树状渲染
normalizer (node) {
normalizer(node) {
//方法
if (node.children == null || node.children == "null") {
delete node.children;
......@@ -442,19 +452,57 @@
isJfOperation: false,
//传递参数
propsParam: {},
rules: {
'diyaq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
rules: {},
};
},
methods: {
initData() {
let that = this;
this.loading = true;
this.viewEdit = this.$parent.currentSelectTab.ableOperation;
this.propsParam = this.$attrs;
var formdata = new FormData();
if (this.propsParam.djlx == "400") {
this.isJfOperation = true;
}
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.viewEdit);
Init(formdata)
.then((res) => {
setTimeout(() => {
this.loading = false;
}, 200);
if (res.code === 200 && res.result) {
that.ruleForm = res.result;
that.ruleForm.qlrList.forEach((item) => {
item.id = item.bsmSqr;
if (item.sfczr == "1") {
that.czr = item.bsmSqr;
}
});
that.czrOptions = this.ruleForm.qlrList;
that.isSave = that.viewEdit;
that.rules = formValidate(that.ruleForm.qlxx.djlx,that.ruleForm.diyaq.dyfs);
} else {
that.isSave = false;
that.$confirm(res.message, "提示", {
cancelButtonText: "取消",
showConfirmButton: false,
type: "warning",
});
}
})
.catch(() => {
this.loading = false;
});
},
methods: {
/**
* @description: onSubmitClick
* @author: renchao
*/
onSubmitClick () {
onSubmitClick() {
let that = this;
if (this.ruleForm.qlrList.length == 0) {
this.$message({
......@@ -491,25 +539,25 @@
item.sfczr = "1";
});
} else {
if (that.czr === '') {
if (that.czr === "") {
that.$message({
showClose: true,
message: "请选择持证人",
type: "error"
type: "error",
});
return false;
}
this.ruleForm.qlrList.forEach((item, index) => {
if (item.id == that.czr) {
item.sfczr = "1"
item.sfczr = "1";
} else {
item.sfczr = "0"
item.sfczr = "0";
}
})
});
}
}
this.$refs['ruleForm'].validate((valid) => {
this.$refs["ruleForm"].validate((valid) => {
if (valid) {
that.$store.dispatch("user/refreshPage", false);
saveData(that.ruleForm, that.propsParam.djlx).then((res) => {
......@@ -527,44 +575,42 @@
type: "error",
});
}
})
});
} else {
this.$message({
that.$message({
showClose: true,
message: "请输入登记原因",
type: "error"
})
return false
message: "请输入红框内的相关信息!",
type: "error",
});
return false;
}
})
});
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
upDateQlrxxList(val) {
if (!_.isEqual(val, this.ruleForm.qlrList)) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.czrOptions = this.ruleForm.qlrList;
}
this.num = 0
this.ruleForm.qlrList.forEach(item => {
this.num = 0;
this.ruleForm.qlrList.forEach((item) => {
if (item.id == this.czr) {
this.num++
this.num++;
}
})
});
if (this.num == 0) {
this.czr = ''
this.czr = "";
}
},
/**
* @description: 是否持证人变化
* @author: renchao
*/
updaterow () {
updaterow() {
this.czr = "";
},
/**
......@@ -572,15 +618,16 @@
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
upDateYwrxxList(val) {
if (!_.isEqual(val, this.ruleForm.ywrList)) {
this.ruleForm.ywrList = _.cloneDeep(val);
}
}, /**
}
/**
* @description: compare
* @author: renchao
*/
compare () {
*/,
compare() {
this.$popupDialog(
this.ruleForm.qlxx.qllxmc,
"registerBook/comparison",
......@@ -593,9 +640,10 @@
);
},
},
};
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
</style>
./slxxValidate
......
/**
* @description: 首次登记效验
* @param {*} data
* @author: renchao
*/
export function formValidate (djlx,dyfs) {
var formRules={
'diyaq.djyy': [
{ required: false, message: '请输入登记原因', trigger: 'blur' }
],
'diyaq.zxdyyy': [
{ required: false, message: '请输入注销登记原因', trigger: 'blur' }
],
'diyaq.zwlxqssj': [
{ required: false, message: '请选择债务履行起始时间', trigger: 'blur' }
],
'diyaq.zwlxjssj': [
{ required: false, message: '请选择债务履行起始时间', trigger: 'blur' }
],
'diyaq.bdbzzqse': [
{ required: false, message: '请输入被担保主债权数额', trigger: 'blur' }
],
'diyaq.zgzqse': [
{ required: false, message: '请输入最高债权额', trigger: 'blur' }
]
}
if (djlx=="400") {
formRules["diyaq.zxdyyy"][0].required=true;
}else{
if(dyfs=="1"){
formRules["diyaq.bdbzzqse"][0].required=true;
}else{
formRules["diyaq.zgzqse"][0].required=true;
}
formRules["diyaq.zwlxqssj"][0].required=true;
formRules["diyaq.zwlxjssj"][0].required=true;
formRules["diyaq.djyy"][0].required=true;
}
return formRules;
}
/**
* @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
/**
* @description: 首次登记效验
* @param {*} data
* @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' }
]
}
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 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' }
]
}
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 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' }
]
}
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 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' }
]
}
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 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' }
]
}
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 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' }
]
}
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 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' }
]
}
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 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' }
]
}
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 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' }
]
}
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 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' }
]
}
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 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' }
]
}
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