Commit bfdc92db authored by mengwenhao's avatar mengwenhao

fix:修改提交状态显示问题

parent 0c213766
...@@ -155,6 +155,7 @@ ...@@ -155,6 +155,7 @@
> >
<template #default="scope"> <template #default="scope">
<el-button <el-button
v-if=" scope.row.audit_status === 10"
size="mini" size="mini"
type="primary" type="primary"
:disabled="!permission.get('audit')" :disabled="!permission.get('audit')"
...@@ -162,12 +163,14 @@ ...@@ -162,12 +163,14 @@
>审核</el-button> >审核</el-button>
<el-button <el-button
v-if=" scope.row.audit_status === 30"
:disabled="!permission.get('edit') || scope.row.audit_status !== 30 ? true : false" :disabled="!permission.get('edit') || scope.row.audit_status !== 30 ? true : false"
size="mini" size="mini"
type="success" type="success"
@click="goAuditPage('EDIT', scope.row.enterprise_auth_record_id)" @click="goAuditPage('EDIT', scope.row.enterprise_auth_record_id)"
>修改提交</el-button> >修改提交</el-button>
<el-button <el-button
v-if=" scope.row.audit_status === 10 || scope.row.audit_status === 20 || scope.row.audit_status === 30 || scope.row.audit_status === 5"
size="mini" size="mini"
type="warning" type="warning"
@click=" @click="
...@@ -224,7 +227,7 @@ export default { ...@@ -224,7 +227,7 @@ export default {
name: "", name: "",
code: "", code: "",
legal_person: "", legal_person: "",
audit_status: null, audit_status: 10,
data_from: null, data_from: null,
proxy_user_name: null, proxy_user_name: null,
statusOptions: [ statusOptions: [
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
:accept="'image/*'" :accept="'image/*'"
auto-upload auto-upload
:on-success="handleEnterpriseSuccess" :on-success="handleEnterpriseSuccess"
:on-change="handleEnterpriseChange"
> >
<el-button <el-button
size="small" size="small"
...@@ -347,6 +348,12 @@ export default { ...@@ -347,6 +348,12 @@ export default {
this.establishForm.entterpriseImage = `http://${res.result.file_url}`; this.establishForm.entterpriseImage = `http://${res.result.file_url}`;
this.establishForm.entterprise_image = res.result.object_id; this.establishForm.entterprise_image = res.result.object_id;
}, },
// 更改营业执照时
handleEnterpriseChange (file, fileList) {
console.log(fileList);
// fileList = [];
fileList.push(file);
},
// 上传身份证前面 // 上传身份证前面
handleFontSuccess (res) { handleFontSuccess (res) {
......
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