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