店铺入驻bug修改

master
mabo 2021-06-28 11:23:22 +08:00
parent c673ab2b5e
commit c3bd727694
6 changed files with 73 additions and 65 deletions

View File

@ -280,7 +280,7 @@ export default {
.login-container {
position: relative;
margin: 10px auto;
width: 1200px;
width: 600px;
background-color: #fff;
padding: 20px;
.login-btn{

View File

@ -10,7 +10,6 @@
/>
</FormItem>
<FormItem prop="storeAddressIdPath" label="公司所在地">
<!-- <Input type="text" v-model="form.storeAddressIdPath" placeholder="请选择公司所在地" /> -->
<region
style="width: 250px"
@selected="selectedRegion"
@ -32,6 +31,13 @@
><span slot="append"></span>
</Input>
</FormItem>
<FormItem prop="linkPhone" label="公司电话">
<Input
type="text"
v-model="form.companyPhone"
placeholder="请填写公司电话"
></Input>
</FormItem>
<FormItem prop="registeredCapital" label="注册资金">
<Input
type="text"

View File

@ -3,7 +3,7 @@
<div style="height: 20px"></div>
<div class="content">
<h3>店铺入驻</h3>
<Steps :current="currentIndex" size="small" class="margin">
<Steps :current="currentIndex" class="margin">
<Step title="企业资质信息"></Step>
<Step title="财务资质信息"></Step>
<Step title="其他信息"></Step>
@ -21,6 +21,9 @@
<span v-if="storeDisable == 'CLOSED'"></span>
<span v-if="storeDisable == 'REFUSED'">,</span>
</div>
<Button @click="currentIndex = 0">上一步</Button>
<Button @click="currentIndex = 1">下一步</Button>
<Button @click="currentIndex = 2">第三步</Button>
<Button v-if="currentIndex === 3" @click="$router.push('/')"></Button>
<Button type="primary" @click='currentIndex = 0' v-if="storeDisable === 'REFUSED' && currentIndex === 3"></Button>
</div>
@ -38,38 +41,37 @@
</div>
</template>
<script>
import { agreement, applyStatus } from "@/api/shopentry";
import firstApply from "./first-apply";
import secondApply from "./second-apply";
import thirdApply from "./third-apply";
import { agreement, applyStatus } from '@/api/shopentry';
import firstApply from './first-apply';
import secondApply from './second-apply';
import thirdApply from './third-apply';
export default {
components: {
firstApply,
secondApply,
thirdApply,
thirdApply
},
data() {
data () {
return {
currentIndex: 0, //
showAgreement: false, //
agreementCon: "", //
agreementCon: '', //
checked: false, //
applyData: {}, //
firstData: {}, //
secondData: {}, //
thirdData: {}, //
storeDisable: "", // APPLY OPEN CLOSED REFUSED APPLYING
dataReview: true, //
storeDisable: '', // APPLY OPEN CLOSED REFUSED APPLYING
dataReview: true //
};
},
methods: {
getArticle() {
getArticle () {
//
agreement().then((res) => {
this.agreementCon = res.result.content;
});
},
getData() {
getData () { //
applyStatus().then((res) => {
if (res.success) {
if (!res.result) {
@ -78,34 +80,34 @@ export default {
this.dataReview = false;
let data = res.result;
let first = [
"addressIdPath",
"addressPath",
"companyAddress",
"companyEmail",
"companyName",
"employeeNum",
"legalId",
"legalName",
"licencePhoto",
"legalPhoto",
"licenseNum",
"linkName",
"linkPhone",
"registeredCapital",
"scope",
'storeAddressIdPath',
'storeAddressPath',
'storeAddressDetail',
'companyEmail',
'companyName',
'employeeNum',
'legalId',
'legalName',
'licencePhoto',
'legalPhoto',
'licenseNum',
'linkName',
'linkPhone',
'registeredCapital',
'scope'
];
let second = [
"settlementBankAccountName",
"settlementBankAccountNum",
"settlementBankBranchName",
"settlementBankJointName",
'settlementBankAccountName',
'settlementBankAccountNum',
'settlementBankBranchName',
'settlementBankJointName'
];
let third = [
"goodsManagementCategory",
"storeCenter",
"storeDesc",
"storeLogo",
"storeName",
'goodsManagementCategory',
'storeCenter',
'storeDesc',
'storeLogo',
'storeName'
];
this.storeDisable = data.storeDisable;
@ -120,25 +122,28 @@ export default {
this.thirdData[e] = data[e];
});
if (this.storeDisable === "APPLY") {
if (this.storeDisable === 'APPLY') {
this.currentIndex = 0;
} else {
this.currentIndex = 3;
}
this.dataReview = true;
this.$forceUpdate();
this.$nextTick(() => {
this.dataReview = true;
this.$forceUpdate();
})
}
console.log(33333333333333);
}
});
},
nextPage(step) {
nextPage (step) {
this.currentIndex = step;
},
}
},
mounted() {
mounted () {
this.getData();
this.getArticle();
},
}
};
</script>
<style lang="scss" scoped>
@ -159,7 +164,7 @@ export default {
}
.margin {
margin: 10px 0;
margin: 30px 0;
}
.agreeent-con {
max-height: 500px;

View File

@ -60,17 +60,23 @@
>
</Select>
</FormItem>
<FormItem prop="storeCenter" label="经纬度">
<Input
<FormItem prop="storeCenter" label="店铺定位">
<!-- <Input
type="text"
v-model="form.storeCenter"
readonly
placeholder="点击右侧按钮选择店铺位置"
/>
/> -->
<Button
icon="ios-locate-outline"
type="info"
v-if="!form.storeCenter"
@click="$refs.liliMap.showMap = true"
></Button>
>点击获取店铺定位</Button>
<Button
type="success"
v-else
@click="$refs.liliMap.showMap = true"
>已定位</Button>
</FormItem>
<FormItem prop="storeDesc" label="店铺简介">
<Input
@ -84,6 +90,7 @@
</FormItem>
<FormItem>
<Button @click="$emit('change', 1)">返回</Button>
<Button type="primary" :loading="loading" @click="next"
>提交平台审核</Button

View File

@ -15,7 +15,8 @@
>
<div class="user-icon">
<div class="user-img">
<img :src="userInfo.face" />
<img :src="userInfo.face" v-if="userInfo.face" alt />
<Avatar icon="ios-person" class="mb_10" v-else size="96" />
</div>
<p>{{userInfo.nickName}}</p>
</div>
@ -125,10 +126,6 @@ export default {
align-items: center;
}
.user-icon span {
font-size: 96px;
}
.user-img {
margin-bottom: 15px;
width: 96px;
@ -137,10 +134,6 @@ export default {
overflow: hidden;
}
.user-img img {
width: 100%;
}
.layout-footer-center {
padding: 0px 15px;

View File

@ -18,7 +18,7 @@
import { getVerifyImg, postVerifyImg } from './verify.js';
export default {
props: {
verifyType: {
verifyType: { //
defalut: 'LOGIN',
type: String
}
@ -97,9 +97,6 @@ export default {
});
}
},
created () {
// this.getImg();
},
watch: {
verifyType: {
immediate: true,