Commit 7dd29b2e authored by zhengke's avatar zhengke

修改

parent 5ec11334
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</el-col> </el-col>
<el-col :span="18"> <el-col :span="18">
<div style="margin-top: 10px;margin-left: 20px;" class="appendInput"> <div style="margin-top: 10px;margin-left: 20px;" class="appendInput">
<el-input size="small" style="width:250px" placeholder="请输入内容" v-model="PageMsg.Name"> <el-input size="small" style="width:250px" placeholder="请输入内容" @keyup.enter.native="GetPageList" v-model="PageMsg.Name">
<el-button @click="GetPageList" slot="append" icon="el-icon-search"></el-button> <el-button @click="GetPageList" slot="append" icon="el-icon-search"></el-button>
</el-input> </el-input>
</div> </div>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="address" width="150" label="操作"> <el-table-column prop="address" width="150" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip v-if="scope.row.CompanyStatus==0" class="item" effect="dark" content="审核" placement="top"> <el-tooltip class="item" effect="dark" content="审核" placement="top">
<img @click="getInfo(scope.row,1)" src="../../assets/img/userman/add_remark.png" alt=""> <img @click="getInfo(scope.row,1)" src="../../assets/img/userman/add_remark.png" alt="">
</el-tooltip> </el-tooltip>
</template> </template>
...@@ -57,52 +57,59 @@ ...@@ -57,52 +57,59 @@
style="margin:0 9px;color:#C0C4CC">/</span><span>详情</span> style="margin:0 9px;color:#C0C4CC">/</span><span>详情</span>
</div> </div>
<div class="content"> <div class="content">
<div style="margin:20px 0;font-weight:bold;"> <div class="realDetailInfo">
<span class="tradeLine"></span>公司信息 <div class="realDetailList">
</div> <div style="margin:20px 0;font-weight:bold;">
<el-form label-width="150px"> <span class="tradeLine"></span>公司信息
<el-form-item label="企业名称:">{{listInfo.CompanyName}}</el-form-item> </div>
<el-form-item label="法人:">{{listInfo.LegalPerson}}</el-form-item> <el-form label-width="150px">
<el-form-item label="统一社会信用代码:">{{listInfo.UnifiedCode}}</el-form-item> <el-form-item label="企业名称:">{{listInfo.CompanyName}}</el-form-item>
<el-form-item label="公司状态:"> <el-form-item label="法人:">{{listInfo.LegalPerson}}</el-form-item>
<span v-if="listInfo.CompanyStatus==0">待审核</span> <el-form-item label="统一社会信用代码:">{{listInfo.UnifiedCode}}</el-form-item>
<span v-if="listInfo.CompanyStatus==1">审核通过</span> <el-form-item label="公司状态:">
<span v-if="listInfo.CompanyStatus==2">审核拒绝</span> <span v-if="listInfo.CompanyStatus==0" style="color:#1273bc;">待审核</span>
</el-form-item> <span v-if="listInfo.CompanyStatus==1" style="color:green;">审核通过</span>
<el-form-item label="联系电话:">{{listInfo.Mobile}}</el-form-item> <span v-if="listInfo.CompanyStatus==2" style="color:#e95252;">审核拒绝</span>
<el-form-item label="营业执照:"> </el-form-item>
<img :src="listInfo.BusinessLicense" style="width:80px;" /> <el-form-item label="联系电话:">{{listInfo.Mobile}}</el-form-item>
</el-form-item> <el-form-item label="营业执照:">
</el-form> <img :src="listInfo.BusinessLicense" style="width:250px;" />
<template v-if="listInfo.BrandModel"> </el-form-item>
<div style="margin:20px 0;font-weight:bold;"> </el-form>
<span class="tradeLine"></span>品牌信息 </div>
<div class="realDetailList">
<template v-if="listInfo.BrandModel">
<div style="margin:20px 0;font-weight:bold;">
<span class="tradeLine"></span>品牌信息
</div>
<el-form label-width="100px">
<el-form-item label="客户群体:">
<span v-for="(item,index) in listInfo.BrandModel.CustomerTypeInfo" :key="index">{{item}}</span>
</el-form-item>
<el-form-item label="品牌名称:">{{listInfo.BrandModel.BrandName}}</el-form-item>
<el-form-item label="店铺数量:">{{listInfo.BrandModel.ShopNum}}</el-form-item>
<el-form-item label="店铺面积:">
<span v-if="listInfo.BrandModel.BuiltUpArea>0">{{listInfo.BrandModel.BuiltUpArea}}</span> -
<span v-if="listInfo.BrandModel.EndBuiltUpArea>0">{{listInfo.BrandModel.EndBuiltUpArea}}</span>
</el-form-item>
<el-form-item label="品牌定位:">{{listInfo.BrandModel.FullBrandName}}</el-form-item>
<el-form-item label="扩店区域:">{{listInfo.BrandModel.StoreExpansion}}</el-form-item>
<el-form-item label="商品性质:">{{listInfo.BrandModel.ProjectType}}</el-form-item>
<el-form-item label="面积要求:">
<span v-if="listInfo.BrandModel.AreaRequirement>0">{{listInfo.BrandModel.AreaRequirement}}</span>
<span v-if="listInfo.BrandModel.EndAreaRequirement>0">-
{{listInfo.BrandModel.EndAreaRequirement}}</span>
</el-form-item>
</el-form>
</template>
</div> </div>
<el-form label-width="150px"> </div>
<el-form-item label="客户群体:"> <template v-if="listInfo.CompanyStatus==0">
<span v-for="(item,index) in listInfo.BrandModel.CustomerTypeInfo" :key="index">{{item}}</span> <el-button size="small" style="margin-top:20px;padding:9px 25px;" type="primary" @click="audit(1)">审核通过
</el-form-item> </el-button>
<el-form-item label="品牌名称:">{{listInfo.BrandModel.BrandName}}</el-form-item> <el-button size="small" style="margin-top:20px;padding:9px 25px;" type="danger" @click="audit(2)">审核失败
<el-form-item label="店铺数量:">{{listInfo.BrandModel.ShopNum}}</el-form-item> </el-button>
<el-form-item label="店铺面积:">
<span v-if="listInfo.BrandModel.BuiltUpArea>0">{{listInfo.BrandModel.BuiltUpArea}}</span> -
<span v-if="listInfo.BrandModel.EndBuiltUpArea>0">{{listInfo.BrandModel.EndBuiltUpArea}}</span>
</el-form-item>
<el-form-item label="品牌定位:">{{listInfo.BrandModel.FullBrandName}}</el-form-item>
<el-form-item label="扩店区域:">{{listInfo.BrandModel.StoreExpansion}}</el-form-item>
<el-form-item label="商品性质:">{{listInfo.BrandModel.ProjectType}}</el-form-item>
<el-form-item label="面积要求:">
<span v-if="listInfo.BrandModel.AreaRequirement>0">{{listInfo.BrandModel.AreaRequirement}}</span>
<span v-if="listInfo.BrandModel.EndAreaRequirement>0">- {{listInfo.BrandModel.EndAreaRequirement}}</span>
</el-form-item>
</el-form>
</template> </template>
<el-button size="small" style="margin-top:20px;padding:9px 25px;"
type="primary" @click="audit(1)">审核通过
</el-button>
<el-button size="small" style="margin-top:20px;padding:9px 25px;"
type="danger" @click="audit(2)">审核失败
</el-button>
</div> </div>
</template> </template>
</div> </div>
...@@ -117,10 +124,10 @@ ...@@ -117,10 +124,10 @@
CompanyName: '' CompanyName: ''
}, },
total: 0, total: 0,
loading:false, loading: false,
tableData: [], //数据列表 tableData: [], //数据列表
isShowInfo: false, isShowInfo: false,
listInfo:{} listInfo: {}
}; };
}, },
created() { created() {
...@@ -135,7 +142,7 @@ ...@@ -135,7 +142,7 @@
this.total = res.data.data.count; this.total = res.data.data.count;
let pageData = res.data.data.pageData; let pageData = res.data.data.pageData;
this.tableData = pageData; this.tableData = pageData;
}else{ } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
}) })
...@@ -145,7 +152,7 @@ ...@@ -145,7 +152,7 @@
this.getList(); this.getList();
}, },
getInfo(item) { getInfo(item) {
this.isShowInfo=true; this.isShowInfo = true;
this.apipost("/api/Trade/GetCompany", { this.apipost("/api/Trade/GetCompany", {
CompanyId: item.CompanyId CompanyId: item.CompanyId
}, res => { }, res => {
...@@ -156,18 +163,18 @@ ...@@ -156,18 +163,18 @@
}) })
}, },
//审核 //审核
audit(type){ audit(type) {
let that = this; let that = this;
let str='' let str = ''
if(type==1){ if (type == 1) {
str='确定审核通过?' str = '确定审核通过?'
}else{ } else {
str='确定审核失败?' str = '确定审核失败?'
} }
that.Confirm(str, function () { that.Confirm(str, function () {
let msg = { let msg = {
CompanyId:that.listInfo.CompanyId, CompanyId: that.listInfo.CompanyId,
CompanyStatus:type CompanyStatus: type
} }
that.apipost("/api/Trade/UpdateCompanyStatus", msg, res => { that.apipost("/api/Trade/UpdateCompanyStatus", msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -211,11 +218,22 @@ ...@@ -211,11 +218,22 @@
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
} }
.realAuthentication .tradeLine{
.realAuthentication .tradeLine {
display: inline-block; display: inline-block;
width:3px; width: 3px;
height:10px; height: 10px;
margin-right:5px; margin-right: 5px;
background-color: #409EFF; background-color: #409EFF;
} }
.realAuthentication .realDetailInfo {
display: flex;
justify-content: space-between;
}
.realAuthentication .realDetailList {
width: 50%;
}
</style> </style>
...@@ -175,10 +175,10 @@ ...@@ -175,10 +175,10 @@
</div> </div>
</div> </div>
<ul class="FsettingUU"> <ul class="FsettingUU">
<li class="menu_item" :class="{'Fchecked':isChecked=='/companyList'}" <!-- <li class="menu_item" :class="{'Fchecked':isChecked=='/companyList'}"
@click="isChecked='/companyList',CommonJump('companyList')"> @click="isChecked='/companyList',CommonJump('companyList')">
<i class="el-icon-menu"></i><span>公司资料</span> <i class="el-icon-menu"></i><span>公司资料</span>
</li> </li> -->
<li class="menu_item" :class="{'Fchecked':isChecked=='/contactus'}" <li class="menu_item" :class="{'Fchecked':isChecked=='/contactus'}"
@click="isChecked='/contactus',CommonJump('contactus')"> @click="isChecked='/contactus',CommonJump('contactus')">
<i class="el-icon-menu"></i><span>联系我们</span> <i class="el-icon-menu"></i><span>联系我们</span>
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
</li> </li>
<li class="menu_item" :class="{'Fchecked':isChecked=='/realAuthentication'}" <li class="menu_item" :class="{'Fchecked':isChecked=='/realAuthentication'}"
@click="isChecked='/realAuthentication',CommonJump('realAuthentication')"> @click="isChecked='/realAuthentication',CommonJump('realAuthentication')">
<i class="el-icon-menu"></i><span>实名认证</span> <i class="el-icon-menu"></i><span>企业认证</span>
</li> </li>
<li class="menu_item" :class="{'Fchecked':isChecked=='/brandClassification'}" <li class="menu_item" :class="{'Fchecked':isChecked=='/brandClassification'}"
@click="isChecked='/brandClassification',CommonJump('brandClassification')"> @click="isChecked='/brandClassification',CommonJump('brandClassification')">
......
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