Commit cb4985ec authored by zhengke's avatar zhengke

增加

parent 25829878
<style>
.CarrierList {
border-bottom: 1px dashed #EEE;
padding-bottom: 5px;
margin-bottom: 5px;
}
.CarrierList span {
display: inline-block;
margin-right: 10px;
}
</style>
<template>
<div class="VehicleManagement">
<div class="head-title">
载体管理
<el-button style="float:right;margin-top: -5px;" size="small" type="primary"
@click="CommonJump('editVehicle')">新增载体</el-button>
</div>
<div class="content">
<div>
<div class="searchInput" style="width:250px">
<el-input @keyup.enter.native="msg.pageIndex=1,getList()" @clear="msg.pageIndex=1,getList()"
style="display:inline-block;width:225px;height:30px" placeholder="地铁站名称" v-model="msg.MetroName"
size="small" clearable>
</el-input>
<span @click="msg.pageIndex=1,getList()" class="el-icon-search"
style="color:#979dad;font-size:14px;position:relative;top:1px"></span>
</div>
<div class="searchInput" style="width:250px">
<el-input @keyup.enter.native="msg.pageIndex=1,getList()" @clear="msg.pageIndex=1,getList()"
style="display:inline-block;width:225px;height:30px" placeholder="载体名称" v-model="msg.CarrierName"
size="small" clearable>
</el-input>
<span @click="msg.pageIndex=1,getList()" class="el-icon-search"
style="color:#979dad;font-size:14px;position:relative;top:1px"></span>
</div>
<div class="searchInput" style="width:250px">
<el-input @keyup.enter.native="msg.pageIndex=1,getList()" @clear="msg.pageIndex=1,getList()"
style="display:inline-block;width:225px;height:30px" placeholder="地铁线路" v-model="msg.MetroNum" size="small"
clearable>
</el-input>
<span @click="msg.pageIndex=1,getList()" class="el-icon-search"
style="color:#979dad;font-size:14px;position:relative;top:1px"></span>
</div>
<div class="searchInput" style="width:250px">
<el-input @keyup.enter.native="msg.pageIndex=1,getList()" @clear="msg.pageIndex=1,getList()"
style="display:inline-block;width:225px;height:30px" placeholder="开发商" v-model="msg.Developers" size="small"
clearable>
</el-input>
<span @click="msg.pageIndex=1,getList()" class="el-icon-search"
style="color:#979dad;font-size:14px;position:relative;top:1px"></span>
</div>
<el-date-picker class="indataPicker" type="daterange" v-model="dateStr" range-separator="至"
start-placeholder="开始日期" end-placeholder="结束日期" size="small" @change="getList" value-format="yyyy-MM-dd">
</el-date-picker>
</div>
<el-table :data="tableData" v-loading="loading" border style="width: 100%;margin:20px 0">
<el-table-column prop="CarrierMetroList" label="地铁信息" width="200">
<template slot-scope="scope">
<div v-for="(item,index) in scope.row.CarrierMetroList" :key="index" class="CarrierList">
<span>{{item.MetroNum}}</span><span>{{item.MetroName}}</span><span>{{item.Distance}}</span>
</div>
</template>
</el-table-column>
<el-table-column prop="BannerList" label="载体图片">
<template slot-scope="scope">
<img :src="item" style="width:40px;" v-for="(item,index) in scope.row.BannerList" :key="index">
</template>
</el-table-column>
<el-table-column prop="ID" label="载体id" width="80">
</el-table-column>
<el-table-column prop="CarrierName" width="200" label="载体名称">
</el-table-column>
<el-table-column prop="Logo" width="150" label="logo">
<template slot-scope="scope">
<img :src="scope.row.Logo" style="width:50px;" />
</template>
</el-table-column>
<el-table-column prop="VideoUrl" width="150" label="载体视频">
</el-table-column>
<el-table-column prop="Address" width="200" label="载体地址">
</el-table-column>
<el-table-column prop="Developers" width="200" label="开发商">
</el-table-column>
<el-table-column prop="OpenTime" width="180" label="开业时间">
</el-table-column>
<el-table-column prop="ProjectType" width="100" label="项目类型">
</el-table-column>
<el-table-column prop="CarrierSize" width="100" label="商业体量">
</el-table-column>
<el-table-column prop="LayersNum" width="150" label="商业层数">
</el-table-column>
<el-table-column prop="CarNum" width="100" label="车位数量">
</el-table-column>
<el-table-column prop="CarrierPlan" width="180" label="业态规划">
</el-table-column>
<el-table-column prop="CarrierTarget" width="100" label="招引目标">
</el-table-column>
<el-table-column prop="Location" width="180" label="定位">
</el-table-column>
<el-table-column prop="Crowd" width="100" label="目标人群">
</el-table-column>
<el-table-column label="操作" width="100">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="修改" placement="top">
<img @click="CommonJump('editVehicle',{ID:scope.row.ID})" src="../../assets/img/userman/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="delManage(scope.row)" src="../../assets/img/userman/del.png" alt="">
</el-tooltip>
</template>
</el-table-column>
</el-table>
<el-pagination style="text-align:right" background @current-change="handleCurrentChange" :page-size="msg.pageSize"
:current-page.sync="msg.pageIndex" layout="total,prev, pager, next" :total="total">
</el-pagination>
</div>
</div>
</template>
<script>
export default {
data() {
return {
msg: {
MetroName: '', //地铁站名称
pageIndex: 1,
pageSize: 15,
CarrierName: '', //载体名称
MetroNum: '', //地铁线路
Developers: '', //开发商
StartOpenTime: '', //开业开始时间
EndOpenTime: '' // 开业截止时间
},
dateStr: [], //日期
total: 0,
tableData: [], //数据列表
isShowAdd:false, //新增修改载体
};
},
created() {
this.getList();
},
methods: {
getList() {
this.loading = true;
if (this.dateStr && this.dateStr.length > 0) {
this.msg.StartOpenTime = this.dateStr[0];
this.msg.EndOpenTime = this.dateStr[1];
} else {
this.msg.StartOpenTime = '';
this.msg.EndOpenTime = '';
}
this.apipost("/api/Trade/GetCarrierPageList", this.msg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
console.log(res, '数据来了');
this.total = res.data.data.count;
let pageData = res.data.data.pageData;
this.tableData = pageData;
}
})
},
//删除
delManage(obj){
let that = this;
that.Confirm("是否删除?", function () {
that.apipost(
"/api/Trade/RemoveCarrier", {
CarrierId: obj.ID,
Status: 1
},
res => {
if (res.data.resultCode == 1) {
that.Success(res.data.message);
that.getList();
} else {
that.Error(res.data.message);
}
},
);
});
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.getList();
},
},
mounted() {}
};
</script>
<style>
.VehicleManagement .content .searchInput {
border: 1px solid #DCDFE6;
border-radius: 4px;
}
.VehicleManagement .content .searchInput .el-input__inner {
border: none;
outline: none;
height: 30px;
line-height: 30px;
}
.VehicleManagement .content .searchInput {
line-height: normal;
display: inline-table;
width: 100%;
border-collapse: separate;
border-spacing: 0;
width: 250px;
margin-right: 20px;
}
.VehicleManagement .content {
background: #fff;
margin-top: 10px;
padding: 20px;
box-sizing: border-box;
}
</style>
<template>
<div>
1233
</div>
</template>
\ No newline at end of file
<template>
<div v-loading="pageloading" class="editVehicle">
<div class="head-title">
<span @click="CommonJump('VehicleManagement')" class="blue point">载体管理</span> / 编辑载体
</div>
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="150px">
<el-card shadow="never" style="margin-top:10px" class="box-card">
<el-form-item label="载体名称" prop="Name">
<el-input v-model="addMsg.CarrierName" style="width:690px" size="small">
</el-input>
</el-form-item>
<el-form-item label="Logo">
<div>
<el-tooltip class="item" effect="dark" content="建议尺寸:88*88" placement="top-start">
<el-button size="small" @click="choicImg=true,type=1">选择文件</el-button>
</el-tooltip>
</div>
<div class="editIconImg">
<img v-if="addMsg.Logo" :src="addMsg.Logo" alt="" />
<img v-else src="../../assets/img/default.png" alt="" />
</div>
</el-form-item>
<el-form-item label="媒体介绍图(多张)">
<div class="nav_Main">
<div class="nav_IconContent">
<div v-for="(item, index) in addMsg.BannerList" :key="index+'2'"
style="margin-right: 20px; position: relative; ">
<div class="colapp-image" :style="{
backgroundImage: 'url(' + item + ')'
}"></div>
<el-button @click="ClearCarouse(index)" class="delBtn" type="danger" icon="el-icon-close" circle>
</el-button>
</div>
</div>
<div @click="choicImg=true,type=2" class="add-image-btn 2222">
+ 添加图片
</div>
</div>
</el-form-item>
<el-form-item label="载体视频">
<el-input v-model="addMsg.VideoUrl" style="width:690px" size="small" placeholder="请输入内容">
<el-button @click="changeState1 = true" slot="append">添加视频</el-button>
</el-input>
<a v-if="addMsg.VideoUrl != ''" class="blue noline" :href="addMsg.VideoUrl" target="_blank">视频链接</a>
</el-form-item>
<el-form-item label="载体地址">
<el-input v-model="addMsg.Address" style="width:690px" size="small" placeholder="请输入内容"></el-input>
</el-form-item>
<el-form-item label="经纬度" style="margin-top: 15px;" size="small">
<el-input v-model="addMsg.LatAndLon" style="width:690px" :disabled="true">
<el-button @click="isShowMap = true" slot="append">展开地图</el-button>
</el-input>
</el-form-item>
<el-form-item label="开发商">
<el-input v-model="addMsg.Developers" style="width:690px" size="small" placeholder="请输入内容"></el-input>
</el-form-item>
<el-form-item label="开业时间">
<el-date-picker v-model="addMsg.OpenTime" size="small" type="datetime" placeholder="选择开业时间">
</el-date-picker>
</el-form-item>
<el-form-item label="项目类型">
<el-select style="width:220px;" v-model="addMsg.ProjectType" size="small" placeholder="请选择">
<el-option v-for="item in ProjectTypeList" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="商业体量">
<el-input v-model="addMsg.CarrierSize" style="width:690px" size="small" placeholder="请输入内容">
<template slot="append">万平方米</template>
</el-input>
</el-form-item>
<el-form-item label="商业层数">
<el-input v-model="addMsg.LayersNum" style="width:690px" size="small" placeholder="请输入内容">
</el-input>
</el-form-item>
<el-form-item label="车位数量">
<el-input v-model="addMsg.CarNum" @keyup.native="checkInteger(addMsg,'CarNum')" style="width:690px" size="small" placeholder="请输入内容">
</el-input>
</el-form-item>
<el-form-item label="生态规则">
<el-input v-model="addMsg.CarrierPlan" style="width:690px" size="small" placeholder="请输入内容">
</el-input>
</el-form-item>
<el-form-item label="招引目标">
<el-input v-model="addMsg.CarrierTarget" style="width:690px" size="small" placeholder="请输入内容">
</el-input>
</el-form-item>
<el-form-item label="定位">
<el-input v-model="addMsg.Location" style="width:690px" size="small" placeholder="请输入内容">
</el-input>
</el-form-item>
<el-form-item label="目标人群">
<el-input v-model="addMsg.Crowd" style="width:690px" size="small" placeholder="请输入内容">
</el-input>
</el-form-item>
<el-form-item label="地铁信息">
<div v-for="(item,index) in addMsg.CarrierMetroList" :key="index" style="position:relative;">
<el-input v-model="item.MetroNum" style="width:200px" size="small" placeholder="地铁线路"/>
<el-input v-model="item.MetroName" style="width:200px" size="small" placeholder="站点名称"/>
<el-input v-model="item.Distance" style="width:200px" size="small" placeholder="距离"/>
<el-button @click="delCarrier(index)" class="delCarrClose" type="danger" icon="el-icon-close" circle>
</el-button>
</div>
<el-button type="primary" @click="addMetroList" icon="el-icon-plus" circle></el-button>
</el-form-item>
</el-card>
</el-form>
<div style="padding:20px;background:#fff;margin-top:10px">
<el-button @click="Save('addMsg')" size="small" type="primary">保存</el-button>
</div>
<!-- 选择图片文件 -->
<el-dialog title="选择文件" :visible.sync="choicImg" width="1240px">
<ChooseImg @SelectId="SelectId"></ChooseImg>
</el-dialog>
<!-- 选择视频 -->
<el-dialog title="选择文件" :visible.sync="changeState1" width="1240px">
<Choosevideo @Selectvideo="Selectvideo"></Choosevideo>
</el-dialog>
<!-- 地图选址 -->
<el-dialog title="地图展示" :visible.sync="isShowMap" width="960px">
<commonMap @map-submit="mapEvent"></commonMap>
</el-dialog>
</div>
</template>
<script>
import ChooseImg from "@/components/global/ChooseImg.vue";
import Choosevideo from "@/components/global/Choosevideo.vue";
import commonMap from "@/components/common/commonMap.vue";
export default {
name: "editVehicle",
data() {
return {
pageloading: false,
addMsg: {
ID: 0,
CarrierName: '', // 载体名称
Logo: '',
BannerList: [], //载体介绍图
VideoUrl: '', //载体视频
Address: '', //载体地址
LatAndLon: '', //载体地址经纬度
Developers: '', //开发商
OpenTime: '', //开业时间
ProjectType: 0, //项目类型
CarrierSize: '', //商业体量
LayersNum: '', //商业层数
CarNum: 0, //车位数量
CarrierPlan: '', //业态规划
CarrierTarget: '', //招引目标
Location: '', //定位
Crowd: '', //目标人群
CarrierMetroList: [] //地铁信息
},
rules: {
Name: [{
required: true,
message: '请输入供应商名称',
trigger: 'blur'
}, ],
Mobile: [{
required: true,
message: '请输入电话',
trigger: 'blur'
}, ],
},
ID: 0,
type: -1,
choicImg: false,
changeState1: false,
isShowMap: false, //显示地图
ProjectTypeList: [], //项目类型数组
}
},
components: {
ChooseImg,
Choosevideo,
commonMap
},
created() {
if (this.$route.query.ID) {
this.ID = this.$route.query.ID;
this.getData()
}
this.getTypeEnumList();
},
methods: {
//获取项目类型
getTypeEnumList() {
this.apipost("/api/Trade/GetProjectTypeEnumList", {}, res => {
if (res.data.resultCode == 1) {
console.log(res, '项目类型');
this.ProjectTypeList = res.data.data;
}
})
},
//新增地铁信息
addMetroList(){
let obj = {
MetroNum:'',
MetroName:'',
Distance:''
}
this.addMsg.CarrierMetroList.push(obj);
},
//删除地铁信息
delCarrier(index){
},
Save(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
if (this.addMsg.Introducer == '') {
this.addMsg.Introducer = 0
}
if (this.addMsg.Introducer == 0) {
this.addMsg.SupplierCommissionList = []
}
this.apipost('/api/Supplier/SetSupplier', this.addMsg,
res => {
if (res.data.resultCode === 1) {
this.CommonJump('supplierManage')
this.Success(res.data.message)
} else {
this.Error(res.data.message);
}
},
null
);
} else {
return false;
}
});
},
getData() {
this.pageloading = true;
this.apipost("/api/Trade/GetCarrierDetails", {
ID: this.ID
}, res => {
this.pageloading = false;
if (res.data.resultCode == 1) {
let data = res.data.data
// this.addMsg.ID = data.ID;
// this.addMsg.Name = data.Name;
// this.addMsg.Mobile = data.Mobile;
// this.addMsg.Address = data.Address;
// this.addMsg.Introducer = data.Introducer;
// this.addMsg.ClientBankAccount.ID = data.ClientBankAccount.ID;
// this.addMsg.ClientBankAccount.AccountClassify = data.ClientBankAccount.AccountClassify;
// this.addMsg.ClientBankAccount.OpenBankName = data.ClientBankAccount.OpenBankName;
// this.addMsg.ClientBankAccount.AccountHolder = data.ClientBankAccount.AccountHolder;
// this.addMsg.ClientBankAccount.CardNum = data.ClientBankAccount.CardNum;
// this.addMsg.ClientBankAccount.AccountAlias = data.ClientBankAccount.AccountAlias;
// this.search.Name = data.IntroducerName;
} else {
this.Error(res.data.message);
}
})
},
//选择图片
SelectId(msg) {
if (this.type == 1) {
this.addMsg.Logo = this.getIconLink(msg.url);
}
if (this.type == 2) {
this.addMsg.BannerList.push(msg.url);
}
this.choicImg = false;
},
ClearCarouse(index) {
this.addMsg.BannerList.splice(index, 1);
},
Selectvideo(val) {
this.addMsg.VideoUrl = val.Path;
this.changeState1 = false;
},
//得到地图信息
mapEvent(e) {
this.addMsg.LatAndLon = e.lat + ',' + e.long;
// this.addMsg.Address = e.Address;
this.isShowMap = false;
},
},
};
</script>
<style>
.editVehicle .content {
background: #fff;
margin-top: 10px;
box-sizing: border-box;
}
.editVehicle .editIconImg {
width: 80px;
height: 80px;
}
.editVehicle .editIconImg img {
width: 100%;
height: 100%;
}
.editVehicle .add-image-btn {
width: 100px;
height: 100px;
line-height: 100px;
color: #419efb;
border: 1px solid #e2e2e2;
cursor: pointer;
text-align: center;
}
.editVehicle .nav_Main {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.editVehicle .nav_IconContent {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.editVehicle .nav_IconContent div>div {
display: inline-block;
}
.editVehicle .colapp-image {
background-size: cover;
background-position: center center;
width: 100px;
height: 100px;
border-radius: 0%;
}
.editVehicle .delBtn {
position: absolute;
right: -8px;
top: -8px;
padding: 4px 4px !important;
}
.delCarrClose{
position: absolute;
right: 0;
top: 0;
padding: 4px 4px !important;
}
</style>
<template>
<div class="realAuthentication">
<template v-if="!isShowInfo">
<div class="head-title">
实名认证
</div>
<div class="content">
<div>
<div class="searchInput" style="width:250px">
<el-input @keyup.enter.native="msg.pageIndex=1,getList()" @clear="msg.pageIndex=1,getList()"
style="display:inline-block;width:225px;height:30px" placeholder="请输入公司名称" v-model="msg.CompanyName"
size="small" clearable>
</el-input>
<span @click="msg.pageIndex=1,getList()" class="el-icon-search"
style="color:#979dad;font-size:14px;position:relative;top:1px"></span>
</div>
</div>
<el-table :data="tableData" v-loading="loading" border style="width: 100%;margin:20px 0">
<el-table-column prop="CompanyId" label="公司id" width="100">
</el-table-column>
<el-table-column prop="CompanyName" label="企业名称">
</el-table-column>
<el-table-column prop="BusinessLicense" width="150" label="营业执照">
<template slot-scope="scope">
<img :src="scope.row.BusinessLicense" alt="" />
</template>
</el-table-column>
<el-table-column prop="UnifiedCode" label="统一社会信用代码">
</el-table-column>
<el-table-column prop="CompanyStatus" width="150" label="公司状态">
<template slot-scope="scope">
<span v-if="scope.row.CompanyStatus==0" style="color:#1273bc;">待审核</span>
<span v-if="scope.row.CompanyStatus==1" style="color:green;">审核通过</span>
<span v-if="scope.row.CompanyStatus==2" style="color:#e95252;">审核拒绝</span>
</template>
</el-table-column>
<el-table-column prop="Mobile" width="150" label="联系电话">
</el-table-column>
<el-table-column prop="LegalPerson" width="180" label="法人">
</el-table-column>
<el-table-column prop="address" width="150" label="操作">
<template slot-scope="scope">
<el-tooltip v-if="scope.row.CompanyStatus==0" class="item" effect="dark" content="审核" placement="top">
<img @click="getInfo(scope.row,1)" src="../../assets/img/userman/add_remark.png" alt="">
</el-tooltip>
</template>
</el-table-column>
</el-table>
<el-pagination style="text-align:right" background @current-change="handleCurrentChange"
:page-size="msg.pageSize" :current-page.sync="msg.pageIndex" layout="total,prev, pager, next" :total="total">
</el-pagination>
</div>
</template>
<template v-else>
<div class="head-title">
<span @click="isShowInfo=false" style="color:rgb(64, 158, 255);cursor:pointer;">实名认证</span><span
style="margin:0 9px;color:#C0C4CC">/</span><span>详情</span>
</div>
<div class="content">
<el-row style="margin-bottom:20px;">
<el-col :span="6">
公司id:{{listInfo.CompanyId}}
</el-col>
<el-col :span="6">
企业名称:{{listInfo.CompanyName}}
</el-col>
<el-col :span="6">
营业执照:{{listInfo.BusinessLicense}}
</el-col>
<el-col :span="6">
统一社会信用代码:{{listInfo.UnifiedCode}}
</el-col>
</el-row>
<el-row>
<el-col :span="6">
公司状态:
<span v-if="listInfo.CompanyStatus==0">待审核</span>
<span v-if="listInfo.CompanyStatus==1">审核通过</span>
<span v-if="listInfo.CompanyStatus==2">审核拒绝</span>
</el-col>
<el-col :span="6">
联系电话:{{listInfo.Mobile}}
</el-col>
<el-col :span="6">
法人:{{listInfo.LegalPerson}}
</el-col>
</el-row>
<template v-if="listInfo.BrandModel">
<div style="margin:20px 0;">品牌信息</div>
<el-row style="margin-bottom:20px;">
<el-col :span="6">
客户群体:<span v-for="(item,index) in listInfo.BrandModel.CustomerTypeInfo" :key="index">{{item}}</span>
</el-col>
<el-col :span="6">
品牌id:{{listInfo.BrandModel.ID}}
</el-col>
<el-col :span="6">
公司id:{{listInfo.BrandModel.CompanyId}}
</el-col>
<el-col :span="6">
品牌名称:{{listInfo.BrandModel.BrandName}}
</el-col>
</el-row>
<el-row style="margin-bottom:20px;">
<el-col :span="6">
店铺数量:{{listInfo.BrandModel.ShopNum}}
</el-col>
<el-col :span="6">
店铺面积:
<span v-if="listInfo.BrandModel.BuiltUpArea>0">{{listInfo.BrandModel.BuiltUpArea}}</span> -
<span v-if="listInfo.BrandModel.EndBuiltUpArea>0">{{listInfo.BrandModel.EndBuiltUpArea}}</span>
</el-col>
<el-col :span="6">
品牌定位:{{listInfo.BrandModel.FullBrandName}}
</el-col>
<el-col :span="6">
扩店区域:{{listInfo.BrandModel.StoreExpansion}}
</el-col>
</el-row>
<el-row style="margin-bottom:20px;">
<el-col :span="6">
商品性质:{{listInfo.BrandModel.ProjectType}}
</el-col>
<el-col :span="6">
面积要求:
<span v-if="listInfo.BrandModel.AreaRequirement>0">{{listInfo.BrandModel.AreaRequirement}}</span>
<span v-if="listInfo.BrandModel.EndAreaRequirement>0">- {{listInfo.BrandModel.EndAreaRequirement}}</span>
</el-col>
</el-row>
</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>
</template>
</div>
</template>
<script>
export default {
data() {
return {
msg: {
pageIndex: 1,
pageSize: 15,
CompanyName: ''
},
total: 0,
loading:false,
tableData: [], //数据列表
isShowInfo: false,
listInfo:{}
};
},
created() {
this.getList();
},
methods: {
getList() {
this.loading = true;
this.apipost("/api/Trade/GetCompanyPageList", this.msg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
console.log(res, '数据来了');
this.total = res.data.data.count;
let pageData = res.data.data.pageData;
this.tableData = pageData;
}else{
this.Error(res.data.message)
}
})
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.getList();
},
getInfo(item) {
this.isShowInfo=true;
this.apipost("/api/Trade/GetCompany", {
CompanyId: item.CompanyId
}, res => {
if (res.data.resultCode == 1) {
this.isShowInfo = true;
this.listInfo = res.data.data;
console.log(res,'详情数据!');
}
})
},
//审核
audit(type){
let msg = {
CompanyId:this.listInfo.CompanyId,
CompanyStatus:type
}
this.apipost("/api/Trade/UpdateCompanyStatus", msg, res => {
if (res.data.resultCode == 1) {
this.isShowInfo = false;
this.getList();
}
})
}
},
mounted() {}
};
</script>
<style>
.realAuthentication .content .searchInput {
border: 1px solid #DCDFE6;
border-radius: 4px;
}
.realAuthentication .content .searchInput .el-input__inner {
border: none;
outline: none;
height: 30px;
line-height: 30px;
}
.realAuthentication .content .searchInput {
line-height: normal;
display: inline-table;
width: 100%;
border-collapse: separate;
border-spacing: 0;
width: 250px;
margin-right: 20px;
}
.realAuthentication .content {
background: #fff;
margin-top: 10px;
padding: 20px;
box-sizing: border-box;
}
</style>
......@@ -59,6 +59,7 @@
width: 100%;
height: 100%;
background-color: #f3f3f3;
min-width: 0;
}
.offlineIndex .mainRightTop {
......@@ -210,7 +211,18 @@
@click="isChecked='/procurementList',CommonJump('procurementList')">
<i class="el-icon-menu"></i><span>采购管理</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked=='/VehicleManagement'}"
@click="isChecked='/VehicleManagement',CommonJump('VehicleManagement')">
<i class="el-icon-menu"></i><span>载体管理</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked=='/realAuthentication'}"
@click="isChecked='/realAuthentication',CommonJump('realAuthentication')">
<i class="el-icon-menu"></i><span>实名认证</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked=='/brandManagement'}"
@click="isChecked='/brandManagement',CommonJump('brandManagement')">
<i class="el-icon-menu"></i><span>品牌管理</span>
</li>
</ul>
</div>
</div>
......
......@@ -686,6 +686,30 @@ export default new Router({
name: 'consultList',
component: resolve => require(['@/components/tradePavilion/consultList'], resolve),
},
//贸易管理--载体管理
{
path: '/VehicleManagement',
name: 'VehicleManagement',
component: resolve => require(['@/components/tradePavilion/VehicleManagement'], resolve),
},
//贸易管理--载体管理编辑
{
path: '/editVehicle',
name: 'editVehicle',
component: resolve => require(['@/components/tradePavilion/editVehicle'], resolve),
},
//贸易管理--实名认证
{
path: '/realAuthentication',
name: 'realAuthentication',
component: resolve => require(['@/components/tradePavilion/realAuthentication'], resolve),
},
//贸易管理--品牌管理
{
path: '/brandManagement',
name: 'brandManagement',
component: resolve => require(['@/components/tradePavilion/brandManagement'], resolve),
}
]
},
......
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