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