企业信息的项目清单列表展示修改及跳转修改、企业导入的下载模板更新

prod
吕天方 7 months ago
parent cfa2b3760c
commit 788f3bdad9

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

@ -24,6 +24,90 @@
color: #134EE6;
}
}
//
.table-status {
p {
padding: 0;
margin: 0;
display: flex;
align-items: center;
span {
&:nth-of-type(1) {
width: 6px;
height: 6px;
border-radius: 50%;
margin-right: 10px;
}
}
}
.statusisZero {
span {
&:nth-of-type(1) {
background-color: #cdcccc;
}
&:nth-of-type(2) {
color: #cdcccc;
}
}
}
.statusisOne {
span {
&:nth-of-type(1) {
background-color: #24D3A9;
}
&:nth-of-type(2) {
color: #24D3A9;
}
}
}
.statusisTwo {
span {
&:nth-of-type(1) {
background-color: #134EE6;
}
&:nth-of-type(2) {
color: #134EE6;
}
}
}
.statusisThree {
span {
&:nth-of-type(1) {
background-color: #FF9600;
}
&:nth-of-type(2) {
color: #FF9600;
}
}
}
.statusisNine {
span {
&:nth-of-type(1) {
background-color: red;
}
&:nth-of-type(2) {
color: red;
}
}
}
}
//
.table-operation {
span {
cursor: pointer;
}
.look-info {
color: #192A92;
margin-right: 15px;
}
.edit-info {
color: #29A07A;
margin-right: 15px;
}
.del-info {
color: #C51717;
}
}
.L-public-main {
padding: 6px 6px 6px 6px;
width: 100%;
@ -73,88 +157,6 @@
.evenNumber-row {
background-color: #F6F9FD;
}
.table-status {
p {
padding: 0;
margin: 0;
display: flex;
align-items: center;
span {
&:nth-of-type(1) {
width: 6px;
height: 6px;
border-radius: 50%;
margin-right: 10px;
}
}
}
.statusisZero {
span {
&:nth-of-type(1) {
background-color: #cdcccc;
}
&:nth-of-type(2) {
color: #cdcccc;
}
}
}
.statusisOne {
span {
&:nth-of-type(1) {
background-color: #24D3A9;
}
&:nth-of-type(2) {
color: #24D3A9;
}
}
}
.statusisTwo {
span {
&:nth-of-type(1) {
background-color: #134EE6;
}
&:nth-of-type(2) {
color: #134EE6;
}
}
}
.statusisThree {
span {
&:nth-of-type(1) {
background-color: #FF9600;
}
&:nth-of-type(2) {
color: #FF9600;
}
}
}
.statusisNine {
span {
&:nth-of-type(1) {
background-color: red;
}
&:nth-of-type(2) {
color: red;
}
}
}
}
.table-operation {
span {
cursor: pointer;
}
.look-info {
color: #192A92;
margin-right: 15px;
}
.edit-info {
color: #29A07A;
margin-right: 15px;
}
.del-info {
color: #C51717;
}
}
.project-name {
text-decoration: underline;
font-family: PingFang-SC, PingFang-SC;

@ -5,7 +5,57 @@
<section>
<el-table v-loading="loading" border class="tabTwo-table" :data="tableData" :row-class-name="tableRowClassName" :max-height="tabHeader">
<el-table-column type="index" width="55" label="序号"/>
<el-table-column label="年份" prop="projectYear" />
<el-table-column label="项目名称" prop="projectName" />
<el-table-column label="项目分类" prop="projectClassify">
<template slot-scope="scope">
<dict-tag :options="dict.type.jjh_project_type" :value="scope.row.projectClassify"/>
</template>
</el-table-column>
<el-table-column label="状态" prop="status" class-name="table-status">
<template slot-scope="scope">
<p class="statusisZero" v-if="scope.row.status === 0">
<span></span>
<span>待填报</span>
</p>
<p class="statusisThree" v-if="scope.row.status === 1">
<span></span>
<span>初审中</span>
</p>
<p class="statusisThree" v-if="scope.row.status === 2">
<span></span>
<span>复审中</span>
</p>
<p class="statusisTwo" v-if="scope.row.status === 3">
<span></span>
<span>终审中</span>
</p>
<p class="statusisOne" v-if="scope.row.status === 5">
<span></span>
<span>评审通过</span>
</p>
<!-- <p class="statusisNine" v-if="scope.row.status === 6">
<span></span>
<span>上级评审不通过</span>
</p> -->
<p class="statusisNine" v-if="scope.row.status === 7">
<span></span>
<span>复审不通过</span>
</p>
<p class="statusisThree" v-if="scope.row.status === 8">
<span></span>
<span>初审不通过</span>
</p>
<p class="statusisNine" v-if="scope.row.status === 9">
<span></span>
<span>终审不通过</span>
</p>
<p class="statusisNine" v-if="scope.row.status === 10">
<span></span>
<span>初审驳回</span>
</p>
</template>
</el-table-column>
<el-table-column label="操作" prop="userId" class-name="table-operation">
<template slot-scope="scope">
<span class="look-info" @click="goInfo(scope.row)"></span>
@ -30,6 +80,7 @@ import { jProject } from "@/api/jin_ji_hu/project/index"
export default {
components:{myPagination},
name:"tabThree",
dicts: ['jjh_project_type', 'bms_approval_status'],
props:{
creditCode:{
type:String,
@ -45,7 +96,7 @@ export default {
pagination: {
current:1,
size:10,
creditCode: this.creditCode,
creditCode: this.creditCode || this.$store.state.user.name,
},
}
},
@ -75,8 +126,8 @@ export default {
},
goInfo(row){
this.$router.push({
name: 'Project',
params: { projectName: row.projectName }
name: 'projectInfo',
query: { userId: row.id }
})
},
// table

@ -1,3 +1,11 @@
<!--
* @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>
@ -47,7 +55,7 @@ export default {
//
getList(){
this.loading = true;
getjContacts({creditCode: this.creditCode}).then(res=>{
getjContacts({creditCode: this.creditCode || this.$store.state.user.name}).then(res=>{
this.tableData = res.data
this.loading = false;
})

@ -103,7 +103,7 @@
</div>
</el-col>
<el-col :span="12">
<el-button type="text">下载模板</el-button>
<el-button type="text" @click="frontDownload"></el-button>
</el-col>
<!-- <el-col :span="12">
文件列表
@ -309,6 +309,20 @@ export default {
this.$modal.msgError(response.msg);
}
},
//
frontDownload() {
var a = document.createElement("a"); //<a></a>
a.href = "/demo/JinJiHu/static/企业库数据.xlsx";
//ahref .
a.download ="企业库模板.xlsx";
//.xlsxpdf.fpd
a.style.display = "none"; // a
document.body.appendChild(a);
// a
a.click(); //aahref
a.remove();
// a
},
//
importClose(){
this.$refs.importProject.close();

@ -393,10 +393,10 @@ export default {
this.getList();
},
//
goInfo(rwo){
goInfo(row){
this.$router.push({
name: 'projectInfo',
query: { userId: rwo.id }
query: { userId: row.id }
})
},
//

Loading…
Cancel
Save