Commit eaf96a66 authored by Mac's avatar Mac

1

parent f658e01c
......@@ -203,19 +203,6 @@
//广告
let advertising = this.$refs.ue.getUEContent();
this.addMsg.content = advertising;
if (this.addMsg.BuiltUpArea === '' || this.addMsg.EndBuiltUpArea === '') {
this.Error('请输入建筑面积')
return
}
if (this.addMsg.AreaRequirement === '' || this.addMsg.EndAreaRequirement === '') {
this.Error('请输入需求面积')
return
}
if (this.ShopWish == 0) {
this.addMsg.OpenShopWish = -1
}
this.$refs[formName].validate((valid) => {
if (valid) {
this.apipost("/api/Trade/GetSetBrand", this.addMsg, (res) => {
......
......@@ -74,7 +74,7 @@
</el-table-column>
<el-table-column prop="JoinNum" label="报名人数">
<template slot-scope="scope">
<el-button type="text" @click="dialogTableVisible = true,getItem(scope.row)">
<el-button type="text" @click="getItem(scope.row)">
{{scope.row.JoinNum}}
</el-button>
</template>
......@@ -84,7 +84,7 @@
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="放榜" placement="top">
<img src="../../assets/img/setup/fangbang.png" alt="" class="imgstyle" />
<img src="../../assets/img/setup/fangbang.png" alt="" class="imgstyle" @click="fangbang(scope.row)"/>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img src="../../assets/img/setup/edit.png" alt="" class="imgstyle"
......@@ -103,8 +103,6 @@
:total="total">
</el-pagination>
</div>
<!-- 报名人数的展示 -->
<el-dialog title="报名信息" :visible.sync="dialogTableVisible">
<el-table :data="joinData">
......@@ -196,14 +194,28 @@
},
});
},
getItem(row) {
getItem(row) {//跳转到报名列表
this.$router.push({
name: "listRegistration",
query: {
UserId: 0,
blank: "y",
},
});
},
goadd() {//新增修改
this.$router.push({
name: "addbillboard",
});
}
},
fangbang(){//放榜功能
this.$router.push({
name: "publishAlist",
query: {
UserId: 0,
},
});
},
},
mounted() { }
......
This diff is collapsed.
......@@ -830,6 +830,12 @@ export default new Router({
name: 'listRegistration',
component: resolve => require(['@/components/tradePavilion/listRegistration'], resolve),
},
//贸易管理--放榜页面
{
path: '/publishAlist',
name: 'publishAlist',
component: resolve => require(['@/components/tradePavilion/publishAlist'], 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