diff --git a/src/apps/AppAskForm/components/List.vue b/src/apps/AppAskForm/components/List.vue index 53c3cdbd..23bcce31 100644 --- a/src/apps/AppAskForm/components/List.vue +++ b/src/apps/AppAskForm/components/List.vue @@ -6,7 +6,7 @@
+ @click="showPopup(item)">

{{ item.title }}

@@ -125,6 +125,20 @@ export default { }) }, + showPopup (item) { + if (item.status === '2') { + this.$confirm('表单已停止发布,请在后台管理系统中查看调查结果', '', { + showCancel: false + }) + + return false + } + + this.info = item + this.id = item.id + this.isShow = true + }, + toStop() { this.$http.post(`/app/appquestionnairetemplate/stopRelease?id=${this.info.id}`).then(res => { if (res.code === 0) { diff --git a/src/apps/AppAskForm/components/Result.vue b/src/apps/AppAskForm/components/Result.vue index 6411cba9..3b6a2ea9 100644 --- a/src/apps/AppAskForm/components/Result.vue +++ b/src/apps/AppAskForm/components/Result.vue @@ -28,6 +28,8 @@