1 files renamed
6 files added
10 files modified
2 files deleted
| | |
| | | wxScoreInit(data){ |
| | | return $http.post('/cmccWxpay/init',data) |
| | | }, |
| | | // 微信分初始化 |
| | | wxScoreInit2(data){ |
| | | return $http.post('/cmccWxpay/init2',data) |
| | | }, |
| | | // 微信分订单列表 |
| | | wxScoreList(data){ |
| | | return $http.post('/cmccWxpay/list',data) |
| | |
| | | wxScoreCreInit(data){ |
| | | return $http.post('/cmccWxpay/creInit', data); |
| | | }, |
| | | wxScoreCreInit2(data){ |
| | | return $http.post('/cmccWxpay/creInit2', data); |
| | | }, |
| | | } |
| | |
| | | component:()=>import("@/views/old/store/wx-pay-score.vue") |
| | | }, |
| | | { |
| | | path:"/wx-test-code", |
| | | name:'wxTestCode', |
| | | component:()=>import("@/views/old/store/wx-test-code.vue") |
| | | }, |
| | | { |
| | | path:"/wx-getWxQRCode", |
| | | name:'wx-getWxQRCode', |
| | | component:()=>import("@/views/old/store/getWxQRCode.vue") |
| | |
| | | console.log(userPage) |
| | | |
| | | |
| | | if (orgType == 1 || orgType == 3 || orgType == 2) { |
| | | footernav.unshift({ |
| | | powerId: 100006, |
| | | icon: 'iconchanpin_h', |
| | | Aicon: 'iconchanpin', |
| | | label: '首页', |
| | | path: '/main/product' |
| | | }) |
| | | } |
| | | |
| | | footernav.push({ |
| | | powerId: 200000, |
| | | icon: 'iconguanli_h', |
| | |
| | | --> |
| | | <template> |
| | | <div class="approve-box"> |
| | | <v-navbar title="审批" fixed > |
| | | </v-navbar> |
| | | <div class="fixed-top"> |
| | | <nav class="nav text-center-g flex-center-g" :style="{background:$store.state.lastColor}"> |
| | | <div class="child flex-start-g"> |
| | |
| | | saleOrderLoad(){ |
| | | let merId = '' |
| | | var myArr = this.list[this.navIndex].arr |
| | | |
| | | |
| | | if(this.list[this.navIndex].arr.length >= 10){ |
| | | merId = myArr[myArr.length-1].merId |
| | | } |
| | |
| | | } |
| | | return item |
| | | }) |
| | | } |
| | | } |
| | | if(merList.length < 10){ |
| | | this.list[this.navIndex].arr = [...myArr,...merList] |
| | | this.loading = false |
| | |
| | | alert("codeId:"+codeId); |
| | | if(codeId == undefined) { |
| | | var strUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + "wx594ab33e0466eccf" + |
| | | "&redirect_uri=" + "https%3a%2f%2fsie.jycash.cn%2fsib_wx_scored%2f%23%2f" + "&response_type=code&scope=snsapi_userinfo" + "#wechat_redirect"; |
| | | "&redirect_uri=" + "https%3a%2f%2fsie.jycash.cn%2fsib_wx_scoree%2f%23%2f" + "&response_type=code&scope=snsapi_userinfo" + "#wechat_redirect"; |
| | | window.location.href = strUrl; |
| | | }else if(openId == undefined){ |
| | | this.$api.getWeChatUserInfo({"code":codeId}).then( |
| | |
| | | <v-cell v-model="form.email" max="50" label="联系邮箱" placeholder="请输入邮箱地址"></v-cell> |
| | | </div> |
| | | |
| | | <div v-if="orgType !== 4" class="cell-group"> |
| | | <v-cell label="权限分配" :readonly="true"></v-cell> |
| | | <van-checkbox-group class="van-check-box" v-model="form.menuPower"> |
| | | <div v-for="(item, index) in powerInfo" :key="index"> |
| | | <v-cell :label="item.powerName" v-if="item.powerId !==100005"> |
| | | <van-checkbox |
| | | slot="v-cell-right" |
| | | :key="item.powerId" |
| | | :name="item.powerId" |
| | | :checked-color="$store.state.backColor" |
| | | /> |
| | | </v-cell> |
| | | </div> |
| | | <!-- <v-cell label='商户管理'> |
| | | <van-checkbox slot="v-cell-right" key="商户管理" name="商户管理" checked-color="#896EDB"/> |
| | | </v-cell> |
| | | <v-cell label='渠道管理'> |
| | | <van-checkbox slot="v-cell-right" key="渠道管理" name="渠道管理" checked-color="#896EDB"/> |
| | | </v-cell>--> |
| | | </van-checkbox-group> |
| | | </div> |
| | | |
| | | <footer class="flex-center-g footer"> |
| | | <van-button class="btn" :color="$store.state.backColor" v-if="isAdd" @click="add">新增账户</van-button> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { mapState } from "vuex"; |
| | | export default { |
| | | name: "account-add", |
| | | data() { |
| | | return { |
| | | form: { |
| | | name: "", |
| | | mblNo: "", |
| | | email: "", |
| | | name: "", |
| | | menuPower: [100001, 100006], |
| | | powerInfoVos: [] //权限列表 |
| | | }, |
| | | rule:[ |
| | | {key:"name",message:"请输入账户名称",type:"isEmpty"}, |
| | | {key:"name",message:"请输入正确的账户名称",rule:/^[\u4e00-\u9fa50-9a-zA-Z]{1,6}$/}, |
| | | {key:"mblNo",message:"请输入手机号",type:"isEmpty"}, |
| | | {key:"mblNo",message:"请输入正确的手机号",type:"isTel"}, |
| | | {key:"email",message:"请输入联系邮箱",type:"isEmpty"}, |
| | | {key:"email",message:"请输入正确的联系邮箱",type:"isEmail"}, |
| | | ], |
| | | isFreeze: false |
| | | }; |
| | | }, |
| | | computed: { |
| | | ...mapState(["userinfo"]), |
| | | // 判断是新增 还是 详情 |
| | | isAdd() { |
| | | return this.$route.query.isAdd == "1"; |
| | | }, |
| | | //权限列表 |
| | | powerInfo() { |
| | | return this.form.powerInfoVos || []; |
| | | }, |
| | | id() { |
| | | return this.$route.query.id || ""; |
| | | } |
| | | }, |
| | | created() { |
| | | this.form.powerInfoVos = this.userinfo.powerInfoVos; |
| | | if (!this.isAdd) { |
| | | this.init(); |
| | | } |
| | | }, |
| | | methods: { |
| | | //获取用户详情 |
| | | init() { |
| | | this.$api.getUserDetail(this.id).then(({ body }) => { |
| | | let {powerInfoVos} = body; |
| | | if (body.supStatus && body.status) { |
| | | this.isFreeze = true; |
| | | } else { |
| | | this.isFreeze = false; |
| | | } |
| | | let powerInfo = this.userinfo.powerInfoVos; |
| | | if (powerInfoVos.length) { |
| | | powerInfo.forEach(item => { |
| | | let index = powerInfoVos.findIndex(child => { |
| | | return item.powerId === child.powerId; |
| | | }); |
| | | }); |
| | | } |
| | | import { mapState } from "vuex"; |
| | | export default { |
| | | name: "account-add", |
| | | data() { |
| | | return { |
| | | orgType:"", |
| | | form: { |
| | | name: "", |
| | | mblNo: "", |
| | | email: "", |
| | | name: "", |
| | | menuPower: [], |
| | | powerInfoVos: [] //权限列表 |
| | | }, |
| | | rule:[ |
| | | {key:"name",message:"请输入账户名称",type:"isEmpty"}, |
| | | {key:"name",message:"请输入正确的账户名称",rule:/^[\u4e00-\u9fa50-9a-zA-Z]{1,6}$/}, |
| | | {key:"mblNo",message:"请输入手机号",type:"isEmpty"}, |
| | | {key:"mblNo",message:"请输入正确的手机号",type:"isTel"}, |
| | | {key:"email",message:"请输入联系邮箱",type:"isEmpty"}, |
| | | {key:"email",message:"请输入正确的联系邮箱",type:"isEmail"}, |
| | | ], |
| | | isFreeze: false |
| | | }; |
| | | }, |
| | | computed: { |
| | | ...mapState(["userinfo"]), |
| | | // 判断是新增 还是 详情 |
| | | isAdd() { |
| | | return this.$route.query.isAdd == "1"; |
| | | }, |
| | | //权限列表 |
| | | powerInfo() { |
| | | return this.form.powerInfoVos || []; |
| | | }, |
| | | id() { |
| | | return this.$route.query.id || ""; |
| | | } |
| | | }, |
| | | created() { |
| | | this.orgType = this.userinfo.orgType; |
| | | console.log("orgType:"+this.orgType); |
| | | this.form.powerInfoVos = this.userinfo.powerInfoVos; |
| | | if (!this.isAdd) { |
| | | this.init(); |
| | | } |
| | | }, |
| | | methods: { |
| | | //获取用户详情 |
| | | init() { |
| | | this.$api.getUserDetail(this.id).then(({ body }) => { |
| | | let {powerInfoVos} = body; |
| | | if (body.supStatus && body.status) { |
| | | this.isFreeze = true; |
| | | } else { |
| | | this.isFreeze = false; |
| | | } |
| | | let powerInfo = this.userinfo.powerInfoVos; |
| | | if (powerInfoVos.length) { |
| | | powerInfo.forEach(item => { |
| | | let index = powerInfoVos.findIndex(child => { |
| | | return item.powerId === child.powerId; |
| | | }); |
| | | if(index!==-1){ |
| | | this.form.menuPower.push(item.powerId) |
| | | } |
| | | }); |
| | | } |
| | | |
| | | this.form = { |
| | | ...this.form, |
| | | ...body |
| | | }; |
| | | this.form.powerInfoVos = this.userinfo.powerInfoVos;; |
| | | }) |
| | | .catch(err => {}); |
| | | }, |
| | | // 验证form参数 |
| | | validatorForm(){ |
| | | return this.$validator(this.form,this.rule).check(item=>{ |
| | | this.$notify(item.message) |
| | | }) |
| | | }, |
| | | // 新增 |
| | | add() { |
| | | if(!this.validatorForm()) return |
| | | this.$api.userAdd(this.form).then(res => { |
| | | this.$notify("添加成功"); |
| | | setTimeout(() => this.$router.go(-1), 1000); |
| | | }).catch(err => {}); |
| | | }, |
| | | //更新 |
| | | update() { |
| | | if(!this.validatorForm()) return |
| | | this.$api.userUpdate(this.form).then(res => { |
| | | this.$notify("保存成功"); |
| | | }) |
| | | .catch(err => {}); |
| | | }, |
| | | //冻结账号 |
| | | freeze() { |
| | | this.$dialog.confirm({ |
| | | message: `请问是否确认${this.isFreeze ? "冻结" : "启用"}该账户?` |
| | | }).then(() => { |
| | | this.$api.userFreezeMgr(this.id).then(() => { |
| | | let text = this.isFreeze ? "冻结成功" : "启用成功"; |
| | | this.$notify(text); |
| | | this.isFreeze = !this.isFreeze; |
| | | }); |
| | | }) |
| | | .catch(() => { |
| | | // on cancel |
| | | }); |
| | | } |
| | | } |
| | | }; |
| | | this.form = { |
| | | ...this.form, |
| | | ...body |
| | | }; |
| | | this.form.powerInfoVos = this.userinfo.powerInfoVos;; |
| | | }) |
| | | .catch(err => {}); |
| | | }, |
| | | // 验证form参数 |
| | | validatorForm(){ |
| | | return this.$validator(this.form,this.rule).check(item=>{ |
| | | this.$notify(item.message) |
| | | }) |
| | | }, |
| | | // 新增 |
| | | add() { |
| | | if(this.orgType == 4){ |
| | | this.form.menuPower = [100001, 100006] |
| | | } |
| | | if(!this.validatorForm()) return |
| | | this.$api.userAdd(this.form).then(res => { |
| | | this.$notify("添加成功"); |
| | | setTimeout(() => this.$router.go(-1), 1000); |
| | | }).catch(err => {}); |
| | | }, |
| | | //更新 |
| | | update() { |
| | | if(!this.validatorForm()) return |
| | | this.$api.userUpdate(this.form).then(res => { |
| | | this.$notify("保存成功"); |
| | | }) |
| | | .catch(err => {}); |
| | | }, |
| | | //冻结账号 |
| | | freeze() { |
| | | this.$dialog.confirm({ |
| | | message: `请问是否确认${this.isFreeze ? "冻结" : "启用"}该账户?` |
| | | }).then(() => { |
| | | this.$api.userFreezeMgr(this.id).then(() => { |
| | | let text = this.isFreeze ? "冻结成功" : "启用成功"; |
| | | this.$notify(text); |
| | | this.isFreeze = !this.isFreeze; |
| | | }); |
| | | }) |
| | | .catch(() => { |
| | | // on cancel |
| | | }); |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | .account-add { |
| | | background-color: @c-bg-f5; |
| | | padding-top: 44px; |
| | | .account-add { |
| | | background-color: @c-bg-f5; |
| | | padding-top: 44px; |
| | | |
| | | .tip { |
| | | margin: 10px 0 15px 21px; |
| | | font-size: @font-12; |
| | | color: @c-text-999; |
| | | .tip { |
| | | margin: 10px 0 15px 21px; |
| | | font-size: @font-12; |
| | | color: @c-text-999; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .cell-group { |
| | | margin: 10px 8px 0; |
| | | } |
| | | .cell-group { |
| | | margin: 10px 8px 0; |
| | | } |
| | | |
| | | .btn { |
| | | width: 340px; |
| | | height: 44px; |
| | | border: none; |
| | | font-size: @font-16; |
| | | border-radius: 22px; |
| | | background-color: @c-bg-default; |
| | | color: @c-text-fff; |
| | | } |
| | | .btn { |
| | | width: 340px; |
| | | height: 44px; |
| | | border: none; |
| | | font-size: @font-16; |
| | | border-radius: 22px; |
| | | background-color: @c-bg-default; |
| | | color: @c-text-fff; |
| | | } |
| | | |
| | | .footer { |
| | | margin-top: 60px; |
| | | padding-bottom: 30px; |
| | | } |
| | | .footer { |
| | | margin-top: 60px; |
| | | padding-bottom: 30px; |
| | | } |
| | | </style> |
| | |
| | | --> |
| | | <template> |
| | | <div class="hb-gmzf"> |
| | | <x-header :left-options="{backText: '', showBack: false}">和微分</x-header> |
| | | <div v-if="showHwfProd"> |
| | | <div class="tab"> |
| | | <div class="tab-index"> |
| | | <p class="tab-index-one">请选择手机号类型</p> |
| | | </div> |
| | | <div class="head"> |
| | | <div class="head-left"> |
| | | </div> |
| | | <div class="order-xrw" v-if="showXrwType" @click="productPage(0)"> |
| | | <div class="order-xrw-create"> |
| | | <div class="order-xrw-create-icon"> |
| | | <img class="order-xrw-create-icon-image" src="../../../assets/imgs/product_xrw.png"></img> |
| | | <div class="head-mid"> |
| | | 和微分 |
| | | </div> |
| | | <div class="head-right" v-on:click="qrCodePage()"> |
| | | 授权测试 |
| | | </div> |
| | | </div> |
| | | <div class="tab"> |
| | | <van-tabs v-model="active" animated @click="onClick"> |
| | | <van-tab v-for="(item,index) in contTypeList" :title="item.name" :key="index" > |
| | | <div v-for="(childItem,index) in item.childList" :key="index"> |
| | | <div class="tab-head"> |
| | | <div class="tab-head-icon"> |
| | | </div> |
| | | <div class="tab-head-font"> |
| | | {{childItem.name}} |
| | | </div> |
| | | <div class="tab-head-remain"> |
| | | </div> |
| | | </div> |
| | | <p class="order-xrw-create-text"> |
| | | 新入网号码 |
| | | </p> |
| | | <i class="iconfont iconyou tab-index-two" style="width:10%;height:30px;"></i> |
| | | </div> |
| | | </div> |
| | | <div class="order-xrw" style="margin-top: 30px" v-if="showXhzwType" @click="productPage(2)"> |
| | | <div class="order-xrw-create"> |
| | | <div class="order-xrw-create-icon"> |
| | | <img class="order-xrw-create-icon-image" src="../../../assets/imgs/product_xhzw.png"></img> |
| | | <div class="tab-index"> |
| | | <div class="tab-index-row"> |
| | | <div class="tab-index-row-main" v-for="(grandchildItem,index) in childItem.childList" :key="index" v-on:click="productPage(grandchildItem)"> |
| | | <div class="tab-index-row-icon"> |
| | | <img class="order-xrw-create-icon-image" :src="getIndexIcon(grandchildItem)"></img> |
| | | </div> |
| | | <div class="tab-index-row-font"> |
| | | {{grandchildItem.name}} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <p class="order-xrw-create-text"> |
| | | 携号转网号码 |
| | | </p> |
| | | <i class="iconfont iconyou tab-index-two" style="width:10%;height:30px;"></i> |
| | | </div> |
| | | </div> |
| | | <div class="order-xrw" style="margin-top: 30px" v-if="showClType" @click="productPage(1)"> |
| | | <div class="order-xrw-create"> |
| | | <div class="order-xrw-create-icon"> |
| | | <img class="order-xrw-create-icon-image" src="../../../assets/imgs/product_cl.png"></img> |
| | | </div> |
| | | <p class="order-xrw-create-text"> |
| | | 存量号码 |
| | | </p> |
| | | <i class="iconfont iconyou tab-index-two" style="width:10%;height:30px;"></i> |
| | | </div> |
| | | </div> |
| | | </van-tab> |
| | | </van-tabs> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | import { async } from 'q'; |
| | | import Vue from 'vue'; |
| | | import { Toast } from 'vant'; |
| | | import { Tab, Tabs } from 'vant'; |
| | | Vue.use(Tab); |
| | | Vue.use(Tabs); |
| | | export default { |
| | | components: { |
| | | }, |
| | | data() { |
| | | return { |
| | | active:'', |
| | | contTypeList:[], |
| | | mblNoTypeList:{}, |
| | | showHwfProd:false, |
| | | showXrwType:false, |
| | | showClType:false, |
| | | showXhzwType:false, |
| | | showHwfProd:false |
| | | }; |
| | | }, |
| | | computed:{ |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | getIndexIcon(item){ |
| | | let iconSrc = location.origin + location.pathname +"/static/img/"+item.icon+".png"; |
| | | return iconSrc; |
| | | }, |
| | | init(){ |
| | | this.$api.wxScoreCreInit().then(res => { |
| | | this.mblNoTypeList = res.body.mblNoTypeList|| {}; |
| | | this.mblNoTypeList.forEach(item => { |
| | | if(item.code == '0'){ |
| | | this.showXrwType = true; |
| | | }else if(item.code == '1'){ |
| | | this.showClType = true; |
| | | }else if(item.code == '2'){ |
| | | this.showXhzwType = true; |
| | | } |
| | | }); |
| | | this.$api.wxScoreCreInit2().then(res => { |
| | | this.contTypeList = res.body.contTypeList|| {}; |
| | | }, err => err); |
| | | }, |
| | | productPage(type){ |
| | | qrCodePage(){ |
| | | this.$router.push({ |
| | | path: "/wx-test-code", |
| | | query: "", |
| | | }) |
| | | }, |
| | | productPage(item){ |
| | | let queryObj = { |
| | | mblNoType:type, |
| | | code:item.code, |
| | | mblNoType:item.mblNoType, |
| | | } |
| | | this.$router.push({ |
| | | path: "/wx-pay-score", |
| | |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | | .hb-gmzf { |
| | | .head { |
| | | width: 100%; |
| | | height: 100%; |
| | | background: #FAFAFC; |
| | | height: 40px; |
| | | display: flex; |
| | | line-height: 40px; |
| | | background: #FFFFFF;; |
| | | text-align: center; |
| | | &-left{ |
| | | width: 33.3%; |
| | | height: 40px; |
| | | } |
| | | &-mid{ |
| | | width: 33.3%; |
| | | height: 40px; |
| | | font-size: 18px; |
| | | font-family: PingFang SC; |
| | | font-weight: bold; |
| | | color: #333333; |
| | | } |
| | | &-right{ |
| | | width: 33.4%; |
| | | height: 40px; |
| | | font-size: 14px; |
| | | font-family: PingFang SC; |
| | | color: #333333; |
| | | } |
| | | } |
| | | |
| | | .tab { |
| | | width: 100%; |
| | | height: 200px; |
| | | background: url('../../../assets/imgs/hwf_bg.png'); |
| | | background-size: 100% 100%; |
| | | height: 100%; |
| | | &-head{ |
| | | margin: 20px 30px 20px 30px; |
| | | width: 100%; |
| | | height: 24px; |
| | | line-height: 24px; |
| | | &-icon{ |
| | | width: 3px; |
| | | margin-top: 3px; |
| | | float: left; |
| | | height: 18px; |
| | | background: #6C68FF; |
| | | } |
| | | &-font{ |
| | | width: 20%; |
| | | margin-left: 10px; |
| | | height: 20px; |
| | | float: left; |
| | | font-size: 16px; |
| | | font-family: PingFang SC; |
| | | font-weight: bold; |
| | | color: #333333; |
| | | } |
| | | &-remain{ |
| | | width: 70%; |
| | | float: left; |
| | | height: 20px; |
| | | } |
| | | } |
| | | .tab-index { |
| | | margin: 20px; |
| | | height: 110px; |
| | | line-height: 110px; |
| | | background: #FFFFFF; |
| | | box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.04); |
| | | border-radius: 16px; |
| | | &-row { |
| | | width:100%; |
| | | height: 100px; |
| | | line-height: 100px; |
| | | margin:0px 20px 0px 20px; |
| | | &-main { |
| | | width:22.5%; |
| | | height: 100%; |
| | | float: left; |
| | | text-align: center; |
| | | } |
| | | &-icon { |
| | | width:100%; |
| | | height: 30%; |
| | | &-image { |
| | | width:100%; |
| | | height:100%; |
| | | } |
| | | } |
| | | &-font { |
| | | width: 100%; |
| | | height: 30%; |
| | | font-size: 10px; |
| | | font-family: PingFang SC; |
| | | color: #333333; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .tab-index { |
| | | width: 100%; |
| | | height: 40px; |
| | | line-height: 40px; |
| | | box-sizing: border-box; |
| | | padding: 100px 0px 0px 20px; |
| | | color: #ffffff; |
| | | i { |
| | | font-size: 36px; |
| | | } |
| | | &-one,&-two{ |
| | | width: 100%; |
| | | float: left; |
| | | box-sizing: border-box; |
| | | font-size: 20px; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | |
| | | font-size: 18px; |
| | | font-family: PingFang SC; |
| | | color: #333333; |
| | | } |
| | | &-arrow { |
| | | margin-right:10px; |
| | | width: 10%; |
| | | background: url('../../../assets/imgs/product_xrw.png'); |
| | | float: right; |
| | | } |
| | | } |
| | | } |
| | |
| | | clearable |
| | | maxlength="11" |
| | | type="number" |
| | | placeholder="手机号码" |
| | | placeholder="请输入手机号码" |
| | | > |
| | | <van-button |
| | | v-if="mblNoType == 0 || mblNoType == 1" |
| | |
| | | data() { |
| | | return { |
| | | creditId: '', |
| | | contType:'', |
| | | contId: '', //合约id |
| | | contSendCode: '', //合约code |
| | | mblType: '', |
| | |
| | | }, |
| | | computed: {}, |
| | | created() { |
| | | this.contType = this.$route.query.code; |
| | | this.mblNoType = this.$route.query.mblNoType; |
| | | this.$api.wxScoreInit({ type: this.mblNoType }).then( |
| | | this.$api.wxScoreInit2({ type: this.contType }).then( |
| | | (res) => { |
| | | this.form = res.body || {}; |
| | | var arr = res.body.terms; |
| | | }, |
| | | (err) => err |
| | | ); |
| | | |
| | | }, |
| | | methods: { |
| | | //顶部tabbar返回按钮 |
| | |
| | | // 账号类型 |
| | | mblVertify(val) { |
| | | let v = this.$tool; |
| | | if (v.checkValEmpty(this.mblNoType)) { |
| | | v.toast('请选择手机号类型'); |
| | | return false; |
| | | } |
| | | if (v.checkValEmpty(this.contSendCode)) { |
| | | v.toast('请选择活动套餐'); |
| | | return false; |
| | |
| | | v.toast('号码可用'); |
| | | return false; |
| | | } |
| | | |
| | | |
| | | }, |
| | | (err) => err |
| | | ); |
| | |
| | | let v = this.$tool; |
| | | if (v.checkValEmpty(this.contSendCode)) { |
| | | v.toast('请选择活动套餐'); |
| | | return false; |
| | | } |
| | | if (v.checkValEmpty(this.mblNoType)) { |
| | | v.toast('请选择手机号类型'); |
| | | return false; |
| | | } |
| | | if (v.checkValEmpty(this.userName)) { |
| | |
| | | this.vertifyStatus = 1; |
| | | }else{ |
| | | if(!this.isClick){ |
| | | v.toast('请先点击可用查询后生成二维码'); |
| | | return false; |
| | | v.toast('请先点击可用查询再生成二维码'); |
| | | return false; |
| | | } |
| | | } |
| | | // console.log('ces', this.vertifyStatus + '你'); |
| | |
| | | } |
| | | this.$api |
| | | .wxScoreCreate({ |
| | | mblNoType: this.mblNoType, |
| | | contType: this.contType, |
| | | creditId: this.creditId, |
| | | contId: this.contId, |
| | | cardNo: this.idCardNo, |
| New file |
| | |
| | | <!-- |
| | | * @Author: 小明丶 |
| | | * @Date: 2021-01-06 15:50:26 |
| | | * @LastEditors: 小明丶 |
| | | * @LastEditTime: 2021-01-06 15:50:27 |
| | | * @Description: |
| | | --> |
| | | <template> |
| | | <div class="hb-credit-installment h-100-g"> |
| | | <van-nav-bar |
| | | title="和微分" |
| | | left-text="返回" |
| | | left-arrow |
| | | @click-left="onClickLeft" |
| | | style="line-height: 43px;" |
| | | > |
| | | <i |
| | | class="iconfont iconzuojiantou" |
| | | slot="left" |
| | | style="font-size: 25px;" |
| | | ></i> |
| | | </van-nav-bar> |
| | | <div class="head"> |
| | | <img src="https://sie.jycash.cn/czjc/img/hwf/authtest.jpg"></img> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | export default { |
| | | components: { |
| | | }, |
| | | data() { |
| | | return { |
| | | }; |
| | | }, |
| | | computed:{ |
| | | }, |
| | | created () { |
| | | |
| | | }, |
| | | methods: { |
| | | //顶部tabbar返回按钮 |
| | | onClickLeft() { |
| | | this.$router.go(-1); |
| | | }, |
| | | } |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | | .head { |
| | | width: 100%; |
| | | height: 100%; |
| | | img{ |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | console.log(111); |
| | | let url = location.host; |
| | | // url = "t.finlean.com"; |
| | | var str = encodeURIComponent(`https://${url}/sib_wx_scored/#/loginByWx`); |
| | | var str = encodeURIComponent(`https://${url}/sib_wx_scoree/#/loginByWx`); |
| | | var fn = new GoWeChat("wx594ab33e0466eccf", str); |
| | | fn.gocontract(); |
| | | } else { |
| | |
| | | let env = process.env.NODE_ENV; |
| | | |
| | | //打包地址 |
| | | let srcUrl = '/sib_wx_scored/' |
| | | let srcUrl = '/sib_wx_scoree/' |
| | | module.exports = { |
| | | entry: { |
| | | index: "./src/index.js", |
| | |
| | | output: { |
| | | filename: 'js/[name].js', |
| | | path: path.resolve(__dirname, 'dist'), |
| | | publicPath: env ? '/sib_wx_scored/' : '/' //根据线上项目路径更改 /projectpath |
| | | publicPath: env ? '/sib_wx_scoree/' : '/' //根据线上项目路径更改 /projectpath |
| | | }, |
| | | /**防止将某些 import 的包(package)打包到 bundle 中,而是在运行时(runtime)再去从外部获取这些扩展依赖, |
| | | * 简而言之:就是使用cdn~不打包这些变量引用的文件,生成环境时需要在index.html中手动引入cdn |