社区管理
This commit is contained in:
@@ -161,10 +161,12 @@ export default {
|
|||||||
return this.$u.toast('请选择目的地')
|
return this.$u.toast('请选择目的地')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.form.startTime = this.form.startTime + ':00'
|
this.$http.post(`/app/appepidemicpreventionregisterinfo/updateForAdmin`, {
|
||||||
this.form.arriveTime = this.form.arriveTime + ':00'
|
...this.form,
|
||||||
this.travelType = this.travelType.join(',')
|
startTime: this.form.startTime + ':00',
|
||||||
this.$http.post(`/app/appepidemicpreventionregisterinfo/updateForAdmin`, this.form).then((res) => {
|
arriveTime: this.form.arriveTime + ':00',
|
||||||
|
travelType: this.travelType.join(',')
|
||||||
|
}).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
uni.$emit('updateDetail')
|
uni.$emit('updateDetail')
|
||||||
|
|||||||
@@ -153,7 +153,9 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: '',
|
id: '',
|
||||||
form: {},
|
form: {
|
||||||
|
infoType: '3'
|
||||||
|
},
|
||||||
showDateSelect: false,
|
showDateSelect: false,
|
||||||
showDictSelect: false,
|
showDictSelect: false,
|
||||||
selectDictName: '',
|
selectDictName: '',
|
||||||
@@ -228,11 +230,13 @@ export default {
|
|||||||
return this.$u.toast('请选择目的地')
|
return this.$u.toast('请选择目的地')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.form.startTime = this.form.startTime + ':00',
|
|
||||||
this.form.arriveTime = this.form.arriveTime + ':00',
|
|
||||||
this.form.travelType = this.travelType.join(',')
|
|
||||||
var url = this.fromType == 0 ? '/app/appepidemicpreventionregisterinfo/addForCM' : '/app/appepidemicpreventionregisterinfo/updateForAdmin'
|
var url = this.fromType == 0 ? '/app/appepidemicpreventionregisterinfo/addForCM' : '/app/appepidemicpreventionregisterinfo/updateForAdmin'
|
||||||
this.$http.post(url, this.form).then((res) => {
|
this.$http.post(url, {
|
||||||
|
...this.form,
|
||||||
|
startTime: this.form.startTime + ':00',
|
||||||
|
arriveTime: this.form.arriveTime + ':00',
|
||||||
|
travelType: this.travelType.join(',')
|
||||||
|
}).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
uni.$emit('updateDetail')
|
uni.$emit('updateDetail')
|
||||||
|
|||||||
Reference in New Issue
Block a user