BUG 27673
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<template slot="content">
|
<template slot="content">
|
||||||
<ai-card title="基本信息">
|
<ai-card title="基本信息">
|
||||||
<template #content>
|
<template #content>
|
||||||
<el-form ref="form" class="ai-form" :model="form" label-width="110px" label-position="right">
|
<el-form ref="CBookForm" class="ai-form" :model="form" label-width="110px" label-position="right">
|
||||||
<el-form-item label="地区" style="width: 100%;" prop="codeName">
|
<el-form-item label="地区" style="width: 100%;" prop="codeName">
|
||||||
<span style="color: #666;">{{ form.areaName }}</span>
|
<span style="color: #666;">{{ form.areaName }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
methods: {
|
methods: {
|
||||||
getInfo (id) {
|
getInfo (id) {
|
||||||
this.instance.post(`/app/appconvenientaddressbook/queryDetailById?id=${id}`).then(res => {
|
this.instance.post(`/app/appconvenientaddressbook/queryDetailById?id=${id}`).then(res => {
|
||||||
if (res.code === 0) {
|
if (res?.data) {
|
||||||
this.form = res.data
|
this.form = res.data
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
confirm () {
|
confirm () {
|
||||||
this.$refs.form.validate((valid) => {
|
this.$refs.CBookForm.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.instance.post(`/app/appconvenientaddressbook/addOrUpdate`, {
|
this.instance.post(`/app/appconvenientaddressbook/addOrUpdate`, {
|
||||||
...this.form,
|
...this.form,
|
||||||
|
|||||||
@@ -587,11 +587,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
onheadPictureChange (e) {
|
onheadPictureChange (e) {
|
||||||
if (e.length) {
|
this.form.isShowheadPicture = !!e.length;
|
||||||
this.form.isShowheadPicture = true
|
|
||||||
} else {
|
|
||||||
this.form.isShowheadPicture = false
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
init () {
|
init () {
|
||||||
@@ -757,7 +753,7 @@
|
|||||||
|
|
||||||
onConfirm (status) {
|
onConfirm (status) {
|
||||||
if (this.params.templateType == 1) {
|
if (this.params.templateType == 1) {
|
||||||
this.submitTemp()
|
// this.submitTemp()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.form.periodValidityType === '1') {
|
if (this.form.periodValidityType === '1') {
|
||||||
|
|||||||
Reference in New Issue
Block a user