Commit bfdc92db authored by mengwenhao's avatar mengwenhao

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

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