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

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

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

@ -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}){

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

Loading…
Cancel
Save