Commit e0fd8865 authored by 吴春's avatar 吴春

11

parent 1e9767ae
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
}, },
mounted() { mounted() {
if (!this.isOnline()) { if (!this.isOnline()) {
this.msg.Account = "15281095669"; this.msg.Account = "13808186012";
this.msg.Password = "123456"; this.msg.Password = "123456";
this.msg.ValidataCode = "1234"; this.msg.ValidataCode = "1234";
} }
......
...@@ -115,6 +115,13 @@ ...@@ -115,6 +115,13 @@
{{ getProject(scope.row.ProjectType) }} {{ getProject(scope.row.ProjectType) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="IsRecommend" label="是否推荐" width="120">
<template slot-scope="scope">
<el-switch v-model="scope.row.IsRecommend" :active-value="1" :inactive-value="0"
@change="changeRecommend(scope.row, $event)">
</el-switch>
</template>
</el-table-column>
<el-table-column prop="CarrierSize" label="商业体量"> </el-table-column> <el-table-column prop="CarrierSize" label="商业体量"> </el-table-column>
<el-table-column prop="LayersNum" width="150" label="商业层数"></el-table-column> <el-table-column prop="LayersNum" width="150" label="商业层数"></el-table-column>
<el-table-column prop="ContactName" label="联系人" width="100"> <el-table-column prop="ContactName" label="联系人" width="100">
...@@ -395,6 +402,21 @@ ...@@ -395,6 +402,21 @@
}); });
return str; return str;
}, },
//推荐/取消推荐
changeRecommend(row, val) {
let msg = {
CarrierId: row.Id || row.ID,
IsRecommend: val ? 1 : 0,
};
this.apipost("/api/Trade/RecommendCarrier", msg, (res) => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getList();
} else {
this.Error(res.data.message);
}
});
},
}, },
mounted() {}, mounted() {},
}; };
......
...@@ -159,6 +159,16 @@ ...@@ -159,6 +159,16 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="UserName" width="100" label="认证用户"></el-table-column> <el-table-column prop="UserName" width="100" label="认证用户"></el-table-column>
<el-table-column prop="IsRecommend" label="是否推荐" width="120">
<template slot-scope="scope">
<el-switch
v-model="scope.row.IsRecommend"
:active-value="1"
:inactive-value="0"
@change="changeRecommend(scope.row, $event)">
</el-switch>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="120"> <el-table-column fixed="right" label="操作" width="120">
<template slot-scope="scope" v-if="!readonly"> <template slot-scope="scope" v-if="!readonly">
<el-tooltip class="item" effect="dark" content="编辑" placement="top"> <el-tooltip class="item" effect="dark" content="编辑" placement="top">
...@@ -481,6 +491,21 @@ ...@@ -481,6 +491,21 @@
} }
}); });
}, },
//推荐/取消推荐
changeRecommend(row, val) {
let msg = {
Id: row.ID,
IsRecommend: val,
};
this.apipost("/api/Trade/RecommendBrand", msg, (res) => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getList();
} else {
this.Error(res.data.message);
}
});
},
}, },
}; };
......
...@@ -66,6 +66,16 @@ ...@@ -66,6 +66,16 @@
<el-table-column prop="Address" :label="`意向楼宇位置`" width="150"> </el-table-column> <el-table-column prop="Address" :label="`意向楼宇位置`" width="150"> </el-table-column>
<el-table-column prop="ETypeName" :label="`意向楼宇等级`" width="150"> <el-table-column prop="ETypeName" :label="`意向楼宇等级`" width="150">
</el-table-column> </el-table-column>
<el-table-column prop="IsRecommend" label="是否推荐" width="120">
<template slot-scope="scope">
<el-switch
v-model="scope.row.IsRecommend"
:active-value="1"
:inactive-value="0"
@change="changeRecommend(scope.row, $event)">
</el-switch>
</template>
</el-table-column>
<el-table-column prop="OperationTime" :label="`投运时间`" width="120"> </el-table-column> <el-table-column prop="OperationTime" :label="`投运时间`" width="120"> </el-table-column>
<el-table-column prop="Renovation" :label="`楼宇装修`"> </el-table-column> <el-table-column prop="Renovation" :label="`楼宇装修`"> </el-table-column>
<el-table-column prop="Payment" :label="`支付方式`" width="150"> </el-table-column> <el-table-column prop="Payment" :label="`支付方式`" width="150"> </el-table-column>
...@@ -348,6 +358,21 @@ ...@@ -348,6 +358,21 @@
}); });
return str; return str;
}, },
//推荐/取消推荐
changeRecommend(row, val) {
let msg = {
ServiceId: row.ServiceId,
IsRecommend: val,
};
this.apipost("/api/YBTrade/RecommendEnterpriseServicesInfo", msg, (res) => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getList();
} else {
this.Error(res.data.message);
}
});
},
}, },
mounted() {}, mounted() {},
}; };
......
...@@ -92,20 +92,22 @@ ...@@ -92,20 +92,22 @@
{{ scope.row.CategoryName }} {{ scope.row.CategoryName }}
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="Areas" width="150" label="楼宇建筑面积(㎡)"> <el-table-column prop="IsRecommend" label="是否推荐" width="100">
</el-table-column> --> <template slot-scope="scope">
<el-switch
v-model="scope.row.IsRecommend"
:active-value="1"
:inactive-value="0"
@change="changeRecommend(scope.row, $event)">
</el-switch>
</template>
</el-table-column>
<el-table-column prop="BuildingNum" width="" label="楼栋数量"> <el-table-column prop="BuildingNum" width="" label="楼栋数量">
</el-table-column> </el-table-column>
<el-table-column prop="FloorNum" width="" label="楼层量"> <el-table-column prop="FloorNum" width="" label="楼层量">
</el-table-column> </el-table-column>
<!-- <el-table-column prop="ElevatorNum" width="" label="电梯数">
</el-table-column>
<el-table-column prop="FloorHeight" width="" label="层高">
</el-table-column> -->
<el-table-column prop="Developers" width="200" label="开发商"> <el-table-column prop="Developers" width="200" label="开发商">
</el-table-column> </el-table-column>
<!-- <el-table-column prop="PropertyComp" width="200" label="物业公司">
</el-table-column> -->
<el-table-column prop="SaleOrSelf" width="120" label="销售/自持比例"> <el-table-column prop="SaleOrSelf" width="120" label="销售/自持比例">
</el-table-column> </el-table-column>
<el-table-column prop="" width="110" label="是否统一运营"> <el-table-column prop="" width="110" label="是否统一运营">
...@@ -117,12 +119,7 @@ ...@@ -117,12 +119,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="RentFee" width="140" label="月租金(元)㎡/月"> <el-table-column prop="RentFee" width="140" label="月租金(元)㎡/月">
</el-table-column> </el-table-column>
<!-- <el-table-column prop="IndustryDirection" width="120" label="拟主导产业方向">
</el-table-column>
<el-table-column prop="BrandDemand" width="140" label="目标企业招引需求">
</el-table-column> -->
<!-- <el-table-column prop="Other" width="" label="其他需求">
</el-table-column> -->
<el-table-column prop="" width="200" label="楼负责人"> <el-table-column prop="" width="200" label="楼负责人">
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
...@@ -133,6 +130,7 @@ ...@@ -133,6 +130,7 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="100" fixed="right"> <el-table-column label="操作" width="100" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="修改" placement="top"> <el-tooltip class="item" effect="dark" content="修改" placement="top">
...@@ -440,6 +438,21 @@ ...@@ -440,6 +438,21 @@
}); });
return str; return str;
}, },
//推荐/取消推荐
changeRecommend(row, val) {
let msg = {
BuildId: row.BuildId,
IsRecommend: val,
};
this.apipost("/api/YBTrade/RecommendBuildingInfo", msg, (res) => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getList();
} else {
this.Error(res.data.message);
}
});
},
}, },
mounted() {}, mounted() {},
}; };
......
...@@ -202,6 +202,17 @@ ...@@ -202,6 +202,17 @@
"> ">
<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 == '/tenementManager' }" @click="
(isChecked = '/tenementManager'),
CommonJump('tenementManager')
">
<i class="el-icon-menu"></i><span>楼宇管理</span>
</li>
<li class="menu_item" :class="{ Fchecked: isChecked == '/firmManager' }" @click="
(isChecked = '/firmManager'), CommonJump('firmManager')
">
<i class="el-icon-menu"></i><span>企业服务管理</span>
</li>
<li class="menu_item" :class="{ Fchecked: isChecked == '/activityType' }" <li class="menu_item" :class="{ Fchecked: isChecked == '/activityType' }"
@click="(isChecked = '/activityType'), CommonJump('activityType')"> @click="(isChecked = '/activityType'), CommonJump('activityType')">
......
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
}, },
//域名管理对象 //域名管理对象
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let mallApiUrl = "http://192.168.5.204:5000"; //商城接口地址 let mallApiUrl = "http://127.0.0.1:5000"; //商城接口地址
let javaUrl = 'http://192.168.5.214:8018'; //资产Api地址 let javaUrl = 'http://192.168.5.214:8018'; //资产Api地址
let vtUploadUrl = "http://192.168.5.214:8120"; //文件上传地址 let vtUploadUrl = "http://192.168.5.214:8120"; //文件上传地址
let vtViewUrl = "http://192.168.5.214:8130"; //文件预览地址 let vtViewUrl = "http://192.168.5.214:8130"; //文件预览地址
......
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