政务端智能提醒弹框点击查看列表对应的状态修改

des
吕天方 5 months ago
parent 4315612563
commit 1fb1e4d215

@ -138,10 +138,10 @@ export default {
},
//
goInfo(row){
this.$router.push({
name: 'enterpriselibraryInfo',
query: { userId: row.id, creditCode: row.tyshxydm }
})
// this.$router.push({
// name: 'enterpriselibraryInfo',
// query: { userId: row.id, creditCode: row.tyshxydm }
// })
},
//
cancalDebounce(){

@ -55,6 +55,16 @@
></my-pagination>
</section>
</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>
</template>
<script>
@ -77,6 +87,9 @@ export default {
size:10,
},
total:40,
//
openDialog: false,
info:{},
}
},
methods:{
@ -136,9 +149,19 @@ export default {
enterpriseInfo(row){
if(row.isRead == 1) {
changeIsRead({id:row.id}).then(res=>{
this.$emit('changeIsRead')
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
tableRowClassName({row, rowIndex}){

@ -294,7 +294,7 @@
</div>
</el-dialog>
<collectDialog ref="collectDialog" />
<zhinengtixing ref="zhinengtixing" />
<zhinengtixing ref="zhinengtixing" @changeIsRead="govRemind()" />
<daibanrenwu ref="daibanrenwu" />
</div>
<homeIndex v-else-if="userType == '01'" />

Loading…
Cancel
Save