shish 3 лет назад
Родитель
Сommit
f598a459a3
1 измененных файлов с 2 добавлено и 7 удалено
  1. 2 7
      hdApp/src/admin/ljh/confirm.vue

+ 2 - 7
hdApp/src/admin/ljh/confirm.vue

@@ -81,12 +81,9 @@ import AppUploader from "@/components/app-uploader";
 const form = require("@/utils/formValidation.js");
 import {applyLjh} from "@/api/ljh";
 import {getAuthCode} from "@/api/apply";
-import { replaceClientId } from '@/api/admin'
 import { mapGetters,mapActions } from "vuex"
 import htzImageUpload from '@/components/htz-image-upload/htz-image-upload.vue'
 import { APIHOST } from '@/config'
-import { getShopInfo} from "@/utils/auth";
-import { getDictionaries } from '@/api/mini'
 export default {
   name: "confirm",
   components: {
@@ -244,14 +241,12 @@ export default {
     confirmFn () {
       uni.showLoading({mask:true})
       let currentMiniOpenId = uni.getStorageSync('currentMiniOpenId')
-      let style = this.option.style || 0
-      let from = this.option.from || 0
       let that = this
       uni.showLoading({mask:true})
-      applyLjh({hdShopAdminId:this.option.hdShopAdminId,ghsShopAdminId:this.option.ghsShopAdminId,...this.form,style:style,from:from,miniOpenId:currentMiniOpenId}).then(subRes => {
+      applyLjh({...this.form,miniOpenId:currentMiniOpenId}).then(subRes => {
         uni.hideLoading()
         if(subRes.code == 1){
-          that.$util.pageTo({url: "/admin/ljh/confirmPay?id="+subRes.data.id})
+          that.$util.pageTo({url: "/admin/ljh/confirmPay?id="+subRes.data.id,type:2})
         }
       })
     }