权限修改问题

lijinlong
吕天方 5 months ago
parent e2c0251d17
commit 058205efc7

@ -46,7 +46,7 @@
<span>{{ item.name }}</span>
<span>{{ item.createTime }}</span>
</div>
<div class="clearfix-right">
<div class="clearfix-right" v-if="!roles.includes('sightseer')">
<div class="clearfix-bianji" @click="putMemo(item)">
<i class="icon iconfont icon-jc-bianji-copy"></i>
编辑
@ -124,6 +124,7 @@ export default {
name:"tabFour",
data() {
return {
roles: this.$store.state.user.roles,
formInline:{
startTime:"",
endTime:"",

@ -176,12 +176,12 @@ export default {
mounted() {
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
if(this.userType == "01") {
this.pagination.enterpriseCode = this.name;
this.pagination.enterpriseName = this.nickName;
this.formInline.enterpriseCode = this.name;
this.formInline.enterpriseName = this.nickName;
}
// if(this.userType == "01") {
// this.pagination.enterpriseCode = this.name;
// this.pagination.enterpriseName = this.nickName;
// this.formInline.enterpriseCode = this.name;
// this.formInline.enterpriseName = this.nickName;
// }
this.getList();
},
destroyed() {

@ -80,18 +80,18 @@
</template>
</el-table-column> -->
<!-- <el-table-column align="center" label="开放时间" :show-overflow-tooltip="true" min-width="180" > -->
<el-table-column align="center" label="任务填报时间" :show-overflow-tooltip="true" min-width="180" >
<el-table-column label="任务填报时间" :show-overflow-tooltip="true" min-width="180" >
<template slot-scope="scope">
<span v-if="scope.row.startTime && scope.row.endTime">{{ scope.row.startTime }}~{{ scope.row.endTime }}</span>
<span v-else></span>
</template>
</el-table-column>
<el-table-column prop="status" label="责任单位" min-width="80">
<el-table-column prop="status" label="责任单位" min-width="160">
<template slot-scope="scope">
<dict-tag :options="dict.type.bms_responsibility_unit" :value="scope.row.responsibilityUnit"/>
</template>
</el-table-column>
<el-table-column prop="notes" label="说明" min-width="80" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="notes" label="说明" min-width="160" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime" min-width="160">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
@ -847,11 +847,11 @@ export default {
frontDownload() {
var a = document.createElement("a"); //<a></a>
//
a.href = "/demo/JinJiHu/static/企业名录模板.xlsx";
// a.href = "/demo/JinJiHu/static/.xlsx";
//
// a.href = "/demo/JinJiHuTest/static/.xlsx";
//
// a.href = "./static/.xlsx";
a.href = "./static/企业名录模板.xlsx";
//ahref .
a.download ="企业名录模板.xlsx";
//.xlsxpdf.fpd

@ -3,7 +3,7 @@
<el-row>
<div class="remind-top">
<div class="remind-title">智能提醒</div>
<el-button type="primary" icon="icon iconfont icon-jc-xinjian" size="mini" @click="newRemind"></el-button>
<el-button type="primary" icon="icon iconfont icon-jc-xinjian" size="mini" @click="newRemind" v-if="!roles.includes('sightseer')"></el-button>
</div>
<div class="remind-timeline" v-loading="loading">
<el-card shadow="never" v-for="(item,index) in remindList" :key="index" :class="item.isRead == 1 ? 'el-card-border' : ''">
@ -119,6 +119,7 @@ export default {
},
data() {
return {
roles: this.$store.state.user.roles,
remindData:{
rulesName: "",
alertRecipients: 2,

@ -46,7 +46,7 @@
<span>{{ item.name }}</span>
<span>{{ item.createTime }}</span>
</div>
<div class="clearfix-right">
<div class="clearfix-right" v-if="!roles.includes('sightseer')">
<div class="clearfix-bianji" @click="putMemo(item)">
<i class="icon iconfont icon-jc-bianji-copy"></i>
编辑
@ -124,6 +124,7 @@ export default {
name:"tabFour",
data() {
return {
roles: this.$store.state.user.roles,
formInline:{
startTime:"",
endTime:"",

Loading…
Cancel
Save