Commit 996e9b0c authored by 乐宝呗666's avatar 乐宝呗666

修改bug

parent 4a5075d5
...@@ -152,6 +152,7 @@ export default { ...@@ -152,6 +152,7 @@ export default {
background: #9b1f23 url("~@/assets/login/login_bg.png") no-repeat center/ 100% background: #9b1f23 url("~@/assets/login/login_bg.png") no-repeat center/ 100%
100%; 100%;
.content { .content {
min-width: 350px;
width: 33.33%; width: 33.33%;
height: 100vh; height: 100vh;
background-color: @party-white; background-color: @party-white;
......
...@@ -110,7 +110,6 @@ export default { ...@@ -110,7 +110,6 @@ export default {
// 根据id获取获取详情内容 // 根据id获取获取详情内容
getDetailById() { getDetailById() {
let _this = this; let _this = this;
debugger
this.$https( this.$https(
{ {
method: "get", method: "get",
...@@ -128,9 +127,12 @@ export default { ...@@ -128,9 +127,12 @@ export default {
this.form[key] = resData[key]; this.form[key] = resData[key];
} }
} }
_this.form.areaId = resData.areas
if (!_this.form.permanent) { if (!_this.form.permanent) {
_this.form.date = [resData.effectiveDate, resData.exiredDate]; _this.form.date = [resData.effectiveDate, resData.exiredDate];
} }
this.form = {..._this.form}
console.log(this.form)
} else { } else {
_this.$message.error(res.data.message); _this.$message.error(res.data.message);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment