企业基本信息、联系人、智能提醒更改

des
吕天方 6 months ago
parent adcd912422
commit 552d0adbdf

@ -5,8 +5,8 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统
ENV = 'development'
# 金鸡湖现代服务业品牌管理系统/开发环境
# VUE_APP_BASE_API = 'http://192.168.0.105:9040'
VUE_APP_BASE_API = 'http://39.101.188.84:9040'
VUE_APP_BASE_API = 'http://192.168.0.105:9041'
# 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.202406271637",
"version": "1.0.202407021010",
"description": "金鸡湖现代服务业品牌管理系统",
"author": "若依",
"license": "MIT",

@ -0,0 +1,72 @@
import request from "@/utils/request"
// 分页查询智能提醒
export function getjSmartReminders(params) {
return request({
url: "/jjh/jSmartReminders",
method: "get",
params
})
}
// 新增智能提醒
export function jSmartRemindersNew(data) {
return request({
url: "/jjh/jSmartReminders",
method: "post",
data
})
}
// 修改智能提醒
export function jSmartRemindersChange(data) {
return request({
url: "/jjh/jSmartReminders",
method: "put",
data
})
}
// 根据主键查询智能提醒
export function jSmartRemindersId(id) {
return request({
url: "/jjh/jSmartReminders/" + id,
method: "get",
})
}
// 删除智能提醒
export function jSmartRemindersDel(params) {
return request({
url: "/jjh/jSmartReminders",
method: "delete",
params
})
}
// 政务端首页智能提醒查询所有数据
export function chiefAll(params){
return request({
url:"/jjh/jSmartReminders/chiefAll",
method:"get",
params
})
}
// 企业端搜也我智能提醒查询所有数据
export function enterpriseAll(params){
return request({
url:"/jjh/jSmartReminders/enterpriseAll",
method:"get",
params
})
}
// 修改状态为已读
export function changeIsRead(params){
return request({
url:"/jjh/jSmartReminders/changeIsRead",
method:"get",
params
})
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -255,6 +255,15 @@
}
.tabs-bottom {
padding: 20px 28px 0 28px;
//
.L-unitInfo {
height: 100%;
.a-primary {
text-decoration: underline;
margin-left: 0;
color: #1890FF;
}
}
.tabOneLabel,.tabOneContent {
width: 220px;
}
@ -295,21 +304,19 @@
font-size: 14px;
color: #333333;
}
//
.enter-one-top {
// overflow-y: auto;
.el-descriptions__body {
// height: 100%;
}
}
.file-info-content {
display: flex;
}
.margin-top-file {
margin-top: 20px;
}
//
.L-unitInfo {
height: 100%;
.a-primary {
text-decoration: underline;
margin-left: 0;
color: #1890FF;
}
}
}
}
.enter-tabs {
@ -455,6 +462,85 @@
}
}
}
//
.smart-remind {
height: 100%;
.remind-top {
display: flex;
align-items: center;
.remind-title {
font-weight: bold;
font-size: 14px;
color: #333333;
margin-right: 20px;
}
}
.remind-timeline {
display: grid;
grid-template-columns: 1fr;
grid-gap: 10px;
.warn-main {
display: flex;
justify-content: space-between;
.warn-main-left {
display: flex;
.warn-main-img {
padding-top: 3px;
img {
width: 20px;
height: 20px;
margin-right: 10px;
}
}
.warn-main-content {
.content-title {
font-weight: bold;
font-size: 15px;
color: #333333;
}
.content-middle {
font-weight: bold;
font-size: 15px;
color: #333333;
margin: 10px 0;
}
.content-time {
font-weight: 500;
font-size: 14px;
color: #737373;
}
}
}
.warn-main-right {
padding-right: 10px;
display: flex;
flex-direction: column;
justify-content: space-between;
.warn-main-right-chakan {
display: flex;
align-items: center;
justify-content: center;
background: rgba(19,78,230,0.1);
padding: 5px 15px;
cursor: pointer;
border-radius: 50px;
font-weight: 500;
font-size: 14px;
color: #134EE6;
}
.warn-main-right-status {
padding: 5px 15px;
font-weight: 500;
font-size: 14px;
color: #4EB997;
}
.status-unread {
color: #FD5F5F;
}
}
}
}
}
//
.money-schedule {
height: 100%;
@ -760,7 +846,7 @@
height: 1px;
}
//
// /
.newArticle {
.el-date-editor {
width: 100%;
@ -768,6 +854,28 @@
.el-select {
width: 100%;
}
.intelligentReminder_radio {
padding-top: 10px;
.el-radio-group {
display: flex;
flex-direction: column;
label {
margin-bottom: 10px;
}
}
.intelligentReminder_text {
span {
color: red;
}
.el-input-number {
width: 70px;
margin: 0 5px;
.el-input__inner {
height: 30px;
}
}
}
}
}
//
@ -888,6 +996,7 @@
}
}
}
//
main {
padding: 10px;
height: calc(100% - 38%);
@ -898,11 +1007,101 @@
background-color: #f6f7f9;
.work-main-left {
background-color: #fff;
border-radius: 10px;
margin-right: 10px;
height: 100%;
.main-left {
padding: 10px 20px;
.left-header {
// display: flex;
// justify-content: space-between;
// align-items: center;
padding: 10px 0;
margin-bottom: 15px;
.title {
// font-family: PingFang-SC, PingFang-SC;
font-weight: bold;
font-size: 14px;
color: #333333;
}
}
.left-main {
display: grid;
grid-template-columns: 1fr;
grid-gap: 10px;
.el-card {
background-color: #F5F8FA;
border: none;
}
.el-card-border {
border: 1px solid rgba(245, 95, 95, 0.4); // #FD5F5F
}
.warn-main {
display: flex;
justify-content: space-between;
.warn-main-left {
display: flex;
.warn-main-img {
padding-top: 3px;
img {
width: 20px;
height: 20px;
margin-right: 10px;
}
}
.warn-main-content {
.content-title {
font-weight: bold;
font-size: 15px;
color: #333333;
}
.content-middle {
font-weight: bold;
font-size: 15px;
color: #333333;
margin: 10px 0;
}
.content-time {
font-weight: 500;
font-size: 14px;
color: #737373;
}
}
}
.warn-main-right {
padding-right: 10px;
display: flex;
flex-direction: column;
justify-content: space-between;
.warn-main-right-chakan {
display: flex;
align-items: center;
justify-content: center;
background: rgba(19,78,230,0.1);
padding: 5px 15px;
cursor: pointer;
border-radius: 50px;
font-weight: 500;
font-size: 14px;
color: #134EE6;
}
.warn-main-right-status {
padding: 5px 15px;
font-weight: 500;
font-size: 14px;
color: #4EB997;
}
.status-unread {
color: #FD5F5F;
}
}
}
}
}
}
.work-main-right {
background-color: #fff;
border-radius: 10px;
height: 100%;
.main-right {
padding: 10px 20px;

@ -53,7 +53,6 @@ export default {
}
}
});
console.log(this.topMenus,"==============");
this.addParentId(this.topMenus, null);
this.$store.commit("SET_FIRST_ROUTER", this.topMenus[0].fullPath);
},
@ -76,9 +75,7 @@ export default {
//
isCurrentRoute(key) {
console.log(this.$route.path,"this.$route.path");
console.log(key,"key");
console.log(this.$route.path.indexOf(key) > -1);
console.log(this.$route.path);
return this.$route.path.indexOf(key) > -1;
},

@ -51,10 +51,19 @@ router.beforeEach((to, from, next) => {
});
}
}).catch((err) => {
// if(err.msg == "") {
// } else {
// }
store.dispatch("LogOut").then(() => {
Message.error(err);
location.href = process.env.VUE_APP_BASE_API + "/system/singlelogin/login"
next({ path: "/" });
});
// store.dispatch("LogOut").then(() => {
// Message.error(err);
// location.href = process.env.VUE_APP_BASE_API + "/system/singlelogin/login"
// });
});
} else {
next();

@ -6,6 +6,7 @@
:close-on-press-escape="false"
:custom-class="myclass ? 'custom-my-class':''"
@close="resetCancel"
:width="width"
append-to-body
>
<slot></slot>
@ -38,7 +39,11 @@ export default {
closeText:{
type:String,
default:'取消'
}
},
width: {
type:String,
default:"50%"
},
},
methods:{
open(){

@ -40,7 +40,7 @@
</el-row>
</div>
<div class="memo-bottom" v-loading="loading">
<el-card :body-style="{ padding: '0px' }" v-for="(item,index) in memoList" :key="index"> <!-- shadow="never -->
<el-card :body-style="{ 'padding': '0px' }" v-for="(item,index) in memoList" :key="index"> <!-- shadow="never -->
<div slot="header" class="clearfix">
<div class="clearfix-left">
<span>{{ item.name }}</span>

@ -1,7 +1,7 @@
<template>
<div class="project-info-box">
<div class="project-info-title">企业基本信息</div>
<el-descriptions class="margin-top" :column="3" size="medium" border v-loading="loading">
<div class="project-info-box L-unitInfo" id="L-One-main">
<div class="project-info-title" id="L-One-title">企业基本信息</div>
<el-descriptions class="enter-one-top" :style="style" :column="3" size="medium" border v-loading="loading">
<!-- <el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent"
v-for="(item,index) in info"
:key="index"
@ -10,51 +10,121 @@
>
{{ item.value }}
</el-descriptions-item> -->
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="企业名称">
{{ info.qymc }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="标识证号">
{{ info.bszh }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="统一社会信用代码">
{{ info.tyshxydm }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="企业注册号">
{{ info.qyzch }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="组织机构代码">
{{ info.institutionCode }}
{{ info.zzjgdm }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="经济类型代码">
{{ info.jjlxdm }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="登记注册统计类别">
{{ info.statisticalCategories }}
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="经济类型名称">
{{ info.jjlxmc }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="企业类型代码">
{{ info.qylxdm }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="企业类型名称">
{{ info.qylxmc }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注册资金">
{{ info.zczj }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注册资本币种">
{{ info.zczbbz }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注册类型">
{{ info.zclx }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="经营或营业起始日期">
{{ info.jyhyyqsrq }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="经营或营业截至日期">
{{ info.jyhyyjzrq }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="行业代码">
{{ info.industryCode }}
{{ info.hydm }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="行业名称">
{{ info.hymc }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="行业门类">
{{ info.hymc }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注册资本">
{{ info.registeredCapital }}
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="产业类型">
{{ info.cylx }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="所属行业">
{{ info.industry }}
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="企业住所">
{{ info.qyzs }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="经营场所">
{{ info.jycs }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="经营场所行政区划">
{{ info.jycsxzqh }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="邮政编码">
{{ info.yzbm }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="成立日期">
{{ info.establishDate }}
{{ info.clrq }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="曾用名">
{{ info.formerName }}
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="信用等级">
{{ info.xydj }}
</el-descriptions-item>
<!-- <el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="组织机构代码">
{{ info.institutionCode }}
</el-descriptions-item> -->
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注册地址">
{{ info.enrollAddress }}
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="企业规模">
{{ info.qygm }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注册类型">
{{ info.enrollType }}
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="法定代表人姓名">
{{ info.fddbrxm }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="法定代表人证件号码">
{{ info.fddbrzjhm }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="登记机关">
{{ info.djjg }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="核准日期">
{{ info.hzrq }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="经营状态">
{{ info.jyzt }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="状态日期">
{{ info.ztrq }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注销日期">
{{ info.zxrq }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="吊销日期">
{{ info.dxrq }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="联系电话">
{{ info.lxdh }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="是否园区内">
{{ info.sfyqn }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="入库时间">
{{ info.dwTimestamp }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="来源机构">
{{ info.dwLyjg }}
</el-descriptions-item>
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="经营范围">
{{ info.business }}
{{ info.jyfw }}
</el-descriptions-item>
</el-descriptions>
<!-- <el-descriptions class="margin-top-file" :column="3" size="medium" v-loading="loading">
<el-descriptions-item labelClassName="tabOneFileLabel" contentClassName="tabOneFileContent"
v-for="(item,index) in fileInfo"
:key="index"
:label="item.key"
>
<a :href="item.url" target="_blank">
{{ item.value }}
</a>
</el-descriptions-item>
</el-descriptions> -->
</div>
</template>
<script>
@ -96,13 +166,11 @@ export default {
info:[],
fileInfo:[],
loading:false,
VUE_APP_BASE_API:process.env.VUE_APP_BASE_API,
style:{
height: null
}
}
},
mounted() {
// console.log(this.info,"tabOne");
// this.loading = true;
},
methods:{
},
}

@ -1,20 +1,16 @@
<!--
* @Descripttion:
* @version:
* @Author: JC9527
* @Date: 2024-05-29 14:05:08
* @LastEditors: JC9527
* @LastEditTime: 2024-06-03 09:47:49
-->
<template>
<div class="L-unitInfo" id="L-contacts-main">
<div id="L-header-list" class="project-info-title">联络人列表</div>
<section>
<el-table v-loading="loading" class="tabTwo-table" border :data="tableData" :row-class-name="tableRowClassName" :max-height="tabHeader">
<el-table-column label="联系人姓名" prop="contactName" />
<el-table-column label="公司职务" prop="firmOffice" />
<el-table-column label="手机号码" prop="phone" />
<el-table-column label="邮箱" prop="email" />
<el-table v-loading="loading" class="tabTwo-table" border :data="tableData" :row-class-name="tableRowClassName" > <!-- :max-height="tabHeader" -->
<el-table-column label="联络人姓名" prop="llrxm" />
<el-table-column label="联络人职务" prop="llrzw" />
<el-table-column label="电子邮箱" prop="dzyx" />
<el-table-column label="移动电话" prop="yddh" />
<el-table-column label="固定电话" prop="gddh" />
<el-table-column label="联络人编号" prop="llrbh" />
<el-table-column label="入库时间" prop="dwTimestamp" />
<el-table-column label="来源机构" prop="dwLyjg" />
</el-table>
</section>
</div>
@ -55,7 +51,7 @@ export default {
//
getList(){
this.loading = true;
getjContacts({creditCode: this.creditCode || this.$store.state.user.name}).then(res=>{
getjContacts({tyshxydm: this.creditCode || this.$store.state.user.name}).then(res=>{
this.tableData = res.data
this.loading = false;
})
@ -66,7 +62,7 @@ export default {
const header = document.getElementById('L-header-list'); // ID
const elementHeight = element.offsetHeight;
const headerHeight = header.offsetHeight;
this.tabHeader = elementHeight - headerHeight - 100;
this.tabHeader = elementHeight - headerHeight;
}
},
}

@ -5,10 +5,10 @@
<div class="left-info" id="L-header">
<div class="project-info-title">企业信息</div>
<el-descriptions class="margin-top" :column="2" size="medium" border v-loading="loading">
<el-descriptions-item label="企业名称">{{ info.enterpriseName }}</el-descriptions-item>
<el-descriptions-item label="法定代表人" contentClassName="info-link">{{ info.legalEntity }}</el-descriptions-item>
<el-descriptions-item label="统一社会信用代码" contentClassName="info-link">{{ info.creditCode }}</el-descriptions-item>
<el-descriptions-item label="企业类型">{{ info.enterpriseType }}</el-descriptions-item>
<el-descriptions-item label="企业名称">{{ info.qymc }}</el-descriptions-item>
<el-descriptions-item label="法定代表人" contentClassName="info-link">{{ info.fddbrxm }}</el-descriptions-item>
<el-descriptions-item label="统一社会信用代码" contentClassName="info-link">{{ info.tyshxydm }}</el-descriptions-item>
<el-descriptions-item label="企业类型">{{ info.qylxmc }}</el-descriptions-item>
</el-descriptions>
</div>
<div class="left-tabs enter-tabs">
@ -26,10 +26,9 @@
<el-button type="primary" @click="goBack"></el-button>
<!-- <el-button type="primary">导出企业清单</el-button> -->
</div>
<div class="enter-footTabs" v-else>
<!-- <el-button type="primary" @click="goBack"></el-button> -->
<!-- <div class="enter-footTabs" v-else>
<el-button type="primary" @click="editEnterInfo"></el-button>
</div>
</div> -->
</el-col>
</el-row>
@ -279,7 +278,7 @@ export default {
const elementHeight = element.offsetHeight;
const headerHeight = header.offsetHeight;
const paginationtHeight = pagination.offsetHeight;
this.tabStyle.height = (elementHeight - headerHeight - paginationtHeight - 20) + 'px';
this.tabStyle.height = (elementHeight - headerHeight - paginationtHeight - 74) + 'px';
}
},
}

@ -4,8 +4,8 @@
<header id="L-header">
<el-form :inline="true" :model="formInline" size="small" class="demo-form-inline" ref="queryFrom">
<el-col :span="20">
<el-form-item label="企业名称:" prop="enterpriseName">
<el-input v-model.trim="formInline.enterpriseName" placeholder="请输入内容"></el-input>
<el-form-item label="企业名称:" prop="qymc">
<el-input v-model.trim="formInline.qymc" placeholder="请输入内容"></el-input>
</el-form-item>
<!-- <el-form-item label="统一社会信用代码:" prop="enterUnit">
<el-input v-model.trim="formInline.enterUnit" placeholder="请输入内容"></el-input>
@ -37,20 +37,20 @@
</header>
<section>
<el-table v-loading="loading" :data="tableData" :row-class-name="tableRowClassName" :height="tabHeader" :max-height="tabHeader">
<el-table-column label="企业名称" prop="enterpriseName" />
<el-table-column label="统一社会信用代码" prop="creditCode" />
<el-table-column label="企业名称" prop="qymc" />
<el-table-column label="统一社会信用代码" prop="tyshxydm" />
<!-- <el-table-column label="法定代表人" prop="policyLevel" />
<el-table-column label="经营状态" prop="enterTime" />
<el-table-column label="成立日期" prop="createBy" />
<el-table-column label="注册资本" prop="createTime" /> -->
<el-table-column label="组织机构代码" prop="institutionCode" />
<el-table-column label="登记注册统计类别" prop="statisticalCategories" />
<el-table-column label="行业代码" prop="industryCode" />
<el-table-column label="企业类型" prop="enterpriseType" />
<el-table-column label="所属行业" prop="industry" />
<el-table-column label="成立日期" prop="createTime">
<el-table-column label="经济类型" prop="jjlxmc" />
<!-- <el-table-column label="登记注册统计类别" prop="statisticalCategories" /> -->
<el-table-column label="企业类型" prop="qylxmc" />
<el-table-column label="行业名称" prop="hymc" />
<el-table-column label="产业类型" prop="cylx" />
<el-table-column label="成立日期" prop="clrq" width="200">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime,"{y}-{m}-{d}") }}</span>
<span>{{ parseTime(scope.row.clrq,"{y}-{m}-{d}") }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="组织机构代码" prop="createTime" />
@ -59,7 +59,7 @@
<el-table-column label="注册地址" prop="createTime" />
<el-table-column label="注册类型" prop="createTime" />
<el-table-column label="经营范围" prop="createTime" /> -->
<el-table-column label="操作" prop="userId" class-name="table-operation">
<el-table-column label="操作" prop="userId" class-name="table-operation" width="120">
<template slot-scope="scope">
<span class="look-info" @click="goInfo(scope.row)"></span>
<!-- <span class="edit-info" @click="editInfo(scope.row)"></span>
@ -144,7 +144,7 @@ export default {
},
loading:false,
formInline: {
enterpriseName: '',
qymc: '',
},
tableData:[],
tabHeader: undefined,
@ -211,8 +211,8 @@ export default {
this.loading = true;
getEnterList(this.pagination).then(res=>{
this.loading = false;
this.total = res.total;
this.tableData = res.rows;
this.total = res.data.total;
this.tableData = res.data.records;
})
},
//
@ -252,7 +252,7 @@ export default {
goInfo(row){
this.$router.push({
name: 'enterpriselibraryInfo',
query: { userId: row.id, creditCode: row.creditCode }
query: { userId: row.id, creditCode: row.tyshxydm }
})
},
//

@ -1,11 +1,11 @@
<template>
<div class="L-public-main" id="L-size-main" v-if="false">
<div class="L-public-main" id="L-size-main">
<div class="L-main">
<header id="L-header">
<el-form :inline="true" :model="formInline" size="small" class="demo-form-inline" ref="queryFrom">
<el-col :span="22">
<el-form-item label="规则名称:" prop="enterpriseName">
<el-input v-model.trim="formInline.enterpriseName" placeholder="请输入内容"></el-input>
<el-form-item label="规则名称:" prop="rulesName">
<el-input v-model.trim="formInline.rulesName" placeholder="请输入内容"></el-input>
</el-form-item>
<el-form-item>
<el-button size="mini" @click="resetQuery('queryFrom')"></el-button>
@ -20,17 +20,29 @@
</header>
<section>
<el-table v-loading="loading" :data="tableData" :row-class-name="tableRowClassName" :height="tabHeader" :max-height="tabHeader">
<el-table-column label="规则名称" prop="enterpriseName" />
<el-table-column label="提醒对象" prop="enterpriseCode" />
<el-table-column label="提醒方式" prop="contactName" />
<el-table-column label="提醒时间" prop="contactOffice" />
<el-table-column label="修改时间" prop="contactPhone" />
<el-table-column label="规则名称" prop="rulesName" />
<el-table-column label="提醒对象" prop="alertRecipients">
<template slot-scope="scope">
<span>{{ scope.row.alertRecipients == 1 ? "企业用户" : scope.row.alertRecipients == 2 ? "政务用户" : "" }}</span>
</template>
</el-table-column>
<el-table-column label="提醒方式" prop="alertManner">
<template slot-scope="scope">
<span>{{ scope.row.alertManner == 1 ? "定期提醒" : scope.row.alertManner == 2 ? "不定期提醒" : "" }}</span>
</template>
</el-table-column>
<el-table-column label="提醒时间" prop="alertTime">
<template slot-scope="scope">
<span>{{ scope.row.alertManner == 1 ? scope.row.alertTime : scope.row.alertManner == 2 ? scope.row.daysAdvance + '天' : "" }}</span>
</template>
</el-table-column>
<el-table-column label="修改时间" prop="updateTime" />
<!-- <el-table-column label="常用联系人邮箱" prop="contactEmail" /> -->
<el-table-column label="操作" prop="userId" class-name="table-operation" width="180px">
<template slot-scope="scope">
<span class="look-info" @click="goInfo(scope.row)"></span>
<span class="edit-info" @click="editInfo(scope.row)" v-hasRole="['ent']"></span>
<span class="del-info" @click="delInfo(scope.row)" v-hasRole="['ent']"></span>
<span class="edit-info" @click="editInfo(scope.row)"></span>
<span class="del-info" @click="delInfo(scope.row)" v-if="scope.row.alertManner == 1"></span>
</template>
</el-table-column>
</el-table>
@ -44,39 +56,80 @@
></my-pagination>
</section>
</div>
<my-dialog :title="title" @close="importClose" @confirm="confirm" ref="importProject" closeText="关闭" :myclass="true">
<el-form :model="addFrom" size="small" ref="importFrom" label-width="180px" :rules="rules" class="newArticle" :disabled="title == '查看常用联系人' ? true : false">
<my-dialog :title="title" @close="importClose" @confirm="confirm" ref="importProject" closeText="关闭" width="40%" :myclass="true">
<el-form :model="addFrom" size="small" ref="importFrom" label-width="180px" :rules="rules" class="newArticle" :disabled="title == '查看智能提醒规则' ? true : false">
<el-row>
<el-col :span="24">
<el-form-item label="提醒规则标题" class="importFormItem">
<el-input v-model.trim="addFrom.enterpriseCode" placeholder="请输入内容"></el-input>
<el-form-item label="提醒规则标题" class="importFormItem" prop="rulesName">
<el-input v-model.trim="addFrom.rulesName" placeholder="请输入内容"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="企业名称:" class="importFormItem">
<el-input v-model.trim="addFrom.enterpriseName" placeholder="请输入内容"></el-input>
<el-form-item label="提醒对象:" class="importFormItem" prop="alertRecipients">
<el-radio-group v-model="addFrom.alertRecipients" :disabled="title == '修改智能提醒规则' ? true : false">
<el-radio :label="2">政务用户</el-radio>
<el-radio :label="1">企业用户</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="常用联系人名称:" class="importFormItem" prop="contactName">
<el-input v-model.trim="addFrom.contactName" placeholder="请输入常用联系人名称"></el-input>
<el-form-item label="提醒方式:" class="importFormItem" prop="alertManner">
<el-radio-group v-model="addFrom.alertManner" disabled>
<el-radio :label="1">定期提醒</el-radio>
<el-radio :label="2">不定期提醒</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="常用联系人公司职务:" class="importFormItem" prop="contactOffice">
<el-input v-model.trim="addFrom.contactOffice" placeholder="请输入常用联系人公司职务"></el-input>
<el-col :span="24" v-if="addFrom.alertManner == 1">
<!-- :rules="form.isTime == 0 ? rules.reportTime : [
{required: false, message: '请选择填报时间', trigger: 'change' }]" -->
<el-form-item label="提醒时间:" prop="alertTime" class="importFormItem"
:rules="addFrom.alertManner == 1 ? rules.alertTime : [
{required: false, message: '请选择填报时间', trigger: 'change' }]"
>
<!-- range-separator="-"
start-placeholder="开始日期"
end-placeholder="结束日期" -->
<el-date-picker
v-model="addFrom.alertTime"
type="datetime"
placeholder="选择日期"
style="width: 100%;"
value-format="yyyy-MM-dd HH:mm:ss"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="常用联系人手机号码:" class="importFormItem" prop="contactPhone">
<el-input v-model.trim="addFrom.contactPhone" placeholder="请输入常用联系人手机号码"></el-input>
<el-col :span="24" v-if="addFrom.alertManner == 2">
<el-form-item label="提醒内容:" prop="daysAdvance" class="importFormItem"
:rules="addFrom.alertManner == 2 ? rules.daysAdvance : [
{required: false, message: '请选择填报时间', trigger: 'change' }]"
>
<div class="intelligentReminder_radio">
<el-radio-group v-model="addFrom.alertType" disabled>
<el-radio :label="1">申报任务即将结束企业</el-radio>
<el-radio :label="2">项目即将建设完成政府</el-radio>
</el-radio-group>
<div class="intelligentReminder_text"><span>*</span>提前<el-input-number v-model="addFrom.daysAdvance" :min="1" :controls="false"></el-input-number>天提醒</div>
</div>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="提醒内容:" class="importFormItem" prop="alertContent">
<el-input
type="textarea"
resize="none"
:rows="3"
placeholder="请输入提醒内容"
v-model="addFrom.alertContent">
</el-input>
</el-form-item>
</el-col>
<!-- <el-col :span="24">
<el-form-item label="常用联系人邮箱:" class="importFormItem" prop="contactEmail">
<el-input v-model.trim="addFrom.contactEmail" placeholder="请输入常用联系人邮箱"></el-input>
</el-form-item>
</el-col>
</el-col> -->
</el-row>
</el-form>
</my-dialog>
@ -85,7 +138,7 @@
<script>
import myPagination from "@/views/components/Pagination/index.vue"
import myDialog from "@/views/components/myDialog/index.vue"
import { getJEnterpriseContact, jEnterpriseContactNew, jEnterpriseContactChange, jEnterpriseContactId, jEnterpriseContactDel } from "@/api/jin_ji_hu/infoMaintain"
import { getjSmartReminders, jSmartRemindersNew, jSmartRemindersChange, jSmartRemindersId, jSmartRemindersDel } from "@/api/jin_ji_hu/intelligentReminder"
export default {
components:{myPagination, myDialog},
data() {
@ -97,32 +150,38 @@ export default {
},
loading:false,
formInline: {
enterpriseName: '',
enterpriseCode:"",
rulesName: '',
},
tableData:[],
tabHeader: undefined,
addFrom: {
contactName:"",
contactOffice:"",
contactPhone:"",
contactEmail:"",
enterpriseCode:"",
enterpriseName:"",
rulesName:"",
alertRecipients: 2,
alertManner: 1,
alertTime:"",
alertContent:"",
daysAdvance: null,
alertType: 1,
},
rules:{
contactName:[
{ required: true, message: '请填写常用联系人姓名', trigger: 'blur' }
rulesName:[
{ required: true, message: '请填写提醒规则标题', trigger: 'blur' }
],
contactOffice:[
{ required: true, message: '请填写常用联系人公司职务', trigger: 'blur' }
alertRecipients:[
{ required: true, message: '请选择提醒对象', trigger: 'change' }
],
contactPhone:[
{ required: true, message: '请填写常用联系人手机号码', trigger: 'blur' },
alertManner:[
{ required: true, message: '请选择提醒方式', trigger: 'change' },
],
contactEmail:[
{ required: true, message: '请填写常用联系人邮箱', trigger: 'blur' },
alertTime:[
{ required: true, message: '请选择日期', trigger: 'change' },
],
alertContent:[
{ required: true, message: '请填写提醒内容', trigger: 'blur' },
],
daysAdvance:[
{ required: true, message: '请填写期限', trigger: 'blur' },
]
},
title:"新增智能提醒规则",
infoVisible:false,
@ -131,6 +190,7 @@ export default {
mounted() {
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
this.getList()
},
destroyed() {
window.removeEventListener('resize', this.cancalDebounce);
@ -139,7 +199,7 @@ export default {
//
getList(){
this.loading = true;
getJEnterpriseContact(this.pagination).then(res=>{
getjSmartReminders(this.pagination).then(res=>{
this.loading = false;
this.total = res.data.total;
this.tableData = res.data.records;
@ -181,8 +241,6 @@ export default {
//
importBtn(){
this.title = "新增智能提醒规则";
this.addFrom.enterpriseCode = this.name;
this.addFrom.enterpriseName = this.nickName;
this.$refs.importProject.open();
},
//
@ -191,17 +249,24 @@ export default {
this.$refs.importFrom.resetFields();
this.$refs.importProject.close();
this.addFrom = {
contactName:"",
contactOffice:"",
contactPhone:"",
contactEmail:"",
// ruleTitle:"",
// content:"",
// contactPhone:"",
// contactEmail:"",
ruleTitle:"",
alertRecipients: 2,
alertManner: 1,
alertTime:"",
alertContent:"",
daysAdvance: null,
alertType: 1,
}
})
},
//
goInfo(row){
this.title = "查看智能提醒规则"
jEnterpriseContactId(row.id).then((res=>{
jSmartRemindersId(row.id).then((res=>{
if(res.code == 200) {
this.addFrom = res.data;
this.$refs.importProject.open();
@ -213,7 +278,7 @@ export default {
this.title = "修改智能提醒规则"
// this.addFrom.enterpriseCode = this.name;
// this.addFrom.enterpriseName = this.nickName;
jEnterpriseContactId(row.id).then((res)=>{
jSmartRemindersId(row.id).then((res)=>{
if(res.code == 200) {
this.addFrom = res.data;
this.$refs.importProject.open();
@ -224,30 +289,34 @@ export default {
confirm(){
this.$refs.importFrom.validate((valid) => {
if (valid) {
// console.log(this.addFrom);
let id = this.addFrom.id ? this.addFrom.id : null;
if(id) {
jEnterpriseContactChange(this.addFrom).then((res)=>{
if(res.code == 200) {
this.getList();
this.importClose();
this.$message({
type: "success",
message: "修改成功!",
});
}
})
if(this.title == "查看智能提醒规则") {
this.getList();
this.importClose();
} else {
jEnterpriseContactNew(this.addFrom).then((res)=>{
if(res.code == 200) {
this.getList();
this.importClose();
this.$message({
type: "success",
message: "新增成功!",
});
}
})
let id = this.addFrom.id ? this.addFrom.id : null;
if(id) {
jSmartRemindersChange(this.addFrom).then((res)=>{
if(res.code == 200) {
this.getList();
this.importClose();
this.$message({
type: "success",
message: "修改成功!",
});
}
})
} else {
jSmartRemindersNew(this.addFrom).then((res)=>{
if(res.code == 200) {
this.getList();
this.importClose();
this.$message({
type: "success",
message: "新增成功!",
});
}
})
}
}
} else {
return false;
@ -262,7 +331,7 @@ export default {
type: "warning",
})
.then(() => {
jEnterpriseContactDel({ id: row.id }).then((res) => {
jSmartRemindersDel({ id: row.id }).then((res) => {
this.getList();
this.$message({
type: "success",

@ -129,8 +129,8 @@
@pagination="getList"
/>
<!-- 添加或修改申报企业名录对话框 -->
<el-dialog :title="title" :visible.sync="open" width="680px" append-to-body :close-on-click-modal="false" v-loading="diaLoading">
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-dialog :title="title" :visible.sync="open" width="680px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="120px" v-loading="diaLoading">
<el-row>
<el-col :span="24">
<el-form-item label="责任单位" prop="responsibilityUnit">

@ -2,4 +2,5 @@ export { default as tabOne } from './tabOne'
export { default as tabTwo } from './tabTwo'
export { default as tabThree } from './tabThree'
export { default as tabFour } from './tabFour'
export { default as tabFive } from './tabFive'
export { default as projectProgress } from './projectProgress'

@ -0,0 +1,160 @@
<template>
<div class="smart-remind">
<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>
</div>
</el-row>
<div class="remind-timeline" v-loading="loading">
<el-card shadow="never">
<div class="warn-main">
<div class="warn-main-left">
<div class="warn-main-img"><img src="@/assets/images/warn-green.png" alt=""></div>
<div class="warn-main-content">
<div class="content-title">关于做好2024年申报任务填报的通知</div>
<div class="content-middle">该项目即将建设完成请及时关注</div>
<div class="content-time">2024-05-29 09:00:00</div>
</div>
</div>
<div class="warn-main-right">
<div class="warn-main-right-bianji" @click="putMemo(item)">
查看
</div>
</div>
</div>
</el-card>
</div>
<my-dialog title="新增智能提醒规则" @close="remindClose" @confirm="confirm" :myclass="true" ref="newRemindRef">
<div class="remindDialog">
<el-form :model="remindData" size="small" ref="remindFrom" label-width="160px" :rules="rules">
<el-row>
<el-col :span="24">
<el-form-item label="提醒规则标题" class="importFormItem" prop="ruleTitle">
<el-input v-model.trim="remindData.ruleTitle" placeholder="请输入内容"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="提醒对象:" class="importFormItem" prop="txObject">
<el-radio-group v-model="remindData.txObject">
<el-radio :label="0">政务用户</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="提醒方式:" class="importFormItem" prop="txMode" disabled>
<el-radio-group v-model="remindData.txMode">
<el-radio :label="0">定期提醒</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="提醒时间:" prop="time" class="importFormItem">
<el-date-picker
v-model="remindData.time"
type="date"
placeholder="选择日期"
style="width: 100%;"
value-format="yyyy-MM-dd"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="提醒内容:" class="importFormItem" prop="content">
<el-input
type="textarea"
resize="none"
:rows="3"
placeholder="请输入提醒内容"
v-model="remindData.content">
</el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
</my-dialog>
</div>
</template>
<script>
import { getJMemorandumList, postJMemorandum } from "@/api/jin_ji_hu/project/index"
import myDialog from "@/views/components/myDialog/index.vue"
export default {
name:"tabFive",
components:{
myDialog
},
data() {
return {
remindData:{
ruleTitle: "",
txObject: 0,
txMode: 0,
time: "",
content: "",
},
rules:{
ruleTitle:[
{ required: true, message: '请填写提醒规则标题', trigger: 'blur' }
],
txObject:[
{ required: true, message: '请选择提醒对象', trigger: 'change' }
],
txMode:[
{ required: true, message: '请选择提醒方式', trigger: 'change' },
],
time:[
{ required: true, message: '请选择日期', trigger: 'change' },
],
content:[
{ required: true, message: '请填写提醒内容', trigger: 'blur' },
],
},
loading: false,
remindList:[],
formInline:{},
}
},
mounted(){
this.getList();
},
methods:{
newRemind(){
this.$nextTick(()=>{
this.$ref.newRemindRef.open();
this.$refs.remindFrom.resetFields();
})
},
//
remindClose(){
this.$nextTick(()=>{
this.$refs.remindFrom.resetFields();
this.$refs.newRemindRef.close();
})
},
//
confirm(){
postJMemorandum(this.remindData).then(res=>{
if(res.code == 200) {
this.remindClose();
this.getList();
this.$message({
type: "success",
message: "新增成功!",
});
}
})
},
//
getList() {
this.loading = true;
getJMemorandumList(this.formInline).then(res=>{
// console.log(res,"");
this.remindList = res.data;
this.loading = false;
})
},
},
}
</script>

@ -20,6 +20,7 @@
<tab-two v-if="active == 1" :info="info"></tab-two>
<tab-three v-if="active == 2"></tab-three>
<tab-four v-if="active == 3" :id="$route.query.userId"></tab-four>
<tab-five v-if="active == 4"></tab-five>
</div>
</div>
</el-col>
@ -34,7 +35,7 @@
</div>
</template>
<script>
import { tabOne, tabTwo, tabThree, tabFour, projectProgress } from "./components"
import { tabOne, tabTwo, tabThree, tabFour, tabFive, projectProgress } from "./components"
import { jProjectId, getUserId } from "@/api/jin_ji_hu/project/index"
export default {
dicts: ['jjh_project_type','jjh_status'],
@ -43,11 +44,13 @@ export default {
tabTwo,
tabThree,
tabFour,
tabFive,
projectProgress
},
data() {
return {
tabs:[
tabs:[],
enterpriseTabs:[
{
name: "项目详细信息",
},{
@ -58,6 +61,21 @@ export default {
name: "备忘录",
},
],
govTabs:[
{
name: "项目详细信息",
},{
name: "申报单位信息",
},{
name: "资金拨付进度",
},{
name: "备忘录",
},{
name: "智能提醒",
},
],
// 01 02
userType: this.$store.state.user.userType,
active: 0,
info:{},
detailedInfo:{},
@ -71,6 +89,11 @@ export default {
},
mounted(){
this.getInfo(this.$route.query.userId)
if(this.userType == '01') {
this.tabs = this.enterpriseTabs;
} else {
this.tabs = this.govTabs;
}
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
},

@ -30,9 +30,40 @@
</header>
<main>
<el-row class="main-row">
<el-col :span="16" class="work-main-left">
<el-col :span="8" class="work-main-left">
<div class="main-left">
<div class="left-header">
<div class="title">服务业数据概览</div>
</div>
</div>
</el-col>
<el-col :span="8" class="work-main-left">
<div class="main-left">
<div class="left-header">
<div class="title">智能提醒</div>
</div>
<div class="left-main">
<el-card shadow="never" v-for="(item,index) in 2" :key="index" :class="index == 1 ? 'el-card-border' : ''">
<div class="warn-main">
<div class="warn-main-left">
<div class="warn-main-img"><img src="@/assets/images/warn-green.png" alt=""></div>
<div class="warn-main-content">
<div class="content-title">关于做好2024年申报任务填报的通知</div>
<div class="content-middle">该项目即将建设完成请及时关注</div>
<div class="content-time">2024-05-29 09:00:00</div>
</div>
</div>
<div class="warn-main-right">
<div class="warn-main-right-chakan" @click="putMemo(item)">
查看
</div>
<div class="warn-main-right-status" :class="index == 1 ? 'status-unread' : ''">
{{ index == 1 ? '未读' : '已读' }}
</div>
</div>
</div>
</el-card>
</div>
</div>
</el-col>
<el-col :span="8" class="work-main-right">
@ -118,6 +149,7 @@
import { approvalList, approvalEdit, uploadFile } from "@/api/onlineDeclartion/pendingReview"
import { listRecords } from "@/api/onlineDeclartion/records"
import { selectAll, workSearch } from "@/api/jin_ji_hu/home"
import { chiefAll, enterpriseAll, changeIsRead } from "@/api/jin_ji_hu/intelligentReminder"
export default {
data() {
return {

Loading…
Cancel
Save