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

新增分类管理功能

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