|
|
@@ -553,14 +553,10 @@ export default {
|
|
|
return year + '-' + month + '-' + day
|
|
|
},
|
|
|
async saveFollowUp(e) {
|
|
|
- console.log(this.form)
|
|
|
- console.log(e)
|
|
|
- console.log('请选择一张图片')
|
|
|
- console.log(this.form.photoImgUrl)
|
|
|
- if (!this.form.photoImgUrl) {
|
|
|
- this.$toast.fail('请选择一张图片')
|
|
|
- return
|
|
|
- }
|
|
|
+ // if (!this.form.photoImgUrl) {
|
|
|
+ // this.$toast.fail('请选择一张图片')
|
|
|
+ // return
|
|
|
+ // }
|
|
|
var data = JSON.parse(JSON.stringify(this.form))
|
|
|
data.birthday = data.birthday+' 00:00:00'
|
|
|
const res = await createChildBaseInfo(data)
|