Commit d085a8d94e02fce035baff52298843e6d1008b85
1 parent
7a4cf7ed
单人订阅
Showing
2 changed files
with
6 additions
and
1 deletions
src/views/system/modules/newsOrderPart.vue
@@ -173,7 +173,7 @@ export default { | @@ -173,7 +173,7 @@ export default { | ||
173 | }], | 173 | }], |
174 | url: { | 174 | url: { |
175 | list: "1", | 175 | list: "1", |
176 | - add: "/news/userNewsOrder/add", | 176 | + add: "/news/userNewsOrder/addUserNewsOrders", |
177 | edit: "/pbom_type/pbomType/edit", | 177 | edit: "/pbom_type/pbomType/edit", |
178 | queryById: "/pbom_type/pbomType/queryById" | 178 | queryById: "/pbom_type/pbomType/queryById" |
179 | } | 179 | } |
src/views/system/modules/newsOrderPartCopy.vue
@@ -330,6 +330,11 @@ export default { | @@ -330,6 +330,11 @@ export default { | ||
330 | this.form.validateFields((err, values) => { | 330 | this.form.validateFields((err, values) => { |
331 | if (!err) { | 331 | if (!err) { |
332 | that.confirmLoading = true; | 332 | that.confirmLoading = true; |
333 | + if( that.userIds == null){ | ||
334 | + this.$message.warning("请选择订阅人员 !!!"); | ||
335 | + this.loading=false; | ||
336 | + return false; | ||
337 | + } | ||
333 | let httpurl = ''; | 338 | let httpurl = ''; |
334 | let method = ''; | 339 | let method = ''; |
335 | httpurl += this.url.add; | 340 | httpurl += this.url.add; |