From 6915494eb4b88de8c1981c6db2e37e40460a65e4 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 3 Dec 2021 15:49:59 +0800 Subject: [PATCH] 25154 --- src/apps/AppAskForm/components/List.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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) {