Commit aedc820b authored by 黄奎's avatar 黄奎

行程特色修改

parent 44f2f5fa
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
</div> </div>
<div v-if="isXuan === true"> <div v-if="isXuan === true">
<i :class="'iconfont ' + icon.xuan" @click="toXuan"></i> <i :class="'iconfont ' + icon.xuan" @click="toXuan"></i>
</div>
<div v-if="isAdd === true">
<i :class="'' + icon.add" @click="toAdd"></i>
</div> </div>
<div v-if="isDelete === true"> <div v-if="isDelete === true">
<i :class="'iconfont ' + icon.delete" @click="toDelete"></i> <i :class="'iconfont ' + icon.delete" @click="toDelete"></i>
...@@ -75,6 +78,11 @@ ...@@ -75,6 +78,11 @@
type: Boolean, type: Boolean,
default: true default: true
}, },
//是否显示添加
isAdd: {
type: Boolean,
default: true
},
// 是否显示删除 // 是否显示删除
isDelete: { isDelete: {
type: Boolean, type: Boolean,
...@@ -100,7 +108,8 @@ ...@@ -100,7 +108,8 @@
rightZ: 'icon-right', rightZ: 'icon-right',
bottomY: 'icon-arrowdown', bottomY: 'icon-arrowdown',
bottomZ: 'icon-zhidi', bottomZ: 'icon-zhidi',
reset: 'icon-zhongzhi' reset: 'icon-zhongzhi',
add: 'el-icon-plus'
} }
} }
}, },
...@@ -158,6 +167,11 @@ ...@@ -158,6 +167,11 @@
}, },
toReset: function () { toReset: function () {
this.$emit('toReset', this.name, this.index1, this.index2) this.$emit('toReset', this.name, this.index1, this.index2)
},
//添加
toAdd:function()
{
this.$emit('toAdd', this.name, this.index1, this.index2)
} }
} }
} }
......
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