f6de5c50 by renchao@pashanhoo.com

style:登记原因

1 parent 5f08adcf
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-26 15:29:54
* @LastEditTime: 2024-01-31 09:38:51
-->
<template>
<!-- 受理信息 -->
......@@ -338,7 +338,7 @@
v-model="ruleForm.diyaq.zxdyyy">
</el-input>
</el-form-item>
<el-form-item v-else label="登记原因:" prop="djyy">
<el-form-item v-else label="登记原因:" prop="diyaq.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -436,8 +436,12 @@
isJfOperation: false,
//传递参数
propsParam: {},
rules: {},
};
rules: {
'diyaq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
}
},
methods: {
/**
......@@ -499,22 +503,35 @@
}
}
saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$store.dispatch("user/refreshPage", true);
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
that.$store.dispatch("user/refreshPage", false);
saveData(that.ruleForm, that.propsParam.djlx).then((res) => {
if (res.code === 200) {
that.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
that.$store.dispatch("user/refreshPage", true);
} else {
that.$message({
showClose: true,
message: res.message,
type: "error",
});
}
})
} else {
this.$message({
showClose: true,
message: res.message,
type: "error",
});
message: "请输入登记原因",
type: "error"
})
return false
}
});
})
},
/**
* @description: 更新权利人信息
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-20 14:27:29
* @LastEditTime: 2024-01-31 09:38:06
-->
<template>
<!-- 受理信息 -->
......@@ -342,8 +342,12 @@
},
//传递参数
propsParam: {},
rules: {},
};
rules: {
djyy: [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
}
},
methods: {
/**
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-11-15 15:47:55
* @LastEditTime: 2024-01-31 09:46:04
-->
<template>
<div class="slxx">
......@@ -279,7 +279,7 @@
</div>
<el-row :gutter="10">
<el-col>
<el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy">
<el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="lq.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -386,7 +386,11 @@
propsParam: this.$attrs,
//表单是否可操作
viewEdit: true,
rules: {}
rules: {
'lq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
};
},
methods: {
......@@ -491,24 +495,36 @@
})
}
}
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$store.dispatch("user/refreshPage", true);
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
that.$store.dispatch("user/refreshPage", false);
saveData(that.ruleForm).then((res) => {
if (res.code === 200) {
that.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
that.$store.dispatch("user/refreshPage", true);
} else {
that.$message({
showClose: true,
message: res.message,
type: "error",
});
}
})
} else {
this.$message({
showClose: true,
message: res.message,
type: "error",
});
message: "请输入登记原因",
type: "error"
})
return false
}
});
},
},
})
}
}
};
</script>
<style scoped lang="scss">
......
......@@ -292,7 +292,7 @@
</div>
<el-row :gutter="10">
<el-col>
<el-form-item label="登记原因:" prop="djyy">
<el-form-item label="登记原因:" prop="nydsyq.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -389,7 +389,11 @@
propsParam: {},
//表单是否可操作
viewEdit: true,
rules: {},
rules: {
'nydsyq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
},
};
},
methods: {
......@@ -452,23 +456,35 @@
});
}
}
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$store.dispatch("user/refreshPage", true);
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
that.$store.dispatch("user/refreshPage", false);
saveData(that.ruleForm).then((res) => {
if (res.code === 200) {
that.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
that.$store.dispatch("user/refreshPage", true);
} else {
that.$message({
showClose: true,
message: res.message,
type: "error",
});
}
})
} else {
this.$message({
showClose: true,
message: res.message,
type: "error",
});
message: "请输入登记原因",
type: "error"
})
return false
}
});
})
},
/**
* @description: upDateQlrxxList
......
......@@ -304,7 +304,7 @@
</div>
<el-row :gutter="10">
<el-col>
<el-form-item label="登记原因:" prop="djyy">
<el-form-item label="登记原因:" prop="nydsyq.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -397,8 +397,12 @@
ruleForm: {},
//传递参数
propsParam: {},
rules: {},
};
rules: {
'nydsyq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
}
},
methods: {
/**
......@@ -460,23 +464,34 @@
})
}
}
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$store.dispatch("user/refreshPage", true);
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
that.$store.dispatch("user/refreshPage", false);
saveData(that.ruleForm).then((res) => {
if (res.code === 200) {
that.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
that.$store.dispatch("user/refreshPage", true);
} else {
that.$message({
showClose: true,
message: res.message,
type: "error",
});
}
})
} else {
this.$message({
showClose: true,
message: res.message,
type: "error",
});
message: "请输入登记原因",
type: "error"
})
return false
}
});
})
},
/**
* @description: 权利人更新
......
......@@ -265,7 +265,7 @@
v-model="ruleForm.ygdj.zxyy">
</el-input>
</el-form-item>
<el-form-item v-else label="登记原因:" prop="djyy">
<el-form-item v-else label="登记原因:" prop="ygdj.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -354,7 +354,11 @@
},
//传递参数
propsParam: this.$attrs,
rules: {}
rules: {
'ygdj.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
}
},
methods: {
......@@ -451,25 +455,37 @@
})
}
}
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$store.dispatch("user/refreshPage", true);
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
that.$store.dispatch("user/refreshPage", false);
saveData(that.ruleForm).then((res) => {
if (res.code === 200) {
that.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
that.$store.dispatch("user/refreshPage", true);
} else {
that.$message({
showClose: true,
message: res.message,
type: "error",
});
}
})
} else {
this.$message({
that.$message({
showClose: true,
message: res.message,
type: "error",
});
message: "请输入登记原因",
type: "error"
})
return false
}
});
},
},
};
})
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
......@@ -181,7 +181,7 @@
</div>
<el-row :gutter="10">
<el-col>
<el-form-item label="登记原因:" prop="djyy">
<el-form-item label="登记原因:" prop="ygdj.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -263,8 +263,12 @@
ruleForm: {},
//传递参数
propsParam: this.$attrs,
rules: {},
};
rules: {
'ygdj.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
}
},
methods: {
/**
......@@ -373,22 +377,37 @@
})
}
}
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$store.dispatch("user/refreshPage", true);
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
that.$store.dispatch("user/refreshPage", false);
saveData(that.ruleForm).then((res) => {
if (res.code === 200) {
that.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
that.$store.dispatch("user/refreshPage", true);
} else {
that.$message({
showClose: true,
message: res.message,
type: "error",
});
}
})
} else {
this.$message({
that.$message({
showClose: true,
message: res.message,
type: "error",
});
message: "请输入登记原因",
type: "error"
})
return false
}
});
})
},
/**
* @description: compare
......
......@@ -290,7 +290,7 @@
v-model="ruleForm.ygdj.zxyy">
</el-input>
</el-form-item>
<el-form-item v-else label="登记原因:" prop="djyy">
<el-form-item v-else label="登记原因:" prop="ygdj.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -387,6 +387,9 @@
zwlxqssjrules: [{ required: true, message: "债务履行起始时间", trigger: "blur" }],
zwlxjssjrules: [{ required: true, message: "债务履行结束时间", trigger: "blur" }],
dbfwrules: [{ required: true, message: "担保范围", trigger: "blur" }],
'ygdj.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
}
}
},
......
......@@ -280,7 +280,7 @@
v-model="ruleForm.diyaqList[0].zxdyyy">
</el-input>
</el-form-item>
<el-form-item v-else label="登记原因:" prop="djyy">
<el-form-item v-else label="登记原因:" prop="diyaqList[0].djyy">
<el-input
class="textArea"
type="textarea"
......@@ -360,7 +360,11 @@
ruleForm: {},
//传递参数
propsParam: {},
rules: {},
rules: {
'diyaqList[0].djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
},
tableData: [],
};
},
......@@ -423,22 +427,34 @@
});
}
}
saveBatchData(this.ruleForm, this.propsParam.djlx).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$store.dispatch("user/refreshPage", true);
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
that.$store.dispatch("user/refreshPage", false);
saveBatchData(that.ruleForm, that.propsParam.djlx).then((res) => {
if (res.code === 200) {
that.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
that.$store.dispatch("user/refreshPage", true);
} else {
that.$message({
showClose: true,
message: res.message,
type: "error",
});
}
})
} else {
this.$message({
that.$message({
showClose: true,
message: res.message,
type: "error",
});
message: "请输入登记原因",
type: "error"
})
return false
}
});
})
},
/**
* @description: 是否持证人变化
......
......@@ -338,7 +338,7 @@
v-model="ruleForm.diyaq.zxdyyy">
</el-input>
</el-form-item>
<el-form-item v-else label="登记原因:" prop="djyy">
<el-form-item v-else label="登记原因:" prop="diyaq.djyy">
<el-input
class="textArea"
type="textarea"
......@@ -416,7 +416,11 @@
ruleForm: {},
//传递参数
propsParam: {},
rules: {},
rules: {
'diyaq.djyy': [
{ required: true, message: '请输入登记原因', trigger: 'blur' }
]
},
// 键名转换,方法默认是label和children进行树状渲染
normalizer (node) {
//方法
......@@ -490,22 +494,35 @@
});
}
}
saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$store.dispatch("user/refreshPage", true);
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
that.$store.dispatch("user/refreshPage", false);
saveData(that.ruleForm, that.propsParam.djlx).then((res) => {
if (res.code === 200) {
that.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
that.$store.dispatch("user/refreshPage", true);
} else {
that.$message({
showClose: true,
message: res.message,
type: "error",
});
}
})
} else {
this.$message({
that.$message({
showClose: true,
message: res.message,
type: "error",
});
message: "请输入登记原因",
type: "error"
})
return false
}
});
})
},
/**
* @description: 更新权利人信息
......