25154
This commit is contained in:
		| @@ -6,7 +6,7 @@ | ||||
|     </ai-top-fixed> | ||||
|     <div class="form-list"> | ||||
|       <div class="form-item" v-for="(item, index) in list" :key="index" | ||||
|            @click="info = item, id = item.id, isShow = true"> | ||||
|            @click="showPopup(item)"> | ||||
|         <div class="form-item__top"> | ||||
|           <div class="form-item__left"> | ||||
|             <h2>{{ item.title }}</h2> | ||||
| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user