Commit 2722bf8c authored by 罗超's avatar 罗超

新增分类管理功能

parent a3b2658a
......@@ -43,7 +43,7 @@
<ul>
<li>
<label>名称</label>
<el-input v-model="msg.Name" :placeholder="$t('system.ph_in')" @keyup.native.enter="getData" class="w210">
<el-input v-model="msg.AreaName" :placeholder="$t('system.ph_in')" @keyup.native.enter="getData" class="w210">
</el-input>
</li>
<!-- <li>
......@@ -245,7 +245,7 @@ import uploadImg from '../../pubComponents/uploadImg'
Description: ''
},
msg: {
Name: '', //名称
AreaName: '', //名称
pageSize: 15,
pageIndex: 1,
},
......
This diff is collapsed.
......@@ -17,7 +17,7 @@
</div>
</div>
</div>
<div class="add-img">
<div class="add-img" v-show="showAdd">
<div class="reimg-add">
<i class="iconfont icon-img_haha bigAdd"></i>
<div class="ad-one">
......@@ -772,6 +772,11 @@
<script>
export default {
props: {
maxNum: {
default: 0
}
},
data() {
return {
defaultImg: 'this.src="' + require("../assets/img/bg_z1@2x.png") + '"',
......@@ -781,6 +786,11 @@ export default {
},
mounted() {
},
computed: {
showAdd: function() {
return !this.maxNum || (this.ImageList.length < this.maxNum)
}
},
methods: {
//上传图片
UploadImage(file) {
......
......@@ -5265,6 +5265,14 @@ export default {
title: '广告管理'
},
},
{
path: '/Classification',
name: 'Classification',
component: resolve => require(['@/components/WebSet/Classification'], resolve),
meta: {
title: '分类管理'
},
},
{
path: '/WebSiteCertificate', //前台网站签证护照管理【自定义前端网站】
name: 'WebSiteCertificate',
......
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