修改滚动位置、模板展示、项目详情里智能提醒按钮文字

des
吕天方 6 months ago
parent 871ed970bf
commit ba1d97c3b1

@ -5,8 +5,8 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统
ENV = 'development'
# 金鸡湖现代服务业品牌管理系统/开发环境
VUE_APP_BASE_API = 'http://192.168.0.106:9040'
# VUE_APP_BASE_API = 'http://39.101.188.84:9040'
# VUE_APP_BASE_API = 'http://192.168.0.106:9040'
VUE_APP_BASE_API = 'http://39.101.188.84:9040'
# VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api'
# 路由懒加载

@ -1,6 +1,6 @@
{
"name": "ruoyi",
"version": "1.0.202407051036",
"version": "1.0.202407080852",
"description": "金鸡湖现代服务业品牌管理系统",
"author": "若依",
"license": "MIT",

@ -1055,7 +1055,6 @@
.main-left {
padding: 10px 20px;
height: 100%;
overflow-y: auto;
.left-header {
// display: flex;
// justify-content: space-between;
@ -1073,11 +1072,12 @@
display: grid;
grid-template-columns: 1fr;
grid-gap: 10px;
// height: 100%;
// overflow-y: auto;
height: calc(100% - 55px);
overflow-y: auto;
.el-card {
background-color: #F5F8FA;
border: none;
height: 120px;
}
.el-card-border {
border: 1px solid rgba(245, 95, 95, 0.4); // #FD5F5F

@ -4,6 +4,9 @@
<div class="left_content">
<el-form ref="form" :model="form" label-width="120px" label-position="left" class="form">
<el-row>
<el-col :span="8" style="height: 50px;display: flex;">
模板名称{{ info.templateName }}
</el-col>
<el-col :span="8" style="height: 50px;display: flex;">
项目分类<dict-tag :options="dict.type.jjh_project_type" :value="info.projectClassify"/>
</el-col>

@ -11,7 +11,7 @@
<div class="warn-main-left" v-if="item.alertManner == 2">
<div class="warn-main-img"><img src="@/assets/images/warn-green.png" alt=""></div>
<div class="warn-main-content">
<div class="content-title">{{ item.declarationName }}预计{{ item.daysAdvance }}天后建设完成</div>
<div class="content-title">{{ item.declarationName }}预计{{ item.daysAdvance }}天后{{ item.alertRecipients == 1 ? "填报结束" : item.alertRecipients == 2 ? "建设完成" : "" }}</div>
<div class="content-middle">{{ item.alertContent }}</div>
<div class="content-time">{{ item.alertTime }}</div>
</div>
@ -33,7 +33,7 @@
</div>
<div class="warn-main-right">
<div class="warn-main-right-chakan" @click="putMemo(item)">
查看
{{ item.isRead == 1 ? '标记已读' : '已读' }}
</div>
<div class="warn-main-right-status" :class="item.isRead == 1 ? 'status-unread' : ''">
{{ item.isRead == 1 ? '未读' : '已读' }}
@ -96,7 +96,7 @@
</div>
</template>
<script>
import { chiefAll, jSmartRemindersNew } from "@/api/jin_ji_hu/intelligentReminder/index"
import { chiefAll, jSmartRemindersNew, changeIsRead } from "@/api/jin_ji_hu/intelligentReminder/index"
import myDialog from "@/views/components/myDialog/index.vue"
export default {
name:"tabFive",
@ -179,6 +179,14 @@ export default {
this.loading = false;
})
},
//
putMemo(item){
if(item.isRead == 1) {
changeIsRead({id:item.id}).then(res=>{
this.getList();
})
}
},
},
}
</script>

@ -42,7 +42,7 @@
<div class="warn-main-left" v-if="item.alertManner == 2">
<div class="warn-main-img"><img src="@/assets/images/warn-green.png" alt=""></div>
<div class="warn-main-content">
<div class="content-title">{{ item.declarationName }}预计{{ item.daysAdvance }}天后建设完成</div>
<div class="content-title">{{ item.declarationName }}预计{{ item.daysAdvance }}天后{{ item.alertRecipients == 1 ? "填报结束" : item.alertRecipients == 2 ? "建设完成" : "" }}</div>
<div class="content-middle">{{ item.alertContent }}</div>
<div class="content-time">{{ item.alertTime }}</div>
</div>

Loading…
Cancel
Save