Commit 5fa9a911 by Lyan

个人中心禅道bug

parent a95172b2
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="title">厂商实名认证——提交书面材料 <a href="/MyManage/UnVerify/index">返回我的首页</a></div> <div class="title">厂商实名认证——提交书面材料 <a href="/MyManage/UnVerify/index">返回我的首页</a></div>
<div class="content-list"> <div class="content-list">
<p > <p >
<span>1.填写实名信息</span> <span @click="$router.replace({path: '/MyManage/UnVerify/vendor', query: {status: 'modify'}})" style="cursor:pointer">1.填写实名信息</span>
<span>2.提交书面材料</span> <span>2.提交书面材料</span>
<span>3.审核状态</span> <span>3.审核状态</span>
</p> </p>
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
imagePreview: { imagePreview: {
url: '', url: '',
srcList: [] srcList: []
} },
} }
}, },
methods: { methods: {
...@@ -188,6 +188,7 @@ export default { ...@@ -188,6 +188,7 @@ export default {
} }
} }
} }
.cnt{ .cnt{
>div{ >div{
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
</div> </div>
<div class="content-list"> <div class="content-list">
<p > <p >
<span>1.填写实名信息</span> <span @click="goStep(1)" :class="{cursor:cursor}">1.填写实名信息</span>
<span>2.提交书面材料</span> <span @click="goStep(2)" :class="{cursor:cursor}">2.提交书面材料</span>
<span>3.审核状态</span> <span>3.审核状态</span>
</p> </p>
</div> </div>
...@@ -312,8 +312,6 @@ ...@@ -312,8 +312,6 @@
:src="imagePreview.url" :src="imagePreview.url"
:preview-src-list="imagePreview.srcList"> :preview-src-list="imagePreview.srcList">
</el-image> </el-image>
</div> </div>
</template> </template>
...@@ -428,7 +426,8 @@ export default { ...@@ -428,7 +426,8 @@ export default {
AdministrativeDivisionCode: window.CodeTable.AdministrativeDivisionCodeHandle, AdministrativeDivisionCode: window.CodeTable.AdministrativeDivisionCodeHandle,
EconomicCategoryCode: window.CodeTable.EconomicCategoryCodeHandle, EconomicCategoryCode: window.CodeTable.EconomicCategoryCodeHandle,
NationalIndustryClassificationCode: window.CodeTable.NationalIndustryClassificationCodeHandle, NationalIndustryClassificationCode: window.CodeTable.NationalIndustryClassificationCodeHandle,
marginTop:'10px' marginTop:'10px',
cursor:false
} }
}, },
methods: { methods: {
...@@ -490,7 +489,6 @@ export default { ...@@ -490,7 +489,6 @@ export default {
}, },
politicalChangeEvent() { politicalChangeEvent() {
// if (this.status === 2) return // if (this.status === 2) return
console.log(this.form.political)
this.form.branchCode = '' this.form.branchCode = ''
this.branchList = window.CodeTable.getBranches(this.form.political[this.form.political.length - 1]) this.branchList = window.CodeTable.getBranches(this.form.political[this.form.political.length - 1])
this.branchList.length > 0 && (this.form.branchCode = this.branchList[0].value) this.branchList.length > 0 && (this.form.branchCode = this.branchList[0].value)
...@@ -532,6 +530,10 @@ export default { ...@@ -532,6 +530,10 @@ export default {
inputObj.click() inputObj.click()
}, },
async showImage() { async showImage() {
if(!this.tycpdmFirmInfo||this.tycpdmFirmInfo===null){
this.$message.error('您还没有上传文件,请上传!')
return
}
const form = { const form = {
status: this.status, status: this.status,
fileType: '1', //1.第一步文件 2.第二步文件 fileType: '1', //1.第一步文件 2.第二步文件
...@@ -621,6 +623,20 @@ export default { ...@@ -621,6 +623,20 @@ export default {
this.form.address1=''; this.form.address1='';
this.form.postcode1=''; this.form.postcode1='';
} }
},
goStep(type){
if(this.tycpdmFirmInfo && this.tycpdmFirmInfo.logoutFlag!==null){
if(this.tycpdmFirmInfo.logoutFlag===-1){
if(type===1){
this.$router.replace({path: '/MyManage/UnVerify/vendor', query: {status: 'modify'}})
}else if(type===2){
this.$router.push('/MyManage/UnVerify/uploadvendor')
}
}else{
this.cursor=false
}
}
} }
}, },
mounted() { mounted() {
...@@ -721,6 +737,9 @@ export default { ...@@ -721,6 +737,9 @@ export default {
margin-right: 5px; margin-right: 5px;
} }
.cursor{
cursor: pointer;
}
.el-form { .el-form {
/deep/.el-input{ /deep/.el-input{
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<div class="title">{{status == 2 ? '变更厂商实名认证——审核状态' : '厂商实名认证——审核状态'}} <a href="/MyManage/UnVerify/index">返回我的首页</a></div> <div class="title">{{status == 2 ? '变更厂商实名认证——审核状态' : '厂商实名认证——审核状态'}} <a href="/MyManage/UnVerify/index">返回我的首页</a></div>
<div class="content-list"> <div class="content-list">
<p > <p >
<span>1.填写实名信息</span> <span @click="goStep(1)" :class="{styleCursor:this.tycpdmFirmInfo.logoutFlag===2}">1.填写实名信息</span>
<span>2.提交书面材料</span> <span >2.提交书面材料</span>
<span>3.审核状态</span> <span>3.审核状态</span>
</p> </p>
</div> </div>
...@@ -52,6 +52,16 @@ export default { ...@@ -52,6 +52,16 @@ export default {
async getMemberInfo() { async getMemberInfo() {
this.memberInfo = (await this.$api.myManage.memberInfo({id: this.loginInfo.id})).data this.memberInfo = (await this.$api.myManage.memberInfo({id: this.loginInfo.id})).data
this.getTycpdmFirmInfo() this.getTycpdmFirmInfo()
},
goStep(type){
if(this.tycpdmFirmInfo.logoutFlag===2){
if(type===1){
this.modifyInfoBtn()
}
}else{
return
}
} }
}, },
mounted() { mounted() {
...@@ -84,6 +94,9 @@ export default { ...@@ -84,6 +94,9 @@ export default {
color: #F26335; color: #F26335;
} }
} }
.styleCursor{
cursor: pointer;
}
.content-list{ .content-list{
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 20px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment