bding 1 year ago
parent
commit
576a9ae3d2
2 changed files with 3 additions and 3 deletions
  1. 1 1
      config/modules/purchaser.js
  2. 2 2
      pages-purchaser/themeVote/themeVote.vue

+ 1 - 1
config/modules/purchaser.js

@@ -32,7 +32,7 @@ export const purchaserApi = {
    * params:{number SuveryId:SuveryId}
    */
   questionnaireVote_add: (params) => {
-    return getHttp("/questionnaire/vote_add", params);
+    return postHttp("/questionnaire/vote_add", params);
   },
   // 专栏列表
   yanxuanSpecialList: (params) => {

+ 2 - 2
pages-purchaser/themeVote/themeVote.vue

@@ -18,7 +18,7 @@
       <view class="text-box">
         <textarea v-model="advice_content" :clearable="false" placeholder="点击输入其余感兴趣的主题活动" class="ipt" />
       </view>
-      <view class="sed-btn"> 提交 </view>
+      <view class="sed-btn" @click="submitBtn"> 提交 </view>
     </block>
     <Loading />
   </view>
@@ -40,7 +40,7 @@ export default {
     onChange(event) {
       if (event.detail.length >= this.detailDate.MaxChooseTotal) {
         this.listTheme.forEach((item) => {
-          if (!event.detail.includes(item.val + "")) {
+          if (!event.detail.includes(item.QuestionnaireThemeId + "")) {
             item.DisabledRadio = true;
           }
         });