|
@@ -47,7 +47,7 @@
|
|
|
style="width: 100%"
|
|
|
v-loading="loading"
|
|
|
>
|
|
|
- <el-table-column label="会议时间" align="center" width="300px" :formatter="dateFormat">
|
|
|
+ <el-table-column label="会议时间" align="center" width="300px" prop="meetingTime" :formatter="dateFormat">
|
|
|
<!-- <template slot-scope="scope">
|
|
|
<span>{{
|
|
|
$formatDate(scope.row.meetingTime, "YYYY-MM-DD")
|
|
@@ -884,18 +884,37 @@ export default {
|
|
|
this.loginNoStr = this.userInfo.loginNoStr;
|
|
|
|
|
|
this.personInfo = this.userInfo.groupName.split("/");
|
|
|
+ },
|
|
|
+ getRole(){
|
|
|
+ this.$http({
|
|
|
+ url:"/market/cMeetingDeclaration/getRoleByCode",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ // page: '{"pageNo":"' + n + '","pageSize":"10"}'
|
|
|
+ },
|
|
|
+ data: {}
|
|
|
+ }).then(res => {
|
|
|
+ if(res.data.result == "0"){
|
|
|
+ this.isAllExport = true
|
|
|
+ }else{
|
|
|
+ this.isAllExport = false
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getList({}, 1);
|
|
|
this.getUser();
|
|
|
- this.menus.forEach(item=>{
|
|
|
- if(item.jspUrl == '/allExport'){
|
|
|
- this.isAllExport = true
|
|
|
- }else{
|
|
|
- this.isAllExport = false
|
|
|
- }
|
|
|
- })
|
|
|
+ this.getRole()
|
|
|
+ // this.menus.forEach(item=>{
|
|
|
+ // console.log(1);
|
|
|
+ // if(item.jspUrl == '/allExport'){
|
|
|
+ // this.isAllExport = true
|
|
|
+ // }else{
|
|
|
+ // this.isAllExport = false
|
|
|
+ // }
|
|
|
+ // })
|
|
|
},
|
|
|
created() {}
|
|
|
};
|