Commit ada2098f authored by 吴春's avatar 吴春
parents 3ffa68c8 588b5ae7
<style> <style>
.menuDiv .query-box { .menuDiv .query-box {
width: 100%; width: 100%;
padding: 0 0 20px; padding: 0 0 20px;
...@@ -25,6 +24,8 @@ ...@@ -25,6 +24,8 @@
<div class="query-box"> <div class="query-box">
名称: <el-input type="text" style="width:234px;" size="small" v-model="msg.MenuName" clearable 名称: <el-input type="text" style="width:234px;" size="small" v-model="msg.MenuName" clearable
@keyup.enter.native="msg.pageIndex=1,getPageList()" @clear="msg.pageIndex=1,getPageList()"></el-input> @keyup.enter.native="msg.pageIndex=1,getPageList()" @clear="msg.pageIndex=1,getPageList()"></el-input>
链接地址: <el-input type="text" style="width:234px;" size="small" v-model="msg.MenuUrl" clearable
@keyup.enter.native="msg.pageIndex=1,getPageList()" @clear="msg.pageIndex=1,getPageList()"></el-input>
等级: <el-select style="width:234px;" size="small" v-model="msg.MenuLevel" @change="msg.pageIndex=1,getPageList()"> 等级: <el-select style="width:234px;" size="small" v-model="msg.MenuLevel" @change="msg.pageIndex=1,getPageList()">
<el-option label="全部" :key="0" :value="0"></el-option> <el-option label="全部" :key="0" :value="0"></el-option>
<el-option label="一级" :key="1" :value="1"></el-option> <el-option label="一级" :key="1" :value="1"></el-option>
...@@ -122,6 +123,7 @@ ...@@ -122,6 +123,7 @@
pageSize: 15, pageSize: 15,
MenuLevel: 0, MenuLevel: 0,
MenuName: "", //菜单名称 MenuName: "", //菜单名称
MenuUrl: "", //菜单URL
}, },
dataList: [], dataList: [],
addMsg: { addMsg: {
...@@ -141,7 +143,7 @@ ...@@ -141,7 +143,7 @@
trigger: 'blur' trigger: 'blur'
}], }],
}, },
menuTitle:"新增菜单", menuTitle: "新增菜单",
}; };
}, },
created() { created() {
...@@ -205,7 +207,7 @@ ...@@ -205,7 +207,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.addMsg = res.data.data; this.addMsg = res.data.data;
this.menuDialog = true; this.menuDialog = true;
this.menuTitle='修改菜单', this.menuTitle = '修改菜单',
this.getChildMenuList(this.addMsg.MenuLevel); this.getChildMenuList(this.addMsg.MenuLevel);
} else { } else {
this.Info(res.data.message); this.Info(res.data.message);
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
<div class="query-box"> <div class="query-box">
名称: <el-input type="text" style="width:234px;" size="small" v-model="msg.PageName" clearable 名称: <el-input type="text" style="width:234px;" size="small" v-model="msg.PageName" clearable
@keyup.enter.native="msg.pageIndex=1,getPageList()" @clear="msg.pageIndex=1,getPageList()"></el-input> @keyup.enter.native="msg.pageIndex=1,getPageList()" @clear="msg.pageIndex=1,getPageList()"></el-input>
地址: <el-input type="text" style="width:234px;" size="small" v-model="msg.PageUrl" clearable
@keyup.enter.native="msg.pageIndex=1,getPageList()" @clear="msg.pageIndex=1,getPageList()"></el-input>
类型: <el-select style="width:234px;" size="small" v-model="msg.QPageType" @change="msg.pageIndex=1,getPageList()"> 类型: <el-select style="width:234px;" size="small" v-model="msg.QPageType" @change="msg.pageIndex=1,getPageList()">
<el-option label="全部" :key="0" :value="0"></el-option> <el-option label="全部" :key="0" :value="0"></el-option>
<el-option v-for="item in pageType" :key="item.Id" :value="item.Id" :label="item.Name"></el-option> <el-option v-for="item in pageType" :key="item.Id" :value="item.Id" :label="item.Name"></el-option>
...@@ -129,6 +131,7 @@ ...@@ -129,6 +131,7 @@
pageSize: 15, pageSize: 15,
QPageType: 0, QPageType: 0,
PageName: "", //菜单名称 PageName: "", //菜单名称
PageUrl:"",//链接地址
Status: -1, //菜单状态 Status: -1, //菜单状态
}, },
dataList: [], dataList: [],
...@@ -150,7 +153,7 @@ ...@@ -150,7 +153,7 @@
trigger: 'blur' trigger: 'blur'
}], }],
}, },
miniTitle:"新增小程序菜单", miniTitle: "新增小程序菜单",
}; };
}, },
created() { created() {
...@@ -223,7 +226,7 @@ ...@@ -223,7 +226,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.addMsg = res.data.data; this.addMsg = res.data.data;
this.menuDialog = true; this.menuDialog = true;
this.miniTitle="修改小程序菜单"; this.miniTitle = "修改小程序菜单";
} else { } else {
this.Info(res.data.message); this.Info(res.data.message);
} }
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item :label="`${isBrand?'品牌':'服务'}分类`" class="is-required" prop="CategoryId"> <el-form-item :label="`${isBrand?'品牌':'服务'}分类`">
<el-select class="w300" v-model="addMsg.CategoryId" size="small" placeholder="请选择"> <el-select class="w300" v-model="addMsg.CategoryId" size="small" placeholder="请选择">
<el-option v-for="item in CategoryList" :key="item.ID" :label="item.ClassName" :value="item.ID"> <el-option v-for="item in CategoryList" :key="item.ID" :label="item.ClassName" :value="item.ID">
</el-option> </el-option>
...@@ -68,10 +68,10 @@ ...@@ -68,10 +68,10 @@
</el-form-item> </el-form-item>
<el-form-item :label="`${isBrand?'品牌':'服务'}简介`" class="ue-style"> <el-form-item :label="`${isBrand?'品牌':'服务'}简介`" class="ue-style">
<el-input type="textarea" :placeholder="`请输入${isBrand?'品牌':'服务'}简介`" v-model="addMsg.Introduce" <el-input type="textarea" :placeholder="`请输入${isBrand?'品牌':'服务'}简介`" v-model="addMsg.Introduce"
maxlength="500" show-word-limit autosize style="width: 690px;"> maxlength="500" autosize style="width: 690px;">
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="店铺数量" prop="ShopNum" class="is-required" size="small"> <el-form-item label="店铺数量" size="small">
<el-input v-model="addMsg.ShopNum" placeholder="请输入店铺数量" type="number" maxlength="3" style="width: 690px;" /> <el-input v-model="addMsg.ShopNum" placeholder="请输入店铺数量" type="number" maxlength="3" style="width: 690px;" />
</el-form-item> </el-form-item>
<!-- <el-form-item label="建筑面积" size="small"> <!-- <el-form-item label="建筑面积" size="small">
......
...@@ -129,11 +129,11 @@ ...@@ -129,11 +129,11 @@
</el-table-column> </el-table-column>
<el-table-column prop="Address" width="200" label="项目地址"> <el-table-column prop="Address" width="200" label="项目地址">
</el-table-column> </el-table-column>
<el-table-column prop="Developers" width="200" label="开发商"> <el-table-column prop="Developers" width="100" label="开发商">
</el-table-column> </el-table-column>
<el-table-column prop="OpenTime" width="180" label="开业时间"> <el-table-column prop="OpenTime" width="100" label="开业时间">
</el-table-column> </el-table-column>
<el-table-column prop="CategoryName" min-width="200" label="物业构成"> <el-table-column prop="CategoryName" min-width="120" label="物业构成">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.CategoryName }} {{ scope.row.CategoryName }}
</template> </template>
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="商业体量" prop="CarrierSize"> <el-form-item label="商业体量">
<el-input v-model="addMsg.CarrierSize" @keyup.native="checkPrice(addMsg, 'CarrierSize')" style="width: 690px" <el-input v-model="addMsg.CarrierSize" @keyup.native="checkPrice(addMsg, 'CarrierSize')" style="width: 690px"
size="small" placeholder="请输入商业体量"> size="small" placeholder="请输入商业体量">
<template slot="append"></template> <template slot="append"></template>
...@@ -183,11 +183,11 @@ ...@@ -183,11 +183,11 @@
maxlength="500" show-word-limit> maxlength="500" show-word-limit>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="开发商" prop="Developers"> <el-form-item label="开发商">
<el-input v-model="addMsg.Developers" style="width: 690px" size="small" placeholder="请输入开发商" maxlength="180"> <el-input v-model="addMsg.Developers" style="width: 690px" size="small" placeholder="请输入开发商" maxlength="180">
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="物业构成" prop="CategoryId"> <el-form-item label="物业构成">
<el-select v-model="addMsg.CategoryId" size="small" placeholder="请选择"> <el-select v-model="addMsg.CategoryId" size="small" placeholder="请选择">
<el-option v-for="item in CategoryList" :key="item.ID" :label="item.ClassName" :value="item.ID"> <el-option v-for="item in CategoryList" :key="item.ID" :label="item.ClassName" :value="item.ID">
</el-option> </el-option>
...@@ -215,7 +215,6 @@ ...@@ -215,7 +215,6 @@
show-word-limit> show-word-limit>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="联系人"> <el-form-item label="联系人">
<el-input v-model="addMsg.ContactName" style="width: 690px" size="small" placeholder="请输入联系人" maxlength="50"> <el-input v-model="addMsg.ContactName" style="width: 690px" size="small" placeholder="请输入联系人" maxlength="50">
</el-input> </el-input>
......
...@@ -563,7 +563,7 @@ export default { ...@@ -563,7 +563,7 @@ export default {
this.changeState1 = false; this.changeState1 = false;
}, },
getBrandClassList() { getBrandClassList() {
this.apipost("/api/Trade/GetBrandClassList", {}, (res) => { this.apipost("/api/Trade/GetBrandClassList", { BrandCategory:3}, (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.BrandClassList = res.data.data; this.BrandClassList = res.data.data;
} else { } else {
......
...@@ -414,7 +414,9 @@ ...@@ -414,7 +414,9 @@
}); });
}, },
getBrandClassList() { getBrandClassList() {
this.apipost("/api/Trade/GetBrandClassList", {}, (res) => { this.apipost("/api/Trade/GetBrandClassList", {
BrandCategory:3
}, (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.BrandClassList = res.data.data; this.BrandClassList = res.data.data;
} else { } else {
......
...@@ -60,8 +60,12 @@ ...@@ -60,8 +60,12 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item :label="`企业简介`" class="ue-style"> <el-form-item :label="`企业简介`" class="ue-style">
<el-input type="textarea" :placeholder="`请输入企业简介`" v-model="addMsg.Introduction" maxlength="500" <el-input type="textarea" :placeholder="`请输入企业简介`" v-model="addMsg.Introduction" maxlength="500" autosize
show-word-limit autosize style="width: 690px;"> style="width: 690px;">
</el-input>
</el-form-item>
<el-form-item label="企业发展意向">
<el-input v-model="addMsg.DevIntention" style="width: 690px" size="small" placeholder="请输入企业发展意向">
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="企业类别"> <el-form-item label="企业类别">
...@@ -70,12 +74,6 @@ ...@@ -70,12 +74,6 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="意向楼宇等级">
<el-select v-model="addMsg.CategoryId" size="small" placeholder="请选择楼宇等级">
<el-option v-for="item in CategoryList" :key="item.ID" :label="item.ClassName" :value="item.ID">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="意向楼宇位置"> <el-form-item label="意向楼宇位置">
<el-input v-model="addMsg.Address" style="width: 690px" size="small" placeholder="请输入意向楼宇位置"></el-input> <el-input v-model="addMsg.Address" style="width: 690px" size="small" placeholder="请输入意向楼宇位置"></el-input>
</el-form-item> </el-form-item>
...@@ -88,9 +86,11 @@ ...@@ -88,9 +86,11 @@
<el-input v-model="addMsg.OperationTime" style="width: 690px" size="small" placeholder="请输入投运时间"> <el-input v-model="addMsg.OperationTime" style="width: 690px" size="small" placeholder="请输入投运时间">
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="企业发展意向"> <el-form-item label="意向楼宇等级">
<el-input v-model="addMsg.DevIntention" style="width: 690px" size="small" placeholder="请输入企业发展意向"> <el-select v-model="addMsg.CategoryId" size="small" placeholder="请选择楼宇等级">
</el-input> <el-option v-for="item in CategoryList" :key="item.ID" :label="item.ClassName" :value="item.ID">
</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="楼宇装修"> <el-form-item label="楼宇装修">
<el-input v-model="addMsg.Renovation" style="width: 690px" size="small" placeholder="请输入楼宇装修"> <el-input v-model="addMsg.Renovation" style="width: 690px" size="small" placeholder="请输入楼宇装修">
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
<el-button @click="isShowMap = true" slot="append">展开地图</el-button> <el-button @click="isShowMap = true" slot="append">展开地图</el-button>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="投运时间"> <el-form-item label="投运时间">
<el-input v-model="addMsg.OperationTime" style="width: 690px" size="small" placeholder="请输入投运时间"> <el-input v-model="addMsg.OperationTime" style="width: 690px" size="small" placeholder="请输入投运时间">
</el-input> </el-input>
......
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