|
|
@@ -11,7 +11,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button @click="form.page=1,getData()" type="primary" icon="el-icon-search">搜索</el-button>
|
|
|
- <el-button @click="dialogFormVisible=true,message={send_type:1}" type="primary">发送消息</el-button>
|
|
|
+ <el-button v-if='utype!=2' @click="dialogFormVisible=true,message={send_type:1}" type="primary">发送消息</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -111,7 +111,8 @@ export default {
|
|
|
loading:false,
|
|
|
category:[],
|
|
|
area:[],
|
|
|
- company:[]
|
|
|
+ company:[],
|
|
|
+ utype:0
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
@@ -183,6 +184,7 @@ export default {
|
|
|
},
|
|
|
created(){
|
|
|
this.getData()
|
|
|
+ this.utype=localStorage.getItem('utype')||0
|
|
|
}
|
|
|
}
|
|
|
</script>
|