|
@@ -11,8 +11,9 @@
|
11
|
11
|
<div v-if="propsForm.isMultiple == 1" class="optionsBox">
|
12
|
12
|
<div class="list">
|
13
|
13
|
<ul>
|
|
14
|
+ <!--<li @click="itemClick(-2)" :key="-2" value="-2" >请选择</li>-->
|
14
|
15
|
<li @click="itemClick(item.id)" v-for="item in propsForm.optionList" :key="item.id" value="item" :class="propsForm.selectId == item.id? 'tick':'' ">{{item.name}}</li>
|
15
|
|
- <li v-if="propsForm.isHasOther == 1" @click="itemClick(-1)" :key="-1" value="-1" :class="propsForm.selectId == -1? 'tick':'' ">其他</li>
|
|
16
|
+ <li v-if="propsForm.isHasOther == 1 && this.$store.getters.user.template_info.template_id == 2" @click="itemClick(-1)" :key="-1" value="-1" :class="propsForm.selectId == -1? 'tick':'' ">其他</li>
|
16
|
17
|
|
17
|
18
|
</ul>
|
18
|
19
|
</div>
|
|
@@ -78,6 +79,9 @@ export default {
|
78
|
79
|
return form;
|
79
|
80
|
},
|
80
|
81
|
itemClick: function(id) {
|
|
82
|
+ // if(id == -2){
|
|
83
|
+ // this.visibility = false
|
|
84
|
+ // }
|
81
|
85
|
this.propsForm.selectId = id;
|
82
|
86
|
this.$emit("menu-comfirm", this.getValue());
|
83
|
87
|
}
|