|
@@ -2,8 +2,6 @@
|
|
|
<div class="app-container">
|
|
|
<van-nav-bar title="新增计划" left-text="返回" left-arrow @click-left="$router.go(-1)" />
|
|
|
|
|
|
-
|
|
|
-
|
|
|
<van-form @submit="onSubmit">
|
|
|
<van-field
|
|
|
v-model="formData.plan_number"
|
|
@@ -287,7 +285,6 @@ export default {
|
|
|
status:this.formData.status,
|
|
|
info:this.formData.info,
|
|
|
}
|
|
|
-
|
|
|
this.$http.post('savePlan?userid=' + this.userid + '&openid=' + this.openid, JSON.stringify(postData))
|
|
|
.then(resp => {
|
|
|
if (resp.data.code!=10000) {
|
|
@@ -298,8 +295,8 @@ export default {
|
|
|
type: 'success',
|
|
|
message: resp.data.message || '保存成功',
|
|
|
})
|
|
|
- // 刷新列表
|
|
|
- // this.$router.replace('yys_alarms');
|
|
|
+ 刷新列表
|
|
|
+ this.$router.replace('yys_alarms');
|
|
|
})
|
|
|
},
|
|
|
|