|
|
@ -55,6 +55,16 @@
|
|
|
|
></my-pagination>
|
|
|
|
></my-pagination>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<el-dialog title="详情" :visible.sync="openDialog" width="400px" append-to-body :close-on-click-modal="false">
|
|
|
|
|
|
|
|
<div class="team-main">
|
|
|
|
|
|
|
|
<div>提醒时间:</div>
|
|
|
|
|
|
|
|
<div>{{ info.alertTime }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="team-main">
|
|
|
|
|
|
|
|
<div>提醒内容:</div>
|
|
|
|
|
|
|
|
<div>{{ info.alertContent }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
@ -77,6 +87,9 @@ export default {
|
|
|
|
size:10,
|
|
|
|
size:10,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
total:40,
|
|
|
|
total:40,
|
|
|
|
|
|
|
|
// 是否显示弹出层
|
|
|
|
|
|
|
|
openDialog: false,
|
|
|
|
|
|
|
|
info:{},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods:{
|
|
|
|
methods:{
|
|
|
@ -136,9 +149,19 @@ export default {
|
|
|
|
enterpriseInfo(row){
|
|
|
|
enterpriseInfo(row){
|
|
|
|
if(row.isRead == 1) {
|
|
|
|
if(row.isRead == 1) {
|
|
|
|
changeIsRead({id:row.id}).then(res=>{
|
|
|
|
changeIsRead({id:row.id}).then(res=>{
|
|
|
|
|
|
|
|
this.$emit('changeIsRead')
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(row.projectId) {
|
|
|
|
|
|
|
|
this.$router.push({
|
|
|
|
|
|
|
|
name: 'projectInfo',
|
|
|
|
|
|
|
|
query: { userId: Number(row.projectId) }
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
} else if(row.alertManner == 1) {
|
|
|
|
|
|
|
|
this.openDialog = true;
|
|
|
|
|
|
|
|
this.info = row;
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 修改table背景色
|
|
|
|
// 修改table背景色
|
|
|
|
tableRowClassName({row, rowIndex}){
|
|
|
|
tableRowClassName({row, rowIndex}){
|
|
|
|