店铺入驻bug修改
parent
c673ab2b5e
commit
c3bd727694
|
@ -280,7 +280,7 @@ export default {
|
||||||
.login-container {
|
.login-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 10px auto;
|
margin: 10px auto;
|
||||||
width: 1200px;
|
width: 600px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
.login-btn{
|
.login-btn{
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem prop="storeAddressIdPath" label="公司所在地">
|
<FormItem prop="storeAddressIdPath" label="公司所在地">
|
||||||
<!-- <Input type="text" v-model="form.storeAddressIdPath" placeholder="请选择公司所在地" /> -->
|
|
||||||
<region
|
<region
|
||||||
style="width: 250px"
|
style="width: 250px"
|
||||||
@selected="selectedRegion"
|
@selected="selectedRegion"
|
||||||
|
@ -32,6 +31,13 @@
|
||||||
><span slot="append">人</span>
|
><span slot="append">人</span>
|
||||||
</Input>
|
</Input>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
<FormItem prop="linkPhone" label="公司电话">
|
||||||
|
<Input
|
||||||
|
type="text"
|
||||||
|
v-model="form.companyPhone"
|
||||||
|
placeholder="请填写公司电话"
|
||||||
|
></Input>
|
||||||
|
</FormItem>
|
||||||
<FormItem prop="registeredCapital" label="注册资金">
|
<FormItem prop="registeredCapital" label="注册资金">
|
||||||
<Input
|
<Input
|
||||||
type="text"
|
type="text"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div style="height: 20px"></div>
|
<div style="height: 20px"></div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h3>店铺入驻</h3>
|
<h3>店铺入驻</h3>
|
||||||
<Steps :current="currentIndex" size="small" class="margin">
|
<Steps :current="currentIndex" class="margin">
|
||||||
<Step title="企业资质信息"></Step>
|
<Step title="企业资质信息"></Step>
|
||||||
<Step title="财务资质信息"></Step>
|
<Step title="财务资质信息"></Step>
|
||||||
<Step title="其他信息"></Step>
|
<Step title="其他信息"></Step>
|
||||||
|
@ -21,6 +21,9 @@
|
||||||
<span v-if="storeDisable == 'CLOSED'">店铺已关闭,重申请联系管理员</span>
|
<span v-if="storeDisable == 'CLOSED'">店铺已关闭,重申请联系管理员</span>
|
||||||
<span v-if="storeDisable == 'REFUSED'">审核未通过,请修改资质信息,如有疑问请联系管理员</span>
|
<span v-if="storeDisable == 'REFUSED'">审核未通过,请修改资质信息,如有疑问请联系管理员</span>
|
||||||
</div>
|
</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 v-if="currentIndex === 3" @click="$router.push('/')">返回</Button>
|
||||||
<Button type="primary" @click='currentIndex = 0' v-if="storeDisable === 'REFUSED' && currentIndex === 3">重新申请</Button>
|
<Button type="primary" @click='currentIndex = 0' v-if="storeDisable === 'REFUSED' && currentIndex === 3">重新申请</Button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -38,38 +41,37 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { agreement, applyStatus } from "@/api/shopentry";
|
import { agreement, applyStatus } from '@/api/shopentry';
|
||||||
import firstApply from "./first-apply";
|
import firstApply from './first-apply';
|
||||||
import secondApply from "./second-apply";
|
import secondApply from './second-apply';
|
||||||
import thirdApply from "./third-apply";
|
import thirdApply from './third-apply';
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
firstApply,
|
firstApply,
|
||||||
secondApply,
|
secondApply,
|
||||||
thirdApply,
|
thirdApply
|
||||||
},
|
},
|
||||||
data() {
|
data () {
|
||||||
return {
|
return {
|
||||||
currentIndex: 0, // 当前步骤
|
currentIndex: 0, // 当前步骤
|
||||||
showAgreement: false, // 协议显示
|
showAgreement: false, // 协议显示
|
||||||
agreementCon: "", // 协议内容
|
agreementCon: '', // 协议内容
|
||||||
checked: false, // 选中协议
|
checked: false, // 选中协议
|
||||||
applyData: {}, // 申请数据
|
|
||||||
firstData: {}, // 第一步数据
|
firstData: {}, // 第一步数据
|
||||||
secondData: {}, // 第二步数据
|
secondData: {}, // 第二步数据
|
||||||
thirdData: {}, // 第三步数据
|
thirdData: {}, // 第三步数据
|
||||||
storeDisable: "", // APPLY OPEN 开店中 CLOSED 关闭 REFUSED 拒绝 APPLYING 申请中,审核
|
storeDisable: '', // APPLY OPEN 开店中 CLOSED 关闭 REFUSED 拒绝 APPLYING 申请中,审核
|
||||||
dataReview: true, // 根据接口返回判断是否可展示数据
|
dataReview: true // 根据接口返回判断是否可展示数据
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getArticle() {
|
getArticle () {
|
||||||
// 入驻协议
|
// 入驻协议
|
||||||
agreement().then((res) => {
|
agreement().then((res) => {
|
||||||
this.agreementCon = res.result.content;
|
this.agreementCon = res.result.content;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getData() {
|
getData () { // 获取已填写店铺信息
|
||||||
applyStatus().then((res) => {
|
applyStatus().then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (!res.result) {
|
if (!res.result) {
|
||||||
|
@ -78,34 +80,34 @@ export default {
|
||||||
this.dataReview = false;
|
this.dataReview = false;
|
||||||
let data = res.result;
|
let data = res.result;
|
||||||
let first = [
|
let first = [
|
||||||
"addressIdPath",
|
'storeAddressIdPath',
|
||||||
"addressPath",
|
'storeAddressPath',
|
||||||
"companyAddress",
|
'storeAddressDetail',
|
||||||
"companyEmail",
|
'companyEmail',
|
||||||
"companyName",
|
'companyName',
|
||||||
"employeeNum",
|
'employeeNum',
|
||||||
"legalId",
|
'legalId',
|
||||||
"legalName",
|
'legalName',
|
||||||
"licencePhoto",
|
'licencePhoto',
|
||||||
"legalPhoto",
|
'legalPhoto',
|
||||||
"licenseNum",
|
'licenseNum',
|
||||||
"linkName",
|
'linkName',
|
||||||
"linkPhone",
|
'linkPhone',
|
||||||
"registeredCapital",
|
'registeredCapital',
|
||||||
"scope",
|
'scope'
|
||||||
];
|
];
|
||||||
let second = [
|
let second = [
|
||||||
"settlementBankAccountName",
|
'settlementBankAccountName',
|
||||||
"settlementBankAccountNum",
|
'settlementBankAccountNum',
|
||||||
"settlementBankBranchName",
|
'settlementBankBranchName',
|
||||||
"settlementBankJointName",
|
'settlementBankJointName'
|
||||||
];
|
];
|
||||||
let third = [
|
let third = [
|
||||||
"goodsManagementCategory",
|
'goodsManagementCategory',
|
||||||
"storeCenter",
|
'storeCenter',
|
||||||
"storeDesc",
|
'storeDesc',
|
||||||
"storeLogo",
|
'storeLogo',
|
||||||
"storeName",
|
'storeName'
|
||||||
];
|
];
|
||||||
|
|
||||||
this.storeDisable = data.storeDisable;
|
this.storeDisable = data.storeDisable;
|
||||||
|
@ -120,25 +122,28 @@ export default {
|
||||||
this.thirdData[e] = data[e];
|
this.thirdData[e] = data[e];
|
||||||
});
|
});
|
||||||
|
|
||||||
if (this.storeDisable === "APPLY") {
|
if (this.storeDisable === 'APPLY') {
|
||||||
this.currentIndex = 0;
|
this.currentIndex = 0;
|
||||||
} else {
|
} else {
|
||||||
this.currentIndex = 3;
|
this.currentIndex = 3;
|
||||||
}
|
}
|
||||||
this.dataReview = true;
|
this.$nextTick(() => {
|
||||||
this.$forceUpdate();
|
this.dataReview = true;
|
||||||
|
this.$forceUpdate();
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
console.log(33333333333333);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
nextPage(step) {
|
nextPage (step) {
|
||||||
this.currentIndex = step;
|
this.currentIndex = step;
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted () {
|
||||||
this.getData();
|
this.getData();
|
||||||
this.getArticle();
|
this.getArticle();
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@ -159,7 +164,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.margin {
|
.margin {
|
||||||
margin: 10px 0;
|
margin: 30px 0;
|
||||||
}
|
}
|
||||||
.agreeent-con {
|
.agreeent-con {
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
|
|
|
@ -60,17 +60,23 @@
|
||||||
>
|
>
|
||||||
</Select>
|
</Select>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem prop="storeCenter" label="经纬度">
|
<FormItem prop="storeCenter" label="店铺定位">
|
||||||
<Input
|
<!-- <Input
|
||||||
type="text"
|
type="text"
|
||||||
v-model="form.storeCenter"
|
v-model="form.storeCenter"
|
||||||
readonly
|
readonly
|
||||||
placeholder="点击右侧按钮选择店铺位置"
|
placeholder="点击右侧按钮选择店铺位置"
|
||||||
/>
|
/> -->
|
||||||
<Button
|
<Button
|
||||||
icon="ios-locate-outline"
|
type="info"
|
||||||
|
v-if="!form.storeCenter"
|
||||||
@click="$refs.liliMap.showMap = true"
|
@click="$refs.liliMap.showMap = true"
|
||||||
></Button>
|
>点击获取店铺定位</Button>
|
||||||
|
<Button
|
||||||
|
type="success"
|
||||||
|
v-else
|
||||||
|
@click="$refs.liliMap.showMap = true"
|
||||||
|
>已定位</Button>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem prop="storeDesc" label="店铺简介">
|
<FormItem prop="storeDesc" label="店铺简介">
|
||||||
<Input
|
<Input
|
||||||
|
@ -84,6 +90,7 @@
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem>
|
<FormItem>
|
||||||
|
|
||||||
<Button @click="$emit('change', 1)">返回</Button>
|
<Button @click="$emit('change', 1)">返回</Button>
|
||||||
<Button type="primary" :loading="loading" @click="next"
|
<Button type="primary" :loading="loading" @click="next"
|
||||||
>提交平台审核</Button
|
>提交平台审核</Button
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
>
|
>
|
||||||
<div class="user-icon">
|
<div class="user-icon">
|
||||||
<div class="user-img">
|
<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>
|
</div>
|
||||||
<p>{{userInfo.nickName}}</p>
|
<p>{{userInfo.nickName}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,10 +126,6 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-icon span {
|
|
||||||
font-size: 96px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-img {
|
.user-img {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
width: 96px;
|
width: 96px;
|
||||||
|
@ -137,10 +134,6 @@ export default {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-img img {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.layout-footer-center {
|
.layout-footer-center {
|
||||||
padding: 0px 15px;
|
padding: 0px 15px;
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
import { getVerifyImg, postVerifyImg } from './verify.js';
|
import { getVerifyImg, postVerifyImg } from './verify.js';
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
verifyType: {
|
verifyType: { // 验证方式,登录,注册等
|
||||||
defalut: 'LOGIN',
|
defalut: 'LOGIN',
|
||||||
type: String
|
type: String
|
||||||
}
|
}
|
||||||
|
@ -97,9 +97,6 @@ export default {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
|
||||||
// this.getImg();
|
|
||||||
},
|
|
||||||
watch: {
|
watch: {
|
||||||
verifyType: {
|
verifyType: {
|
||||||
immediate: true,
|
immediate: true,
|
||||||
|
|
Loading…
Reference in New Issue